/**
* Template Name: Imperial
* Template URL: https://bootstrapmade.com/imperial-free-onepage-bootstrap-theme/
* Updated: Oct 08 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  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", "Manrope", "Poppins";
  --heading-font: "Raleway",  sans-serif;
  --heading-font-2: "Poppins",  sans-serif;	
  --nav-font: "Open Sans",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #666666; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #000000; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #66bdeb; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #66bdeb; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #666666; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #66bdeb; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  /*--background-color: #000000a1;*/
  --background-color: #000000;	
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font-2);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #c72323;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #66bdeb;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}



/* --- 1. Transparence fluide au survol du logo / titre header --- */
header .logo h1,
header .logo img {
  transition: opacity 0.3s ease-in-out;
}

header .logo:hover h1,
header .logo:hover img {
  opacity: 0.5; /* Transparence à 50% */
}






/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}



/*--------------------------------------------------------------
# Navigation Menu - Desktop
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
}




/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */

@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    /*font-family: var(--nav-font);*/
	font-family: Poppins;   
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}



/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0 0 0;
  position: relative;
}

.footer .icon {
  color: var(--accent-color);
  /*margin-right: 15px;*/
  font-size: 26px;
  line-height: 2;
}

.footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer .address p {
  margin-bottom: 0px;
}

.footer .social-links a {
  /*display: flex;*/
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 50px;
  height: 50px;
  border-radius: 25px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  /*background-image: url(/assets/img/about-bg.jpg);	*/
  background-color: var(--background-color);
  /*padding: 60px 10px;*/
  /*padding: 30px 0px;*/	
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 40px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  text-transform: uppercase;
  position: relative;
  margin-top: 40px;	
  padding-top: 20px;	
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/


/* Assure que la section Hero reste le repère de positionnement */
#hero {
  position: relative;
  overflow: hidden;
}

/* Le conteneur du diaporama s'aligne exactement sur le fond */
.hero-bg-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Derrière le contenu texte */
}

/* Base pour chaque image */
.hero-bg-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: kenburns-slideshow 24s linear infinite;
}

/* Assignation des images de fond */
.hero-bg-slideshow .slide-1 {
  background-image: url('../img/hero-bg.jpg');
  animation-delay: 0s;
}

.hero-bg-slideshow .slide-2 {
  background-image: url('../img/video-1.mp4'); /* Remplacer par le chemin de la 1ère vidéo */
  animation-delay: 6s; /* Décalage pour le 2ème visuel */
}

.hero-bg-slideshow .slide-3 {
  background-image: url('../img/hero-bg-3.jpg'); /* Remplacer par le chemin de la 2ème image */
  animation-delay: 12s; /* Décalage pour le 3ème visuel */
}

.hero-bg-slideshow .slide-4 {
  background-image: url('../img/video-2.mp4'); /* Remplacer par le chemin de la 2ème vidéo */
  animation-delay: 18s; /* Décalage pour le 3ème visuel */
}

/* Animation de Zoom in / Zoom out + Fondus croisés */
@keyframes kenburns-slideshow {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  5% {
    opacity: 1; /* Fondu d'apparition */
  }
  33.33% {
    opacity: 1;
  }
  38.33% {
    opacity: 0; /* Fondu de disparition */
    transform: scale(1.15); /* Niveau de zoom max */
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/* Assure que le texte et les boutons restent au-dessus du fond */
#hero .container,
#hero .hero-content {
  position: relative;
  z-index: 2;
}


/* --- 2. Configuration pour la rotation fluide de l'image du Hero --- */
#hero img[src*="logo-big-tolergyx.png"] {
  /* Transition fluide de la rotation avec ease-in-out */
  transition: transform 1.8s cubic-bezier(0.42, 0, 0.58, 1);
  will-change: transform;
}


.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 50px 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 0px;
  /*border-bottom: 2px solid var(--accent-color);*/
}

.hero .cta-btn {
  margin: 10px 5px;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  transition: 0.3s;
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
  color: var(--contrast-color);
  border-radius: 25px;	
}

.hero .cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .cta-btn2 {
  margin: 10px 5px;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 0;
  transition: 0.3s;
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
}

.hero .cta-btn2:hover {
  background: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }
}

.img-fluid {
  border-radius: 20px;
}	

.img-fluid .zoom-image {overflow:hidden}
.img-fluid .zoom-image img {width:100%;height:auto}
.img-fluid .zoom-image img:hover{width:100%;-webkit-transform:scale(1.3);transform:scale(1.3);-webkit-transition:1s ease-in-out;transition:1s ease-in-out}


	


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 1.7rem;
  font-weight: 700;
}

.about h4 {
  font-size: 1.3rem;
  font-weight: 300;
  text-align: center;	
  margin: 0px 100px 0px 100px;	
}

@media (max-width: 575px) {
.about h4 {
    font-size: 14px !important;
    font-weight: 300 !important;
    text-align: center !important;	
    margin: 0px 30px 0px 30px !important;
  }
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  background: var(--accent-color);
  /*background-image: url("assets/img/about-bg.jpg");*/	
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), white 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}


/* Conteneur principal qui remplace l'image unique */
.about-img-slideshow {
  position: relative;
  width: 100%;
  min-height: 400px; /* Adaptez la hauteur souhaitée si besoin */
  height: 100%;
  overflow: hidden;
  border-radius: 8px; /* Optionnel : pour garder des coins arrondis si votre design en comporte */
}

/* Base pour les 3 visuels du diapo */
.about-img-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: kenburns-slideshow 9s linear infinite;
}

/* Affectation des 3 images pour la section About */
.about-img-slideshow .slide-1 {
  background-image: url('../img/about.jpg');
  animation-delay: 0s;
}

.about-img-slideshow .slide-2 {
  background-image: url('../img/about-2.jpg'); /* Remplacez par le chemin de la 2ème image */
  animation-delay: 3s;
}

.about-img-slideshow .slide-3 {
  background-image: url('../img/about-3.jpg'); /* Remplacez par le chemin de la 3ème image */
  animation-delay: 6s;
}


/* --- Animation dédiée pour la section About avec un plus gros Zoom --- */
@keyframes kenburns-about {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  5% {
    opacity: 1; /* Fondu d'apparition */
  }
  33.33% {
    opacity: 1;
  }
  38.33% {
    opacity: 0; /* Fondu de disparition */
    transform: scale(1.50); /* Amplification du zoom à 135% (ajustable à 1.40 / 1.50 selon le besoin) */
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}




/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .title a:hover {
  color: var(--accent-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
  --default-color: #000;
  --heading-color: #333;
}

.features .feature-box {
  height: 100%;
  padding: 40px 30px;
  border-radius: 10px;
}

.features .feature-box i {
  font-size: 44px;
  display: inline-block;
  line-height: 0;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.features .feature-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.features .feature-box p {
  font-size: 15px;
  margin-bottom: 0;
  text-align: justify;
}

.features .feature-box.orange {
  /*background-color: #fff3e2;*/
  background-color: #66bdeb;	
}

.features .feature-box.orange i {
  /*color: #edb86e;*/
  color: #ffffff;	
}

.features .feature-box.blue {
  background-color: #66abeb;
}

.features .feature-box.blue i {
  color: #ffffff;
}

.features .feature-box.green {
  background-color: #6692eb;
}

.features .feature-box.green i {
  color: #ffffff;
}

.features .feature-box.red {
  background-color: #6676eb;
}

.features .feature-box.red i {
  color: #ffffff;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 120px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  max-width: 1200px;	
  z-index: 3;
}

.call-to-action h3 {
  color: var(--default-color);
  font-size: 28px;
  font-weight: 300;
  text-align: center;	
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 25px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-item {
  position: relative;
}

.portfolio .portfolio-item .portfolio-info {
  background-color: color-mix(in srgb, var(--surface-color), transparent 10%);
  opacity: 0;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 20px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item .testimonial-content {
  border-left: 3px solid var(--accent-color);
  padding-left: 30px;
}

.testimonials .testimonial-item .testimonial-img {
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 30px;
  position: relative;
  visibility: hidden;	
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}


/*--------------------------------------------------------------
# Section Témoignage - Taille de l'image sur mobile
--------------------------------------------------------------*/

/* Limiter la taille des photos avec la classe img-fluid dans la section testimonials sur mobile */
@media (max-width: 768px) {
  #testimonials .img-fluid {
    max-width: 200px !important; /* CONTRÔLE DE LA TAILLE : Changez 100px selon vos préférences (ex: 80px, 120px) */
    width: 100% !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto; /* Permet de centrer la photo si besoin */
    display: block;
  }
}	

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member p {
  letter-spacing: -1px;
  line-height: 0.9;
  align-content: center;
  text-align: center;
}


.team .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 5px;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  opacity: 0;
  transition: ease-in-out 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .team-member .social a {
  transition: color 0.3s;
  color: var(--heading-color);
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team .team-member .social a i {
  line-height: 0;
}

.team .team-member .social a:hover {
  color: var(--accent-color);
}

.team .team-member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .team-member .member-info {
  padding: 25px 15px;
  text-align: center;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  letter-spacing: -1px;
  line-height: 0.9;
  align-content: center;
  text-align: center;	
}

.team .team-member:hover .social {
  opacity: 1;
}



/* =========================================================
   1. ÉCRANS >= 1400px : 4 CARTES FIXES (320px)
   ========================================================= */
@media (min-width: 1400px) {
  .team-member-card {
    width: 320px !important;
    flex: 0 0 320px;
  }
}

/* =========================================================
   2. ÉCRANS 1200px - 1399px : 3 CARTES FIXES
   ========================================================= */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
  .team-member-card {
    width: 310px !important;  /* Largeur fixe pour 3 cartes */
    flex: 0 0 310px;
  }
}

/* =========================================================
   3. ÉCRANS 768px - 1199px : 2 CARTES
   ========================================================= */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .team-member-card {
    width: 100% !important;
    max-width: 320px;
  }
}





/*
@media (min-width: 1200px) {
  
  .row {
    justify-content: center !important;
  }

  .col-xl-3 {
    flex: 0 0 auto !important;
    width: 25% !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    margin-bottom: 40px !important;
  }
}


@media screen and (min-width: 768px) and (max-width: 1199px) {
  .col-xl-3 {
    flex: 0 0 auto !important;
    width: 50% !important;
    margin-bottom: 40px !important;
}
}

*/

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 10%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

.portfolio-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.blog-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.blog-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.blog-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.blog-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.blog-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  margin: 60px 0 30px 0;
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 0 10px;
  margin: 0 0 20px 0;
  border-left: 4px solid var(--accent-color);
}

.widget-item {
  margin-bottom: 30px;
  background-color: color-mix(in srgb, var(--default-color), transparent 98%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 30px;
  border-radius: 5px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 3px 10px;
  position: relative;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}



/*--------------------------------------------------------------
# Navigation Mobile Overlay - Centré + Transitions Ease-In / Ease-Out
--------------------------------------------------------------*/
@media (max-width: 1199px) {

  /* Affichage de l'icône burger en premier plan */
  .mobile-nav-toggle,
  header .mobile-nav-toggle {
    display: block !important;
    position: fixed !important;
    top: 8px !important;
    right: 20px !important;
    z-index: 999999 !important;
    font-size: 32px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    background: rgba(0, 0, 0, 0.5) !important;
    padding: 8px !important;
    border-radius: 50% !important;
    line-height: 1 !important;
  }

  /* Overlay plein écran - État FERMÉ (Transition Ease-Out) */
  #navmenu,
  header #navmenu {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(10, 15, 25, 0.97) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-20px) !important;

    /* Transition de fermeture : ease-out */
    transition: opacity 0.35s ease-out, transform 0.35s ease-out, visibility 0.35s step-end !important;
    z-index: 999998 !important;
  }

  /* Overlay - État OUVERT (Transition Ease-In) */
  body.mobile-nav-active #navmenu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;

    /* Transition d'ouverture : ease-in */
    transition: opacity 0.4s ease-in, transform 0.4s ease-in, visibility 0s !important;
  }

  /* Annulation du display:none du template Bootstrap */
  #navmenu ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    text-align: center !important;
  }

  #navmenu ul li {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 15px 0 !important;
    padding: 0 !important;
  }

  /* Style et centrage des onglets */
  #navmenu ul li a {
    display: inline-block !important;
    font-size: 22px !important;
    font-weight: 500 !important;
	font-family: Poppins !important;  
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
  }

  #navmenu ul li a:hover,
  #navmenu ul li a.active {
    color: #38bdf8 !important;
    transform: scale(1.1) !important;
  }

  /* Blocage du défilement */
  body.mobile-nav-active {
    overflow: hidden !important;
  }
}



/*--------------------------------------------------------------
# Effets supplémentaires Mobile (Rotation Burger + Cascade Liens)
--------------------------------------------------------------*/
@media (max-width: 1199px) {

  /* 1. Rotation anti-horaire (-90°) au survol du burger / croix */
  .mobile-nav-toggle,
  header .mobile-nav-toggle {
    transition: transform 0.6s ease-in-out, background 0.6s ease !important;
  }

  .mobile-nav-toggle:hover,
  header .mobile-nav-toggle:hover {
    transform: rotate(-90deg) !important;
  }

  /* 2. Animation d'apparition des onglets de bas en haut */
  #navmenu ul li {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease !important;
  }

  /* État visible avec effet de cascade quand le menu est ouvert */
  body.mobile-nav-active #navmenu ul li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Décalage temporel progressif pour les 6 liens (de haut en bas) */
  body.mobile-nav-active #navmenu ul li:nth-child(1) { transition-delay: 0.10s !important; }
  body.mobile-nav-active #navmenu ul li:nth-child(2) { transition-delay: 0.20s !important; }
  body.mobile-nav-active #navmenu ul li:nth-child(3) { transition-delay: 0.30s !important; }
  body.mobile-nav-active #navmenu ul li:nth-child(4) { transition-delay: 0.40s !important; }
  body.mobile-nav-active #navmenu ul li:nth-child(5) { transition-delay: 0.50s !important; }
  body.mobile-nav-active #navmenu ul li:nth-child(6) { transition-delay: 0.60s !important; }
  body.mobile-nav-active #navmenu ul li:nth-child(7) { transition-delay: 0.70s !important; }	
}



/*--------------------------------------------------------------
# Preloader personnalisé avec Logo en rotation (Correctif)
--------------------------------------------------------------*/
#preloader {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background-color: #0a0f19 !important; /* Couleur de fond fixe de ta page */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.5s ease, visibility 0.5s ease !important;
  border: none !important;
  outline: none !important;
}

/* Annulation des bordures / spinners d'origine du template */
#preloader::after {
  display: none !important;
}

/* Le logo est placé dans ::before et tourne sur lui-même */
#preloader::before {
  content: "" !important;
  display: block !important;
  width: 60px !important;              /* Ajuste la largeur du logo */
  height: 60px !important;             /* Ajuste la hauteur du logo */
  background: url('../img/logo-big-tolergyx.png') no-repeat center center / contain !important;
  animation: logo-spin 1.2s linear infinite !important;
  border: none !important;
  border-radius: 0 !important;
}

/* Keyframes de rotation propre du logo */
@keyframes logo-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/*--------------------------------------------------------------
# Language Switcher
--------------------------------------------------------------*/
/* Version Desktop */
@media (min-width: 1200px) {
  .navmenu .lang-switch a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-left: 15px;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .navmenu .lang-switch a:hover {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8 !important;
  }

  .lang-icon {
    font-size: 14px;
  }

  .lang-text {
    font-size: 13px;
    font-weight: 600;
  }
}

/* Version Mobile Overlay (Luminary Style) */
@media (max-width: 1199px) {
  #navmenu ul li.lang-switch {
    margin-top: 25px !important;
  }

  #navmenu ul li.lang-switch a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    font-size: 20px !important;
    padding: 10px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
  }

  #navmenu ul li.lang-switch a:hover {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
  }
}


/* Ajustement des drapeaux images */
.lang-flag {
  width: 20px !important;
  height: 15px !important;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
}


/*--------------------------------------------------------------
# Intégration vidéo dans le slideshow Hero
--------------------------------------------------------------*/
/* Désactive l'image de fond CSS pour la slide vidéo */
.slide-2.slide-video-container {
  background-image: none !important;
  overflow: hidden;
}

/* Ajustement de la vidéo pour recouvrir tout l'arrière-plan */
.slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Garantit le remplissage sans déformer */
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}


/*--------------------------------------------------------------
# Animation Team Member Overlay (Style Pharma)
--------------------------------------------------------------*/

/* Conteneur principal de la carte */
.team-member-card {
  min-width: 306px !important;	
  position: relative;
  overflow: hidden;
  border-radius: 12px; /* Coins arrondis élégants */
  background: #0a0f19;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/* Gestion de l'image et du zoom */
.team-member-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5; /* Ratio photo portrait standard */
  overflow: hidden;
}

.team-member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Transition ultra-fluide pour le zoom de l'image */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Overlay d'information qui glisse depuis le bas */
.team-member-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  
  /* Dégradé sombre pour lire le texte très clairement */
  background: linear-gradient(
    to top,
    rgba(10, 15, 25, 0.95) 0%,
    rgba(10, 15, 25, 0.7) 50%,
    rgba(10, 15, 25, 0) 100%
  );

  /* Masqué par défaut en bas */
  opacity: 0;
  transform: translateY(20px);
  
  /* Courbe Ease-In & Out sur mesure */
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
  pointer-events: none;
}

/* Typographies et éléments internes */
.team-member-content {
  color: #ffffff;
  transform: translateY(15px);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.member-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #ffffff;
}

.member-role {
  font-family: var(--nav-font);
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #38bdf8; /* Couleur d'accentuation */
  /*text-transform: uppercase;*/
  letter-spacing: 0px;
  margin-bottom: 12px;
}

.member-bio {
  font-size: 12px;
  line-height: 1.1;
  color: #475569 !important;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 15 !important; /* Passage à 15 lignes */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Réseaux sociaux */
.member-social {
  display: flex;
  gap: 12px;
}

.member-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease !important;
}

.member-social a:hover {
  background: #38bdf8;
  color: #0a0f19;
  transform: translateY(-2px);
}


/*--------------------------------------------------------------
# ÉTATS AU SURVOL (:HOVER)
--------------------------------------------------------------*/

/* 1. Zoom et léger assombrissement de l'image */
.team-member-card:hover .team-member-img img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

/* 2. Affichage et montée de l'overlay */
.team-member-card:hover .team-member-info {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 3. Micro-mouvement interne pour ajouter de la profondeur */
.team-member-card:hover .team-member-content {
  transform: translateY(0);
}


/* 1. Fond de la carte en blanc */
.team-member-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff !important; /* Passé de #0a0f19 à blanc */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Ombre plus douce */
  cursor: pointer;
}

/* 2. Overlay en dégradé blanc au survol */
.team-member-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  
  /* Dégradé blanc vers le bas */
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.85) 55%,
    rgba(255, 255, 255, 0) 100%
  ) !important;

  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
  pointer-events: none;
}

/* 3. Ajustement de la couleur des textes (pour fond clair) */
.team-member-content {
  color: #1e293b !important; /* Texte foncé */
  transform: translateY(15px);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.member-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #0f172a !important; /* Titre sombre */
}

.member-role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0284c7 !important; /* Bleu foncé lisible sur fond blanc */
  /*text-transform: uppercase;*/
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.member-bio {
  font-size: 13.5px;
  line-height: 1.5;
  color: #475569 !important; /* Description gris foncé */
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 4. Boutons réseaux sociaux (adaptés au fond blanc) */
.member-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease !important;
}

.member-social a:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}


/* Overlay d'information aligné EN HAUT */
.team-member-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important; /* Alignement en haut au lieu du bas */
  padding: 25px;
  
  /* Dégradé blanc allant du haut vers le bas */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.85) 60%,
    rgba(255, 255, 255, 0) 100%
  ) !important;

  opacity: 0;
  transform: translateY(-20px) !important; /* Arrive depuis le haut */
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
  pointer-events: none;
}

/* Ajustement du bloc interne pour la descente d'arrivée */
.team-member-content {
  color: #1e293b !important;
  transform: translateY(-15px) !important;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Au survol : glissement doux vers la position initiale en haut */
.team-member-card:hover .team-member-info,
.team-member-card:hover .team-member-content {
  transform: translateY(0) !important;
}


/* Conteneur de l'image */
.team-member-img {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  /*min-height: 420px;*/ /* Ajuste cette hauteur selon tes cartes */
  overflow: hidden;
}

/* Forcer l'image à occuper 100% de l'espace */
.team-member-img img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Remplit l'intégralité du bloc sans déformer */
  object-position: center top !important; /* Recadre en ciblant le haut de la photo (visage) */
  display: block !important;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}


/*--------------------------------------------------------------
# Section Team : Bandeau au repos + Overlay au survol
--------------------------------------------------------------*/

/* Conteneur de la carte */
.team-member-card {
  min-width: 306px !important;	
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

/* Image plein conteneur */
.team-member-img {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  /*min-height: 420px;*/
  overflow: hidden;
}

.team-member-img img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 1. BANDEAU DE BASE (Visible par défaut en bas) */
.team-member-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 25px 18px 25px;
  /* Dégradé sombre / semi-transparent pour lire le texte blanc */
  background: linear-gradient(to top, rgba(10, 15, 25, 0.85) 0%, rgba(10, 15, 25, 0.65) 70%, rgba(10, 15, 25, 0.30) 100%);
  z-index: 2;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Style des textes dans le bandeau de base */
.team-member-caption .member-name {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 2px 0;
  color: #ffffff !important;
}

.team-member-caption .member-role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #38bdf8 !important;
  /*text-transform: uppercase;*/
  letter-spacing: 0.5px;
}

/* 2. OVERLAY COMPLET (Masqué en haut par défaut) */
.team-member-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  padding: 15px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.90) 65%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
  opacity: 0;
  transform: translateY(-20px) !important;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
  pointer-events: none;
  z-index: 3;
}

.team-member-content {
  color: #1e293b !important;
  transform: translateY(-15px) !important;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.team-member-info .member-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #0f172a !important;
}

.team-member-info .member-role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0284c7 !important;
  /*text-transform: uppercase;*/
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.member-bio {
  font-size: 13.5px;
  line-height: 1.2;
  color: #475569 !important;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 15 !important;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.member-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease !important;
}

.member-social a:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}


/*--------------------------------------------------------------
# COMPORTEMENT AU SURVOL (:HOVER)
--------------------------------------------------------------*/

/* 1. Zoom de l'image */
.team-member-card:hover .team-member-img img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

/* 2. Masquage fluide du bandeau bas */
.team-member-card:hover .team-member-caption {
  opacity: 0;
  transform: translateY(10px);
}

/* 3. Affichage fluide de l'overlay haut */
.team-member-card:hover .team-member-info,
.team-member-card:hover .team-member-content {
  opacity: 1;
  transform: translateY(0) !important;
  pointer-events: auto;
}


/*--------------------------------------------------------------
# Correctif Centrage Mobile pour la section Team
--------------------------------------------------------------*/
@media (max-width: 767.98px) {
  /* Centrage de la grille et des cartes */
  #team .row,
  .team .row {
    justify-content: center !important;
  }

  .team-member-card {
    max-width: 440px !important;  /* Largeur idéale pour mobile */
    margin: 0 auto 20px auto !important; /* Centrage horizontal parfait */
  }

  /* Ajustement de la hauteur d'image sur smartphone */
  .team-member-img {
    min-height: 440px !important; 
  }

  /* Centrage des textes dans le bandeau de repos */
  .team-member-caption {
    text-align: center !important;
    padding: 15px 20px !important;
  }

  /* Optimisation de l'overlay tactile */
  .team-member-info {
    padding: 20px !important;
  }

  .member-bio {
    font-size: 13px !important;
    -webkit-line-clamp: 15 !important; /* Réduction du nombre de lignes pour éviter de déborder sur petit écran */
  }

  .member-social {
    justify-content: center !important; /* Centrage des icônes réseaux */
  }
}


/*--------------------------------------------------------------
# Video Figaro
--------------------------------------------------------------*/

.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

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

/*--------------------------------------------------------------
# News Margin h4
--------------------------------------------------------------*/

.news h4 {
  font-size: 1.5rem !important;
  margin-top: 70px !important;	
  	
}


/*--------------------------------------------------------------
# Animation & Rotation du bouton Scroll Top
--------------------------------------------------------------*/

/* Position initiale : flèche tournée vers la gauche (-90deg) */
.scroll-top,
.back-to-top {
  transform: rotate(-90deg) !important;
  transition: transform 0.4s ease-in-out, background-color 0.3s ease, opacity 0.3s ease !important;
}

/* Au survol : rotation de 90° dans le sens des aiguilles d'une montre (pointe vers le haut à 0deg) */
.scroll-top:hover,
.back-to-top:hover {
  transform: rotate(0deg) !important;
}


/*--------------------------------------------------------------
# image de fond #CONTACT
--------------------------------------------------------------*/

#contact {
    /* Chemin vers votre image */
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('http://www.tolergyx.com/contact-background-4.png');
    
    /* Couvrir toute la surface de la section */
    background-size: cover;
    
    /* Centrer l'image */
    background-position: center center;
    
    /* Éviter la répétition de l'image */
    background-repeat: no-repeat;
    
    /* (Optionnel) Fixer l'image au défilement */
    /* background-attachment: fixed; */
    
    /* (Optionnel) Assurer une lisibilité minimale si le texte est sombre */
    min-height: 500px;
    padding: 60px 60px;
}




/*--------------------------------------------------------------
# Code CSS for QUOTE
--------------------------------------------------------------*/

/* center the blockquote in the page */
.blockquote-wrapper {
   display: flex;
   height: 40vh;
   padding: 0 10px;
   background-color: #FFFFFF;	
   /*border-top: 1px solid #333333;
   border-bottom: 1px solid #333333;*/
   	
}

.blockquote body{

	background-color: #FFFFFF;
}	

/* Blockquote main style */
.blockquote {
    position: relative;
    font-family: 'Roboto', sans-serif;
    max-width: 920px;
    margin: 80px auto;
    align-self: center;
	background-color: #FFFFFF;
}

/* Blockquote header */
.blockquote h5 {
    font-family: 'Roboto', sans-serif;
    position: relative; /* for pseudos */
    color: #66bdeb;
    font-size: clamp(1.4rem, 0.8rem + 2.5vmin, 2.4rem);
    font-weight: normal;
    line-height: 1;
    margin: 0;
    border: 2px solid #fff;
    border: solid 2px;
    border-radius:20px;
    padding: 25px;
}

/* Blockquote right double quotes */
.blockquote h5:after {
    content:"";
    position: absolute;
    border: 2px solid #66bdeb;
    border-radius: 0 100% 0 0;
    width: 60px;
    height: 60px;
    bottom: -60px;
    left: 50px;
    border-bottom: none;
    border-left: none;
    z-index: 3; 
}

.blockquote h5:before {
    content:"";
    position: absolute;
    width: 80px;
    border: 6px solid #fff;
    bottom: -3px;
    left: 50px;
    z-index: 2;
}

/* increase header size after 600px */
@media all and (min-width: 600px) {
    .blockquote h5 {
        font-size: 2.5rem;
        line-height: 1.2;
   }

}

/* Blockquote subheader */
.blockquote h4 {
    position: relative;
    color: #ffffff;
    font-size: clamp(0.8em, 0.6em + 1.2vw, 1.4em);
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    padding-top: 15px;
    z-index: 1;
    margin-left:150px;
    padding-left:12px;
}

 
.blockquote h4:first-letter {
  margin-left:-12px;
}

.blockquote h6 {
	
	font-size: 26px;
}	


/*--------------------------------------------------------------
# Code CSS for COUNTERS ANIMATED
--------------------------------------------------------------*/

@property --cnc-01-n {
  syntax: '<integer>';
  inherits: false;
  initial-value: 0;
}
.cnc-01, .cnc-01 *, .cnc-01 *::before, .cnc-01 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/*.cnc-01 {
  width: 100%;
  min-height: 80vh;
  max-height: 80svh;
  display: block;
  --cnc-01-bg: oklch(0.17 0.02 265);
  --cnc-01-ink: oklch(0.98 0.004 260);
  --cnc-01-mut: oklch(0.68 0.02 265);
  --cnc-01-acc: oklch(0.82 0.17 158);
  background: var(--cnc-01-bg);
  color: var(--cnc-01-ink);
  font-family: 'Segoe UI',system-ui,-apple-system,sans-serif;
}*/



.cnc-01 {
  width: 100%;
  min-height: 80vh;
  max-height: 80svh;
  display: block;
  --cnc-01-bg: #000000;
  --cnc-01-ink: oklch(0.98 0.004 260);
  --cnc-01-mut: oklch(0.68 0.02 265);
  --cnc-01-acc: #66bdeb;
  background: var(--cnc-01-bg);
  color: #ffffff;
  font-family: 'Segoe UI',system-ui,-apple-system,sans-serif;
}


.cnc-01__stage {
  min-height: 80vh;
  min-height: 80svh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(14px,2vw,20px);
  padding: clamp(24px,6vw,72px);
  text-align: center;
  background: radial-gradient(90% 70% at 50% 0%,color-mix(in oklch,var(--cnc-01-acc) 16%,transparent),transparent 70%);
}
.cnc-01__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cnc-01-acc);
}
.cnc-01__head {
  font-size: clamp(26px,4.4vw,46px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.cnc-01__row {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(168px,1fr));
  gap: clamp(18px,3vw,10px);
  width: min(100%,940px);
  margin-top: clamp(14px,3vw,30px);
  padding: clamp(20px,3vw,30px) 0;
  border-block: 4px solid oklch(1 0 0/.12);
}
.cnc-01__stat {
  display: grid;
  gap: 8px;
  padding: 0 clamp(10px,2vw,22px);
  border-left: 4px dashed oklch(1 0 0/.09);
}
.cnc-01__stat:first-child {
  border-left: 0;
}
.cnc-01__val {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: clamp(38px,5.6vw,60px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
.cnc-01__num::after {
  content: counter(cnc-01-n);
}
.cnc-01__pre, .cnc-01__suf {
  /*color: var(--cnc-01-acc);*/
  color: #66bdeb;	
}
.cnc-01__suf {
  font-size: .5em;
  font-weight: 640;
  margin-left: 2px;
  letter-spacing: 0;
}
.cnc-01__key {
  font-size: 13px;
  line-height: 1.4;
  color: var(--cnc-01-mut);
  text-wrap: balance;
}
.cnc-01__num {
  counter-reset: cnc-01-n var(--cnc-01-n);
  animation: var(--cnc-01-kf) 3.2s cubic-bezier(.16,1,.3,1) both;
}
.cnc-01__stat:nth-child(1) .cnc-01__num {
  --cnc-01-kf: cnc-01-a;
  animation-delay: 0.50s;
}
.cnc-01__stat:nth-child(2) .cnc-01__num {
  --cnc-01-kf: cnc-01-b;
  animation-delay: 1.00s;
}
.cnc-01__stat:nth-child(3) .cnc-01__num {
  --cnc-01-kf: cnc-01-c;
  animation-delay: 1.50s;
}
.cnc-01__stat:nth-child(4) .cnc-01__num {
  --cnc-01-kf: cnc-01-d;
  animation-delay: 2.00s;
}
@keyframes cnc-01-a {
  from {
    --cnc-01-n: 50;
  }
  to {
    --cnc-01-n: 4;
  }
}
@keyframes cnc-01-b {
  from {
    --cnc-01-n: 0;
  }
  to {
    --cnc-01-n: 220;
  }
}
@keyframes cnc-01-c {
  from {
    --cnc-01-n: 0;
  }
  to {
    --cnc-01-n: 82;
  }
}
@keyframes cnc-01-d {
  from {
    --cnc-01-n: 0;
  }
  to {
    --cnc-01-n: 350;
  }
}
.cnc-01__stat {
  animation: cnc-01-rise .8s cubic-bezier(.16,1,.3,1) both;
  animation-delay: calc(var(--cnc-01-i,0) * .12s);
}
.cnc-01__stat:nth-child(2) {
  --cnc-01-i: 1;
}
.cnc-01__stat:nth-child(3) {
  --cnc-01-i: 2;
}
.cnc-01__stat:nth-child(4) {
  --cnc-01-i: 3;
}
@keyframes cnc-01-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cnc-01__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.cnc-01__chip {
  margin-top: clamp(10px,2vw,18px);
  font-family: ui-monospace,Menlo,Consolas,monospace;
  font-size: 11.5px;
  color: var(--cnc-01-mut);
  padding: 7px 14px;
  border: 1px solid oklch(1 0 0/.13);
  border-radius: 99px;
}
@supports not (background: paint(x)) {
  .cnc-01__num::after {
    content: counter(cnc-01-n);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cnc-01__num {
    animation-duration: 1ms;
  }
  .cnc-01__stat {
    animation: none;
  }
}

/* L'animation de cnc-01 se lance uniquement quand la classe .is-visible est présente */
.cnc-01.is-visible .ton-element-anime {
  animation: tonAnimation 3s ease-in-out infinite;
}

/* 1. Mettre l'animation en PAUSE par défaut */
.cnc-01__num {
  animation-play-state: paused !important;
}

/* 2. LANCER l'animation uniquement lors du scroll */
/* Si vous utilisez le script JavaScript IntersectionObserver (.is-visible) : */
.cnc-01.is-visible .cnc-01__num {
  animation-play-state: running !important;
}

/* OU Si votre site utilise la librairie AOS (.aos-animate) : */
.cnc-01.aos-animate .cnc-01__num {
  animation-play-state: running !important;
}


/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .swiper {
  padding: 10px 0;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-slide img {
  transition: 0.3s;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  /*text-transform: uppercase;*/
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
  font-size: 15px;	
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 15px;
  border-radius: 30px;	
}

.skills .progress-bar {
  width: 1px;
  height: 15px;
  transition: 0.9s;
  background-color: var(--accent-color);
  border-radius: 30px;	
}

.skills .progress-bar {
  /* Change la durée de transition (par défaut souvent à 0.6s ou 0.9s) */
  transition: width 1.5s ease-in-out !important;
}

/* Délai pour la 1ère barre */
.skills .progress:nth-child(1) .progress-bar {
  transition-delay: 0s;
}

/* Délai pour la 2ème barre */
.skills .progress:nth-child(2) .progress-bar {
  transition-delay: 0.25s;
}

/* Délai pour la 3ème barre */
.skills .progress:nth-child(3) .progress-bar {
  transition-delay: 0.5s;
}

/* Délai pour la 4ème barre */
.skills .progress:nth-child(4) .progress-bar {
  transition-delay: 0.75s;
}

/* Délai pour la 5ème barre */
.skills .progress:nth-child(5) .progress-bar {
  transition-delay: 1.0s;
}

/* Délai pour la 6ème barre */
.skills .progress:nth-child(6) .progress-bar {
  transition-delay: 1.25s;
}


@media (min-width: 992px) {
.skills .progress .skill {
  font-size: 15px !important;	
}
}


/*--------------------------------------------------------------
# ANIMATION OVER / SECTION HERO / BOUTON "OUR WORK"
--------------------------------------------------------------*/


/* Style de base et transition fluide sur le bouton */
.hero .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease-in-out, background-color 0.2s ease-in-out, padding 0.3s ease-in-out;
}

/* Flèche vers le bas (invisible au départ) */
.hero .cta-btn::after {
  content: " ↓"; /* Symbole flèche */
  display: inline-block;
  opacity: 0;
  max-width: 0;
  transform: translateY(-6px); /* Légèrement décalée vers le haut */
  transition: all 0.3s ease-in-out;
}

/* Effet au survol (hover) */
.hero .cta-btn:hover {
  /*transform: translateY(-2px);*/  /* Légère élévation du bouton (optionnel) */
}

/* Apparition fluide de la flèche */
.hero .cta-btn:hover::after {
  opacity: 1;
  max-width: 30px;
  transform: translateY(0); /* Glissement vers sa position finale */
  margin-left: 12px;
}


/*--------------------------------------------------------------
# ANIMATION OVER / SECTION CTA / BOUTON "CONTACT US"
--------------------------------------------------------------*/


/* Style de base et transition fluide sur le bouton */
.call-to-action .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease-in-out, background-color 0.2s ease-in-out, padding 0.3s ease-in-out;
}

/* Flèche vers le bas (invisible au départ) */
.call-to-action .cta-btn::after {
  content: " ↓"; /* Symbole flèche */
  display: inline-block;
  opacity: 0;
  max-width: 0;
  transform: translateY(-6px); /* Légèrement décalée vers le haut */
  transition: all 0.3s ease-in-out;
}

/* Effet au survol (hover) */
.call-to-action .cta-btn:hover {
  /*transform: translateY(-2px);*/  /* Légère élévation du bouton (optionnel) */
}

/* Apparition fluide de la flèche */
.call-to-action .cta-btn:hover::after {
  opacity: 1;
  max-width: 30px;
  transform: translateY(0); /* Glissement vers sa position finale */
  margin-left: 12px;
}


/*--------------------------------------------------------------
# ANIMATION OVER / SECTION CONTACT / BOUTON "SEND MESSAGE"
--------------------------------------------------------------*/


/* Style de base et transition fluide sur le bouton de contact */
#contact form button[type="submit"],
.contact form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease-in-out, background-color 0.2s ease-in-out;
}

/* Flèche vers la droite (invisible au départ) */
#contact form button[type="submit"]::after,
.contact form button[type="submit"]::after {
  content: " →"; /* Symbole flèche vers la droite */
  display: inline-block;
  opacity: 0;
  max-width: 0;
  transform: translateX(-6px); /* Légèrement décalée vers la gauche */
  transition: all 0.3s ease-in-out;
}

/* Effet au survol (hover) */
#contact form button[type="submit"]:hover,
.contact form button[type="submit"]:hover {
  /*transform: translateY(-2px);*/  /* Optionnel : légère élévation du bouton */
}

/* Apparition fluide de la flèche vers la droite */
#contact form button[type="submit"]:hover::after,
.contact form button[type="submit"]:hover::after {
  opacity: 1;
  max-width: 30px;
  transform: translateX(0); /* Glissement vers la droite jusqu'à sa position */
  margin-left: 12px;
}


/* ==========================================================================
   NEW TIMELINE
   ========================================================================== */



  padding: 2rem 0rem;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-image: radial-gradient(lightgrey 1.3px, Whitesmoke 1.3px);
  background-size: 20px 20px;
}

.hr-line {
  border-top: 1px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(90deg, White, DimGrey, White) border-box;
}

.tl-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tl-card {
  scale: 0;
  opacity: 0;
  border: none;
  border-radius: 0;
  box-shadow: 0px 2px 12px 2px LightGrey;
  overflow: hidden;
  animation: fade-in linear forwards;
  animation-timeline: view();
  animation-range: 200px 350px;
  /* Coins Arrondis */
  border-radius: 100px;	
  width: 100%;	
}

.left::before {
  scale: 0;
  opacity: 0;
  animation: fade-in linear forwards;
  animation-timeline: view();
  animation-range: 200px 350px;
}

.right::before {
  scale: 0;
  opacity: 0;
  animation: fade-in linear forwards;
  animation-timeline: view();
  animation-range: 200px 350px;
}

.origin-left {
  transform-origin: 0% 0%;
}

.origin-right {
  transform-origin: 100% 0%;
}

@keyframes fade-in {
  to {
    scale: 1;
    opacity: 1;
  }
}

.tl-img-container {
  width: 100%;
  height: 200px;
  filter: saturate(40%);
  transition: all 0.4s ease;
}

.tl-card:hover .scale {
  filter: saturate(100%);
  transform: scale(1.1);
}

.image-1 {
  background: url("../img/timeline/timeline-1.jpg") 50% 50% no-repeat;
  background-size: cover;
}

.image-2 {
  background: url("../img/timeline/timeline-2.jpg") 50% 50% no-repeat;
  background-size: cover;
}

.image-3 {
  background: url("../img/timeline/timeline-3.jpg") 50% 50%
    no-repeat;
  background-size: cover;
}

.image-4 {
  background: url("../img/timeline/timeline-4.jpg") 50% 50%
    no-repeat;
  background-size: cover;
}

.image-5 {
  background: url("../img/timeline/timeline-5.jpg") 50% 50%
    no-repeat;
  background-size: cover;
}

.image-6 {
  background: url("../img/timeline/timeline-6.jpg") 50% 50%
    no-repeat;
  background-size: cover;
}

.image-7 {
  background: url("../img/timeline/timeline-7.jpg") 50% 50%
    no-repeat;
  background-size: cover;
}

.image-8 {
  background: url("../img/timeline/timeline-8.jpg") 50% 50%
    no-repeat;
  background-size: cover;
}

.image-9 {
  background: url("../img/timeline/timeline-9.jpg") 50% 50%
    no-repeat;
  background-size: cover;
}

/* The actual timeline (the vertical ruler) */
.main-timeline {
  position: relative;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;	
}

/* The actual timeline (the vertical ruler) */
.main-timeline::after {
  content: "";
  position: absolute;
  width: 0px;
  border: 1px dashed #66bdeb;
  background-color: none;
  top: 0;
  bottom: 0px;
  left: 50%;
  margin-left: -4px;
}

/* Container around content */
.timeline {
  position: relative;
  background-color: inherit;
  width: 50%;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;	
}


/* The circles on the timeline */
.timeline::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid #f0f2f5;
  outline: 1px solid #66bdeb;
  right: -8px;
  background-color: #66bdeb;
  top: 0px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  /*padding: 10px 40px 20px 0px;*/
  padding: 40px 120px 20px 0px;	
  left: 0;
}

/* Place the container to the right */
.right {
  padding: 40px 0px 0px 120px;
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
/*.left::before {
  content: "";
  position: absolute;
  top: 18px;
  z-index: 1;
  right: 30px;
  border: medium solid #66bdeb;
  border-width: 10px 10px 10px 0;
  border-color: transparent #66bdeb transparent transparent;
  transform-origin: right center;
  transform: rotate(-45deg); 	
}*/



/* Ligne droite horizontale pour le conteneur left */
.left::before {
  content: "";
  position: absolute;
  top: 30px;                /* Ajustez la position verticale pour centrer la ligne */
  right: 25px;               /* Position horizontale selon vos besoins */
  z-index: 1;
  width: 90px;              /* Longueur de la ligne */
  height: 1px;              /* Épaisseur de la ligne */
  background-color: #66bdeb;/* Couleur de la ligne */
  transform-origin: right center;
  transform: rotate(-45deg); 	
}


/* Ligne droite horizontale pour le conteneur right */
.right::before {
  content: "";
  position: absolute;
  top: 30px;                /* Ajustez la position verticale pour centrer la ligne */
  left: 25px;               /* Position horizontale selon vos besoins */
  z-index: 1;
  width: 90px;              /* Longueur de la ligne */
  height: 1px;              /* Épaisseur de la ligne */
  background-color: #66bdeb;/* Couleur de la ligne */
  transform-origin: left center;
  transform: rotate(45deg); 	
}


/* Add arrows to the right container (pointing left) */
/*.right::before {
  content: "";
  position: absolute;
  top: 18px;
  z-index: 1;
  left: 30px;
  border: medium solid #66bdeb;
  border-width: 10px 10px 10px 0;
  border-color: transparent #66bdeb transparent transparent;
  transform-origin: left center;
  transform: rotate(225deg);	
}*/

/* Fix the circle for containers on the right side */
.right::after {
  left: -14px;
}

.accordion-button {
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  font-size: 30px;
  background-color: #efefef;
}

.accordion-button:not(.collapsed) {
  background-color: #66bdeb;
  color: White;
  font-size: 30px;	
}

.accordion-button:after {
  margin: 0;
  margin-left: 15px;
}

.accordion-button:not(.collapsed):after {
  filter: invert(100%) brightness(200%);
}

.accordion-item {
  border: none;
}

.card-footer {
  background-color: White;
  border-bottom: 5px solid white;
}

.icon-link {
  /*height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid DimGrey;
  border-radius: 50%;
  margin: 0;
  transition: scale 0.3s ease;
  text-decoration: none;*/
  & i {
    color: DimGrey;
	font-size: 26px;  
  }
}

@media (hover: hover) {
  .icon-link:hover {
    border: 1px solid DodgerBlue;
    scale: 1.15;
  }
  .icon-link:hover i {
    color: DodgerBlue;
  }
}

/* Media queries - Responsive timeline on screens less than 600px wide */

@media screen and (max-width: 700px) {
  /* Place the timelime to the left */
  .main-timeline::after {
    left: 10px;
  }

  /* Full-width containers */
  .timeline {
    width: 100%;
    padding-left: 40px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .timeline::before {
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
	display: none;
  }

  /* Make sure all circles are at the same spot */
  .left::after,
  .right::after {
    left: -4px;
  }

  .left::before {
    right: auto;
  }

  /* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }

  .tl-card {
    transform-origin: 0% 0%;
  }
}


/* Base de la barre */
.timeline .diagonal-line {
  position: absolute;
  width: 120px; /* Longueur */
  height: 5px; /* Épaisseur */
  background-color: #66bdeb;
  top: 40px; /* Ajuster la hauteur pour s'aligner au rond */
  z-index: 1;
}

/* Bloc de gauche */
.timeline .left .diagonal-line {
  right: -5px; /* Début de la ligne côté centre */
  transform-origin: right center;
  transform: rotate(-45deg); /* Plonge vers la gauche */
}

/* Bloc de droite */
.timeline .right .diagonal-line {
  left: -5px; /* Début de la ligne côté centre */
  transform-origin: left center;
  transform: rotate(45deg); /* Plonge vers la droite */
}


/* ==========================================================================
   CODE 7 COLONNES - PROGESS BAR
   ========================================================================== */


@media (min-width: 768px){
  .seven-cols .col-md-1,
  .seven-cols .col-sm-1,
  .seven-cols .col-lg-1  {
    width: 100%;
    *width: 100%;
	  
  }
}


@media (min-width: 992px) {
  .seven-cols .col-md-1,
  .seven-cols .col-sm-1,
  .seven-cols .col-lg-1 {
    width: 14.285714285714285714285714285714%;
    *width: 14.285714285714285714285714285714%;
  }
}

@media (min-width: 992px) {
  .seven-cols .col-md-1 .span,
  .seven-cols .col-sm-1 .span,
  .seven-cols .col-lg-1 .span {	
   font-size: 12px;
  }
}


@media (min-width: 1200px) {
  .seven-cols .col-md-1,
  .seven-cols .col-sm-1,
  .seven-cols .col-lg-1 {
    width: 14.285714285714285714285714285714%;
    *width: 14.285714285714285714285714285714%;
  }
}

.seven-cols .col-md-1 {
  
  padding-right: 5px !important;
  padding-left: 5px  !important;
	
	  }
}


@media (min-width: 992px) {
.skills .progress .skill {
  font-size: 12px !important;	
}
}	


/*@media (min-width: 768px) {
.skills .progress .skill {
  margin-right: 25px !important;
  padding-left: 25px  !important;	
}
}	
*/


/* ==========================================================================
   CODE FONT - POPPINS
   ========================================================================== */

.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}

/* ==========================================================================
   CODE SECTION ABOUT
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&display=swap');

.dgs-12 {
  --unit: clamp(.9rem, 2.6vw, 2.6rem);
  --page: #f7fafa;
  --page2: #eef4f4;
  --ink: #08201f;
  --muted: #4e6a68;
  --line: #d8e6e5;
  --t1: #66bdeb;
  --t2: #66abeb;
  --t3: #6692eb;
  --t4: #6676eb;
  --t5: #d4efec;
  --t6: #9fdcd6;
  --t7: #4fb8b0;
  --t8: #16716c;	
  --on4: #eafaf8;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: block;
  position: relative;
  box-sizing: border-box;
  overflow-x: clip;
  background: var(--page);
  color: var(--ink);
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.dgs-12 *,
.dgs-12 *::before,
.dgs-12 *::after {
  box-sizing: border-box;
}

/*
@supports (color: oklch(0.6 0.1 185)) {
  .dgs-12 {
    --page: oklch(0.985 0.005 190);
    --page2: oklch(0.962 0.01 190);
    --ink: oklch(0.21 0.03 190);
    --muted: oklch(0.475 0.03 190);
    --line: oklch(0.9 0.015 190);
    --t1: oklch(0.925 0.04 185);
    --t2: oklch(0.855 0.075 185);
    --t3: oklch(0.7 0.1 187);
    --t4: oklch(0.46 0.085 187);
    --on4: oklch(0.965 0.015 185);
  }
}
*/


.dgs-12__vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.dgs-12__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dgs-12__ctl {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  z-index: 40;
  margin: 0;
  padding: .28rem;
  display: flex;
  gap: .2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(247,250,250,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.dgs-12__ctl label {
  min-inline-size: 3rem;
  min-block-size: 2.5rem;
  display: grid;
  place-items: center;
  padding-inline: .8rem;
  border-radius: 9px;
  font-size: .77rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.dgs-12__ctl label:hover {
  color: var(--ink);
  background: var(--page2);
}

.dgs-12__sr:checked + label {
  background: var(--t4);
  color: var(--on4);
}

.dgs-12__sr:focus-visible + label {
  outline: 2px solid var(--t4);
  outline-offset: 2px;
}

.dgs-12__stage {
  display: flow-root;
}

.dgs-12__wrap {
  inline-size: min(72rem, 100%);
  margin-inline: auto;
}

/*
.dgs-12__top {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem) calc(var(--unit) + clamp(2rem, 5vw, 3.5rem));
}
*/

.dgs-12__eyebrow {
  margin: 0 0 .9rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  /*color: var(--t1);*/
  coler:#000000;	
  margin-left: 50px;	
}

@media (max-width: 768px) {
  .dgs-12__eyebrow {
  margin-left: 0px  !important;
  margin-right: 0px !important;
  	
}
}	


.dgs-12__display {
  margin: 0 0 .9rem;
  max-inline-size: 24ch;
  font-size: clamp(2rem, 6vw, 3.0rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
  margin-left: 50px;	
  margin-bottom: 40px;	
}

@media (max-width: 768px) {
  .dgs-12__display {
  margin-left: 0px  !important;
  margin-right: 0px !important;
  	
}
}	


.dgs-12__lede {
  margin: 0;
  max-inline-size: 46ch;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  text-wrap: pretty;
}

.dgs-12__step {
  position: relative;
  background: var(--fill);
  clip-path: polygon(0 var(--d), 100% 0, 100% 100%, 0 100%);
  margin-block-start: calc(var(--d) * -1 - 1px);
  padding: calc(var(--d) + clamp(1.75rem, 4vw, 3rem)) clamp(1.25rem, 5vw, 4rem) clamp(1.75rem, 4vw, 3rem);
}

.dgs-12__step--1 {
  --fill: var(--t1);
  --d: calc(var(--unit) * 1);
  z-index: 1;
}

.dgs-12__step--2 {
  --fill: var(--t2);
  --d: calc(var(--unit) * 1.6);
  z-index: 2;
}

.dgs-12__step--3 {
  --fill: var(--t3);
  --d: calc(var(--unit) * 2.2);
  z-index: 3;
}

.dgs-12__step--4 {
  --fill: var(--t4);
  --d: calc(var(--unit) * 2.8);
  z-index: 4;
  color: var(--on4);
}

.dgs-12__row {
  display: grid;
  gap: .5rem clamp(1.25rem, 3vw, 2.25rem);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
}

.dgs-12__no {
  margin: 0;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  font-weight: 380;
  font-variant-numeric: tabular-nums;
  opacity: .55;
}

.dgs-12__h2 {
  margin: 0 0 3.35rem;
  /*font-size: clamp(1.2rem, 3.2vw, 1.75rem);*/
  font-size: clamp(1.2rem, 3.2vw, 1.5rem);	
  font-weight: 380;
  letter-spacing: -.03em;
}

.dgs-12__body {
  margin: 0;
  max-inline-size: 60ch;
  font-size: .96rem;
  opacity: .82;
  text-wrap: pretty;
}

.dgs-12__eta {
  margin: 0;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  opacity: .7;
  white-space: nowrap;
}

.dgs-12__step--3 .dgs-12__body,
.dgs-12__step--4 .dgs-12__body {
  opacity: .88;
}

.dgs-12__after {
  background: var(--page2);
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 4rem) clamp(4rem, 9vw, 6rem);
}

.dgs-12__cols {
  display: grid;
  gap: 1rem clamp(2rem, 6vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: start;
}

.dgs-12__h3 {
  margin: 0;
  font-size: clamp(1.25rem, 3.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -.03em;
}

.dgs-12__note {
  margin: 0;
  max-inline-size: 58ch;
  color: var(--muted);
  text-wrap: pretty;
}

.dgs-12__code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: .86em;
  padding: .1em .35em;
  border-radius: 4px;
  background: rgba(8,32,31,.07);
}

.dgs-12:has(#dgs-12-d1:checked) {
  --unit: clamp(.5rem, 1.4vw, 1.3rem);
}

.dgs-12:has(#dgs-12-d3:checked) {
  --unit: clamp(1.4rem, 4.2vw, 4rem);
}

.dgs-12:has(#dgs-12-zig:checked) .dgs-12__step--2,
.dgs-12:has(#dgs-12-zig:checked) .dgs-12__step--4 {
  clip-path: polygon(0 0, 100% var(--d), 100% 100%, 0 100%);
}

@media (prefers-reduced-motion: reduce) {
  .dgs-12 * {
    transition: none !important;
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .dgs-12__step {
    forced-color-adjust: none;
    background: Canvas;
    color: CanvasText;
    border-block-start: 1px solid CanvasText;
  }

  .dgs-12__ctl label {
    border: 1px solid CanvasText;
  }

  .dgs-12__sr:checked + label {
    background: Highlight;
    color: HighlightText;
  }
}
/* Standard top-right theme toggle — pure CSS (checkbox + :has()), so demos
   that ship no script stay tagged Pure CSS. Placed on the root rather than
   inside a demo's own control panel so every demo exposes it in one place. */

.dgs-12__sronly,
.dgs-12__srtext {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.dgs-12__theme {
  position: absolute;
  inset-block-start: clamp(.85rem, 2.2vw, 1.5rem);
  inset-inline-end: clamp(.85rem, 2.2vw, 1.5rem);
  z-index: 60;
  display: grid;
  place-items: center;
  inline-size: 2.5rem;
  block-size: 2.5rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: inherit;
  background: rgba(127,127,127,.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: translate .2s ease;
}

.dgs-12__theme:hover {
  translate: 0 -1px;
}

.dgs-12__sronly:focus-visible + .dgs-12__theme {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.dgs-12__i {
  inline-size: 1.15rem;
  block-size: 1.15rem;
}

.dgs-12__i--sun {
  display: none;
}

.dgs-12:has(#dgs-12-dark:checked) .dgs-12__i--moon {
  display: none;
}

.dgs-12:has(#dgs-12-dark:checked) .dgs-12__i--sun {
  display: block;
}

.dgs-12:has(#dgs-12-dark:checked) {
  --page: #0b0e13;
  --page2: #131820;
  --ink: #eef2f7;
  --muted: #96a0ac;
  --line: #222833;
}

@media (prefers-reduced-motion: reduce) {
  .dgs-12__theme {
    transition: none;
  }
}

@media (forced-colors: active) {
  .dgs-12__theme {
    border-color: CanvasText;
  }
}

/* ==========================================================================
   CODE SECTION ABOUT - ANIMATED BACKGROUND
   ========================================================================== */

.custom-bg-section {
  /* Un dégradé subtil entre des tons très clairs (blanc, gris perle, bleu très clair) */
  background: linear-gradient(-45deg, #ffffff, #f3f3f3, #66bdeb, #ffffff);
  background-size: 400% 400%;
  animation: gradientBG 10s ease infinite;
  width: 100%;	
  
  /* S'assurer que le padding est suffisant */
  padding: 50px 50px; 
}

/* L'animation qui fait bouger le fond */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ==========================================================================
   CODE SECTION SCIENCE - ANIMATED BACKGROUND
   ========================================================================== */

.custom-bg-section-2 {
  /* Un dégradé subtil entre des tons très clairs (blanc, gris perle, bleu très clair) */
  background: linear-gradient(-45deg, #ffffff, #485eca, #ffffff, #f3f3f3);
  background-size: 400% 400%;
  animation: gradientBG 10s ease infinite;
  width: 100%;	
  
  /* S'assurer que le padding est suffisant */
  padding: 50px 50px; 
}

/* L'animation qui fait bouger le fond */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* ==========================================================================
   CODE SPACER Y
   ========================================================================== */

.spacer-y {
  /*margin-top: 30px;*/    /* Ajustez selon vos besoins */
  margin-bottom: 50px; /* Ajustez selon vos besoins */
}

/* ==========================================================================
   CODE SPACER Z
   ========================================================================== */

.spacer-z {
  margin-top: 50px;    /* Ajustez selon vos besoins */
  /*margin-bottom: 50px;*/ /* Ajustez selon vos besoins */
}

/* ==========================================================================
   CODE ANIMATION PULSE / SECTION TIMELINE
   ========================================================================== */

/* 1. L'animation de l'onde (effet radar) */
@keyframes radar-circle {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 189, 235, 0.8); /* L'onde commence sur le bord */
  }
  100% {
    box-shadow: 0 0 0 44px rgba(102, 189, 235, 0); /* Elle s'agrandit de 44px et devient transparente */
  }
}

/* 2. Votre élément sur la timeline */
.timeline::after {
  /* Pour faire un cercle parfait : */
  width: 22px;  /* Ajustez la taille selon vos besoins */
  height: 22px; /* Doit être exactement égale à la largeur */
  border-radius: 50%; /* C'est ce qui transforme le carré en cercle */
  
  /* On remplace outline par border pour un arrondi parfait */
  border: 1px solid #66bdeb; 
  
  /* Optionnel : la couleur à l'intérieur du cercle */
  background-color: #66bdeb; /* Ou #66bdeb si vous le voulez plein */

  /* Application de l'animation */
  animation: radar-circle 2s infinite ease-out;
}


/* ==========================================================================
   CODE CSS / SECTION PARTNERS / CUSTOM SLIDER
   ========================================================================== */

/* Espacement de la section globale */
.custom-partners-section {
  padding: 60px 0;
  background-color: #ffffff;
}

/* 1. Le conteneur principal avec marge interne pour accueillir le zoom */
.partners-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 25px 0; /* ⬅️ Marge haut/bas pour que le zoom ne touche jamais le bord */
  cursor: pointer;
}

/* 2. La piste qui défile */
.partners-track {
  display: flex;
  width: max-content;
  gap: 60px;
  animation: scrollInfinite 25s linear infinite;
}

.partners-slider:hover .partners-track,
.partners-track.is-paused {
  animation-play-state: paused !important;
}

/* 3. Le bloc du logo */
.partner-slide {
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* 4. L'image au repos (limitée à 75% de hauteur pour garder une réserve) */
.partner-slide img {
  max-width: 85%;
  max-height: 75%; /* ⬅️ Laisse 25% d'espace libre dans le bloc */
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* 5. Le zoom s'applique UNIQUEMENT sur l'image */
.partner-slide:hover img {
  transform: scale(1.3); /* ⬅️️ L'image grandit dans son espace réservé */
  filter: grayscale(0%) opacity(1);
}

/* Animation et responsive */
@keyframes scrollInfinite {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 30px)); }
}

@media (max-width: 768px) {
  .partners-slider {
    padding: 15px 0;
  }
  .partners-track {
    gap: 30px;
  }
  .partner-slide {
    width: 120px;
    height: 80px;
  }
  @keyframes scrollInfinite {
    100% { transform: translateX(calc(-50% - 15px)); }
  }
}

/*--------------------------------------------------------------
# Fin du code CSS
--------------------------------------------------------------*/