
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #0078D7, #4F8CFF, #7C4DFF);
  background-size: 300% 300%;
  animation: bgAnimation 15s ease infinite;
  color: #fff;
}

@keyframes bgAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.navbar {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  border-radius: 0 0 15px 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff !important;
}

.hero {
  padding: 100px 20px;
  text-align: center;
  background: rgba(0,0,0,0.25);
  border-radius: 20px;
  margin: 80px auto 40px auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero .btn {
  margin: 5px;
  font-size: 1.1rem;
  padding: 12px 24px;
  border-radius: 50px;
}

section, main {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 15px;
  margin-bottom: 20px;
  padding: 40px 20px;
  color: #fff;
}

h1, h2, h5 {
  font-weight: 700;
  color: #fff;
}

.card {
  border: none;
  border-radius: 15px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.footer {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  color: #fff;
  padding: 20px 0;
  text-align: center;
  border-radius: 15px 15px 0 0;
  margin-top: 40px;
}

/* Bouton flottant WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  font-size: 24px;
  padding: 15px 20px;
  border-radius: 50%;
}


/* --- Menu mobile slide + glow + icon styles --- */
.navbar-nav .nav-link .bi {
  font-size: 1.05rem;
  vertical-align: -0.15rem;
  transition: transform .25s ease, text-shadow .25s ease;
}
.navbar-nav .nav-link:hover .bi,
.navbar-nav .nav-link.active .bi {
  transform: translateY(-2px) scale(1.05);
  text-shadow: 0 0 14px rgba(79,140,255,0.8);
}

/* Mobile collapse (slide + glow) */
.navbar-collapse.collapse {
  -webkit-transition: max-height .45s cubic-bezier(.2,.9,.2,1), opacity .35s ease;
  transition: max-height .45s cubic-bezier(.2,.9,.2,1), opacity .35s ease;
  overflow: hidden;
}
.navbar-collapse.show {
  box-shadow: 0 8px 30px rgba(0,0,0,0.45), inset 0 0 60px rgba(79,140,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border-radius: 12px;
  padding: 10px;
}

/* Halo blue on hover for nav links */
.navbar-nav .nav-link {
  position: relative;
  padding-left: 12px;
  padding-right: 12px;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  top: 6px;
  z-index: -1;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(79,140,255,0.00), rgba(79,140,255,0.00));
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.navbar-nav .nav-link:hover::after {
  background: rgba(79,140,255,0.06);
  box-shadow: 0 6px 24px rgba(79,140,255,0.12);
  transform: translateY(-2px);
}

/* Make icons visible on desktop too */
@media (min-width: 992px) {
  .navbar-nav .nav-link .bi { margin-right: 8px; opacity: 0.95; }
}

/* Fade-in for page titles */
.fade-in-title {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp .7s ease forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Slight adjustment for navbar brand and contact block spacing */
.navbar .d-none.d-lg-block { line-height: 1.25; }

/* Ensure table remains readable on small screens */
.table-responsive { overflow-x: auto; }


/* --- Footer fade-in + halo bleu --- */
.footer {
  animation: fadeInFooter 1s ease forwards;
}
@keyframes fadeInFooter {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
.footer a[href*="maps"] {
  color: #4F8CFF;
  text-decoration: none;
  transition: color .3s ease, text-shadow .3s ease;
}
.footer a[href*="maps"]:hover {
  text-shadow: 0 0 10px rgba(79,140,255,0.8);
  color: #76a8ff;
}


/* --- Bandeau promotionnel fixe --- */
.promo-banner {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: #4F8CFF;
  color: #fff;
  padding: 10px 15px;
  z-index: 998;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: fadeInDown 0.8s ease forwards;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}


/* --- Avis clients section --- */
section .card {
  background: rgba(255,255,255,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(79,140,255,0.4);
}
section .card p {
  color: #fff;
}

/* --- Mobile optimization --- */
html, body {
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
  scroll-behavior: smooth;
}

button, a, input, textarea {
  -webkit-tap-highlight-color: transparent;
}

.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
.hero p { font-size: clamp(1rem, 3.5vw, 1.2rem); }
.navbar-brand { font-size: clamp(1.2rem, 4vw, 1.5rem); }
.footer { font-size: clamp(0.85rem, 3vw, 1rem); }


/* --- Correction visibilité menu mobile --- */
.navbar-collapse.show {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(8px);
}

.navbar-collapse.show .nav-link {
  color: #fff !important;
}

.navbar-collapse.show .nav-link:hover {
  color: #4F8CFF !important;
  text-shadow: 0 0 8px rgba(79,140,255,0.8);
}


/* --- Suppression de la ligne noire dans le menu mobile --- */
.navbar-collapse.show {
  border: none !important;
  box-shadow: none !important;
}

.navbar-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}
