/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/***---------------------- Global ----------------------***/

/* Background */

body {
	background-image: url("/wp-content/uploads/2025/04/BG_EMISSA_UHD_CR5.jpg");
	background-size: cover;
	background-attachment: fixed;
}

/* page accueil */

.full-height-section {
	min-height: calc(100vh - 120px);
}

.full-height-section > .row {
  /*min-height: 100vh;*/
  display: flex;
  align-items: center;
}

.full-height-section [data-animate] {
  animation-delay: 0.7s !important;
  transition-delay: 0.7s !important;
}

/* Page d'intro */

.intro-hero {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.intro-hero.is-hidden {
  opacity: 0;
  transform: translateY(-40px);
  pointer-events: none;
}

/* flèche auto-scroll */

.icon-angle-down {
  font-size: 30px;
  color: #0047BB;
  position: relative;
  animation: arrow-pulse 2s ease-in-out infinite;
}

.icon-angle-down::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 22px;
  background: #0047BB;
  transform: translateX(-50%);
  opacity: 0.6;
}

@keyframes arrow-pulse {
  0% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(12px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
}


/* column transparente */

.ui-panel > .col-inner {
  /*background-color: rgba(255, 255, 255, 0.18) !important;*/
  backdrop-filter: blur(6px); !important;
  -webkit-backdrop-filter: blur(6px); 
}

/* Bannière savoir-faire robot */

.banner-robot {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  transform: translateY(0);
  transition: transform .4s ease, box-shadow .4s ease;
}

/* Bannière vidéo savoir-faire */

.banner-robot-vid {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 15px 40px rgba(0,0,0,0.1),
    0 5px 15px rgba(0,0,0,0.05),
    inset 0 0 0 1px rgba(0,0,0,0.03);

  transform: translateY(0);
  transition: transform .35s ease, box-shadow .35s ease;
}


/* Masque la section suivante pendant l’intro */

.intro-hero + .section {
  opacity: 0;
  transition: opacity 0.8s ease;
}

body.intro-done .intro-hero + .section {
  opacity: 1;
}


/* Dots page héritage */

.scroll-to-bullets {
  position: fixed;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1px;
  z-index: 50;

  padding: 12px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.scroll-to-bullets a {
  all: unset;
  display: flex;
  align-items: center;
  cursor: pointer;
  opacity: 0.28;
  margin: -1px 0;
  padding: 0;
  transition: margin 0.3s ease, opacity 0.3s ease;
}

.scroll-to-bullets a strong {
  display: none !important;
}

.scroll-to-bullets a::before {
  content: "";
  width: 6px;
  height: 1px;
  background: #0047BB;
  transition: width 0.35s ease, height 0.35s ease, background 0.35s ease;
}

.scroll-to-bullets a::after {
  content: attr(data-title);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-left: 10px;
  color: #0047BB;
  opacity: 0;
  white-space: nowrap;
  transform: translateX(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease;
}

.scroll-to-bullets a:hover,
.scroll-to-bullets a.active {
  opacity: 1;
  margin: 6px 0;
}

.scroll-to-bullets a.active::before {
  width: 32px;
  height: 2px;
  background: #0047BB;
  transition-duration: 0.45s;
}

.scroll-to-bullets a:hover::before {
  width: 32px;
  height: 2px;
  background: #000;
}

.scroll-to-bullets a:hover::after,
.scroll-to-bullets a.active::after {
  opacity: 1;
  transform: translateX(0);
}

.scroll-to-bullets a.active::after {
  color: #0047BB;
}

.scroll-to-bullets a:hover::after {
  color: #000;
}

.scroll-to-bullets a:hover + a,
.scroll-to-bullets a.active + a {
  margin-top: 4px;
}

.scroll-to-bullets a:has(+ .active),
.scroll-to-bullets a:has(+ :hover) {
  margin-bottom: 4px;
}

.scroll-to-bullets:empty {
  display: none !important;
}

.tooltipster-base {
  display: none !important;
}

@media (max-width: 900px) {
  .scroll-to-bullets {
    display: none;
  }
}



/*Arrondi banner accueil*/

.banner-accueil-en {
  border-radius: 10px;
  overflow: hidden;
}


/* Blog Accueil */
.row .blog-accueil {
	margin-right: auto !important;
	margin-left: auto !important;
}

.blog-accueil .box-text .is-divider {
	background-color: var(--fs-color-secondary);
	/*max-width: 400px;
	width: 80%;*/
}

.blog-accueil .box-image img {
	background-color: #fff;
	object-fit: contain;
}

.footer-primary.pull-left {
    text-align: center !important;
    float: none !important;
    margin: 0 auto !important;
    display: block !important;
    width: 100% !important;
}

/* Blog */
.post .article-inner {
	border-radius: 10px;
}

.post .article-inner footer.entry-meta {
	border: none;
}

.post .article-inner .bb {
	border: none;
}

/* Barre progression */

#progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: transparent;
  z-index: 9999;
}

#progress-bar {
  height: 100%;
  width: 0;
  background-color: #0047bb;
  transition: width 0.2s ease;
}

/***---------------------- Footer ----------------------***/
.absolute-footer {
	display: none;
}

.footer-row {
	background-color: #5b5b5b;
	padding-top: 30px !important;
	padding-bottom: 0 !important;
}

.footer-row .col {
	padding-bottom: 0;
}

.footer-link .ux-menu-link__link {
	min-height: 0;
	padding-top: 0;
}

.footer-link .ux-menu-link__text {
	position: relative;
    transition: transform 0.3s ease-out, color 0.3s ease-out;
}

.footer-link .ux-menu-link__text:hover {
    transform: translateX(5px);
    color: #ffffff;
}

.back-to-top.button.is-outline:not(:hover) {
    color: #0047bb !important;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}