/*
 Theme Name:   SCP Automation
 Theme URI:    https://azulii.com/
 Author:       AZULII
 Author URI:   https://azulii.com/
 Template:     Divi
 Version:      5.0.2
*/

.otgs-development-site-front-end {display:none!important;}

@media all and (max-width:980px) {
	#column-services-img-hover {
		display:flex!important;
	}
}

@font-face {
    font-family: 'Sora';
    src: url('assets/fonts/Sora-Variable.woff2') format('woff2'),
         url('assets/fonts/Sora-Variable.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sora';
    src: url('assets/fonts/Sora-VariableItalic.woff2') format('woff2'),
         url('assets/fonts/Sora-VariableItalic.woff') format('woff');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Dharma Gothic E';
    src: url('assets/fonts/dharmagothice-light-webfont.woff2') format('woff2'),
         url('assets/fonts/dharmagothice-light-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Dharma Gothic E';
    src: url('assets/fonts/dharmagothice-lightitalic-webfont.woff2') format('woff2'),
         url('assets/fonts/dharmagothice-lightitalic-webfont.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}


@font-face {
    font-family: 'Dharma Gothic E';
    src: url('assets/fonts/dharmagothice-bold-webfont.woff2') format('woff2'),
         url('assets/fonts/dharmagothice-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Dharma Gothic E';
    src: url('assets/fonts/dharmagothice-bolditalic-webfont.woff2') format('woff2'),
         url('assets/fonts/dharmagothice-bolditalic-webfont.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}


/*----HEADER CUSTOMIZATION----*/
/* ===========================
   HEADER GÉNÉRAL
=========================== */
body #page-container header .header-general {
  transition: all 0.3s ease;
  overflow: visible;
}

body #page-container header .header-general.scrolled,
body #page-container header .header-general.dropdown-open {
  background-color: #252525 !important;
}

/* ===========================
   MENU PRINCIPAL
=========================== */
body #page-container header .header-general .et_pb_menu .et-menu > li {
  margin: 0;
  padding: 0 5px;
  position: relative;
}

body #page-container header .header-general .et_pb_menu .et-menu > li > a {
  padding: 10px 20px;
  background-color: transparent;
  border-radius: 50px;
  color: white;
  transition: all 0.3s ease;
}

body #page-container header .header-general .et_pb_menu .et-menu > li:hover > a, body #page-container header .header-general .et_pb_menu .et-menu > li.header-btn > a {
  background-color: var(--gcid-primary-color);
  font-weight: bold;
  color: white !important;
}

body #page-container header .header-general .et_pb_menu .et-menu > li.menu-item-has-children > a::after {
  display: none;
}

/* Zone tampon pour garder le dropdown ouvert */
.header-general .et-menu li.et-hover::after {
  content: "";
  position: absolute;
  top: 33px;
  left: -50%;
  width: 200%;
  height: 80px;
  background: transparent;
}

/* ===========================
   DROPDOWN MENU (FULL WIDTH)
=========================== */
.header-general .et-menu ul.sub-menu {
  position: fixed;
  top: 65px; /* juste sous le header */
  left: 50%;
  width: 95vw;
	max-height:80vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background: #252525;
  border-radius: 10px;
  padding: 10px;
  border: none;
  z-index: 999;
  box-shadow: none;
  overflow: hidden;

  /* Animation */
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* État visible */
.header-general.dropdown-open .et-menu li.et-show-dropdown ul.sub-menu {
  transform: translateX(-50%) scaleY(1);
  opacity: 1;
}

/* ===========================
   CONTENU INTERNE DU SUBMENU
=========================== */
.header-general .et-menu ul.sub-menu > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: 0s; /* aucune attente par défaut */
}

.header-general.dropdown-open .et-menu li.et-show-dropdown ul.sub-menu > * {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s; /* petit délai pour fade-in */
}

/* ===========================
   COLONNES & CONTENU
=========================== */
body::after {
  transition:all 0.25s ease-in-out;
}
body.dropdown-menu-open::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.7); /* semi-transparent */
  transition:all 0.25s ease-in-out;
  z-index: 998; /* derrière le menu qui est à 999 */
}

.header-general ul.sub-menu .submenu-left,
.header-general ul.sub-menu .submenu-right {
  width: calc(50% - 5px);
}
.header-general ul.sub-menu .submenu-left {
	overflow:scroll;
	overflow-x:hidden;
}

/* Colonne droite */
.header-general ul.sub-menu .submenu-right {
	border-radius:10px;
	overflow:hidden;
}

.header-general ul.sub-menu .submenu-right img.submenu-image__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Liens et éléments du sous-menu */
.header-general ul.sub-menu .submenu-left li {
  list-style: none;
  width: 100%;
  background-color: #333;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
	padding:0;
}

.header-general ul.sub-menu .submenu-left li:last-child {
  margin-bottom: 0;
}

.header-general ul.sub-menu .submenu-left li:hover {
  background-color: #555;
}


.header-general ul.sub-menu .submenu-left li a {
  display: flex;
  align-items: center;
  padding: 15px;
  text-decoration: none;
  width: 100%;
  cursor:pointer;
	z-index:2;
}

.header-general ul.sub-menu .submenu-left li a .menu-icon {
  width: 40px;
  height: 40px;
  margin-right: 20px;
}

.menu-text-content {
  display: flex;
  flex-direction: column;
}

.header-general ul.sub-menu .submenu-left li a .menu-text-content .menu-title {
	font-size:24px;
    font-weight: bold;
	text-transform:uppercase;
}

.header-general ul.sub-menu .submenu-left li a .menu-text-content .menu-tagline {
  font-size: 16px;
  color: #bbb;
}
.header-general ul.sub-menu .submenu-left li a .icon-arrow path {
	fill:white;
}
.header-general ul.sub-menu .submenu-left li a .icon-arrow {
	opacity:0;
	width:15px;
    margin-left: auto;
	transform:translateX(-10px);
	transition:all 0.3s ease;
}
.header-general ul.sub-menu .submenu-left li:hover a .icon-arrow {
	opacity:1;
	transform:translateX(0);
	transition:all 0.3s ease;
}
/* ===========================
   MOBILE MENU FULLSCREEN STYLE
=========================== */
.header-general #custom-mobile-menu {
	background:transparent;
}
.header-general #custom-mobile-menu .mobile_nav .mobile_menu_bar:before {
	display:none;
}
.header-general #custom-mobile-menu .mobile_menu_bar button.hamburger-menu {
	height:40px;
	width:40px;
	background-color:#bbbbbb;
	border-radius:10px;
	padding:12px;
}
.header-general #custom-mobile-menu .mobile_menu_bar button.hamburger-menu.hamburger--collapse span.bar:first-child {
	transform: translate3d(0, -6px, 0);
}
.header-general #custom-mobile-menu .mobile_menu_bar button.hamburger-menu.hamburger--collapse span.bar:nth-child(3) {
	transform: translate3d(0, 6px, 0);
}
.header-general #custom-mobile-menu .mobile_menu_bar button.hamburger-menu.hamburger--collapse.active span.bar:first-child, .header-general #custom-mobile-menu .mobile_menu_bar button.hamburger-menu.hamburger--collapse.active span.bar:nth-child(3) {
    transform: translateZ(0);
}

.header-general #custom-mobile-menu .mobile_nav .et_mobile_menu {
	position:fixed;
	top:calc(100% + 10px);
	border:none;
	border-radius:10px;
	background-color:#252525;
	padding:2.5vw;
	max-height: calc(100vh - 105px);
    overflow: scroll;
}

.header-general #custom-mobile-menu .mobile_nav .et_mobile_menu li.bold-li {
	padding:0;
	border-radius: 10px;
	margin-bottom:10px;
	overflow:hidden;
}

.header-general #custom-mobile-menu .mobile_nav .et_mobile_menu li.bold-li:last-child {
	margin-bottom:0;
}
.header-general #custom-mobile-menu .mobile_nav .et_mobile_menu li.bold-li>a {
	padding:15px 20px;
	font-weight: bold;
    font-size: 18px;
    background: #444444;
    text-transform: uppercase;
}
.header-general #custom-mobile-menu .mobile_nav .et_mobile_menu li.bold-li.menu-item-has-children>a {
	border-bottom:2px solid #333333;
}
.header-general #custom-mobile-menu .mobile_nav .et_mobile_menu li.bold-li>ul.sub-menu {
	padding:15px 20px;
    background: #444444;
}
.header-general #custom-mobile-menu .mobile_nav .et_mobile_menu li.bold-li>ul.sub-menu>li {
	padding-left:0;
}
.header-general #custom-mobile-menu .mobile_nav .et_mobile_menu li.bold-li>ul.sub-menu>li>a {
	padding:5px 0;
	font-size:18px;
}


.header-general #custom-mobile-menu .mobile_nav .et_mobile_menu li.text-link>a, .header-general #custom-mobile-menu li.wpml-ls-item>a {
	font-size:18px;
	font-weight:bold;
	text-align:center;
}

.header-general #custom-mobile-menu .mobile_nav .et_mobile_menu > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: 0s; /* aucune attente par défaut */
}

.header-general.dropdown-open #custom-mobile-menu .mobile_nav .et_mobile_menu > * {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s; /* petit délai pour fade-in */
}
.header-general .wpml-ls-item

/*---- ICONE ARROW PERSONNALISÉ---*/
body #page-container .et_pb_section a.et_pb_button[data-icon="&"] {
	display: inline-flex !important;   /* garder le comportement inline mais flex pour centrer */
    align-items: center;
	justify-content:space-between;/* centre verticalement texte + after */                       /* espace entre texte et icône (remplace margin-left sur after) */
    padding-right: 2em;
}
body #page-container .et_pb_section a.et_pb_button[data-icon="&"]:after {
	width: 1em;
    height: 1em;
	margin-left: 0.5em;
	margin-top:-0.5em;
}
body #page-container .et_pb_section a.et_pb_button[data-icon="&"]:after {
	right:0.5em;
}
body #page-container .et_pb_section a.et_pb_button[data-icon="&"]:after, body #page-container .et_pb_section .et_pb_icon.arrow-45deg-top-right .et_pb_icon_wrap .et-pb-icon {
  content: "";
	display:inline-block;
    width: 1em;
    height: 1em;
    transform: rotate(-45deg);
    background-color: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 150"><path d="M196.5 66.6 133.4 3.5a11.8 11.8 0 0 0-16.7 16.7l43 43H11.8C5.3 63.2 0 68.5 0 75s1.3 6.2 3.5 8.4a12 12 0 0 0 8.4 3.5h147.8l-43 43a11.8 11.8 0 0 0 16.7 16.7l63.2-63.2a12 12 0 0 0 0-16.7Z"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 150"><path d="M196.5 66.6 133.4 3.5a11.8 11.8 0 0 0-16.7 16.7l43 43H11.8C5.3 63.2 0 68.5 0 75s1.3 6.2 3.5 8.4a12 12 0 0 0 8.4 3.5h147.8l-43 43a11.8 11.8 0 0 0 16.7 16.7l63.2-63.2a12 12 0 0 0 0-16.7Z"/></svg>') no-repeat center / contain;
	transition:all 0.2s ease-in-out;
}
body #page-container .et_pb_section a.et_pb_button[data-icon="&"]:hover:after {
	margin-left:0.5em!important;
}
body #page-container .et_pb_section a.et_pb_button[data-icon="&"]:hover:after, body #page-container .et_pb_section .et_clickable.has-arrow-link:hover .et_pb_icon.arrow-45deg-top-right .et_pb_icon_wrap .et-pb-icon  {
    transform: rotate(0);
	transition:all 0.2s ease-in-out;
}

/*----ACCORDION CARD IMG SECTION----*/
#hover-service-bg-img .et_pb_accordion .et_pb_accordion_item .az-service-icon {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
    display: block;
	position:absolute;
	top:20px;left:20px;
}

body #hover-service-bg-img .et_pb_accordion .et_pb_accordion_item .et_pb_toggle_title, body #hover-service-bg-img .et_pb_accordion .et_pb_accordion_item .et_pb_toggle_content {
	padding-left:60px;
} 

body #hover-service-bg-img .et_pb_accordion .et_pb_accordion_item .et_pb_toggle_title:before {
	display:none;
}

body #hover-service-bg-img .et_pb_accordion .et_pb_accordion_item .az-service-btn[data-icon="&"] {
    display: none!important;
	margin: 15px 0 0 auto;
    padding: 8px 2em 8px 0.7em;
    background: #005cb9;
    color: #fff !important;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
	font-size:16px;
    transition: 0.2s;
	width:fit-content;
	border:none;
}

#hover-service-bg-img .et_pb_accordion .et_pb_accordion_item .az-service-btn:hover {
    background: #004b99;
}

#column-services-img-hover {
    transition: opacity .35s ease-in-out;
    opacity: 1;
    will-change: opacity, background-image;
}


/*----CARD FILL ANIMATION----*/
.card-fill-animation {
  position: relative;
  overflow: hidden;
}

.card-fill-animation::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(0,0,0,0.15);
  z-index: -1;
  transition: height 1s ease;
}
.card-fill-animation.fill-25.animate::after {
  height: clamp(120px, 25%, 50%);
}
.card-fill-animation.fill-39.animate::after {
  height: clamp(120px, 39%, 50%);
}

/*----ANIMATION POUR LE CONTOUR DE DIV----*/
.gradient-borderbox {
	transition:0.2s ease-in-out;
}
.gradient-borderbox:hover {
	transition:0.2s ease-in-out;
}

.gradient-borderbox .parent {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    border-radius: 10px;
    z-index: 15;
    mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
    mask-composite: subtract;
    padding: 2px;
    background-color: #bbbbbb;
}
.gradient-borderbox.blue-gradient-white-border .parent {
	background:white;
}
.gradient-borderbox.white-gradient-lightgray-border .parent {
	background:#bbbbbb;
}
.gradient-borderbox.white-gradient-gray-border .parent {
	background:#888888;
}
.gradient-borderbox.white-gradient-lightgray-border .parent .square, .gradient-borderbox.white-gradient-gray-border .parent .square {
	background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 60%);
}

.gradient-borderbox .parent .square {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 92, 185, 1) 0%, rgba(0, 92, 185, 0) 60%);
    border-radius: 10px;
    transform: translate(-50%, -50%);
    animation: follow-border-balanced 10s 
linear infinite;
    z-index: 2;
    filter: blur(1px);
}

/********************************************
 * POPUP AZULII
 ********************************************/

.az-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 999999;
}

.az-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 14px;
    max-width: 80%;
    max-height: 80vh;
    overflow: scroll!important;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: .35s ease;
    pointer-events: none;
    z-index: 99999999!important;
    animation: az-popup-anim .35s ease;
}

body.et-fb .az-popup {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	display: flex !important;
	position:relative!important;
	top:inherit; left:inherit;
	transform: none !important;
}

.az-popup.active,
.az-popup-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@keyframes az-popup-anim {
    from { transform: translate(-50%, -50%) scale(.85); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.az-popup-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: url(svg/plus-regular.svg)
                center/contain no-repeat;
    border: none;
    cursor: pointer;
    transform: rotate(45deg);
    transition: .2s ease;
    z-index: 9999999;
}
.az-popup-close-btn:hover {
    transform: rotate(135deg);
}

body.az-no-scroll { overflow: hidden !important; }
/********************************************
 * FIN DU POPUP AZULII
 ********************************************/


/*-----ANIMATION DE DÉGRADÉ AVEC MOUVEMENT DE LA SOURIS-----*/
.mouse-gradient {
  position: relative;
  overflow: hidden; /* pour limiter le gradient au container */
}

.mouse-gradient::before {
  	content: '';
    position: absolute;
	inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: radial-gradient(circle at var(--x, 10%) var(--y, 50%), rgba(0,92,185,1), rgba(0,92,185,0));
    pointer-events: none;
    transition: background 0.3s ease;
}
.mouse-gradient.medgray-gradient::before {
    background: radial-gradient(circle at var(--x, 10%) var(--y, 50%), rgba(136,136,136,1), rgba(136,136,136,0));
}

/*-----CARROUSEL DE LOGO FADE------*/
.partenaires-logo-carousel {
    position: relative;
    overflow: hidden;
}

.partenaires-logo-carousel::before,
.partenaires-logo-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 25%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.partenaires-logo-carousel::before {
    left: 0;
    background: linear-gradient(to right, #eeeeee 0px, #eeeeee 10%, transparent 100%);
}

.partenaires-logo-carousel::after {
    right: 0;
    background: linear-gradient(to left, #eeeeee 0px, #eeeeee 10%, transparent 100%);
}


.partenaires-logo-carousel .svg-convert svg * {
	fill:#666666;
}
/*----HEURES D'OUVERTURES----*/
#opened-closed-status span {
	font-weight:bold;
}
#opened-closed-status span.opened {
	color:#7ac710;
}
#opened-closed-status span.closed {
	color:red;
}
/*----MENU DE FOOTER-----*/
ul.flat-menu {
	list-style-type:none;
	padding:0;
	font-size:16px;
	line-height:1.2;
}
ul.flat-menu li a {
	color:white;margin:0;
	transition:all 0.3s ease;
}
ul.flat-menu li a:hover {
	color:#888888;
	transition:all 0.3s ease;
}

/*------CONTACT FORMS-------*/
.scp-contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: 'Sora', sans-serif;
}

.scp-contact-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* espace exact entre items */
  margin: 0;
}

/* Label + champ en flex-item */
.scp-contact-form label {
  flex: 1 1 calc(50% - 7.5px);
  display: flex;
  flex-direction: column;
  color: #bbbbbb;
  font-size: 14px;
}

/* Champs style */
.scp-contact-form input,
.scp-contact-form textarea,
.scp-contact-form select {
  background-color: #444444;
  border-radius: 5px;
  border: none;
  color: #ffffff;
  padding: 10px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: 0.3s;
}

/* Glow focus */
.scp-contact-form input:focus,
.scp-contact-form textarea:focus,
.scp-contact-form select:focus {
  box-shadow: 0 0 5px #005cb9;
  border: 1px solid #005cb9;
	color:#bbbbbb;
}

/* Submit button */
.scp-contact-form input[type="submit"] {
  background-color: #005cb9;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.scp-contact-form input[type="submit"]:hover {
  background-color: #004a8c;
  box-shadow: 0 0 5px #005cb9;
}

/* Acceptance checkbox */
.scp-contact-form .wpcf7-acceptance {
  margin-top: 10px;
  color: #bbbbbb;
  display: flex;
  align-items: center;
  gap: 10px;
}
.scp-contact-form .wpcf7-acceptance .wpcf7-list-item {
	margin:0;
}
.scp-contact-form .wpcf7-acceptance .wpcf7-list-item label {
	flex-direction:row;
}
.scp-contact-form .wpcf7-acceptance .wpcf7-list-item input {
	flex:0;
	margin: 0 10px 0 0;
}

.wpcf7 form .wpcf7-response-output {
	color:white;
}


/* Mobile 1 colonne */
@media (max-width: 980px) {
  .scp-contact-form .form-row label {
    flex: 1 1 100%;
  }
}
