:root {
  --navy: #08123b;
  --accent: #1b2c6a;
  --muted: #e9e9eb;
  --cta: #0b1b56;
  --rounded: 18px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: #fff;
  color: #0b2140;
  padding-top: 0;
}



/* Chevrons texte (sans background) — placés en dehors */
.cards-outer .card-arrow {
  position: absolute;
  top: 33%;
  transform: translateY(-50%);
  left: auto;
  right: auto;
  background: transparent !important;
  /* pas de fond */
  border: none !important;
  /* pas de bord */
  color: var(--navy);
  font-size: 28px;
  /* taille du chevron */
  font-weight: 700;
  padding: 0;
  width: auto;
  height: auto;
  line-height: 1;
  cursor: pointer;
  z-index: 120;
  -webkit-appearance: none;
}

/* Positionnement en dehors : negative offset */
.cards-outer .card-arrow-left {
  left: -30px;
  color: white;
}

/* ajuste -30px si tu veux plus/moins */
.cards-outer .card-arrow-right {
  right: -30px;
  color: white;
}

/* ajuste -30px si tu veux plus/moins */

/* Hover léger (optionnel) */
.cards-outer .card-arrow:hover {
  color: #0b1b56;
  transform: translateY(-50%) scale(1.04);
}

/* Masquer sur petits écrans si tu préfères */
@media (max-width: 1276px) {
  .cards-outer {
    left: 4% !important;
  }
}

@media (max-width: 1142px) {
  .cards-outer {
    left: 0% !important;
  }
}

@media (max-width: 768px) {
  .cards-outer .card-arrow {
    display: none;
  }
}

/* @media (min-width: 1113px) {
    .navbar-expand-lg .navbar-toggler {
        display: none !important;
    }

    .navbar-expand-lg .navbar-collapse {
        display: none !important;
        flex-basis: auto;
    }
} */

/* Style slide */
/* --- cards carousel style --- */
.cards-wrap {
  width: 400px !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 0;
  overflow: hidden;
  height: 70%;
  margin-left: auto;
  /* évite le débordement */
}

/* ensure track won't create selection while dragging */
.cards-track,
.card-hero {
  user-select: none;
  -webkit-user-drag: none;
}

/* Wrapper visible pour autoriser flèches hors du .cards-wrap */
.cards-outer {
  position: relative;
  left: 4%;
  top: -2rem;
  /*new add -4rem*/
  overflow: visible;
}

.cards-track {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 450ms cubic-bezier(.22, .9, .32, 1);
  will-change: transform;
}

/* carte commune (taille gérée par .large / .small) */
.card-hero {
  flex: 0 0 auto;
  width: 220px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(13, 26, 66, 0.14);
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.45s cubic-bezier(.22, .9, .32, 1);
  transform-origin: center;
  border: 3px solid rgba(255, 255, 255, 0.22);
  height: 280px;
  border-radius: 14px;
}

/* Large (active) vs Small (inactive) */
.card-hero.large {
  width: 250px;
  transform: scale(1);
  z-index: 20;
}

.card-hero.small {
  width: 110px;
  transform: scale(.98);
  z-index: 10;
  opacity: .98;
}

.card-hero.small .meta .icon-plus {
  opacity: 0 !important;
}

.card-hero.large .meta .from {
  display: block !important;
}

.card-hero.small .meta .from {
  display: none !important;
}

.card-hero.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 0 !important;
  transform: scale(.85);
}

.card-hero .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* flèches (position intacte mais on la laisse) */
.card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(11, 27, 86, 0.12);
  cursor: pointer;
  z-index: 50;
  color: var(--navy);
}

.card-arrow-left {
  left: -18px;
}

.card-arrow-right {
  right: -18px;
}

.card-hero .image {
  width: 100%;
  height: 103%;
  /*250px;*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  /* optional */
  overflow: hidden;
  /* ensures no gap or stretch */
  display: block;
}

.card-hero .meta {
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: -100px;
  padding: 0px 14px !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.35));
  color: #fff;
}

.card-hero .meta h6 {
  color: #fff;
  font-weight: 800;
  margin: 0;
}

/* .card-hero:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(13, 26, 66, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
} */

/* Effet sur l'image */
.card-hero:hover .image {
  filter: brightness(1.15);
  transition: filter 0.35s ease;
}

/* Effet sur le titre */
.card-hero:hover .meta h6 {
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.45);
}

/* Boutons flèches : texte < et > */
.card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(11, 27, 86, 0.12);
  color: var(--navy);
  font-size: 22px;
  /* taille du chevron */
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  z-index: 80;
  transition: background .12s ease, transform .12s ease;
  user-select: none;
}

/* On place les boutons à l'intérieur du container (pas en négatif) */
.card-arrow-left {
  left: 8px;
}

.card-arrow-right {
  right: 8px;
}

.card-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  background: #f6f6f6;
}

/* ---------- small down chevron on each nav link (CSS-only) ---------- */
/* s'assure que le texte et l'icône sont alignés proprement */
.navbar-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  position: relative;
  padding-right: .6rem;
  /* espace pour le chevron si besoin */
}

/* chevron en pseudo-élément (SVG inline via data URI) */


/* Hover : petit mouvement */
.navbar-nav .nav-link:hover::after {
  transform: translateY(2px) scale(1.02);
  opacity: 1;
}

/* Masquer chevron sur petits écrans si tu veux */
@media (max-width: 576px) {
  .navbar-nav .nav-link::after {
    display: none;
  }
}

/* hide arrows on small screens (optionnel) */
@media (max-width: 991px) {
  .cards-outer {
    display: none !important;
  }

  .card-arrow {
    display: none;
  }

  .card-hero.large {
    width: 180px;
  }

  .card-hero.small {
    width: 90px;
  }

  .card-hero .image {
    height: 160px;
  }
}


/* image handling : forcer hauteur fixe et object-fit pour éviter problèmes */
/*
.card-hero .image {
  width: 100%;
  min-height: 250px;   
  max-height: 250px;       
  overflow: hidden;
  background: #efefef; 
  display: block;
}
*/

/* Navbar visual styles (kept) */
.navbar-brand {
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.4px;
}

.nav-pill {
  border-radius: 999px;
  padding: 3px 20px;
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
}

/* Hero */
.hero {
  border-radius: 22px;
  /*overflow: hidden;*/
  position: relative;
  /* margin: 24px 0; */
}
.hero-bg{ border-radius: 11px;}


.hero .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  padding: 48px;
  height: 40rem;
  border-radius: 10px;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: none !important;
}



.hero .left {
  flex: 1 1 60%;
  color: #fff;
  max-width: 62%;
  padding-right: 24px;
}

.hero h1 {
  font-size: 43px;
  /*48px*/
  line-height: 1.02;
  font-weight: 340;
  /*800*/
  margin-bottom: 12px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 600;
}

.hero h1 span {
  font-size: 56px;
  display: block;
  font-weight: 700;
}

.hero p.lead {
  font-size: 18px;
  opacity: 0.95;
}

.cta-btn {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  border-radius: 40px;
  padding: 12px 26px;
  display: inline-block;
  margin-top: 18px;
  box-shadow: 0 6px 18px rgba(11, 27, 86, 0.12);
}



.pill-small {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 6px 8px;
  border-radius: 999px;
  font-weight: 700;
}

/* Search card */
.search-card {
  bottom: 5rem;
  position: relative;
  transform: translateY(46px);
  margin: 0 56px;
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.5);
}

.search-title {
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 14px;
}

.form-select-custom {
  background: #f1f1f3;
  border: 0;
  border-radius: 10px;
  padding: 12px;
}

.custom-dropdown {
  background: #f1f1f3;
  border: 0;
  border-radius: 10px;
  padding: 12px;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 36px;
  }

  .cards-wrap {
    display: none;
  }

  .hero .left {
    max-width: 100%;
  }

  .search-card {
    margin: 0 20px;
    transform: translateY(20px);
  }
}

@media (max-width: 576px) {
  .hero {
    border-radius: 12px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p.lead {
    font-size: 15px;
  }

  .search-card {
    transform: translateY(8px);
    padding: 16px;
  }
}

/* ---------- NAVBAR: réduire hauteur + empêcher wrapping (corrigé) ---------- */

/* 1) réduction hauteur et centrage vertical */
.navbar {
  padding-top: 0.35rem;
  /* réduit l'espace vertical */
  padding-bottom: 0.35rem;
  min-height: 3.6rem;
  /* position: sticky; */
  top: 0;
  /* optionnel: garantit une hauteur minimale */
  z-index: 2000;
  background-color: transparent;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
  backdrop-filter: blur(9px);
}

/* logo plus petit pour s'adapter à la navbar réduite */
.navbar-brand img {
  height: 6.2rem !important;
  /* 3.2rem !important ajuste si besoin */
  width: auto;
}

/* 2) FORMER: forcer alignement vertical centré et éviter que les items se décalent
   NOTE: n'appliquez pas display:flex sur .navbar-collapse par défaut (c'était la cause).
   On applique display:flex **seulement** quand .collapse.show est présent. */
.navbar .container,
.navbar .container>.navbar-brand {
  display: flex;
  align-items: center;
}

/* keep alignment helper but do not force display for collapsed state */
.navbar .navbar-collapse {
  align-items: center;
}

/* Show only when bootstrap adds .show (do not force by default) */
.navbar .navbar-collapse.collapse.show {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* Ensure collapsed state is not visible by default (safety) */
.navbar .navbar-collapse.collapse {
  display: none;
}

/* 3) empêcher le wrapping des libellés de la nav (desktop) */
.navbar-nav .nav-link {
  white-space: nowrap;
  /* pas de retour à la ligne */
  overflow: hidden;
  /* si trop long, on cache l'excès */
  text-overflow: ellipsis;
  /* affiche "..." si tronqué */
  display: inline-block;
  /* nécessaire pour text-overflow */
  max-width: 12.5vw;
  /* limite la largeur visuelle sur grand écran */
  vertical-align: middle;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

/* si tu utilises le bloc gradient avec margin-left inline dans le HTML,
   réduire l'espace pour éviter que tout déborde */
.navbar-nav.nav-gradient,
.navbar-nav[style*="margin-left"] {
  margin-left: 3.2rem;
  /* retire !important pour éviter override agressif */
}

/* 4) sur petits écrans : autoriser wrapping (pour éviter textes tronqués) */
@media (max-width: 991px) {
  .navbar-brand img {
    height: 2.6rem !important;
  }

  .navbar-nav .nav-link {
    white-space: normal;
    /* autorise retour à la ligne sur mobile */
    max-width: none;
    text-overflow: clip;
  }

  /* réduire le margin-left inline sur mobile pour ne pas pousser le menu hors écran */
  .navbar-nav[style*="margin-left"] {
    margin-left: 0.4rem;
  }

  .navbar .container {

    padding: 8px;
    border-radius: 6px;
  }
}

/* Animation pour le collapse du navbar sur mobile */


/* cache la flèche CSS bootstrap (on gère nos propres chevrons) */
.navbar .dropdown-toggle::after {
  display: none;
}

/* STYLE PERSONNALISÉ POUR LE DROPDOWN (animation + look intact) */
/* On laisse Bootstrap contrôler display, on gère opacity/visibility pour l'animation. */
.navbar .dropdown-menu {
  background: linear-gradient(90deg, #0b1b56 0%, #3b5a9b 100%);
  border: none;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
  margin-top: 0;
  min-width: 250px;

  /* animation (do not force display) */
  opacity: 0;
  /* Le menu est invisible par défaut */
  visibility: hidden;
  /* Il n'est pas cliquable non plus */
  transform: translateY(-10px);
  /* Il est décalé de 10px vers le haut */
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s;
}

/* 2. Affichage quand Bootstrap ajoute .show */
.navbar .dropdown-menu.show {
  opacity: 1;
  /* On le rend visible */
  visibility: visible;
  /* On le rend cliquable */
  transform: translateY(0);
  /* On le ramène à sa position d'origine */
}

/* 3. Style de chaque lien dans le menu */
.navbar .dropdown-item {
  color: #FFFFFF;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 200;
  padding: 0.65rem 1rem;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.15); */
  transition: background-color 0.2s ease;
  position: relative;
}

/* Ligne pour souligné les élément du dropdown */
.navbar .dropdown-menu li:not(:last-child)>.dropdown-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 6%;
  width: 85%;
  height: 2px;
  background: #7882a7;
}

/* 4. Style au survol (hover) et au focus */
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* 5. Supprimer la ligne de séparation du dernier élément */
.navbar .dropdown-menu li:last-child .dropdown-item::after {
  border-bottom: none;
}

@media (max-width: 991px) {

  /* 1. RÉINITIALISATION DES DROPDOWNS MOBILE */
  .navbar .dropdown-menu {
    color: #FFFFFF !important;
    position: static !important;
    float: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    min-width: auto !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: none;
  }

  /* 2. AFFICHAGE QUAND LE PARENT EST ACTIF */
  .navbar .nav-item.dropdown.show .dropdown-menu {
    display: block !important;
    animation: dropdownSlide 0.3s ease-out;
  }

  /* 3. STYLE DES LIENS DROPDOWN MOBILE */
  .navbar .dropdown-item {
    text-transform: none !important;
    font-weight: 500 !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
    /* text-align: center !important; */
  }

  .navbar .dropdown-item:hover,
  .navbar .dropdown-item:focus {
    background-color: #f8f9fa !important;
    color: var(--cta) !important;
    transform: translateX(5px);
  }

  .navbar .dropdown-menu li:last-child .dropdown-item {
    border-bottom: none !important;
    border-radius: 0 0 12px 12px;
  }

  .navbar .dropdown-menu li:first-child .dropdown-item {
    border-radius: 12px 12px 0 0;
  }

  /* 4. SUPPRESSION DU CHEVRON SUPPLÉMENTAIRE */
  .navbar .dropdown-toggle::after {
    display: none !important;
  }

  /* 5. CORRECTION DU POSITIONNEMENT - IMPORTANT */
  .navbar .nav-item.dropdown {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    position: relative;
  }

  /* Souligner tous les items sauf le dernier */
  .navbar .navbar-nav .nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 3%;
    width: 85%;
    height: 2px;
    background: #7882a7;
  }

  /* dropdown du service */
  .navbar .dropdown-menu li:not(:last-child)>.dropdown-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 6%;
    width: 20%;
    height: 2px;
    background: #7882a7;
  }

  /* 6. CONTENEUR DU LIEN PRINCIPAL ET CHEVRON */
  .navbar .nav-pill {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    position: relative;
    padding: 10px 15px !important;
  }

  .page-container {
    max-width: 1100px;
    margin: 36px auto;
  }

  /* Hero */
  .hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
  }

  .hero .title-badge {
    position: absolute;
    right: 20px;
    top: 18px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 18px;
    font-weight: 700;
    color: #0b1a45;
    border-radius: 4px;
    letter-spacing: .6px;
    box-shadow: 0 4px 10px rgba(12, 20, 50, 0.12);
  }

  /* Section heading */
  .section-head {
    color: #12204f;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .card-grad {
    border-radius: var(--card-radius);
    padding: var(--g-padding);
    background: linear-gradient(90deg, #0b1a45 0%, #304b82 55%, #7e98c7 100%);
    color: white;
    margin-bottom: 20px;
  }

  /* Overview card (white) */
  .overview {
    background: white;
    border-radius: 10px;
    padding: 18px;
    box-shadow: none;
    margin-top: 14px;
    margin-bottom: 18px;
  }

  .overview p {
    color: #2b3b5a;
    line-height: 1.55;
  }

  /* Duration pill */
  .duration-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .duration-pill {
    background: linear-gradient(90deg, #7a9ccf, #2c4a98);
    padding: 10px 14px;
    border-radius: 26px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: white;
    font-weight: 600;
    box-shadow: inset 0 -6px 18px rgba(255, 255, 255, 0.05);
  }

  .duration-pill .bi {
    font-size: 1.05rem;
    opacity: 0.95;
  }

  /* Included destinations grid */
  .dest-box {
    background: linear-gradient(90deg, #07112e 0%, #223b75 35%, #6e89c8 100%);
    padding: 18px;
    border-radius: var(--card-radius);
    color: white;
    margin-bottom: 20px;
  }

  .dest-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .dest-pill {
    background: rgba(255, 255, 255, 0.18);
    padding: 10px 14px;
    border-radius: 12px;
    text-align: center;
    min-width: 120px;
    font-weight: 600;
    color: white;
  }

  /* Highlights */
  .highlights-box {
    background: linear-gradient(90deg, #07112e 0%, #304b82 50%, #6e89c8 100%);
    padding: 18px;
    border-radius: var(--card-radius);
    color: white;
    margin-bottom: 20px;
  }

  .highlight-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .highlight-item {
    background: #fff;
    color: #12204f;
    padding: 10px 14px;
    border-radius: 12px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(12, 20, 50, 0.06);
    width: fit-content;
    height: max-content !important;
  }

  .highlight-item .bi {
    color: #1b4a98;
    background: rgba(27, 74, 152, 0.1);
    border-radius: 50%;
    padding: 6px;
    font-size: 1rem;
  }

  /* Ideal for / Best time */
  .mini-pill {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(12, 20, 50, 0.06);
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #0b1a45 !important;
  }

  .block-space {
    height: 16px;
  }

  /* Responsive tweaks */
  @media (max-width: 767px) {
    /* .hero {
      height: 180px;
    } */

    .dest-col {
      margin-bottom: 8px;
    }

    .highlight-list {
      max-width: 100%;
    }
  }

  /* 7. LIEN PRINCIPAL */
  .navbar .nav-pill>.nav-link:first-child {
    flex: 1;
    text-align: left;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* 8. CHEVRON SVG - CORRECTION POUR QU'IL RESTE VISIBLE */
  .navbar .nav-pill .dropdown-toggle {
    display: flex !important;
    align-items: center;
    justify-content: start;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 8px !important;
    margin-left: 10px !important;
    transition: transform 0.3s ease;
  }

  /* 9. ANIMATION DE ROTATION DU CHEVRON SVG */
  .navbar .dropdown.show .dropdown-toggle svg {
    transform: rotate(90deg);
  }

  /* 10. DROPDOWN DOIT ÊTRE EN DESSOUS DU LIEN */
  .navbar .dropdown-menu {
    order: 3;
    /* Place le dropdown après le conteneur du lien */
    margin-top: 5px !important;
  }

  /* 11. ANIMATION D'OUVERTURE */
  @keyframes dropdownSlide {
    from {
      opacity: 0;
      transform: translateY(-10px);
      max-height: 0;
    }

    to {
      opacity: 1;
      transform: translateY(0);
      max-height: 300px;
    }
  }

  /* 12. ESPACEMENT AMÉLIORÉ */
  .navbar .nav-item {
    margin: 4px 0;
    width: 100%;
  }

  .nav-pill {
    margin: 6px 0 !important;
    transition: all 0.3s ease;
    border-radius: 0 !important;
  }

  /* 13. EFFET VISUEL QUAND LE DROPDOWN EST OUVERT */
  .navbar .dropdown.show .nav-pill {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  }

  /* 14. GESTION DE LA HAUTEUR MAX POUR ÉVITER LE DÉBORDEMENT */
  .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
  }

  /* 15. STYLE SPÉCIFIQUE POUR LA NAV MOBILE */
  .navbar-nav[style*="background: linear-gradient"] {
    background: linear-gradient(180deg, #0b1b56 0%, #3b5a9b 100%) !important;
    border-radius: 15px !important;
    padding: 1rem !important;
    margin: 1rem 0 !important;
    flex-direction: column;
    width: 100%;
    align-items: stretch !important;
    /* Important pour l'alignement */
  }

  /* 16. ICÔNES DE PROFIL EN MOBILE */
  .navbar .container>div[style*="left: 4rem"] {
    position: relative !important;
    left: 0 !important;
    display: flex !important;
    justify-content: center !important;
    width: 18% !important;
    gap: 15px !important;
    margin-top: 0.5rem;
  }

}

.navbar .container .nav-icon {
  display: flex;
  gap: 5px;
}

.nav-icon {
  align-items: center;
}

/* ===== AMÉLIORATIONS SUPPLÉMENTAIRES ===== */

/* Pour les très petits écrans */
@media (max-width: 576px) {
  .navbar .dropdown-menu {
    width: 100% !important;
  }

  .navbar .dropdown-item {
    padding: 10px 15px !important;
    font-size: 0.9rem !important;
  }

  .navbar-nav[style*="background: linear-gradient"] {
    padding: 0.8rem !important;
    margin: 0.5rem 0 !important;
  }

  .navbar .nav-pill {
    padding: 8px 12px !important;
  }
}

/* Transition fluide pour tout le menu */
.navbar-collapse {
  transition: max-height 0.4s ease;
}

/* Empêcher le flash lors de l'ouverture/fermeture */
.navbar .dropdown-menu {
  pointer-events: auto;
}

@media (min-width: 992px) {

  /* Animation pour dropdown desktop */
  @keyframes dropdownFadeSlide {
    0% {
      opacity: 0;
      transform: translateY(-10px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Dropdown menu par défaut */
  .navbar .dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    display: block;
    visibility: hidden;
  }

  /* Quand le menu s'ouvre */
  .navbar .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    animation: dropdownFadeSlide 0.35s ease forwards;
  }

  /* Chevron desktop */

  /* Rétablir le comportement desktop pour nav-pill */
  .nav-pill {
    display: flex !important;
    align-items: center !important;
  }
}

/* Remplace l'URL par ton image de fond */
.did-you-know {
  position: relative;
  color: #fff;
  background-image: url('../images/contenue_new_accueil/beautiful-bridal-veil-falls-provincial-park-canada.jpg');
  background-size: cover;
  background-position: center;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  overflow: hidden;
}

/* overlay sombre */
.did-you-know::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 0;
}

.did-you-know .container {
  position: relative;
  z-index: 2;
}

/* carte principale */
.dyk-card {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  padding: 1.8rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform .6s ease, opacity .6s ease, box-shadow .3s ease;
  transform: translateY(12px);
  opacity: 0;
  /* height: 23.4rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* animation apparition */
.dyk-card.in-view {
  transform: none;
  opacity: 1;
}

/* hover effet carte principale */
.dyk-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.dyk-card h2 {
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.3px;
}

.dyk-card p {
  opacity: 0.95;
  line-height: 1.55;
  margin-bottom: 0;
}

/* colonne droite — petites fiches */
.dyk-side .dyk-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  /* background: rgba(255, 255, 255, 0.219); */
  /* margin-bottom: 0.9rem; */
  transition: transform .3s ease, opacity .5s ease, box-shadow .3s ease, background .3s ease;
  transform: translateY(16px);
  opacity: 0;
  height: 7.4rem;
  cursor: pointer;
}

.dyk-side .dyk-item.in-view {
  transform: none;
  opacity: 1;
}

/* hover effet dyk-item */
.dyk-side .dyk-item:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.icon-box {
  width: 128px;
  height: 70px;
  min-width: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-size: 1.1rem;
  transition: background .3s ease, transform .3s ease;
}

/* hover icone */
.dyk-side .dyk-item:hover .icon-box {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.dyk-side h6 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.95;
}

.dyk-side p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* responsive */
@media (max-width: 767.98px) {
  .did-you-know {
    padding: 2rem 0;
  }

  .dyk-card h2 {
    font-size: 1.6rem;
  }

  .dyk-side {
    margin-top: 1rem;
  }
}

/* === Styles pour la section promo (unique prefix pour éviter conflits) === */

.promo-section {
  background: transparent;
}

/* ---- Promo card (left) ---- */
.promo-card {
  position: relative;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  min-height: 220px;
  display: flex;
  align-items: stretch;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 22px rgba(12, 20, 40, 0.08);
  background: linear-gradient(172deg, rgba(190, 190, 207, 1) 38%, rgba(235, 147, 7, 1) 100%, rgba(237, 221, 83, 1) 100%);
}

/* background dégradé pour rappel de ta maquette (en bas chaud) */
.promo-card .promo-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.55) 60%), url('../assets/promo-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: saturate(.9);
  z-index: 0;
}

/* contenu au-dessus */
.promo-card .promo-content {
  position: relative;
  z-index: 2;
  align-items: end;
}

/* diagonal ribbon (top-left) */
/*.promo-card .ribbon {
  position: absolute;
  top: 12px;
  left: -48px;
  width: 220px;
  height: 64px;
  transform: rotate(-30deg);
  z-index: 3;
  pointer-events: none;
}*/
/*
.promo-card .ribbon {
  position: absolute;
  top: 16px;
  left: -59px;
  width: 50%;
  height: 64px;
  transform: rotate(-30deg);
  z-index: 3;
  pointer-events: none;
}*/
.promo-card .ribbon {
  position: absolute;
  top: 18px;
  left: -92px;/*59px*/
  width: 50%;
  height: 64px;
  transform: rotate(-30deg);
  z-index: 3;
  pointer-events: none;

  /*display: flex;*/
  align-items: center;
  justify-content: center;
}

.promo-card .ribbon-text {
  white-space: nowrap;
  text-align: center;
}


.promo-card .ribbon span {
  display: block;
  background: linear-gradient(90deg, #f0c75e, #b8862e);
  color: #112;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* texte promo */
.promo-title {
  font-size: 1.6rem;
  line-height: 1.05;
  letter-spacing: -.2px;
}

.promo-sub {
  opacity: .95;
}

/* hover */
.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(12, 20, 40, 0.18);
}

.promo-card .btn {
  z-index: 4;
}

/* ---- Testimonial card (right) ---- */
.testimonial-card {
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: 0 8px 22px rgba(12, 20, 40, 0.06);
}

.testimonial-header {
  background: linear-gradient(180deg, #08124b, #12307f);
  padding: 14px 18px;
  border-bottom-left-radius: 0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  font-weight: 600;
}

.carousel-inner {
  min-height: 220px;
}

.testimonial-slide {
  gap: 18px;
}

/* image d'arrière plan à gauche du slide */
.testimonial-image {
  width: 140px;
  height: 120px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex: 0 0 140px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

/* quote box */
.testimonial-quote {
  background: #fff;
  color: #0b1730;
  border-radius: 8px;
  max-width: 100%;
}

/* petites étoiles */
.testimonial-quote .stars {
  color: #f5c518;
  font-size: 0.95rem;
}

/* carousel controls recolorés */
.testimonial-card .carousel-control-prev-icon,
.testimonial-card .carousel-control-next-icon {
  filter: invert(1) brightness(2);
  background-size: 18px 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.25);
}

/* ---- CTA large (full width) ---- */
.cta-card {
  border-radius: 12px;
  overflow: visible;
  padding: 0;
  background: linear-gradient(90deg, #07124a 0%, #2b78c6 100%);
  color: #fff;
  box-shadow: 0 14px 40px rgba(12, 20, 40, 0.12);
  min-height: 160px;
}

/* content left */
.cta-title {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.9);
}

/* image on right that overlaps */
.cta-image-col {
  position: relative;
}

.cta-image {
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  right: -18px;
  top: 0;
  transform: translateX(6%);
  transition: transform .5s cubic-bezier(.2, .9, .2, 1);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* hover léger */
/* .cta-card:hover .cta-image {
  transform: translateX(10%) translateY(-6px) scale(1.02);
} */

/* responsive adjustments */
@media (max-width: 991.98px) {
  .testimonial-image {
    display: none;
  }

  .promo-card,
  .testimonial-card {
    min-height: 200px;
  }

  .cta-image {
    transform: translateX(0);
    right: 0;
  }

  .cta-card {
    text-align: center;
    padding: 2rem 1rem;
  }

  .cta-image {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* Basic page reset for this component */
.packages-grid {}

/* CARD */
.package-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .28s cubic-bezier(.2, .9, .2, 1), box-shadow .28s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.363);
}

/* Hover lift */
.package-card:hover,
.package-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(12, 20, 40, 0.12);
}

/* MEDIA area (image + top pill + overlay) */
.package-card .media {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 12px 12px 0 0;
}

/* top pill label */
.pill {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: .35rem .8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .78rem;
  background: rgba(255, 255, 255, 0.95);
  color: #0b1730;
  box-shadow: 0 6px 14px rgba(3, 7, 18, 0.06);
}

/* accent pill variant */
.pill-accent {
  background: rgba(20, 90, 220, 0.12);
  color: #123f93;
}

/* overlay revealed on hover (desktop) */
.package-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.35) 0%, rgba(2, 6, 23, 0.5) 100%);
  opacity: 0;
  transition: opacity .28s ease, transform .28s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.package-card:hover .overlay,
.package-card:focus-within .overlay {
  opacity: 1;
}

/* the popup style inside overlay */
.overlay-inner {
  background: rgba(255, 255, 255, 0.96);
  color: #0b1730;
  border-radius: 10px;
  padding: 1rem;
  max-height: 75%;
  overflow: auto;
  box-shadow: 0 12px 30px rgba(3, 7, 18, 0.08);
  width: 100%;
}

/* overlay title & text */
.overlay-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.overlay-text {
  color: #142233;
  opacity: .92;
}

/* CARD BODY */
.package-card .card-body {
  padding: 1rem 0.25rem 1.25rem 0.25rem;
  flex-shrink: 0;
}

/* small circular CTA button */
.btn-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: none;
  background: linear-gradient(180deg, #0b2b6b, #123f93);
  color: #fff;
  box-shadow: 0 6px 14px rgba(18, 48, 100, 0.12);
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn-circle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 48, 100, 0.14);
}

/* responsive tweaks */
@media (max-width: 991.98px) {
  .package-card .media {
    height: 190px;
  }
}

@media (max-width: 575.98px) {
  .package-card .media {
    height: 160px;
  }

  .pill {
    top: 10px;
    left: 10px;
    padding: .3rem .6rem;
    font-size: .72rem;
  }
}

/* Footer custom */
.footer-logo {
  height: 44px;
  object-fit: contain;
}

footer .social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  margin-right: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform .15s ease, background .15s ease;
}

footer .social-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Small tweak: ensure footer links have sufficient contrast */
footer a {
  color: #e9eefc;
}

footer a.text-muted {
  color: rgba(255, 255, 255, 0.65) !important;
}

#card-body {
  padding: 2rem;
}

.text-muted {
  color: rgba(22, 22, 22, 0.65) !important;
}

.color-text {
  color: #12204f !important;
}

/* === Navbar global hover / animations (applique à tous les .navbar) === */
.navbar {
  background: transparent;
}

.navbar .navbar-brand {
  font-weight: 700;
  color: var(--accent);
}

.navbar .navbar-toggler {
  border: none;
}

.navbar .navbar-toggler-icon {
  filter: invert(15%) sepia(10%) saturate(2000%) hue-rotate(190deg);
  transition: transform 180ms;
}

.navbar .navbar-toggler:hover .navbar-toggler-icon {
  transform: rotate(90deg);
}

/* .navbar .navbar-nav {
  align-items: center !important;
  transition: all 180ms !important;
  background: linear-gradient(90deg, #0b1b56 0%, #3b5a9b 100%) !important;
  border-radius: 50px !important;
  margin-left: 4rem !important;
} */

@media (max-width: 1145px) {
  .navbar .navbar-nav {
    margin-left: 0rem !important;
  }
}

.nav-item .nav-link {
  color: #eaf0ff;
  font-weight: 300;
  padding: .55rem .9rem;
  border-radius: 40px;
  transition: background 180ms, transform 180ms, color 180ms;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav-item .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  color: #fff;
  text-decoration: none;
}

/* dropdowns */
.dropdown-menu {
  border-radius: 0 0 14px 14px;
  transition: transform 180ms, opacity 180ms;
  transform-origin: top center;
  opacity: 0;
  transform: translateY(6px) scale(.98);
  box-shadow: 0 10px 30px rgba(8, 13, 40, 0.12);
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dropdown-item {
  transition: background 180ms, color 180ms;
}

.dropdown-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* (optionnel) réduire padding du chevron toggle */
.nav-link.dropdown-toggle {
  padding: 0 .4rem;
}

/* disable heavy hover animations on small screens */
@media (max-width: 991px) {
  .navbar-nav {
    margin-left: 0 !important;
    background: none !important;
  }

  .nav-item .nav-link:hover {
    transform: none;
    background: transparent;
    color: #fff;
  }
}

/* ===== Price bar & Actions & Gallery styles ===== */
.price-bar {
  background: linear-gradient(90deg, rgba(11, 26, 69, 0.95) 0%, rgba(73, 95, 143, 0.9) 60%, rgba(200, 80, 80, 0.15) 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(8, 18, 40, 0.06);
  height: 8rem;
}

.price-bar .icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-right: 12px;
}

.price-amount {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 8px;
}

/* Action grid layout */
/* Action grid: 3 cols desktop / 2 tablet / 1 mobile */
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
}

/* Les boutons occupent toute la cellule */
.action-grid .btn-action,
.action-grid .btn-request {
  width: 100%;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

/* Responsive */
@media (max-width: 991.98px) {
  .action-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .action-grid {
    grid-template-columns: 1fr;
  }
}


/* Generic pill button */
.btn-action {
  min-width: 220px;
  height: 48px;
  border-radius: 28px;
  padding: 0 20px;
  border: 2px solid #0f2b66;
  background: transparent;
  color: #0b1a45;
  font-weight: 700;
  transition: all 180ms ease;
  box-shadow: 0 8px 18px rgba(10, 20, 50, 0.04);
}

.btn-action:hover {
  background: linear-gradient(90deg, #eaf0ff66, #ffffff22);
  transform: translateY(-4px);
  border-color: #12204f;
  color: #07112e;
}

/* Request button (accent) */
.btn-request {
  min-width: 220px;
  height: 48px;
  border-radius: 28px;
  padding: 0 18px;
  border: none;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #0b3a95 0%, #2b6aa8 50%, #c63b3b 100%);
  box-shadow: 0 12px 30px rgba(43, 77, 122, 0.16);
  transition: transform 180ms, box-shadow 180ms, filter 180ms;
}

.btn-request:hover {
  transform: translateY(-4px) scale(1.01);
  filter: brightness(1.03);
  box-shadow: 0 18px 40px rgba(43, 77, 122, 0.2);
}


/* Gallery thumbs */
.gallery-row {
  --bs-gutter-x: 20px;
  /* espace horizontal personnalisé */
  --bs-gutter-y: 20px;
  /* espace vertical personnalisé */
}

.gallery-row>[class*="col-"] {
  display: flex;
}

.gallery-thumb {
  object-fit: cover;
  width: 100%;
  height: 150px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  box-shadow: 0 8px 20px rgba(9, 18, 40, 0.06);
}

.gallery-thumb:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 22px 48px rgba(9, 18, 40, 0.12);
  filter: saturate(1.06);
}

Modal image styling */ #galleryModalImg {
  border-radius: 8px;
  max-height: 75vh;
  object-fit: contain;
}

/* Responsiveness */
@media (max-width: 767px) {

  .btn-action,
  .btn-request {
    min-width: 48%;
  }

  .gallery-thumb {
    height: 90px;
  }
}

@media (max-width: 520px) {

  .btn-action,
  .btn-request {
    min-width: 100%;
  }
}

/* ===== STYLE POPOVER MIS À JOUR (avec les puces) ===== */

/* Le conteneur principal du popover */
.popover {
  background-clip: padding-box;
  background-color: #fff;
  border: 2px solid #0f2b66;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(8, 13, 40, 0.1);
  min-width: 25rem;
  margin-top: 2rem;
}

/* On cache le titre, il n'y en a pas sur la maquette */
.popover .popover-header {
  display: none;
}

#galleryModal {
  z-index: 2000;
  /* plus grand que ton navbar */
}

#galleryModal .modal-backdrop {
  z-index: 1999;
  /* pour que le fond sombre reste derrière l'image */
}

/* Le corps du popover */
.popover-body {
  font-size: 1rem;
  font-weight: bold;
  color: #0b1a45;
}

/* La liste à l'intérieur - CORRIGÉ */
.popover-body ul {
  margin-bottom: 0;
  /* On s'assure qu'il n'y a pas de marge en bas */
  padding-left: 2rem;
  /* IMPORTANT: On ajoute un padding pour laisser de la place aux puces */
  /* La ligne "list-style: none;" a été supprimée pour afficher les puces */
}

/* Chaque élément de la liste */
.popover-body ul li {
  padding: 0.75rem 1.2rem;
  padding-left: 0;
  /* On annule le padding à gauche pour aligner le texte */
  border-bottom: 1px solid #000000;
}

/* On retire la ligne du dernier élément */
.popover-body ul li:last-child {
  border-bottom: none;
}

/* --- La flèche (inchangée) --- */
.bs-popover-bottom .popover-arrow::before {
  border-bottom-color: #0f2b66;
}

.bs-popover-bottom .popover-arrow::after {
  border-bottom-color: #fff;
}

/* Ajoute cette CSS pour le fade */
.popover {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.popover.show {
  opacity: 1;
}

/* Custom CSS pour les champs de formulaire pour correspondre au style épuré */
/* On cible spécifiquement l'intérieur de la modale pour éviter les conflits */
#itineraryModal .form-control {
  border: 1px solid #ced4da;
  /* Bordure par défaut de Bootstrap */
  padding: 0.75rem 1rem;
  /* Un peu plus de padding pour l'espace */
  border-radius: 0.25rem;
  /* Coins légèrement arrondis */
}

/* Style au focus pour que l'aspect soit propre (en retirant l'ombre par défaut de Bootstrap) */
#itineraryModal .form-control:focus {
  border-color: #80bdff;
  /* Une couleur de focus Bootstrap standard */
  box-shadow: 0 0 0 0.25rem rgba(26, 35, 126, 0.25);
  /* Ombre légère avec la couleur du header */
}

/* Assurer que le header de la modale a la bonne couleur de fond */
#itineraryModal .modal-header {
  /* Style inline déjà dans le HTML, mais ici pour la redondance si besoin */
  /* background-color: #1a237e; */
}

/* s'assurer que le backdrop soit au-dessus du contenu (mais en-dessous de la modal) */
.modal-backdrop {
  z-index: 2990 !important;
}

/* toutes les modales au-dessus du navbar (ajuste si besoin) */
.modal {
  z-index: 3000 !important;
}

/* si tu veux cibler seulement certaines modales : */
#itineraryModal,
#quoteModal,
#galleryModal {
  z-index: 3000 !important;
}

#itineraryModal+.modal-backdrop,
#quoteModal+.modal-backdrop,
#galleryModal+.modal-backdrop {
  z-index: 2990 !important;
}

/*
.btn {
  background-color: #0d6efd;
  border: none;
}
*/

.input-group .btn {
  width: 50px;
  border: 0.001px solid #2b3b5a;
}

.form-control {
  padding: 10px 15px;
  /* Un peu plus de padding pour l'espace */
}

/*  */
.respect-text,
.pack-text,
.health-text,
.safety-text {
  color: #040b4f;
}

.respect-text ul li,
.pack-text ul li,
.health-text ul li,
.safety-text ul li {
  color: #040b4f;
  text-align: left;
}


/* MARQUER PLACEHOLDER  */
.placeholder-wrapper {
  position: relative;
}

/* Faux placeholder et astérisque rouge */
.last-name::before {
  content: "Last Name";
  color: #999;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.last-name::after {
  content: "*";
  color: red;
  position: absolute;
  left: calc(10px + 95px);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.first-name::before {
  content: "First Name";
  color: #999;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.first-name::after {
  content: "*";
  color: red;
  position: absolute;
  left: calc(10px + 100px);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.phone-number::before {
  content: "Phone Number";
  color: #999;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.phone-number::after {
  content: "*";
  color: red;
  position: absolute;
  left: calc(10px + 130px);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.email-trip::before {
  content: "Email";
  color: #999;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.email-trip::after {
  content: "*";
  color: red;
  position: absolute;
  left: calc(10px + 50px);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* On cache le vrai placeholder */
.placeholder-wrapper input::placeholder {
  color: transparent;
}

/* 🔥 MASQUE LE FAUX PLACEHOLDER QUAND L'INPUT CONTIENT DU TEXTE */
.placeholder-wrapper input:not(:placeholder-shown)~* {
  display: none;
}

/* ⚡ Avec :has() pour les navigateurs modernes */
.placeholder-wrapper:has(input:not(:placeholder-shown))::before,
.placeholder-wrapper:has(input:not(:placeholder-shown))::after {
  opacity: 0;
}

/* placeholder pour le date */
.placeholder-date {
  position: relative;
}

/* On cache le vrai placeholder */
.placeholder-date input::placeholder {
  color: transparent;
}

/* Faux placeholder */
.placeholder-date::before {
  content: "Budget per Person";
  color: #999;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.placeholder-date::after {
  content: "*";
  color: red;
  position: absolute;
  left: calc(10px + 155px);
  /* Ajuster selon le texte */
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* 🔥 MASQUE LE FAUX PLACEHOLDER QUAND L'INPUT CONTIENT DU TEXTE */
.placeholder-date input:not(:placeholder-shown)~* {
  display: none;
}

/* ⚡ Avec :has() pour les navigateurs modernes */
.placeholder-date:has(input:not(:placeholder-shown))::before,
.placeholder-date:has(input:not(:placeholder-shown))::after {
  opacity: 0;
}

.load-more-container {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.load-more-btn {
  background: none;
  border: none;
  color: #0a1a60;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.load-more-btn:hover {
  transform: translateX(4px);
  color: #13248c;
  /* léger changement au hover */
}

.load-more-btn .arrow {
  font-size: 1.5rem;
  /* taille agrandie */
  line-height: 1;
  display: inline-block;
}

@media (max-width: 600px) {
    .heroGreatSouth .title-badge {
        top: auto !important;  /* IMPORTANT : désactive top */
        bottom: 18px !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 376px) {
    .logoTitle{
        font-size: 20px !important;
    }
}