/* ------------------------------------------
   PALETTE REVINA TOURS
   Vert principal : #009540
   Jaune soleil   : #F9C028
   Orange accent  : #E68A00
   Blanc          : #ffffff
------------------------------------------- */
:root {
  --rb-green: #009540;
  --rb-yellow: #F9C028;
  --rb-orange: #E68A00;
  --rb-white: #ffffff;
  --rb-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

/* Navbar branding */
.brand-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.logo-navbar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rb-green);
}


/* Buttons */
.rb-btn {
  border-radius: 12px;
}
.rb-btn-primary {
  background: var(--rb-green);
  border-color: var(--rb-green);
  color: var(--rb-white);
}
.rb-btn-primary:hover {
  background: var(--rb-orange);
  border-color: var(--rb-orange);
}

/* Badges soft */
.rb-badge-soft {
  background-color: rgba(0, 149, 64, 0.12);
  color: var(--rb-green);
  border-radius: 10px;
  padding: .35rem .6rem;
}
.rb-badge-ok {
  background-color: rgba(0, 149, 64, 0.15);
  color: var(--rb-green);
}
.rb-badge-warn {
  background-color: rgba(249, 192, 40, 0.15);
  color: var(--rb-orange);
}
.rb-badge-err {
  background-color: rgba(220, 53, 69, .12);
  color: #842029;
}

/* Cards */
.rb-card {
  border: 0;
  border-radius: 14px;
  box-shadow: var(--rb-shadow);
  background: var(--rb-white);
}

/* Tables */
.rb-table th {
  color: var(--rb-green);
  font-weight: 600;
}
.rb-table > :not(caption) > * > * {
  padding: .9rem .75rem;
}

/* Forms */
.rb-form .form-control,
.rb-form .form-select {
  border-radius: 12px;
  padding: .7rem .9rem;
  border: 1px solid #ccc;
}
.rb-form .form-control:focus,
.rb-form .form-select:focus {
  box-shadow: 0 0 0 .25rem rgba(0, 149, 64, .15);
  border-color: var(--rb-green);
}


/* ===========================
   HEADER STYLE - Revina Tours
=========================== */
:root{
  --rev-green: #009540;
  --rev-green-dark:#006b32;
  --rev-yellow:#F9C028;
  --rev-orange:#E68A00;
  --rev-white:#ffffff;
}





/* Frise dorée */
.zk-greek-bar {
  height: 16px;
  background: linear-gradient(90deg,#b8860b, #f9d86d, #b8860b, #f9d86d, #b8860b);
  filter: saturate(1.1);
}


/* ===== CATALOG LOOK (inspiré de la capture) ===== */

/* fond motif subtil (SVG inline) */
.zk-bg-pattern {
  --tile: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23e7ecef' stroke-width='1'%3E%3Cpath d='M40,2 60,22 40,42 20,22z'/%3E%3Cpath d='M0,40 20,60 0,80 -20,60z' transform='translate(40 -18)'/%3E%3C/g%3E%3C/svg%3E");
  background-image: var(--tile);
  background-size: 160px 160px;
}

/* carte package */
.pkg-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  overflow: hidden;
  border: 1px solid #eef1f4;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pkg-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,.10); }

.pkg-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.pkg-body { padding: 22px 20px 26px; text-align: center; }
.pkg-title {
  color: #0b8c45; /* vert logo */
  font-weight: 800;
  letter-spacing: .2px;
  text-transform: uppercase;
  font-size: 1.02rem;
  margin: 8px 0 4px;
}
.pkg-dates, .pkg-board { color: #5c6666; }

/* prix */
.pkg-price-now {
  font-weight: 800;
}
.pkg-price-old {
  color: #c40000;
  text-decoration: line-through;
  margin-right: 6px;
  font-weight: 700;
}

/* dispo / indispo */
.pkg-unavailable { color: #e10000; font-weight: 700; }

/* bouton réserver : noir pilule */
.btn-book {
  border-radius: 999px;
  background: #0b0b0b;
  color: #fff;
  padding: 14px 26px;
  font-weight: 700;
  border: none;
}
.btn-book:hover { background: #1c1c1c; color:#fff; }

/* sticker promo optionnel */
.promo-sticker {
  position: absolute;
  top: -8px; right: -8px;
  background: linear-gradient(45deg, #ffd54d, #ff9800);
  color: #222;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
  transform: rotate(6deg);
  font-size: .85rem;
}

/* colonnes confortables */
.pkg-col { padding: 18px; }

/* titre de section */
.section-title {
  color: #0b8c45;
  font-weight: 800;
}

/* container large */
.container-narrow { max-width: 1160px; }


/* === Catalog detail: sticky aside + gallery === */
.sticky-aside { position: sticky; top: 90px; }

.thumb-img{
  width: 88px; height: 66px; object-fit: cover;
  border-radius: 10px; border: 1px solid #eef1f4;
}
.thumb-link:hover .thumb-img{ outline: 2px solid #0b8c45; }

/* ajustements mobiles */
@media (max-width: 991.98px){
  .sticky-aside { position: static; }
}

/* sticky encart */
.sticky-aside { position: sticky; top: 90px; }
@media (max-width: 991.98px){ .sticky-aside { position: static; } }

@media (max-width: 576px){
  .container-narrow { padding-left: .5rem; padding-right: .5rem; }
}

/* dans static/css/rb-safe.css */
.form-control { border-radius: 12px; }


/* ===== Auth page ===== */
.auth-hero{
  background: linear-gradient(180deg,#f6faf8 0%,#ffffff 100%);
  padding: 32px 0 48px;
}
.auth-card{
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.auth-aside{
  background: radial-gradient(88% 88% at 30% 20%, #19a760 0%, #0b8c45 70%, #08733a 100%);
  min-height: 100%;
  align-items: center;
  justify-content: center;
}
.auth-logo{
  width: 88px; height: 88px;
  border-radius: 50%;
  background:#fff; padding:8px;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}
.auth-submit{
  border-radius: 12px;
}

/* Inputs du form même sans .form-control */
.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="number"]{
  width: 100%;
  border: 1px solid #e6eaee;
  background: #ecf3ff;               /* léger bleu comme ta capture */
  padding: .75rem .9rem;
  border-radius: 10px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .2s;
  font-size: 1rem;
}
.auth-card input:focus{
  border-color: #0b8c45;
  box-shadow: 0 0 0 .2rem rgba(11,140,69,.15);
  background: #fff;
}
.auth-card .form-label{ font-weight: 600; color:#2b3a3a; }

/* Petits gadgets */
@media (max-width: 991.98px){
  .auth-hero{ padding-top: 16px; }
}

/* ===== Auth pages ===== */
.auth-hero { background: linear-gradient(180deg,#f6faf8 0%,#ffffff 100%); padding: 32px 0 48px; }
.auth-card { border-radius: 18px; overflow: hidden; background: #fff; }
.auth-aside {
  background: radial-gradient(88% 88% at 30% 20%, #19a760 0%, #0b8c45 70%, #08733a 100%);
  min-height: 100%; align-items: center; justify-content: center; display:flex;
}
.admin-hero { background: linear-gradient(180deg,#1a1a1a 0%,#000 100%); }
.admin-aside { background: radial-gradient(88% 88% at 30% 20%, #a30000 0%, #800000 70%, #4a0000 100%); }
.auth-logo { width: 88px; height: 88px; border-radius: 50%; background:#fff; padding:8px; box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.auth-submit { border-radius: 12px; }
@media (max-width: 991.98px){ .auth-hero{ padding-top:16px; } }

/* Inputs jolis même sans form-control */
.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="number"]{
  width: 100%; border: 1px solid #e6eaee; background: #ecf3ff;
  padding: .75rem .9rem; border-radius: 10px; outline: none;
  transition: border-color .15s, box-shadow .15s, background .2s; font-size: 1rem;
}
.auth-card input:focus{ border-color:#0b8c45; box-shadow:0 0 0 .2rem rgba(11,140,69,.15); background:#fff; }

.btn-danger{ background-color:#c62828; border-color:#c62828; }
.btn-danger:hover{ background-color:#a61c1c; border-color:#a61c1c; }


.references-section {
  background: #f9f9f9;
}

.reference-logo {
  max-height: 60px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.reference-logo:hover {
  opacity: 1;
}


.rb-hero {
  background: linear-gradient(0deg, #ffffff 0%, #f8faf9 100%);
}

.reference-logo {
  max-height: 60px;
  opacity: 0.9;
  object-fit: contain;
  transition: opacity .2s ease;
}
.reference-logo:hover {
  opacity: 1;
}

.rb-card-cover {
  height: 220px;
  object-fit: cover;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}

.rb-product-card .badge {
  font-weight: 500;
}

.rb-month .border {
  background: #fff;
}

.bg-success-subtle { background-color: #eaf7ef; }
.bg-danger-subtle  { background-color: #fdeced; }


.rb-filters .form-label {
  font-weight: 600;
}
/* =========================
   Footer – style premium
   ========================= */

/* On cible l'élément site-footer ET des fallbacks si la classe n'est pas encore appliquée */
.site-footer,
footer.site-footer,
footer[role="contentinfo"] {
  position: relative;
  background: #f7fbf9;                 /* fond clair légèrement verdâtre */
  overflow: hidden;
  border-top: 1px solid #dfe9e6;
}

/* Liseré dégradé en haut */
.site-footer::before,
footer.site-footer::before,
footer[role="contentinfo"]::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #0f5f3f, #2fbf71, #0f5f3f);
  opacity: .25;
}

/* Motif discret */
.site-footer::after,
footer.site-footer::after,
footer[role="contentinfo"]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient( rgba(15,95,63,0.06) 1px, transparent 1px );
  background-size: 16px 16px;
  opacity: .6;
}

/* Contenu au-dessus du motif */
.site-footer .container,
footer.site-footer .container,
footer[role="contentinfo"] .container {
  position: relative;
  z-index: 1;
}

/* Titres */
.site-footer h5,
.site-footer .footer-title,
footer.site-footer h5,
footer.site-footer .footer-title,
footer[role="contentinfo"] h5,
footer[role="contentinfo"] .footer-title {
  font-weight: 800;
  letter-spacing: .3px;
  color: #137a50;
  margin-bottom: 1rem;
}

/* Texte */
.site-footer p,
footer.site-footer p,
footer[role="contentinfo"] p {
  color: #516365;
  line-height: 1.65;
}

/* Liens + soulignement animé */
.site-footer a,
footer.site-footer a,
footer[role="contentinfo"] a {
  color: #1f2b2d;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color .2s ease;
}

.site-footer a:not(.btn, .social-link)::after,
footer.site-footer a:not(.btn, .social-link)::after,
footer[role="contentinfo"] a:not(.btn, .social-link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #0f5f3f, #2fbf71);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.site-footer a:hover,
footer.site-footer a:hover,
footer[role="contentinfo"] a:hover {
  color: #0f5f3f;
}

.site-footer a:hover::after,
footer.site-footer a:hover::after,
footer[role="contentinfo"] a:hover::after {
  transform: scaleX(1);
}

/* Séparateur */
.site-footer hr,
footer.site-footer hr,
footer[role="contentinfo"] hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a8cfc1, transparent);
  margin-top: 2rem;
  margin-bottom: 1rem;
  opacity: 1;
}

/* Icônes sociales */
.site-footer .social-link,
footer.site-footer .social-link,
footer[role="contentinfo"] .social-link {
  --size: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  margin-right: .6rem;
  color: #0f5f3f;
  background: #e7f5ef;
  box-shadow: 0 1px 0 rgba(16, 112, 79, .06),
              inset 0 0 0 1px rgba(16, 112, 79, .08);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  text-decoration: none;
}

.site-footer .social-link:hover,
footer.site-footer .social-link:hover,
footer[role="contentinfo"] .social-link:hover {
  transform: translateY(-2px);
  background: #dff3ea;
  box-shadow: 0 8px 16px rgba(16, 112, 79, .12),
              inset 0 0 0 1px rgba(16, 112, 79, .14);
  color: #0d5e38;
}

/* Copyright */
.site-footer .copyright,
footer.site-footer .copyright,
footer[role="contentinfo"] .copyright,
.site-footer .small,
footer.site-footer .small,
footer[role="contentinfo"] .small {
  color: #6a7a7b !important;
}

/* Responsive */
@media (max-width: 767.98px) {
  .site-footer .col-md-4:not(:last-child),
  footer.site-footer .col-md-4:not(:last-child),
  footer[role="contentinfo"] .col-md-4:not(:last-child) {
    margin-bottom: 1.25rem;
  }
}

.nav-link {
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #198754; /* vert bootstrap */
}

.nav-link.active {
  background-color: #198754;
  color: #fff !important;
  border-radius: 5px;
  padding: 5px 10px;
}

/* -- Navbar -- */
.rb-navbar { backdrop-filter: saturate(180%) blur(8px); }

.rb-logo {
  width: 36px; height: 36px; object-fit: cover; border-radius: 50%;
}



/* Bouton panier */
.rb-cart-btn {
  padding: .45rem .8rem;
  border-radius: .6rem;
}

/* Ajuste le badge du panier sur petits écrans */
@media (max-width: 991.98px) {
  .rb-cart-total { display:none; }
}

/* Panier */
.cart-thumb {
  width: 56px;
  height: 56px;
}

.qty-input {
  width: 80px;
}

/* Carte récap collée sous la navbar */
.summary-card {
  top: 88px; /* adapter si ta navbar est plus haute */
}

.table td, .table th {
  vertical-align: middle;
}



.builder-cover {
  background: url("/static/img/builder-cover.jpg") center/cover no-repeat;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  min-height: 180px; /* fallback si ratio non appliqué */
}
body {
  padding-top: 65px; /* adapte la valeur à la hauteur exacte de ta navbar */
}

.rb-navbar {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* petite ombre élégante */
  z-index: 1030; /* pour être au-dessus des dropdowns et modals */
}


/* === Navbar RevinaPro (Bootstrap 5) === */
.rb-navbar {
  backdrop-filter: saturate(180%) blur(6px);
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
}

.rb-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #009540; /* vert Revina */
}

/* Liens */
.navbar .nav-link {
  font-weight: 600;
  color: #344054 !important;
  padding: 0.75rem 0.8rem;
  border-radius: 8px;
  
  transition: background-color .15s ease, color .15s ease;
}
.navbar .nav-link:hover {
  color: #009540 !important;
  background-color: rgba(0, 149, 64, 0.06);
}
.navbar .nav-link.active {
  color: #009540 !important;
  background-color: rgba(0, 149, 64, 0.12);
}

/* Bouton panier */
.rb-cart-btn {
  --bs-btn-padding-y: .45rem;
  --bs-btn-padding-x: .8rem;
  border-radius: .6rem;
}

/* Dropdown */
.navbar .dropdown-menu {
  border-radius: 12px;
  padding: .5rem;
  border: 1px solid #eef2f6;
}
.navbar .dropdown-item {
  border-radius: .5rem;
  padding: .55rem .75rem;
}
.navbar .dropdown-item:hover {
  background-color: #f5f8f6;
}

/* Body offset si navbar sticky */
body { padding-top: 12px; }
@media (max-width: 991.98px) {
  body { padding-top: 72px; }
}

/* Supprime les anciennes règles conflictuelles */
.navbar.navbar-old,
.navbar.navbar-legacy { all: unset; }

/* --- Ajuste la hauteur de la navbar --- */
.rb-navbar .nav-link {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.navbar-brand {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.navbar {
  
  min-height: 58px; /* ~hauteur standard Bootstrap */
}

.rb-logo {
  width: 50px;
  height: 50px;
  border: 1px solid #009540;
}


.rb-cart-btn {
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.rb-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 149, 64, 0.25);
}

.navbar {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}


/* === FILTRE PACKAGES === */
.rb-filters {
  background: linear-gradient(180deg, #ffffff 0%, #f8fdf9 100%) !important;
  border: 1px solid #dcefe2;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease-in-out;
}

/* Effet au survol : légère mise en avant */
.rb-filters:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Labels et champs */
.rb-filters .form-label {
  font-weight: 600;
  color: #1e4032;
}

.rb-filters .form-control {
  border-radius: 10px;
  border: 1px solid #cfe5d7;
  padding: 10px 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rb-filters .form-control:focus {
  border-color: #009540;
  box-shadow: 0 0 0 0.2rem rgba(0, 149, 64, 0.15);
}

/* === BOUTONS === */
.btn-book {
  background: linear-gradient(90deg, #009540, #00b85b);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  padding: 10px 28px;
  transition: 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 149, 64, 0.25);
}

.btn-book:hover {
  background: linear-gradient(90deg, #00b85b, #009540);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 149, 64, 0.35);
}

/* Réinitialiser */
.btn-outline-secondary {
  border-radius: 50px;
  font-weight: 500;
  padding: 10px 26px;
  color: #444;
  border-color: #ccc;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

/* Responsive ajusté */
@media (max-width: 768px) {
  .rb-filters {
    padding: 16px;
  }
  .btn-book,
  .btn-outline-secondary {
    width: 100%;
  }
}


/* === FILTRE COMPACT (liste services, etc.) === */
form.row.g-2 {
  background: #ffffff;
  border: 1px solid #e0ede4;
  border-radius: 14px;
  padding: 18px 40px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

/* Effet hover (discret) */
form.row.g-2:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Labels */
form.row.g-2 .form-label {
  font-weight: 600;
  color: #1e4032;
  font-size: 0.9rem;
}

/* Champs de saisie */
form.row.g-2 .form-control,
form.row.g-2 .form-select {
  border-radius: 10px;
  border: 1px solid #cfe5d7;
  padding: 8px 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

form.row.g-2 .form-control:focus,
form.row.g-2 .form-select:focus {
  border-color: #009540;
  box-shadow: 0 0 0 0.2rem rgba(0, 149, 64, 0.15);
}

/* === Bouton "Filtrer" === */
form.row.g-2 .btn-outline-secondary {
  background: linear-gradient(90deg, #009540, #00b85b);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

form.row.g-2 .btn-outline-secondary:hover {
  background: linear-gradient(90deg, #00b85b, #009540);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 149, 64, 0.25);
}

/* Responsive : le filtre reste propre sur mobile */
@media (max-width: 768px) {
  form.row.g-2 {
    padding: 14px;
  }
  form.row.g-2 .btn-outline-secondary {
    width: 100%;
  }
}


/* ==================== NAVBAR GAMBIE PREMIUM 2025 ==================== */
.rb-navbar-gambie {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: none !important;
  transition: all 0.4s ease;
  min-height: 84px;
}

/* Frise tricolore gambienne en haut */
.gambie-strip {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  
  border-radius: 8px 8px 0 0;
}

/* Logo premium */
.rb-logo-senziaara {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #F9C028;
  box-shadow: 0 6px 20px rgba(249, 192, 40, 0.4);
  transition: transform .3s ease;
}
.rb-logo-senziaara:hover { transform: scale(1.1) rotate(5deg); }

/* Liens du menu */
.rb-navbar-gambie .nav-link {
  font-weight: 600;
  color: #1a1a1a !important;
  padding: 0.75rem 1.2rem !important;
  border-radius: 12px;
  transition: all .25s ease;
  position: relative;
}
.rb-navbar-gambie .nav-link:hover,
.rb-navbar-gambie .nav-link.active {
  color: #009540 !important;
  background: rgba(0, 149, 64, 0.12);
  transform: translateY(-2px);
}

/* Effet au scroll */
.rb-navbar-gambie.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Badge panier blanc sur fond rouge */
.badge.border-danger { border-width: 2px !important; }

/* Responsive parfait */
@media (max-width: 991.98px) {
  .rb-navbar-gambie { min-height: 70px; }
  .rb-logo-senziaara { width: 48px; height: 48px; }
}

/* ================= ESPACE ENTRE NAVBAR ET CONTENU ================= */
body {
  padding-top: 100px !important;   /* crée l'espace sous la navbar fixe */
}

/* Si tu veux un espace différent sur mobile */
@media (max-width: 991.98px) {
  body { padding-top: 90px !important; }
}

/* ================= BOUTONS NAVBAR ULTRA STYLÉS (comme ta capture) ================= */
.rb-navbar-gambie .nav-link {
  font-weight: 600 !important;
  color: #212529 !important;
  padding: 0.65rem 1.3rem !important;
  border-radius: 50px !important;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.rb-navbar-gambie .nav-link::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #009540, #00b85b);
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.rb-navbar-gambie .nav-link:hover::before,
.rb-navbar-gambie .nav-link.active::before {
  opacity: 1;
}

.rb-navbar-gambie .nav-link:hover,
.rb-navbar-gambie .nav-link.active {
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 149, 64, 0.3);
}

/* Le bouton "Accueil" actif (comme dans ta capture) */
.rb-navbar-gambie .nav-link.active {
  background: linear-gradient(90deg, #009540, #00b85b) !important;
  color: white !important;
}

/* Boutons Connexion / Admin encore plus beaux */
.rb-navbar-gambie .btn-success {
  background: linear-gradient(90deg, #009540, #00b85b);
  border: none;
  border-radius: 50px;
  padding: 0.65rem 1.6rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 149, 64, 0.3);
  transition: all 0.3s ease;
}

.rb-navbar-gambie .btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 149, 64, 0.4);
}

.rb-navbar-gambie .btn-outline-dark {
  border-radius: 50px;
  padding: 0.65rem 1.4rem;
  border: 2px solid #6c757d;
  font-weight: 600;
  transition: all 0.3s ease;
}

.rb-navbar-gambie .btn-outline-dark:hover {
  background: #6c757d;
  color: white;
  transform: translateY(-2px);
}



/* ==================== DASHBOARD AGENCE – VERSION 2025 PREMIUM ==================== */
.dashboard-wrapper {
  background: linear-gradient(135deg, #f8fdf9 0%, #f0f8f4 100%);
  min-height: 100vh;
  padding-top: 2rem;
}

/* Titre principal */
.dashboard-title {
  font-weight: 800;
  color: #006b32;
  letter-spacing: -0.5px;
  font-size: 2.1rem;
}

/* Filtres – card premium */
.filter-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 149, 64, 0.08);
  border: 1px solid rgba(0, 149, 64, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.filter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 149, 64, 0.12);
}

/* Labels filtres */
.filter-card .form-label {
  font-weight: 700;
  color: #006b32;
  font-size: 0.9rem;
}

/* Champs filtres */
.filter-card .form-control,
.filter-card .form-select {
  border-radius: 14px;
  border: 2px solid #d4e8dc;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.filter-card .form-control:focus,
.filter-card .form-select:focus {
  border-color: #009540;
  box-shadow: 0 0 0 0.25rem rgba(0, 149, 64, 0.15);
  background-color: #f8fffb;
}

/* Boutons filtres */
.filter-card .btn-primary {
  background: linear-gradient(90deg, #009540, #00b85b);
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 149, 64, 0.3);
}
.filter-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 149, 64, 0.4);
}

.filter-card .btn-outline-secondary {
  border-radius: 50px;
  padding: 0.75rem 1.8rem;
  font-weight: 600;
}

/* Cartes statistiques */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: white;
  border-radius: 20px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 149, 64, 0.08);
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 149, 64, 0.12);
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: #006b32;
  margin: 0.5rem 0;
}

.stat-label {
  color: #5c6666;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Tableau moderne */
.reservation-table {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid #e6f0ea;
}

.reservation-table th {
  background: linear-gradient(90deg, #009540, #00b85b);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 1.2rem 1rem;
}

.reservation-table td {
  padding: 1.1rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #f0f5f2;
}

/* Lignes hover */
.reservation-table tbody tr {
  transition: all 0.2s ease;
}
.reservation-table tbody tr:hover {
  background-color: #f8fffb;
  transform: scale(1.005);
}

/* Badges statuts */
.badge-paid {
  background: linear-gradient(45deg, #00b85b, #00d46b);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
}

.badge-pending {
  background: linear-gradient(45deg, #ffc107, #ffda6a);
  color: #856404;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
}

/* Boutons d’action */
.action-btns .btn {
  border-radius: 12px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
}
.action-btns .btn-outline-secondary { border: 2px solid #ced4da; }
.action-btns .btn-outline-primary   { border: 2px solid #0d6efd; }
.action-btns .btn-success           { background: #009540; border: none; }

/* Responsive */
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .filter-card .row > div { margin-bottom: 1rem; }
  .reservation-table { font-size: 0.9rem; }
}



/* ==================== DASHBOARD ADMIN – VERSION 2025 ==================== */
/* Réutilise toutes les classes du dashboard agence + quelques ajouts admin */

.dashboard-title {
  font-weight: 800;
  color: #006b32;
  letter-spacing: -0.5px;
  font-size: 2.2rem;
}

/* Header du récap par agence */
.card-header.bg-gradient {
  background: linear-gradient(90deg, #006b32, #009540) !important;
  color: white;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
}

/* Tableau admin : lignes légèrement plus espacées */
.reservation-table thead th {
  background: linear-gradient(90deg, #006b32, #009540);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Lignes du tableau admin */
.reservation-table tbody td {
  padding: 1.2rem 1rem;
  font-size: 0.95rem;
}

/* Mise en valeur du nom d'agence */
.reservation-table tbody tr:hover {
  background-color: #f8fffb;
  transform: scale(1.002);
}

/* Badges admin */
.badge-paid { background: linear-gradient(45deg, #00b85b, #00d46b); color: white; }
.badge-pending { background: linear-gradient(45deg, #ffc107, #ffda6a); color: #856404; }


/* ==================== DÉTAIL RÉSERVATION – VERSION 2025 ==================== */
.prose { line-height: 1.7; }
.prose strong { color: #006b32; }

.card-header.bg-success {
  background: linear-gradient(90deg, #006b32, #009540) !important;
}

/* Effet hover sur les cartes */
.card.shadow-lg:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 149, 64, 0.15) !important;
  transition: all 0.3s ease;
}

/* Boutons premium */
.btn-success {
  background: linear-gradient(90deg, #009540, #00b85b);
  border: none;
  font-weight: 600;
}
.btn-success:hover {
  background: linear-gradient(90deg, #00b85b, #009540);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 149, 64, 0.4);
}

.btn-outline-success {
  border: 2px solid #009540;
  color: #009540;
  font-weight: 600;
}
.btn-outline-success:hover {
  background: #009540;
  color: white;
}

/* ==================== PAGE CONTACT – VERSION 2025 ==================== */
.contact-hero {
  background: linear-gradient(135deg, #f8fdf9 0%, #f0f8f4 100%);
  padding: 4rem 0;
  text-align: center;
}

.contact-card {
  transition: all 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 149, 64, 0.15);
}

/* Icônes dans les coordonnées */
.card-body i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 149, 64, 0.1);
  border-radius: 50%;
}

/* Bouton d'envoi */
.btn-success {
  background: linear-gradient(90deg, #009540, #00b85b);
  border: none;
  font-weight: 700;
}
.btn-success:hover {
  background: linear-gradient(90deg, #00b85b, #009540);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 149, 64, 0.35);
}

/* --- DESIGN COMMUN (AGENCE & ADMIN) --- */
:root {
    --brand-primary: #00a650; /* Vert Revina */
    --brand-dark: #007a3a;
    --admin-primary: #d32f2f; /* Rouge Admin */
    --admin-dark: #b71c1c;
    --bg-light: #f3f4f6;
    --input-bg: #f9fafb;
    --text-main: #1f2937;
}

body {
    background-color: var(--bg-light);
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Centrage Vertical */
.auth-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

/* La Carte (Conteneur principal) */
.auth-card {
    background: white;
    border-radius: 20px; /* Joli arrondi moderne */
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Colonne Gauche (Image/Logo) */
.auth-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 3rem;
    color: white;
}

/* Style Agence (Vert) */
.agency-aside {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
}

/* Style Admin (Rouge/Sombre pour différencier) */
.admin-aside {
    background: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
}

.auth-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    padding: 10px;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-bottom: 1.5rem;
}

/* --- STYLISATION DES INPUTS (SANS TOUCHER AU PYTHON) --- */
/* On cible les inputs dans nos formulaires pour leur donner le look "Pro" */
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-main);
    background-color: var(--input-bg);
    background-clip: padding-box;
    border: 1px solid #e5e7eb; /* Bordure grise légère */
    border-radius: 10px; /* Arrondi des inputs */
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-top: 0.5rem;
}

/* Focus Agence (Vert) */
.agency-form input:focus {
    background-color: #fff;
    border-color: var(--brand-primary);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(0, 166, 80, 0.15);
}

/* Focus Admin (Rouge) */
.admin-form input:focus {
    background-color: #fff;
    border-color: var(--admin-primary);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.15);
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0;
}

/* Boutons */
.btn-auth {
    padding: 0.8rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    transition: transform 0.2s;
}
.btn-auth:hover { transform: translateY(-2px); }

.btn-agency { background-color: var(--brand-primary); color: white; }
.btn-agency:hover { background-color: var(--brand-dark); color: white; }

.btn-admin { background-color: var(--admin-primary); color: white; }
.btn-admin:hover { background-color: var(--admin-dark); color: white; }




/* =======================================================
   NOUVELLE NAVBAR - STYLE "MODERN AIR"
   À placer à la fin du fichier CSS
   ======================================================= */

/* 1. La barre principale : Blanc pur et ombre diffuse */
.rb-navbar-gambie {
    background: rgba(255, 255, 255, 0.98) !important; /* Quasi opaque */
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04) !important; /* Ombre très douce */
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
    min-height: 80px;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* 2. La frise Gambie : Une ligne fine et élégante en haut */
.gambie-strip {
    height: 4px;
    background: linear-gradient(90deg, #E68A00 0%, #F9C028 50%, #009540 100%);
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 1040;
}

/* 3. Le Logo : Plus épuré (on retire la grosse bordure jaune) */
.rb-logo-senziaara {
    border: 2px solid transparent; /* On enlève le cadre lourd */
    box-shadow: none;
    transform: scale(1);
    transition: transform 0.3s ease;
}
.rb-logo-senziaara:hover {
    transform: scale(1.08); /* Petit zoom sympa au survol */
}

/* 4. Les Liens (Menu) : Soulignement animé au lieu des fonds colorés */
.rb-navbar-gambie .nav-link {
    color: #4a5568 !important; /* Gris foncé pro */
    font-weight: 600 !important;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    background: transparent !important; /* On retire le fond vert */
    border-radius: 0 !important;
    position: relative;
    box-shadow: none !important;
    transform: none !important;
}

/* La ligne qui apparait en dessous au survol */
.rb-navbar-gambie .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 50%;
    background-color: #009540; /* Vert Revina */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
}

/* État Hover et Active */
.rb-navbar-gambie .nav-link:hover,
.rb-navbar-gambie .nav-link.active {
    color: #009540 !important; /* Le texte devient vert */
    background: transparent !important;
}

.rb-navbar-gambie .nav-link:hover::after,
.rb-navbar-gambie .nav-link.active::after {
    width: 25px; /* Une petite ligne centrée sous le texte */
}

/* 5. Boutons Droite (Login/Panier) : Style "Soft" (Vert clair) */
.rb-navbar-gambie .btn-success,
.rb-navbar-gambie .rb-cart-btn {
    background: #e6f4ea !important; /* Fond vert très pâle */
    color: #009540 !important;      /* Texte vert fort */
    border: 1px solid rgba(0, 149, 64, 0.1) !important;
    box-shadow: none !important;
    border-radius: 12px !important; /* Arrondi plus carré (moderne) */
    padding: 0.6rem 1.2rem;
    transition: all 0.2s ease;
}

.rb-navbar-gambie .btn-success:hover,
.rb-navbar-gambie .rb-cart-btn:hover {
    background: #009540 !important; /* Devient vert plein au survol */
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 149, 64, 0.25) !important;
}

/* Badge du panier */
.rb-navbar-gambie .badge {
    background-color: #E68A00 !important; /* Orange au lieu de rouge pour le contraste */
    border: 2px solid #fff !important;
    top: -5px !important;
    right: -5px !important;
}

/* 6. Menu Utilisateur (Hello, Agence) */
.rb-navbar-gambie .dropdown-toggle {
    background: transparent !important;
    color: #1a1a1a !important;
    border: 1px solid #f0f0f0;
    border-radius: 50px;
    padding: 5px 15px 5px 5px !important; /* Ajustement pour le cercle icône */
    display: flex;
    align-items: center;
    gap: 8px;
}
.rb-navbar-gambie .dropdown-toggle i {
    background: #009540;
    color: #fff !important;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem !important;
}

/* 7. Dropdown Menu (Liste déroulante) */
.dropdown-menu {
    border: none !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
    border-radius: 16px !important;
    margin-top: 15px !important;
    overflow: hidden;
}
.dropdown-item {
    padding: 10px 20px !important;
    font-weight: 500;
    color: #4a5568;
    transition: background 0.2s;
}
.dropdown-item:hover {
    background: #f7fafc;
    color: #009540;
}

/* Ajustement Mobile */
@media (max-width: 991px) {
    .rb-navbar-gambie {
        background: #ffffff !important; /* Pas de transparence sur mobile */
    }
    .rb-navbar-gambie .navbar-collapse {
        background: #ffffff;
        padding: 20px;
        border-top: 1px solid #f0f0f0;
        margin-top: 10px;
    }
    .rb-navbar-gambie .nav-link::after {
        display: none; /* Pas de ligne animée sur mobile */
    }
    .rb-navbar-gambie .nav-link.active {
        background: #f0fdf4 !important; /* Fond vert clair sur mobile */
        border-radius: 8px !important;
    }
}


/* =======================================================
   HOME PAGE - STYLE "CLEAN & MODERN"
   ======================================================= */

/* --- 1. HERO SECTION --- */
.rb-hero {
    background: radial-gradient(circle at 90% 10%, #f0fdf4 0%, #ffffff 60%) !important;
    position: relative;
    overflow: hidden;
}

/* Titre principal plus impactant */
.rb-hero h1 {
    color: #1a202c; /* Noir charbon doux */
    letter-spacing: -0.03em; /* Lettres serrées style moderne */
    line-height: 1.1;
}

/* Texte secondaire */
.rb-hero .lead {
    font-weight: 400;
    color: #5d6d7e !important;
}

/* Image du Hero avec bordure douce */
.rb-hero img {
    border-radius: 24px !important;
    box-shadow: 0 20px 40px rgba(0, 149, 64, 0.1) !important;
    transition: transform 0.5s ease;
}
.rb-hero img:hover {
    transform: perspective(1000px) rotateY(-2deg) scale(1.02);
}

/* --- 2. SECTION PROMO (Oumra en toute quiétude) --- */
.promo-section {
    background: #ffffff;
}

.promo-img {
    border-radius: 24px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

/* Les icônes des fonctionnalités (Visa, Transport...) */
.feature-item {
    align-items: flex-start;
    margin-bottom: 1rem;
}

.feature-ico {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background-color: #f0f9f4; /* Fond vert très pâle */
    color: #009540;            /* Icône verte */
    border-radius: 12px;       /* Carré arrondi */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-ico {
    background-color: #009540;
    color: #ffffff;
    transform: rotate(10deg);
}

.feature-title {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2px;
}
.feature-text {
    font-size: 0.9rem;
    color: #718096;
}

/* --- 3. GALERIE PHOTOS --- */
.ratio {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.ratio:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* --- 4. CARDS "COMMENT ÇA MARCHE" --- */
/* On rend les cartes plus "flottantes" */
.card {
    border: 1px solid #f1f5f9 !important;
    border-radius: 20px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #ffffff;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 149, 64, 0.08) !important;
    border-color: #dcfce7 !important; /* Bordure vert très clair au survol */
}

/* Les émojis ou icônes dans les cards */
.card .fs-3 {
    background: #fffbeb; /* Fond jaune très pâle */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem !important;
    font-size: 1.8rem !important;
}

/* --- 5. LOGOS PARTENAIRES --- */
/* Effet professionnel : gris par défaut, couleur au survol */
.reference-logo {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
    max-height: 50px; /* Uniformisation */
}

.reference-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* --- 6. TÉMOIGNAGES --- */
.carousel .blockquote {
    font-style: italic;
    font-size: 1.4rem;
    color: #2d3748;
    position: relative;
    padding: 0 20px;
}

.carousel .blockquote-footer {
    color: #009540;
    font-weight: 600;
    font-style: normal;
    margin-top: 10px;
}

/* --- 7. FOOTER CTA (Prêt à démarrer ?) --- */
.bg-success-subtle {
    background: linear-gradient(135deg, #e6f4ea 0%, #f0fdf4 100%) !important;
}



/* =======================================================
   HOME PAGE - STYLE "SENEGAL FAITH"
   ======================================================= */

/* 1. HERO SENEGAL : Grande image immersive */
.senegal-hero {
    /* Mettre ici une belle photo d'ambiance (ex: Grande Mosquée au crépuscule) */
    background: url('../img/senegal-hero.jpg') center/cover no-repeat; 
    min-height: 85vh; /* Prend presque tout l'écran */
    margin-top: -85px; /* Remonte sous la navbar transparente */
    padding-top: 85px;
}

/* Le dégradé noir par-dessus l'image pour lire le texte */
.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

/* 2. CARTES DESTINATIONS (Touba, Tivaouane...) */
.dest-card {
    border-radius: 20px !important;
    overflow: hidden;
    background: #fff;
    transition: all 0.4s ease;
}

.dest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.card-img-wrap {
    position: relative;
    height: 260px; /* Image haute */
    overflow: hidden;
}

.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dest-card:hover img {
    transform: scale(1.1); /* Zoom photo au survol */
}

/* Badge sur la photo (Mouride, Tijani, etc.) */
.dest-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #009540; /* Vert par défaut */
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
}

/* 3. ICONES SERVICES (Dans la liste à gauche) */
.service-icon-box {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #009540;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
}

/* 4. ADAPTATION HERO MOBILE */
@media (max-width: 991px) {
    .senegal-hero {
        min-height: auto;
        padding-bottom: 80px;
        text-align: center;
    }
}

/* =======================================================
   CATALOGUE - STYLE "MODERN PILGRIM"
   ======================================================= */

/* --- 1. BARRE DE FILTRES (Style "Capsule Flottante") --- */
.rb-filters {
    background: #ffffff !important;
    border: none !important; /* On retire la bordure grise moche */
    border-radius: 24px !important; /* Coins très arrondis */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important; /* Ombre diffuse premium */
    padding: 2rem !important;
    margin-bottom: 3rem !important;
}

/* Les Labels des filtres */
.rb-filters .form-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #009540; /* Vert marque */
    margin-bottom: 8px;
}

/* Les champs (Inputs) */
.rb-filters .form-control {
    background-color: #f8fbf9; /* Fond vert/gris très pâle */
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 12px 15px;
    font-weight: 500;
    color: #2d3748;
    transition: all 0.2s ease;
}

.rb-filters .form-control:focus {
    background-color: #fff;
    border-color: #009540;
    box-shadow: 0 0 0 4px rgba(0, 149, 64, 0.1);
}

/* Bouton Filtrer */
.rb-filters .btn-outline-secondary {
    border-radius: 12px;
    padding: 10px 25px;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    color: #4a5568;
    background: transparent;
}
.rb-filters .btn-outline-secondary:hover {
    border-color: #009540;
    color: #009540;
    background: #f0fdf4;
}

/* --- 2. CARTES PRODUITS (Style "Carte Postale") --- */
.rb-product-card {
    border: none !important; /* Pas de bordure */
    background: #fff;
    border-radius: 24px !important;
    overflow: hidden;
    /* Ombre subtile au repos */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Effet ressort */
}

/* Au survol, la carte "décolle" */
.rb-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 149, 64, 0.15); /* Ombre verte diffuse */
}

/* Image */
.rb-card-cover {
    height: 240px; /* Un peu plus haut pour l'immersion */
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Zoom lent sur l'image au survol */
.rb-product-card:hover .rb-card-cover {
    transform: scale(1.08);
}

/* Contenu de la carte */
.rb-product-card .card-body {
    padding: 1.5rem;
    position: relative;
}

/* Titre du package */
.rb-product-card h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Liste des détails (Date, Durée...) */
.rb-product-card ul li {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Prix */
.rb-product-card .fs-5 {
    color: #009540;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Badge Prix (ex: "par pers") */
.rb-product-card .badge.bg-light {
    background: #fff5f5 !important; /* Fond légèrement chaud */
    color: #c53030 !important; /* Rouge doux */
    border: none !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

/* Boutons d'action */
.rb-product-card .mt-auto .btn {
    border-radius: 50px; /* Boutons pilules */
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Bouton Détail */
.rb-product-card .btn-outline-secondary {
    border: 1px solid #cbd5e0;
    color: #4a5568;
}
.rb-product-card .btn-outline-secondary:hover {
    background: #2d3748;
    color: #fff;
    border-color: #2d3748;
}

/* --- 3. LOGOS PARTENAIRES (Grayscale) --- */
.reference-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    max-height: 60px;
}
.reference-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* --- 4. CAROUSEL TÉMOIGNAGES --- */
.carousel .blockquote {
    font-family: 'Georgia', serif; /* Serif pour le côté citation */
    font-style: italic;
    color: #2d3748;
}
.carousel .blockquote-footer {
    color: #009540;
    font-weight: bold;
}

/* =======================================================
   NAVBAR SENZIAARA - STYLE "SOLID TRUST"
   ======================================================= */

/* 1. La Barre : Blanche, Solide, Rassurante */
.rb-navbar-gambie {
    background-color: #ffffff !important; /* Blanc pur opaque */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* Ombre portée nette */
    border-bottom: 1px solid #e5e7eb; /* Petite ligne grise de séparation */
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    min-height: 75px;
}

/* 2. La Frise (Gambie/Sénégal) : Plus épaisse pour marquer l'identité */
.gambie-strip {
    height: 5px;
    width: 100%;
    /* Dégradé Rouge / Jaune / Vert (Couleurs Pan-Africaines) */
    background: linear-gradient(90deg, #ce1126 0%, #fcd116 50%, #009e49 100%);
    position: absolute;
    top: 0; left: 0;
    z-index: 1050;
}

/* 3. Le Logo : Encadré */
 .rb-logo-senziaara{
    height: 70px;
    width: 70px;
    border-radius: 50%;
    border: 2px solid #fcd116; /* Jaune or */
    padding: 2px; /* Petit espace blanc entre logo et bordure */
    background: #fff;
}

/* Texte de la marque */
.navbar-brand span.text-success {
    color: #1a202c !important; /* Noir foncé pour "Sen" */
    font-weight: 800;
    letter-spacing: -0.5px;
}
/* On peut cibler le "Ziaara" si tu avais des spans, sinon ça reste uni */

/* 4. Les Liens (Style "Highlight") */
.navbar-nav .nav-link {
    color: #4b5563 !important; /* Gris texte */
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important; /* Espace autour du texte */
    border-radius: 8px; /* Coins arrondis */
    transition: all 0.2s ease;
    margin: 0 2px;
}

/* Au survol : Fond vert pâle + Texte Vert Foncé */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: #f0fdf4 !important; /* Vert très très clair */
    color: #009540 !important; /* Vert SenZiaara */
}

/* On supprime le trait de soulignement de la version précédente */
.navbar-nav .nav-link::after {
    display: none;
}

/* 5. CORRECTION BOUTON LOGIN (Le problème de visibilité) */
/* On force le style pour écraser Bootstrap */

/* Bouton Login (Vert plein) */
.navbar-nav .btn-success {
    background-color: #009540 !important; /* Fond Vert */
    border: 1px solid #009540 !important;
    color: #ffffff !important; /* Texte BLANC forcé */
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 6px; /* Coins légèrement arrondis (pas pilule) */
    box-shadow: 0 2px 4px rgba(0, 149, 64, 0.2);
}

.navbar-nav .btn-success:hover {
    background-color: #007a3a !important; /* Vert plus foncé au survol */
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Bouton Admin (Contour Noir) */
.navbar-nav .btn-outline-dark {
    background-color: transparent !important;
    border: 2px solid #1f2937 !important; /* Bordure noire épaisse */
    color: #1f2937 !important; /* Texte Noir */
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 6px;
}

.navbar-nav .btn-outline-dark:hover {
    background-color: #1f2937 !important; /* Fond Noir */
    color: #ffffff !important; /* Texte Blanc */
}

/* 6. Mobile Dropdown */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        border-top: 1px solid #eee;
        padding: 1rem;
        margin-top: 10px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    .navbar-nav .btn {
        width: 100%; /* Boutons pleine largeur sur mobile */
        margin-top: 10px;
        text-align: center;
    }
}


/* 2. La Carte de Connexion */
    .card {
        border: none;
        border-radius: 16px; /* Coins plus arrondis */
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); /* Ombre douce et large */
        transition: transform 0.3s ease;
    }

    /* 3. Les Onglets (Tabs) Customisés */
    .nav-tabs {
        border-bottom: 2px solid #f1f1f1;
    }

    .nav-link {
        border: none !important; /* Enlève les bordures grises moches */
        color: #888;
        font-weight: 600;
        position: relative;
        transition: all 0.3s ease;
        background: transparent !important;
    }

    /* L'onglet actif */
    .nav-link.active {
        color: #198754 !important; /* Vert SenZiaara */
        background-color: transparent !important;
    }

    /* La petite ligne verte sous l'onglet actif */
    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -2px; /* Pour recouvrir la ligne grise */
        left: 0;
        width: 100%;
        height: 3px;
        background-color: #198754;
        border-radius: 3px 3px 0 0;
    }

    .nav-link:hover {
        color: #198754;
    }

    /* 4. Les Champs de formulaire (Inputs) */
    .form-control {
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        padding: 12px 15px; /* Plus d'espace intérieur */
        border-radius: 8px;
        font-size: 0.95rem;
        transition: all 0.2s;
    }

    /* Quand on clique dans le champ (Focus vert) */
    .form-control:focus {
        background-color: #fff;
        border-color: #198754;
        box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.1); /* Halo vert très doux */
    }

    /* 5. Le Bouton de connexion */
    .btn-success {
        background-color: #198754;
        border: none;
        padding: 12px;
        font-size: 1rem;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 6px rgba(25, 135, 84, 0.2);
        transition: transform 0.2s;
    }

    .btn-success:hover {
        background-color: #146c43;
        transform: translateY(-1px); /* Petit effet de soulèvement */
        box-shadow: 0 6px 12px rgba(25, 135, 84, 0.3);
    }

    /* 6. Champ Code Agence (Animation douce) */
    #agencyCodeField {
        animation: fadeIn 0.4s ease-in-out;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }