


/* Animation de va-et-vient flottant */
@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px); /* Monte de 12px */
  }
  100% {
    transform: translateY(0px); /* Redescend à la position initiale */
  }
}

/* Style du bouton d'application web flottant */
.app-float-btn {
  position: fixed;
  bottom: 25px;
  left: 25px; /* Positionné en bas à gauche (pour ne pas superposer le bouton WhatsApp qui est à droite) */
  z-index: 1000;
  background: linear-gradient(135deg, #0F172A, #2563EB);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #F59E0B;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  /* Application de l'animation infinie de 2.5 secondes */
  animation: floatAnimation 2.5s ease-in-out infinite;
}

.app-float-btn:hover {
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  transform: scale(1.05); /* Effet au survol du curseur */
}










/* ==========================================================================
   1. CHARTE GRAPHIQUE & VARIABLES GLOBALES
   ========================================================================== */

:root {
  /* Couleurs principales DBS Trans */
  --dbs-primary: #0B2545;      /* Bleu Marine Profond */
  --dbs-primary-dark: #061527; 
  --dbs-secondary: #FFB703;    /* Jaune / Orange Vif (Boutons) */
  --dbs-secondary-hover: #FB8500;
  
  /* Couleurs de fond et de surface */
  --dbs-bg-light: #F8F9FA;     /* Fond de page léger */
  --dbs-card-bg: #FFFFFF;      /* Fond des cartes et inputs */
  
  /* Textes */
  --dbs-text-dark: #111827;    /* Noir intense pour fond clair */
  --dbs-text-muted: #6B7280;   /* Gris pour texte secondaire */
  --dbs-text-light: #FFFFFF;   /* Blanc pour fond foncé */

  --dbs-border-color: #E5E7EB;
  --dbs-font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ==========================================================================
   2. STYLISATION GLOBALE (BODY & TITRES SUR FOND CLAIR)
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--dbs-font-main);
  background-color: var(--dbs-bg-light);
  color: var(--dbs-text-dark);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Titres et paragraphes par défaut sur fond clair */
h1, h2, h3, h4, h5, h6 {
  color: var(--dbs-text-dark);
  font-weight: 700;
}

p, span, li, label {
  color: var(--dbs-text-dark);
}

/* Utilitaires Bootstrap & Personnalisés */
.bg-dbs-primary {
  background-color: var(--dbs-primary) !important;
}

.text-dbs-primary {
  color: var(--dbs-primary) !important;
}

/* ==========================================================================
   3. NAVIGATION PRINCIPALE (HEADER / NAVBAR FOND BLEU)
   ========================================================================== */

/* Force l'arrière-plan bleu marine sur toute la barre de navigation */
header, .navbar, nav.navbar {
  background-color: var(--dbs-primary) !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* Logo DBS TRANS */
.navbar-brand, .navbar-brand * {
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 1.5rem;
}

/* Liens du menu (Accueil, À propos, Nos services, etc.) */
.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--dbs-secondary) !important;
}

/* ==========================================================================
   4. BANIÈRE PRINCIPALE / SECTIONS À FOND BLEU (HERO SECTION)
   ========================================================================== */

/* Pour les sections ayant un fond bleu (ex: Suivez votre expédition) */
.hero-section, 
.bg-dbs-primary,
section.bg-dbs-primary {
  background-color: var(--dbs-primary) !important;
  color: #FFFFFF !important;
}

/* Force les titres et sous-titres en BLANC dans les sections bleues */
.hero-section h1, .hero-section h2, .hero-section h3, .hero-section p,
.bg-dbs-primary h1, .bg-dbs-primary h2, .bg-dbs-primary h3, .bg-dbs-primary p, .bg-dbs-primary span {
  color: #FFFFFF !important;
}

/* ==========================================================================
   5. BOUTONS (DEMANDER UN DEVIS / SUIVRE)
   ========================================================================== */

.btn-warning, 
.btn-dbs-secondary {
  background-color: var(--dbs-secondary) !important;
  border-color: var(--dbs-secondary) !important;
  color: #000000 !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-warning:hover, 
.btn-dbs-secondary:hover {
  background-color: var(--dbs-secondary-hover) !important;
  border-color: var(--dbs-secondary-hover) !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   6. FORMULAIRES & CHAMPS DE RECHERCHE (SUIVI DE COLIS)
   ========================================================================== */

.form-control, .form-select {
  background-color: #FFFFFF !important;
  color: var(--dbs-text-dark) !important;
  border: 1px solid var(--dbs-border-color);
  font-weight: 500;
}

.form-control::placeholder {
  color: #9CA3AF !important;
}

.form-control:focus {
  border-color: var(--dbs-secondary) !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 183, 3, 0.3) !important;
}

/* ==========================================================================
   7. CARTES ET CONTENEURS (FOND BLANC)
   ========================================================================== */

.card {
  background-color: var(--dbs-card-bg) !important;
  border: 1px solid var(--dbs-border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card h1, .card h2, .card h3, .card h4, .card h5, .card p, .card span {
  color: var(--dbs-text-dark) !important;
}

/* ==========================================================================
   8. PIED DE PAGE (FOOTER FOND BLEU / TEXTE BLANC)
   ========================================================================== */

footer, .footer {
  background-color: var(--dbs-primary) !important;
  color: #FFFFFF !important;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer p, footer span, footer li, footer div, footer small, footer a {
  color: #FFFFFF !important;
}

footer a:hover {
  color: var(--dbs-secondary) !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   9. BOUTON FLOTTANT WHATSAPP
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: #FFFFFF !important;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-float i {
  color: #FFFFFF !important;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
}

/* ==========================================================================
   10. RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .whatsapp-float {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
    font-size: 22px;
  }
}