/**
* Template Name: Squadfree
* Template URL: https://bootstrapmade.com/squadfree-free-bootstrap-template-creative/
* Updated: Aug 07 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";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Couleurs globales - Les variables de couleur suivantes sont utilisées sur tout le site Web. Les mettre à jour ici modifiera la palette de couleurs de l'ensemble du site Web */
:root {
  --background-color: #ffffff;
  /* Couleur d'arrière-plan pour l'ensemble du site Web, y compris les sections individuelles */
  --default-color: #444444;
  /* Couleur par défaut utilisée pour la majorité du contenu texte sur l'ensemble du site Web */
  --heading-color: #2f4d5a;
  /* Couleur pour les titres, les sous-titres et le titre sur le site Web */
  --accent-color: #38AB71;
  /* Couleur d'accent qui représente votre marque sur le site Web. Il est utilisé pour les boutons, les liens et les autres éléments qui doivent se démarquer */
  --surface-color: #ffffff;
  /* La couleur de surface est utilisée comme arrière. */
  --contrast-color: #ffffff;
  /* Couleur de contraste pour le texte, assurant la lisibilité aux arrière-plans d'accent, de cap ou de couleurs par défaut. */
}

/*Couleurs de menu de navigation - Les variables de couleur suivantes sont utilisées spécifiquement pour le menu de navigation. Ils sont séparés des couleurs 
globales pour permettre plus d'options de personnalisation */
:root {
  --nav-color: #2b6e25;
  /* La couleur par défaut des liens NavMenu principaux */
  --nav-hover-color: #38AB71;
  /* Appliqué aux principaux liens NavMenu lorsqu'ils sont planés ou actifs */
  --nav-mobile-background-color: #ffffff;
  /* Utilisé comme couleur d'arrière-plan pour le menu de navigation mobile */
  --nav-dropdown-background-color: #ffffff;
  /* Utilisé comme couleur d'arrière-plan pour les éléments déroulants qui apparaissent lorsqu' ils planent sur les éléments de navigation primaire */
  --nav-dropdown-color: #444444;
  /* Utilisé pour les liens de navigation des éléments déroulants du menu de navigation. */
  --nav-dropdown-hover-color: #38AB71;
  /* Similaire à --nav-hover-color,
    cette couleur est appliquée aux liens de navigation déroulants lorsqu'ils sont survolés. */
}

/* 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: #f5f9fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #F8F0E9;
  --default-color: #38AB71;
  --heading-color: #27a807;
  --surface-color: #38AB71;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #ffffff;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #8ec4dd;
}

/* 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);
}

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

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  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 effet verre dépoli
--------------------------------------------------------------*/
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.5s ease;
  overflow: visible;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* --- Image de fond translucide --- */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../assets/img/blur-bg.png") center/cover no-repeat;
  opacity: 0.25;
  /* 👈 image semi-transparente */
  z-index: -1;
  transition: opacity 0.6s ease;
}

/* --- Effet verre dépoli au scroll --- */
.scrolled .header {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.scrolled .header::before {
  opacity: 0.35;
  /* augmente légèrement la visibilité de l’image */
}

/* --- Fallback pour navigateurs sans blur (Hostinger friendly) --- */
@supports not ((backdrop-filter: blur(10px))) {
  .scrolled .header {
    background: rgba(248, 240, 233, 0.9);
  }
}

.header .logo {
  line-height: 1;
  position: relative;
  /* nécessaire pour positionner le point */
  display: inline-flex;
  align-items: center;

}

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

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

/* --- Logo --- */
.header .logo img {
  max-height: 50px;
  margin-right: 8px;
}

/* --- Animation douce du point vert (pulsation) --- */
@keyframes pulse-green {
  0% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.6);
  }

  70% {
    transform: scale(1.3);
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
  }

  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

/* --- Point vert pulsant en haut à gauche du logo --- */
.status-indicator--logo {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 12px;
  height: 12px;
  background-color: #28a745;
  border-radius: 50%;
  border: 2px solid #fff;
  /* contraste */
  pointer-events: none;
  animation: pulse-green 1.8s infinite ease-in-out;
}

/* --- Logo image --- */
.logo-scrolled {
  display: none;
}

.scrolled .logo-default {
  display: none;
}

.scrolled .logo-scrolled {
  display: inline-block;
}

/* --- Point vert pulsant en haut à gauche du logo --- */
.status-indicator--logo {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 12px;
  height: 12px;
  background-color: #28a745;
  border-radius: 50%;
  border: 2px solid #fff;
  /* contour blanc */
  pointer-events: auto;
  /* permet le survol */
  animation: pulse-green 1.8s infinite ease-in-out;
  cursor: help;
  z-index: 10;
}

/* --- Infobulle sous le point --- */
.status-indicator--logo::after {
  content: "état : connecté";
  position: absolute;
  top: 140%;
  /* s'affiche dessous */
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  font-size: 11px;
  padding: 4px 6px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.status-indicator--logo:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}


/* --- Animation de clignotement vert pour l'icône utilisateur connecté --- */
@keyframes pulse-icon {
  0% {
    transform: scale(1);
    color: #198754;
    /* vert Bootstrap */
    text-shadow: 0 0 0 rgba(25, 135, 84, 0);
  }

  50% {
    transform: scale(1.15);
    color: #6fda9c;
    /* vert clair lumineux */
    text-shadow: 0 0 10px rgba(111, 218, 156, 0.7);
  }

  100% {
    transform: scale(1);
    color: #198754;
    text-shadow: 0 0 0 rgba(25, 135, 84, 0);
  }
}

/* Applique l’animation uniquement si connecté */
.icon-pulse i {
  animation: pulse-icon 1.5s infinite ease-in-out;
  transition: color 0.3s ease, transform 0.3s ease;
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@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: 10px 15px;
    margin-left: 2px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Éléments collés à gauche */
    white-space: nowrap;
    text-align: left;
    /* Texte aligné à gauche */
    transition: 0.3s;
  }

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

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--contrast-color);
    background-color: color-mix(in srgb, var(--nav-hover-color), transparent 40%);
    border-radius: 25px;
    padding: 10px 20px;
    transition: all 0.3s ease;
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 2px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    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;
    margin: 0;
    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(--contrast-color);
    background-color: var(--nav-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;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    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;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

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

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

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

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

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.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 30%);
  margin-right: 10px;
  transition: 0.3s;
}

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

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

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

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.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: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  opacity: 1;
  /* ajout important */
  transition: opacity 0.6s ease;
  /* transition fluide uniquement sur l’opacité */
}

#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: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  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;
  bottom: 15px;
}

/*--------------------------------------------------------------
# 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-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 74px;
  overflow: clip;
}

@media (max-width: 1199px) {

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

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: var(--text-pos);
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 122px;
  height: 66px;
  background: url(../img/section-title-bg.png) no-repeat;
  opacity: 0.20;
  z-index: -1;
}

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.hero h2 {
  color: #BBC78F;
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  font-family: "Times New Roman", Times, serif;
  /*  text-transform: lowercase;*/
  text-shadow: -3px 3px 2px #2f4d5a;
}

.hero p {
  color: #fa8435;
  /*  color: var(--default-color);*/
  margin: 10px 0 0 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: "Calibri", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  /*  text-transform: uppercase;*/
  text-shadow: -2px 2px 2px #2f4d5a;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 30px;
    line-height: 36px;
  }
}

.hero .btn-scroll {
  transition: 0.4s;
  color: var(--default-color);
  display: block;
  margin-top: 30px;
  animation: btn-up-down 1s ease-in-out infinite alternate-reverse both;
}

.hero .btn-scroll i {
  font-size: 48px;
}

.hero .btn-scroll:hover {
  color: var(--accent-color);
}

@keyframes btn-up-down {
  0% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(-5px);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.about .content p {
  margin-bottom: 30px;
}

.about .content .about-btn {
  padding: 8px 30px 9px 30px;
  color: var(--accent-color);
  border-radius: 50px;
  transition: 0.3s;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--accent-color);
}

.about .content .about-btn i {
  font-size: 16px;
  padding-left: 5px;
}

.about .content .about-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.about .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  font-family: "Calibri", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  margin: 0 0 10px 0;
}

.about .icon-box h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.about .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

.about .icon-box:hover h4 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  z-index: 1;
}

.services .service-item:before {
  content: "";
  position: absolute;
  background: var(--accent-color);
  inset: 100% 0 0 0;
  transition: all 0.3s;
  z-index: -1;
}

.services .service-item .icon {
  margin-bottom: 10px;
}

.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: ease-in-out 0.3s;
}

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

.services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  transition: ease-in-out 0.3s;
}

.services .service-item:hover h4 a,
.services .service-item:hover .icon i,
.services .service-item:hover p {
  color: var(--contrast-color);
}

.services .service-item:hover:before {
  background: var(--accent-color);
  inset: 0;
  border-radius: 0px;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 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;
  z-index: 3;
}

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

.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: 5px;
  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: 16px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  color: #2ecc71;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  /* Ombre sous le texte */
}

.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 {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

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

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

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  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;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background: var(--surface-color);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid var(--surface-color);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

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

.testimonials .swiper-pagination {
  margin-top: 40px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

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

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member .member-img {
  border-radius: 8px;
  overflow: hidden;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  top: -18px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .team-member .social a {
  transition: color 0.3s;
  color: var(--contrast-color);
  background: var(--accent-color);
  margin: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: 0.3s;
}

.team .team-member .social a i {
  line-height: 0;
  font-size: 16px;
}

.team .team-member .social a:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
}

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

.team .team-member .member-info {
  background-color: var(--surface-color);
  padding: 30px 15px;
  text-align: center;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  background: var(--surface-color);
  margin: -50px 20px 0 20px;
  position: relative;
  border-radius: 8px;
}

.team .team-member .member-info h4 {
  font-weight: 500;
  margin-bottom: 5px;
  font-size: 20px;
}

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

.team .team-member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

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

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--background-color);
  padding: 60px 40px;
  height: 100%;
  border-radius: 5px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 400;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: var(--accent-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  border: 1px solid var(--accent-color);
}

.pricing .buy-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  border-top-color: var(--accent-color);
}

.pricing .featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-item {
  margin: 20px 0;
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.faq .faq-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 10px;
}

.faq .faq-item h4 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
}

.faq .faq-item p {
  font-size: 15px;
}

.faq .faq-item:first-child {
  padding-top: 0;
  margin-top: 0;
}

.faq .faq-item:last-child {
  border: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  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 {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.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: var(--surface-color);
  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 .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

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

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

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

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

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

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

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# 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);
}

@supports not ((backdrop-filter: blur(8px))) {
  .scrolled .header {
    background: rgba(255, 255, 255, 0.85);
  }
}

/* --- Logo : empilement vertical (image + ECG dessous) --- */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  line-height: 1;
  text-decoration: none;
}

.logo-img-wrap {
  position: relative;
  display: inline-block;
}

/* --- Ligne ECG réaliste (orange pastel) --- */
.ecg-wrap {
  width: 160px;
  /* largeur adaptée au logo */
  height: 40px;
  overflow: visible;
  position: relative;
  margin-top: 4px;
}

.ecg {
  width: 100%;
  height: 100%;
  display: block;
}

.ecg-line {
  fill: none;
  stroke: #ff8a3d;
  /* orange pastel */
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 138, 61, 0.6));

  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: ecg-realistic 3s linear infinite;
}

/* --- Animation réaliste du tracé --- */
@keyframes ecg-realistic {
  0% {
    stroke-dashoffset: 600;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  40% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  60% {
    stroke-dashoffset: -100;
    opacity: 0.8;
  }

  100% {
    stroke-dashoffset: -600;
    opacity: 0;
  }
}

/* --- Point lumineux mobile --- */
.ecg-light {
  fill: #fff;
  stroke: #ff8a3d;
  stroke-width: 2px;
  filter: drop-shadow(0 0 10px rgba(255, 138, 61, 0.8));
  animation: ecg-light-move 3s linear infinite;
}

/* --- Déplacement du point lumineux --- */
@keyframes ecg-light-move {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    transform: translateX(240px);
    opacity: 1;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    transform: translateX(600px);
    opacity: 0;
  }
}

/* icone de modification qui pulse*/
.pulse-icon {
  font-size: 1.5rem;
  /* agrandit légèrement l’icône */
  animation: pulse 1.5s infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.pulse-icon:hover {
  transform: scale(1.2);
}

/* Animation “pulsation douce” */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pointer {
  cursor: pointer;
}

/* Taille des images */
.img-rubrique-modale img {
  margin: 15px auto;
  display: block;
  width: 400px;
  border: 4px solid #2c2f3f;
}

.img-portfolio-modale img {
  margin: 1px auto;
  display: block;
  width: 170px;
  border: 4px solid #2c2f3f;
}

.cache-row {
  display: none;
}

.action-badges {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.action-badges i {
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.action-badges i:hover {
  transform: scale(1.2);
}

/* Style du contenu de log */
.log-viewer {
  text-align: left;
  /* alignement à gauche */
  font-family: "Courier New", monospace;
  /* police type console */
  font-size: 0.9rem;
  white-space: pre-wrap;
  /* retour à la ligne auto */
  word-wrap: break-word;
  background: #f9f9f9;
  /* fond clair */
  border-radius: 8px;
  padding: 15px;
  min-height: 200px;
  color: #333;
}

/* ============================================================
 * Toasts confirm (design amélioré Twigastudio)
 * Toasts Twigastudio : cadre + espace + header propre
 * ============================================================ */
.toast.toast-confirm {
  border: 2px solid rgba(0, 0, 0, 0.15) !important;
  /* override bootstrap's border:0 */
  border-radius: .6rem !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  overflow: hidden;
  /* évite la croix qui dépasse */
}

.toast.toast-confirm .toast-header {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  /* visible aussi en bg coloré */
}

.toast.toast-confirm .toast-body {
  padding: .875rem 1rem;
  line-height: 1.4;
}

.toast.toast-confirm .confirm-buttons {
  margin-top: .75rem;
  display: flex;
  justify-content: center;
  gap: .75rem;
}

.toast.toast-confirm .confirm-buttons .btn {
  min-width: 96px;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background: #f9f9f9;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

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

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #0e2442;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/* =======================================================================
   🎨 STYLE OFFICIEL DES MODALES — TWIGA STUDIO
   -----------------------------------------------------------------------
   Ce bloc définit le design unifié pour toutes les modales du site.
   - Couleurs cohérentes avec la charte Twiga (turquoise, gris doux, blanc)
   - Bouton "Fermer" sobre et compact
   - Champs légèrement ombrés, angles arrondis
   - Alerte visuelle douce et lisible
   - Effet carte léger (shadow-sm)
   ======================================================================= */

.modal-content {
  border-radius: 1rem;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.modal-header {
  background-color: #fafafa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  align-items: center;
  padding: 0.75rem 1rem;
}

.modal-title {
  font-weight: 600;
  color: #4b5563;
  /* gris doux */
  display: flex;
  align-items: center;
}

.modal-title .text-twiga {
  color: #0ea5a3 !important;
  /* turquoise Twiga Studio */
}

.modal-header .btn {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 2rem;
}

.modal-header .btn-outline-secondary {
  border-color: #dee2e6;
  color: #555;
  transition: all 0.2s ease-in-out;
}

.modal-header .btn-outline-secondary:hover {
  background-color: #f1f3f5;
  color: #000;
}

.modal-body {
  background-color: #ffffff;
  border-radius: 0 0 1rem 1rem;
  padding: 1.5rem;
}

.modal-body .form-control {
  border-radius: 0.5rem;
  border-color: #dee2e6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.modal-body .form-control:focus {
  border-color: #0ea5a3;
  box-shadow: 0 0 0 0.2rem rgba(14, 165, 163, 0.15);
}

.btn-primary {
  background-color: #0ea5a3;
  border: none;
  box-shadow: 0 4px 12px rgba(14, 165, 163, 0.25);
}

.btn-primary:hover {
  background-color: #0c8e8c;
}

.alert-light {
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-left: 5px solid #ffcd39;
  background: #fffef8;
  color: #4b5563;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Classe utilitaire pour la couleur de marque */
.text-twiga {
  color: #0ea5a3 !important;
}

/* =======================================================
   🌿 TWIGA STUDIO - TITRE DE MODALE AVEC RELIEF ET OMBRE SOUS L’ICÔNE
   ======================================================= */

.twiga-modal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #37474f;
  /* Gris bleuté élégant */
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* Cercle icône */
.twiga-icon-wrap {
  background: linear-gradient(135deg, #009688, #00796b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  position: relative;
  /* 💡 Ombre subtile sous le cercle (effet de flottement) */
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Effet visuel léger au survol (optionnel, fluide) */
.twiga-icon-wrap:hover {
  transform: translateY(-1px);
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.25),
    0 6px 10px rgba(0, 0, 0, 0.1);
}

/* Taille et alignement de l’icône */
.twiga-icon-wrap i {
  font-size: 0.9rem;
}

/* Texte du titre */
.twiga-title-text {
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  padding: 0.15rem 0.5rem;
  background: linear-gradient(90deg, #e0f2f1 0%, #ffffff 100%);
  border-radius: 6px;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    0 1px 3px rgba(0, 0, 0, 0.05);
}

/* =======================================================
   🌿 TWIGA STUDIO - MODALE PORTFOLIO (VERSION FINALE FUSIONNÉE)
   ======================================================= */

/* --- Dialog et animation --- */
#affiche-portfolio .modal-dialog {
  max-width: 900px;
  transition: all 0.35s ease-in-out;
}

#affiche-portfolio .modal-content {
  border-radius: 16px;
  border: none;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  transform: translateY(20px);
  animation: twigaFadeIn 0.4s ease forwards;
}

@keyframes twigaFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- En-tête --- */
#affiche-portfolio .modal-header {
  background: linear-gradient(135deg, #009688, #26a69a);
  color: #fff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#affiche-portfolio .modal-title {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

#affiche-portfolio .btn-close {
  filter: invert(1) brightness(120%);
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

#affiche-portfolio .btn-close:hover {
  opacity: 1;
}

/* --- Corps principal --- */
#affiche-portfolio .modal-body {
  background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
  padding: 0;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Breadcrumbs --- */
#affiche-portfolio .breadcrumbs {
  background: #f5f5f5;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

#affiche-portfolio .breadcrumbs h2 {
  font-size: 1.25rem;
  color: #004d40;
  font-weight: 600;
  margin: 0;
}

#affiche-portfolio .breadcrumbs ol {
  margin-bottom: 0;
  padding-left: 0;
  background: transparent;
  list-style: none;
}

#affiche-portfolio .breadcrumbs ol li {
  display: inline-block;
  color: #009688;
  font-size: 0.9rem;
}

#affiche-portfolio .breadcrumbs ol li+li::before {
  content: "›";
  color: #aaa;
  margin: 0 6px;
}

/* --- Portfolio details --- */
#affiche-portfolio .portfolio-details {
  padding: 1.5rem;
}

#affiche-portfolio .portfolio-details h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #00695c;
  margin-bottom: 1rem;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

#affiche-portfolio .portfolio-info {
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

/* --- Swiper --- */
#affiche-portfolio .portfolio-details-slider {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
}

#affiche-portfolio .swiper-button-next,
#affiche-portfolio .swiper-button-prev {
  color: #009688;
  transition: color 0.3s ease;
}

#affiche-portfolio .swiper-button-next:hover,
#affiche-portfolio .swiper-button-prev:hover {
  color: #004d40;
}

#affiche-portfolio .swiper-pagination-bullet {
  background: #80cbc4;
  opacity: 1;
}

#affiche-portfolio .swiper-pagination-bullet-active {
  background: #009688;
}

/* --- Pied --- */
#affiche-portfolio .modal-footer {
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

#affiche-portfolio .modal-footer .btn {
  border-radius: 6px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

#affiche-portfolio .btn-primary {
  background-color: #009688;
  border-color: #009688;
}

#affiche-portfolio .btn-primary:hover {
  background-color: #00796b;
  border-color: #00796b;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  #affiche-portfolio .portfolio-details {
    padding: 1rem;
  }

  #affiche-portfolio .portfolio-info {
    padding: 1rem;
  }
}

/* =======================================================================
   ✅ FIN DU STYLE DES MODALES TWIGA STUDIO
   ======================================================================= */


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

}*/