
/* ================================
   BACK TO TOP – VERSION MOBILE SAFE
   ================================ */
@media (max-width: 768px) {

  #backToTop {
    position: fixed !important;

    /* Position parfaite pour éviter conflits */
    bottom: 95px !important;        /* au-dessus du chatbot */
    right: 20px !important;         /* aligné avec le bouton du chatbot */

    /* Taille réduite (mobile) */
    padding: 10px 14px !important;
    font-size: 16px !important;
    border-radius: 40px !important;

    /* Ombre légère */
    box-shadow: 0 6px 18px rgba(0,0,0,0.25) !important;

    /* Animation propre */
    transition: 0.3s ease !important;
  }

  /* Réduit l'agrandissement au hover pour mobile */
  #backToTop:hover {
    transform: scale(1.08) !important;
  }
}

/* Bloc de liens rapides moderne */
.footer-links-modern {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 20px;
  padding: 15px 10px;
  border-top: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03); /* léger fond semi-transparent */
  border-radius: 12px;
  backdrop-filter: blur(8px); /* effet blur moderne */
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.footer-links-modern a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
  transition: all 0.4s ease;
}

.footer-links-modern a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00bfff, #1effd1);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.footer-links-modern a:hover {
  color: #00bfff;
  transform: translateY(-2px);
}

.footer-links-modern a:hover::after {
  width: 100%;
}

/* Effet responsive et mobile */
@media (max-width: 768px) {
  .footer-links-modern {
    flex-direction: column;
    gap: 12px;
    padding: 12px 8px;
  }
}

 /* === Fix vide dans le HERO (corrections sans toucher au code existant) === */

/* Réduction intelligente du padding qui cause le grand vide */
.hero {
  padding-top: 90px !important;
  padding-bottom: 90px !important;
}

/* Supprime les marges inutiles qui poussent le contenu vers le bas */
.hero h1 {
  margin-top: 0 !important;
}

.hero .search-hero {
  margin-top: 10px !important; /* évite un espace gigantesque */
}

/* Évite que l’image force un grand espace vertical */
.hero-image {
  max-height: 420px;
  width: auto !important;
  object-fit: contain !important;
}

/* Ajustement spécial mobile */
@media (max-width: 768px) {
  .hero {
    padding-top: 60px !important;
    padding-bottom: 70px !important;
  }
}

body {  font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial; }

/* Remplacer l'ancien bloc "/* Navbar */" par ce bloc ci-dessous dans la <style> du <head> */
 
/* Navbar - version corrigée mobile */
.navbar {
  background:#fff;
  height:120px;
  box-shadow:0 8px 25px rgba(0,0,0,0.15);
  z-index:1100;
}
.navbar-brand img { height:90px; border-radius:20px; }
.nav-link { font-weight:600; margin-right:20px; transition:0.3s; position:relative; color: #333; }
.nav-link:hover { color:#2ecc71 !important; }
/* Flèche du dropdown */
.dropdown-toggle::after {
  transition: transform 0.35s ease, color 0.35s ease;
  margin-left: 6px;
  font-size: 0.75rem;
  transform-origin: center;
  color: #333; /* couleur plus élégante pour desktop */
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg) scale(1.2);
  color: #007bff; /* léger accent couleur au hover */
}

/* Dropdown (desktop) */
.navbar-nav .dropdown-menu {
  border-radius: 0.75rem; /* arrondi subtil et moderne */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); /* ombre plus douce et pro */
  background: #ffffff;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  min-width: 200px; /* largeur minimale pour une meilleure lisibilité */
}



/* ====== FIX MOBILE COLLAPSE / MENU ======
   Le problème de "fond blanc qui disparaît" vient souvent du collapse qui n'a pas de fond
   ou est positionné derrière d'autres éléments. On force ici un fond blanc, padding et z-index
   uniquement sur petits écrans pour ne pas altérer le rendu desktop. */
@media (max-width: 991.98px) {
  /* Quand le menu est replié/affiché il doit être clairement lisible */
  .navbar {
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* Style du conteneur collapse (mobile) : blanc, arrondi, ombre et position absolue */
  .navbar .collapse.navbar-collapse {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    padding: 12px;
    z-index: 1099;
  }

  /* Assurer que les dropdowns héritent d'un fond blanc à l'intérieur du collapse */
  .navbar .collapse .dropdown-menu {
    position: static; /* rend le sous-menu inline dans le collapse mobile */
    display: block;
    float: none;
    background: transparent;
    box-shadow: none;
    border: none;
    padding-left: 0;
  }

  .navbar .collapse .dropdown-item {
    padding-left: 0.8rem;
    color: #333;
  }

  /* Ajustements toggler */
  .navbar-toggler {
    border: 1px solid rgba(0,0,0,0.06);
    padding: 8px;
    border-radius: 10px;
  }
}
/* Hero */
.hero { position:relative; background:linear-gradient(135deg,#005baa,#0088cc); color:#fff; padding:180px 0; overflow:hidden;  }
.hero h1 {
  font-size: 4rem;            /* Taille large sur desktop */
  font-weight: 700;
  animation: fadeInDown 3s;   /* Animation d’entrée */
}

/* 🔽 Ajustement uniquement sur mobile */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 5rem;          /* Taille réduite sur smartphones */
  }
}

/* (Optionnel) encore plus petit sur très petits écrans */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }
}

.hero p { font-size:1.5rem; margin:25px 0; animation:fadeIn 2s 0.5s both; }
.hero-buttons .btn { margin-right:15px; font-weight:600; border-radius:15px; transition:0.4s; }
.btn-yellow { background:#f1c40f;color:#000; }
.btn-yellow:hover { background:#d4ac0d; transform:scale(1.08); }
.btn-outline-light { border:2px solid #fff; color:#fff; }
.btn-outline-light:hover { background:#fff;color:#005baa; transform:scale(1.08); }
.btn-blue { background:#005baa;color:#fff; }
.btn-blue:hover { background:#004080; transform:scale(1.08); }

/* Floating shapes */
.shape { position:absolute; border-radius:50%; opacity:0.25; animation:float 6s ease-in-out infinite; }
.shape.circle1 { width:150px; height:150px; background:#f1c40f; top:10%; left:5%; }
.shape.circle2 { width:120px; height:120px; background:#2ecc71; top:65%; left:85%; animation-delay:1.5s; }
.shape.circle3 { width:200px; height:200px; background:#e74c3c; top:35%; left:65%; animation-delay:3s; }
@keyframes float {0%,100%{transform:translateY(0);}50%{transform:translateY(-25px);}}

/* Sections */
section { padding:120px 0; position:relative; }
section h2 { text-align:center; font-weight:700; margin-bottom:50px; }
section h2::after { content:""; display:block; width:80px;height:3px;background:#2ecc71;margin:15px auto 0;border-radius:3px;}

/* Owl Carousel */
.owl-carousel .item img { width:100%; border-radius:25px; box-shadow:0 12px 35px rgba(0,0,0,0.2); transition:0.4s; }
.owl-carousel .item img:hover { transform:scale(1.05); }

/* Stats */
.stats { background:#f8f9fa; }
.stat-box { background:#fff; border-radius:25px; padding:50px; text-align:center; box-shadow:0 15px 35px rgba(0,0,0,0.18); transition:0.4s; }
.stat-box:hover { transform:translateY(-15px) scale(1.08); }
.stat-number { font-size:3rem;color:#005baa;font-weight:700; }
.stat-label { font-size:1.3rem;color:#333; }

/* Cards */
.card { border:none; border-radius:25px; transition:transform 0.4s, box-shadow 0.4s; }
.card:hover { transform:translateY(-12px); box-shadow:0 20px 45px rgba(0,0,0,0.22); }
/* ====================== SECTION POURQUOI NOUS FAIRE CONFIANCE ====================== */

.trust-section {
  padding: 120px 0;
  background: #f7faff;
  position: relative;
}

.trust-title {
  font-weight: 700;
  font-size: 2.5rem;
  color: #005baa;
}

.trust-subtitle {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: #555;
  line-height: 1.7;
}

.trust-card {
  background: #fff;
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
}

.trust-card i {
  font-size: 3rem;
  color: #00bfff;
  margin-bottom: 15px;
}

.trust-card h5 {
  font-weight: 700;
  color: #003b70;
  margin-bottom: 10px;
}

.trust-card p {
  color: #555;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Hover premium */
.trust-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}

/* ================== ULTRA CHATBOT STYLE ================== */

.ultra-chatbot-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999999;
}

/* Floating button */
.ultra-chatbot-btn {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #00bfff, #0077ff);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  color: white;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  cursor: pointer;
  animation: pulse 2s infinite ease-in-out;
  transition: .4s;

  /* Position flottante + remontée très haute */
  position: fixed;
  right: 20px;   /* distance du bord droit */
  bottom: 150px; /* remonte beaucoup plus haut, ~15cm */
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.ultra-chatbot-btn:hover {
  transform: scale(1.15);
}

/* Chatbox */
.ultra-chatbox {
  width: 380px;
  height: 500px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  position: absolute;
  bottom: 90px;
  right: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: fadeUp .5s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
.ultra-chat-header {
  padding: 15px;
  background: rgba(0,123,255,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.ultra-chat-header img {
  width: 45px;
  height: 45px;
  border-radius: 12px;
}

.ultra-chat-header h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.ultra-chat-header span {
  font-size: 0.75rem;
  opacity: 0.8;
}

.close-ultra {
  margin-left: auto;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: .8;
}
.close-ultra:hover {
  opacity: 1;
}

/* Content */
.ultra-chat-content {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  color: white;
}

.ultra-msg {
  padding: 12px 16px;
  border-radius: 15px;
  max-width: 80%;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.bot-msg {
  background: rgba(0,183,255,0.35);
  border-left: 4px solid #00bfff;
}

.user-msg {
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
  margin-left: auto;
}

/* Input */
.ultra-chat-input {
  padding: 12px;
  display: flex;
  gap: 12px;
  background: rgba(255,255,255,0.15);
}

.ultra-chat-input input {
  flex: 1;
  border: none;
  padding: 12px 18px;
  border-radius: 25px;
  background: rgba(255,255,255,0.3);
  outline: none;
  font-size: 0.95rem;
  color: white;
}

.ultra-chat-input button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #00bfff,#0077ff);
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: .3s;
}

.ultra-chat-input button:hover {
  transform: scale(1.1);
}
/* ==========================
   ULTRA CHATBOT – MOBILE ONLY
   ========================== */
@media (max-width: 768px) {

  /* ---- 1) Bouton flottant ---- */
  .ultra-chatbot-btn {
    position: fixed !important;
    bottom: 20px !important;   /* hauteur parfaite */
    right: 20px !important;    /* accessible au pouce */
    width: 55px !important;
    height: 55px !important;
    font-size: 24px !important;
    border-radius: 50% !important;
    z-index: 999999 !important;
  }

  /* ---- 2) Conteneur du chatbot ---- */
  .ultra-chatbox {
    position: fixed !important;
    width: 92% !important;     /* forme adaptée mobile */
    height: 72vh !important;   /* hauteur idéale */
    bottom: 85px !important;   /* au-dessus du bouton */
    right: 4% !important;      /* centré visuellement */
    border-radius: 20px !important;
    overflow: hidden !important;

    /* ⚠️ Très important :
       NE PAS toucher à display (géré par le JS) */
  }
}

/* Banniere Cookies UltraPro AJBDD - version responsive complète */
.cookie-banner {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateX(100%) translateY(-50%);
  width: 480px;           /* largeur adaptée pour tout le texte */
  max-width: 95%;         /* responsive mobile */
  background: linear-gradient(135deg, #1e3d59, #3a6073);
  color: #fff;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  font-family: 'Segoe UI Emoji', 'Segoe UI', Arial, sans-serif;
  padding: 20px;
  box-sizing: border-box;
}

.cookie-banner.show {
  transform: translateX(0) translateY(-50%);
  opacity: 1;
}

.cookie-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 2px solid #fff;
}

.cookie-banner a {
  color: #ffd700;
}

.cookie-banner .btn {
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.cookie-banner .btn:hover {
  transform: scale(1.05);
}

.cookie-banner p {
  margin: 0;
}

@media (max-width: 767px) {
  .cookie-banner {
    width: 95%;
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner .d-flex.gap-2 {
    justify-content: center;
    margin-top: 10px;
  }
  .cookie-banner .d-flex.align-items-center {
    flex-direction: column;
    gap: 10px;
  }
}
/* Texte dynamique - style moderne */
.hero-dynamic-text {
  margin-top: 15px;
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.cursor {
  font-weight: bold;
  font-size: 2rem;
  margin-left: 5px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Bouton moderne */
.hero-modern-btn {
  margin-top: 25px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #00bfff, #0077ff);
  padding: 12px 28px;
  border-radius: 40px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: 0.3s ease;
}

.hero-modern-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-dynamic-text {
    font-size: 1.3rem;
  }
  .hero-modern-btn {
    padding: 10px 22px;
    font-size: 1rem;
  }
}


 /* Style général des boutons carrés avec bordure colorée */
  .btn-square-login, .btn-square-register {
    width: 50px;
    height: 50px;
    border-radius: 8px; /* léger arrondi façon Microsoft */
    border: 2px solid #0078D4; /* couleur bordure pro */
    background-color: #fff; /* fond blanc */
    color: #0078D4; /* couleur icône */
    font-size: 18px; /* icône petite */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 8px;
  }

  /* Effet hover commun */
  .btn-square-login:hover, .btn-square-register:hover {
    background-color: #0078D4; /* fond devient couleur bordure */
    color: #fff; /* icône devient blanc */
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0,120,212,0.3);
  }

  /* Animation icône */
  .btn-square-login i, .btn-square-register i {
    transition: transform 0.3s;
  }
  .btn-square-login:hover i, .btn-square-register:hover i {
    transform: scale(1.2);
  }
.modal-body h5 { font-weight: 600; margin-bottom: 15px; }
.modal-body p { line-height: 1.6; }
.modal-body img { max-height: 200px; object-fit: cover; }
.modal-footer .btn i { margin-right: 5px; }

/* === Barre de recherche compacte et moderne === */
.search-hero {
  display: flex;
  max-width: 400px; /* plus petite */
  width: 90%;
  background: rgba(255, 255, 255, 0.15); /* fond translucide */
  backdrop-filter: blur(10px); /* effet blur */
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
}

.search-hero:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 35px rgba(0,0,0,0.25);
}

/* Input moderne */
.search-hero input {
  flex: 1;
  padding: 10px 20px;
  border: none;
  font-size: 0.95rem;
  color: #fff;
  background: transparent;
  outline: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-hero input::placeholder {
  color: rgba(255,255,255,0.7);
}

.search-hero input:focus {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

/* Bouton de recherche moderne */
.search-hero button {
  padding: 10px 20px;
  border: none;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.search-hero button:hover {
  background: rgba(255,255,255,0.4);
  transform: scale(1.05);
}

/* Icône dans le bouton */
.search-hero button i {
  font-size: 1rem;
}

/* === Message d'alerte / résultats recherche === */
#searchInfo {
  display: block;
  text-align: center;
  margin: 15px auto 0 auto;
  padding: 8px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 25px;
  max-width: 300px;
  background: rgba(0, 136, 204, 0.85); /* couleur bleu moderne */
  color: #fff;
  box-shadow: 0 5px 15px rgba(0,136,204,0.3);
  transition: all 0.3s ease, transform 0.3s ease;
  opacity: 0.95;
}

/* Changement de couleur selon type */
#searchInfo.success { background: rgba(0,136,204,0.85); color: #fff; } /* résultats trouvés */
#searchInfo.warning { background: rgba(255,193,7,0.85); color: #fff; } /* attention */
#searchInfo.error { background: rgba(220,53,69,0.85); color: #fff; } /* aucun résultat */

/* Animation légère à l'apparition */
#searchInfo.show {
  transform: translateY(0);
  opacity: 1;
}

#searchInfo.hide {
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}
/* Responsive mobile */
@media(max-width:576px){
  #searchInfo {
    max-width: 90%;
    font-size: 0.85rem;
    padding: 6px 15px;
  }
}

/* Responsive pour mobile */
@media(max-width:576px){
  .search-hero {
    max-width: 90%;
    flex-direction: column;
  }
  .search-hero input, .search-hero button {
    border-radius: 25px;
    width: 100%;
    margin: 5px 0;
  }
}
.hero-image {
  display: block;
  max-width: 90%;
  margin: 0 auto;
  border-radius: 25px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 50px rgba(30,144,255,0.4);
  transform-origin: center;
  animation: ultraHeroMotion 12s infinite ease-in-out;
  filter: brightness(1.05) contrast(1.15) saturate(1.3);
  position: relative;
  z-index: 2;
  transition: all 0.5s ease-in-out;
}

/* Animation combinée : flottement 3D + rotation + scale + glow pulsé */
@keyframes ultraHeroMotion {
  0% {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(0px) translateX(0px) scale(1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 50px rgba(30,144,255,0.4);
  }
  15% {
    transform: perspective(1000px) rotateY(15deg) rotateX(-5deg) translateY(-20px) translateX(10px) scale(1.05);
    box-shadow: 0 35px 90px rgba(0,0,0,0.5), 0 0 60px rgba(30,144,255,0.5);
  }
  30% {
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(20px) translateX(-10px) scale(1.1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 70px rgba(30,144,255,0.6);
  }
  45% {
    transform: perspective(1000px) rotateY(20deg) rotateX(-10deg) translateY(-25px) translateX(15px) scale(1.08);
    box-shadow: 0 45px 110px rgba(0,0,0,0.55), 0 0 80px rgba(30,144,255,0.7);
  }
  60% {
    transform: perspective(1000px) rotateY(-20deg) rotateX(10deg) translateY(25px) translateX(-15px) scale(1.12);
    box-shadow: 0 50px 120px rgba(0,0,0,0.6), 0 0 90px rgba(30,144,255,0.8);
  }
  75% {
    transform: perspective(1000px) rotateY(10deg) rotateX(-5deg) translateY(-15px) translateX(5px) scale(1.07);
    box-shadow: 0 45px 110px rgba(0,0,0,0.55), 0 0 80px rgba(30,144,255,0.7);
  }
  100% {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(0px) translateX(0px) scale(1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 50px rgba(30,144,255,0.4);
  }
}

/* Survol ultra interactif */
.hero-image:hover {
  transform: scale(1.3) rotateY(0deg) rotateX(0deg) translateY(0px) translateX(0px);
  filter: brightness(1.3) contrast(1.3) saturate(1.4);
  box-shadow: 0 60px 140px rgba(0,0,0,0.7), 0 0 120px rgba(30,144,255,1);
}

/* Glow pulsé autour de l'image pour effet “site moderne” */
.hero-image::after {
  content: '';
  position: absolute;
  top: -15px; left: -15px; right: -15px; bottom: -15px;
  border-radius: 25px;
  box-shadow: 0 0 50px rgba(30,144,255,0.5);
  animation: glowPulse 3s infinite alternate;
  pointer-events: none;
  z-index: -1;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 40px rgba(30,144,255,0.5); }
  50% { box-shadow: 0 0 80px rgba(30,144,255,0.8); }
  100% { box-shadow: 0 0 60px rgba(30,144,255,0.6); }
}
.hover-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  transition: all 0.3s ease-in-out;
}
.btn-gradient {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
}
.modal-body h5 { 
  font-weight: 600; 
  margin-bottom: 15px; 
}
.modal-body p { 
  line-height: 1.6; 
}
.modal-body img { 
  max-height: 200px; 
  object-fit: cover; 
}
.modal-footer .btn i { 
  margin-right: 5px; 
}
.btn-see-team {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #005baa, #0088cc);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.btn-see-team:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #0088cc, #005baa);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
/* ======== FIX POSITION BOUTON FLOATING — MOBILE ======== */
@media (max-width: 768px) {

  /* Position parfaite du bouton sur mobile */
  .smart-floating {
    position: fixed !important;
    bottom: 24px !important;   /* hauteur idéale */
    right: 20px !important;    /* à droite pour le pouce */
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: 999999 !important;
  }

  /* Ajustement léger de taille pour mobile */
  .smart-bubble {
    width: 60px !important;
    height: 60px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.28) !important;
  }
}

/* -------- WRAPPER -------- */
.smart-floating {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999999;
}

/* -------- BOUTON (BULLE) AVEC IMAGE -------- */
.smart-bubble {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  transition: transform .4s cubic-bezier(.26,.84,.32,1.25),
             opacity .4s ease;
}

.smart-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smart-bubble:hover {
  transform: scale(1.12);
}

/* -------- PANEL COMPLET -------- */
.smart-panel {
  margin-top: 15px;
  padding: 18px;
  border-radius: 22px;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
  transform: translateX(120px) scale(.8);
  opacity: 0;
  pointer-events: none;
  transition: all .45s cubic-bezier(.25,.8,.25,1);
}

/* État ouvert */
.smart-panel.open {
  transform: translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* -------- ITEMS -------- */
.smart-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 10px 15px;
  background: rgba(255,255,255,.55);
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,.20);
  transition: transform .25s ease, box-shadow .25s ease;
}

.smart-item img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.smart-item span {
  font-weight: 700;
  flex-grow: 1;
  color: #111;
}

.smart-item a:hover {
  transform: translateX(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,.32);
}
.smart-item a:hover i {
  transform: translateX(6px);
}

/* ------ AUTO HIDE -------- */
.smart-hidden {
  opacity: 0 !important;
  transform: translateY(30px) scale(.75) !important;
  pointer-events: none !important;
}

@media(max-width:768px){
  .smart-floating{
    right:50%;
    bottom:25px;
    top:auto;
    transform:translateX(50%);
  }
}
/* ================================================================= */
/* ============= FOOTER JB2D ULTRA-PRO – STYLE BLANC =============== */
/* ================================================================= */
.site-footer-pro {
  background: #ffffff;
  color: #1a1a1a;
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 55px;
  border-top-right-radius: 55px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

/* Décorations lumineuses */
.site-footer-pro::before,
.site-footer-pro::after {
  content:"";
  position:absolute;
  border-radius:50%;
  filter: blur(60px);
  opacity:0.35;
}
.site-footer-pro::before {
  width:320px; height:320px;
  background:#00b7f1;
  top:-120px; left:-100px;
}
.site-footer-pro::after {
  width:260px; height:260px;
  background:#0078c8;
  bottom:-120px; right:-80px;
}

/* Titres */
.site-footer-pro h4 {
  font-weight:700;
  font-size:1.3rem;
  margin-bottom:16px;
  color:#003566;
  position: relative;
}
.site-footer-pro h4::after {
  content:"";
  position:absolute;
  left:0; bottom:-4px;
  width:45%;
  height:3px;
  background:#00b7f1;
  border-radius:4px;
  transition: width .4s;
}
.site-footer-pro h4:hover::after {
  width:100%;
}

/* Liens */
.site-footer-pro a {
  color:#00325c;
  text-decoration:none;
  position:relative;
  transition:.3s;
}
.site-footer-pro a:hover {
  color:#00b7f1;
}
.site-footer-pro a::after {
  content:"";
  position:absolute;
  left:0; bottom:-2px;
  width:0%;
  height:2px;
  background:#00b7f1;
  transition:.25s;
}
.site-footer-pro a:hover::after {
  width:100%;
}

/* Social */
.footer-social a {
  display:inline-flex;
  width:45px; height:45px;
  justify-content:center;
  align-items:center;
  background:#f1f7ff;
  border-radius:14px;
  margin-right:10px;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
  transition: all .3s;
}
.footer-social a:hover {
  transform:translateY(-6px);
  background:#00b7f1;
  color:white;
}

/* Newsletter */
.footer-newsletter .form-control {
  background:#f8fbff;
  border-radius:20px;
  padding:12px 18px;
  border:1px solid #d7e8ff;
  transition: all .25s;
}
.footer-newsletter .form-control:focus {
  border-color:#00b7f1;
  box-shadow:0 0 8px rgba(0,183,241,0.3);
}
.footer-newsletter .btn {
  border-radius:50px;
  background:#00b7f1;
  color:white;
  padding:12px 24px;
  border:none;
  font-weight:600;
  box-shadow:0 4px 12px rgba(0,183,241,0.4);
  transition: all .25s;
}
.footer-newsletter .btn:hover {
  background:#0078c8;
  transform: translateY(-3px);
}

/* NEW : FORMULAIRE DE CONTACT */
.contact-form input,
.contact-form textarea {
  width:100%;
  border:1px solid #d9e7ff;
  background:#f6f9ff;
  padding:12px 16px;
  border-radius:14px;
  margin-bottom:12px;
  font-size:0.95rem;
  transition:.25s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color:#00b7f1;
  box-shadow:0 0 8px rgba(0,183,241,0.3);
}
.contact-form button {
  background:#ffc400;
  color:#000;
  padding:12px 20px;
  border:none;
  border-radius:14px;
  font-weight:700;
  cursor:pointer;
  transition:.25s;
}
.contact-form button:hover {
  background:#ffdf63;
  transform: translateY(-2px);
}

/* Map */
.footer-map iframe {
  width:100%; height:200px;
  border-radius:14px;
  border:0;
  box-shadow:0 4px 14px rgba(0,0,0,0.15);
}

/* Partenaires */
#footerPartners img {
  max-height:52px;
  border-radius:12px;
  padding:6px 10px;
  background:#f8fbff;
  box-shadow:0 4px 10px rgba(0,0,0,0.06);
  transition:.25s;
}
#footerPartners img:hover {
  transform:scale(1.05);
  box-shadow:0 0 12px rgba(0,183,241,0.4);
}

/* Bas de page */
.footer-bottom {
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid #e3eefd;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
}

/* Responsive */
@media(max-width:991px) {
  .site-footer-pro { padding:70px 20px; }
  .footer-bottom { flex-direction:column; gap:10px; }
}
/* Bannière rouge alert */
  .top-banner-alert {
    width: 100%;
    background-color: #dc3545; /* Rouge alerte */
    color: #fff;
    text-align: center;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    position: relative; /* sous navbar */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  .top-banner-alert a {
    background: #fff;
    color: #dc3545;
    padding: 6px 15px;
    margin-left: 15px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
  }

  .top-banner-alert a:hover {
    background: #dc3545;
    color: #fff;
  }

  .top-banner-alert .close-banner {
    position: absolute;
    right: 15px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;
  }

  .top-banner-alert .close-banner:hover {
    color: #ffc107;
  }
/* assets/css/holiday-modal-advanced.css
   Styles pour modal festive avancée — version réorganisée et améliorée
   - glassmorphism, confetti canvas, neige légère, responsive
   - préférences reduced-motion respectées
*/

/* =========================
   Variables thématiques
   ========================= */
:root{
  --jb2d-gradient: linear-gradient(135deg, #ff8a00 0%, #e52e71 50%, #6a11cb 100%);
  --jb2d-glass-bg: rgba(255,255,255,0.06);
  --jb2d-glass-border: rgba(255,255,255,0.12);
  --jb2d-accent: #ffd700;
  --jb2d-text: #ffffff;
  --jb2d-muted: rgba(255,255,255,0.85);
  --jb2d-shadow: 0 20px 60px rgba(10,30,60,0.35);
  --jb2d-radius: 18px;
  --jb2d-transition: 220ms cubic-bezier(.2,.9,.2,1);
  --jb2d-confetti-z: 2147483645;
  --jb2d-snow-z: 2147483646;
}

/* =========================
   Confetti Canvas (contrôlé par JS)
   ========================= */
#jb2d-confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: var(--jb2d-confetti-z); /* sous le modal (modal a z-index plus élevé) */
  pointer-events: none;
  display: none; /* affiché par JS lors de l'animation */
}

/* =========================
   Glass modal container
   - appliquer la classe : .jb2d-holiday-adv.glass (ex: <div class="jb2d-holiday-adv glass">)
   ========================= */
.jb2d-holiday-adv.glass {
  border-radius: var(--jb2d-radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid var(--jb2d-glass-border);
  box-shadow: var(--jb2d-shadow);
  color: var(--jb2d-text);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  transition: transform var(--jb2d-transition), box-shadow var(--jb2d-transition);
}

/* léger effet de soulèvement au survol / focus pour meilleure profondeur */
.jb2d-holiday-adv.glass:focus-within,
.jb2d-holiday-adv.glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(10,30,60,0.42);
}

/* =========================
   Colonnes visuelles / contenu
   ========================= */
.jb2d-visual-col {
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.03), transparent 10%),
              linear-gradient(135deg, rgba(255,140,0,0.14), rgba(106,17,203,0.14));
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

/* wrapper pour Lottie / illustration */
.jb2d-lottie-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
}

/* content column */
.jb2d-content-col {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  padding: 28px;
  z-index: 4;
}

/* =========================
   CTA / boutons
   ========================= */
.jb2d-cta.btn-primary{
  background: linear-gradient(90deg, var(--jb2d-accent), #ff8a00);
  color: #111;
  border: none;
  box-shadow: 0 8px 18px rgba(255,166,0,0.18);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  transition: transform var(--jb2d-transition), box-shadow var(--jb2d-transition);
}

.jb2d-cta.btn-primary:hover,
.jb2d-cta.btn-primary:focus {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(255,166,0,0.24);
  outline: none;
}

.jb2d-cta.btn-outline-primary{
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  background: transparent;
  border-radius: 12px;
  padding: 10px 16px;
}

/* Soft button for alternative action */
.btn-soft {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 12px;
}

/* =========================
   Close button accessible
   ========================= */
.jb2d-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--jb2d-text);
  transition: transform var(--jb2d-transition), background var(--jb2d-transition);
}
.jb2d-close:hover,
.jb2d-close:focus {
  transform: scale(1.04);
  background: rgba(255,255,255,0.10);
  outline: none;
}

/* =========================
   Snow particles (décoratif, léger)
   ========================= */
.jb2d-snow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: var(--jb2d-snow-z);
  overflow: hidden;
}
.jb2d-snow::after{
  content: "";
  position: absolute;
  top: -10%;
  left: 0;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.9) 1px, transparent 2px),
    radial-gradient(circle at 30% 70%, rgba(255,255,255,0.85) 1px, transparent 2px),
    radial-gradient(circle at 50% 40%, rgba(255,255,255,0.8) 1px, transparent 2px),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.75) 1px, transparent 2px),
    radial-gradient(circle at 90% 30%, rgba(255,255,255,0.7) 1px, transparent 2px);
  opacity: 0.25;
  animation: jb2d-snow-move 12s linear infinite;
  will-change: transform;
}

@keyframes jb2d-snow-move {
  0% { transform: translateY(-5%) translateX(0) rotate(0deg); }
  50% { transform: translateY(10%) translateX(-10%) rotate(180deg); }
  100% { transform: translateY(-5%) translateX(0) rotate(360deg); }
}

/* =========================
   Small helpers & fallbacks
   ========================= */

/* small lottie pulse helper class (toggle via JS) */
.jb2d-lottie-wrap.pulse {
  animation: jb2d-lottie-pulse 900ms ease-in-out both;
}
@keyframes jb2d-lottie-pulse {
  0% { transform: scale(1); filter: drop-shadow(0 8px 30px rgba(0,0,0,0.25)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 20px 60px rgba(0,0,0,0.32)); }
  100% { transform: scale(1); filter: drop-shadow(0 8px 30px rgba(0,0,0,0.25)); }
}

/* Optional: fallback confetti dots for very old browsers */
.jb2d-confetti-fallback { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.jb2d-confetti-fallback span { position:absolute; width:8px; height:8px; border-radius:2px; opacity:0.95; animation: jb2d-confetti-fall linear infinite; }
@keyframes jb2d-confetti-fall {
  0% { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity:1; }
  100% { transform: translateY(110vh) translateX(40vw) rotate(360deg); opacity:0.6; }
}

/* =========================
   Respect prefers-reduced-motion
   ========================= */
@media (prefers-reduced-motion: reduce) {
  .jb2d-snow::after,
  .jb2d-lottie-wrap.pulse,
  .jb2d-confetti-fallback span {
    animation: none !important;
    transition: none !important;
  }
  #jb2d-confetti-canvas { display: none !important; }
}

/* =========================
   Responsive tweaks
   ========================= */
@media (max-width: 991px) {
  .jb2d-visual-col { display:flex; padding:18px; min-height: 260px; }
  .jb2d-content-col { padding:18px; }
  .jb2d-holiday-adv.glass { border-radius: 14px; }
}

/* =========================
   Focus & accessibility styles
   ========================= */
.jb2d-holiday-adv :focus {
  outline: 3px solid rgba(255,220,120,0.18);
  outline-offset: 2px;
  border-radius: 8px;
}

/* =========================
   End of file
   ========================= */
/* assets/css/custom-cursor.css
   Modern golden circular custom cursor
   - Smooth follow with subtle trail and glow
   - Scales on hover over interactive elements
   - Ripple on click
   - Respects prefers-reduced-motion and disables on touch devices
*/

/* Root vars for easy theme tweaks */
:root{
  --jb2d-cursor-size: 18px;
  --jb2d-cursor-size-hover: 36px;
  --jb2d-cursor-border: 2px;
  --jb2d-cursor-color: linear-gradient(180deg, #ffd66b 0%, #ffb347 50%, #ff8a00 100%);
  --jb2d-cursor-glow: 0 8px 28px rgba(255,170,40,0.22);
  --jb2d-cursor-ring: rgba(255,224,138,0.12);
  --jb2d-cursor-z: 2147483646;
  --jb2d-cursor-fade: 220ms cubic-bezier(.2,.9,.2,1);
}

/* Cursor wrapper - pointer-events none so it doesn't block clicks */
#jb2d-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--jb2d-cursor-size);
  height: var(--jb2d-cursor-size);
  transform: translate3d(-50%, -50%, 0);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--jb2d-cursor-z);
  transition: width var(--jb2d-cursor-fade), height var(--jb2d-cursor-fade), box-shadow var(--jb2d-cursor-fade), opacity var(--jb2d-cursor-fade), transform calc(var(--jb2d-cursor-fade) * 1.1);
  will-change: transform, width, height, opacity;
  opacity: 1;
  display: block;
  mix-blend-mode: normal;
}

/* The visual circle */
#jb2d-cursor .jb2d-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--jb2d-cursor-color);
  border: var(--jb2d-cursor-border) solid rgba(255,255,255,0.9);
  box-shadow: var(--jb2d-cursor-glow);
  display: block;
  transform-origin: center;
  transition: transform var(--jb2d-cursor-fade), opacity var(--jb2d-cursor-fade);
}

/* subtle halo ring */
#jb2d-cursor .jb2d-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--jb2d-cursor-size) * 2.6);
  height: calc(var(--jb2d-cursor-size) * 2.6);
  transform: translate3d(-50%, -50%, 0);
  border-radius: 50%;
  background: radial-gradient(circle, var(--jb2d-cursor-ring) 0%, transparent 45%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--jb2d-cursor-fade);
}

/* Hover / focus states (triggered by JS) */
#jb2d-cursor.hover {
  width: var(--jb2d-cursor-size-hover);
  height: var(--jb2d-cursor-size-hover);
}
#jb2d-cursor.hover .jb2d-core {
  transform: scale(1.02);
  box-shadow: 0 18px 48px rgba(255,150,30,0.28);
}
#jb2d-cursor.hover .jb2d-ring { opacity: 1; }

/* Hidden state (when over inputs or on touch devices) */
#jb2d-cursor.hidden { opacity: 0; pointer-events: none; transform: translate3d(-50%, -50%, 0) scale(0.96); }

/* Ripple effect container */
#jb2d-cursor .jb2d-ripples { position: absolute; inset: 0; pointer-events: none; overflow: visible; }

/* Individual ripple */
#jb2d-cursor .jb2d-ripple {
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  background: rgba(255,200,80,0.95);
  opacity: 0.95;
  box-shadow: 0 6px 18px rgba(255,170,40,0.22);
  pointer-events: none;
  will-change: transform, opacity;
  animation: jb2d-ripple 700ms cubic-bezier(.2,.9,.2,1);
}
@keyframes jb2d-ripple {
  0% { transform: translate(-50%, -50%) scale(0.2); opacity: 0.95; }
  60% { transform: translate(-50%, -50%) scale(1.8); opacity: 0.45; }
  100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}

/* Idle fade (when mouse stops) */
#jb2d-cursor.idle { opacity: 0.36; transform: translate3d(-50%, -50%, 0) scale(0.96); }

/* Show pointer fallback on touch devices by adding .touch-enabled to <html> (JS will set) */
html.touch-enabled #jb2d-cursor { display: none !important; }

/* Accessibility: hide when focus in input/textarea/select/contenteditable */
#jb2d-cursor.hide-on-focus { opacity: 0; }

/* Respect reduced motion: disable animations, smaller transitions */
@media (prefers-reduced-motion: reduce) {
  #jb2d-cursor,
  #jb2d-cursor .jb2d-core,
  #jb2d-cursor .jb2d-ring,
  #jb2d-cursor .jb2d-ripple {
    transition: none !important;
    animation: none !important;
  }
  #jb2d-cursor { transform: translate3d(-50%,-50%,0); }
}