/* ============================================
   IMAGES DU MENU DANS LES CARDS
 ============================================ */

.ms-card-menu-li.ms-card-saumur {
  background-image: url("/wp-content/uploads/2024/02/saumur-et-son-chateau.webp");
}
.ms-card-menu-li.ms-card-chinon {
  background-image: url("/wp-content/uploads/2024/03/Chinon-8.webp");
}
.ms-card-menu-li.ms-card-chenonceau {
  background-image: url("/wp-content/uploads/2024/12/WhatsApp-Image-2024-12-05-at-12.09.04.jpeg");
}

/* ------------------ */
.ms-card-menu-li.ms-card-haut-poitou {
  background-image: url("/wp-content/uploads/2024/03/haut-poitou-5.webp");
}
.ms-card-menu-li.ms-card-charentes-maritimes {
  background-image: url("/wp-content/uploads/2024/02/FOURAS-3-600x800.jpeg");
}
.ms-card-menu-li.ms-card-marais-poitevin {
  background-image: url("/wp-content/uploads/2025/04/47e4be72-d291-4a22-9d4a-efbcffceb4f0-600x800.jpg");
}

/* ------------------ */
.ms-card-menu-li.ms-card-fontainebleau {
  background-image: url("/wp-content/uploads/2024/10/Fontainebleau-1.jpg");
}

/* ------------------ */
.ms-card-menu-li.ms-card-forcalquier {
  background-image: url("/wp-content/uploads/2024/12/Capture-decran-2024-12-05-a-12.10.39.png");
}

/* ------------------ */
.ms-card-menu-li.ms-card-toutes-destinations {
  background-image: url("/wp-content/uploads/2023/12/vol-en-montgolfiere-tous-secteurs.jpg");
}

/* ------------------ */
.ms-card-menu-li.ms-card-marrakech {
  background-image: url("/wp-content/uploads/2024/01/marrakech-decollage.jpg");
}

/* ------------------ */
.ms-card-menu-li.ms-card-vol-en-nacelle-partagee {
  background-image: url("/wp-content/uploads/2023/12/vol-en-ballon-famille-tarif-bas-en-france-fontainebleau-provence.jpg");
}

/* ------------------ */
.ms-card-menu-li.ms-card-bapteme-air {
  background-image: url("/wp-content/uploads/2023/12/vol-montgolfiere-famille-billet-bapteme-et-pilotage-proche-de-paris.jpg");
}

/* ------------------ */
.ms-card-menu-li.ms-card-coffret-cadeaux {
  background-image: url("/wp-content/uploads/2024/03/verre-de-vin-sur-ballon.png");
}

/* ------------------ */
.ms-card-menu-li.ms-card-montgolfiere-publicitaire {
  background-image: url("/wp-content/uploads/2025/10/aff2d228-48b0-4611-8186-ef70407d4c0d-1.jpeg");
}
.ms-card-menu-li.ms-card-vol-montgolfiere-entreprise {
  background-image: url("/wp-content/uploads/2023/12/vol-entreprise-organise-par-une-agence-evenementielle-event-seminaire-france.jpg");
}


/* ------------------ */
.ms-card-menu-li.ms-card-deroulement-vol {
  background-image: url("/wp-content/uploads/2025/03/Un-ballon-en-vol-pres-du-chateau-de-montreuil-Bellay.jpeg");
}

/* ------------------ */
.ms-card-menu-li.ms-card-sites-decollage {
  background-image: url("/wp-content/uploads/2024/02/454374979_1151277726998413_7889972374059853001_n.jpg");
}

/* ------------------ */
.ms-card-menu-li.ms-card-faq {
  background-image: url("/wp-content/uploads/2025/01/WhatsApp-Image-2024-06-24-at-09.39.23.jpeg");
}

/* ============================================
   RESET HEADER - Neutralise les styles du thème parent
   ============================================ */

.ms-mobile-header,
.ms-desktop-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin: 0 !important;
    z-index: 1000 !important;
}

.ms-topbar,
.ms-topbar-desktop {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin: 0 !important;
}


/* ============================================
   MENU CUSTOM MONTGOLFIERE SENSATION
   Préfixe : ms-
   ============================================ */

.ms-mobile-header *,
.ms-desktop-header * {
  font-family: "Poppins", sans-serif;
}

/* ============================================
   MOBILE HEADER
   ============================================ */

.ms-mobile-header {
  position: relative;
}

.ms-topbar {
  display: flex;
	flex-wrap: wrap;
	row-gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  background: #ff6a1a;
  padding: 0.25rem 1rem;
  height: 70px;
}

.ms-logo {
  height: 50px;
}

.ms-icon-btn,
#ms-burger,
.ms-closeMenu {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

#ms-burger {
  width: 40px;
  height: 40px;
}

/* Menu */
.ms-menu {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 1000;
}

.ms-menu[hidden] {
  display: none;
}

.ms-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ff6a1a;
  padding: 0.75rem 1rem;
}

.ms-menu-level,
.ms-submenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ms-menu-level li,
.ms-submenu ul li {
  margin: 0;
  border-bottom: 1px solid #ccc;
  list-style-type: none;
}

.ms-menu-level a,
.ms-submenu a,
.ms-submenu-btn {
  display: block;
  padding: 1rem 1rem 1rem 2rem;
  text-decoration: none;
  color: #000;
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  font-size: 1rem;
}

.ms-mobile-header .ms-submenu a {
	position: absolute;
	inset: 0;
}

.ms-topbar .ms-contact-links + a {
  padding: 0;
  text-align: center;
  width: max-content;
  height: 50px;
}

.ms-submenu {
  position: absolute;
  inset: 0;
  background: #f3f3f3;
  padding: 0;
  z-index: 1100;
}

.ms-submenu[hidden] {
  display: none;
}

.ms-back-btn {
  background: none;
  border: none;
  padding: 1rem 1rem 1rem 3rem;
  font-size: 1rem;
  color: #ff6a1a;
  width: 100%;
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: black;
  font-weight: 500;
  letter-spacing: 0.1rem;
}

.ms-back-btn::before {
  content: "\2190"; /* ← */
  font-weight: bold;
  position: absolute;
  left: 1rem;
	font-size: 1.6rem;
    top: .55rem;
}

/* Promo + Account */
.ms-btn-promo {
  display: block;
  background: #ff6a1a;
  color: #fff;
  text-align: center;
  padding: 1rem;
  text-decoration: none;
  margin: 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.ms-account-cart {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 1rem 2rem;
}

.ms-account-cart a {
  border: 2px solid #ff6a1a;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  text-decoration: none;
  color: #000;
  background-size: 2rem 1.6rem;
  background-repeat: no-repeat;
  background-position-x: 0.3rem;
  background-position-y: center;
  font-weight: 600;
  width: 100%;
  text-align: center;
}
@media (min-width: 600px) { .ms-account-cart a { width: 200px; } }
@media (min-width: 1024px) { .ms-account-cart a { width: 300px; } }

.ms-account-cart a.ms-btn-account {
  background-image: var(--ms-icon-person);
}

.ms-account-cart a.ms-btn-cart {
  background-image: var(--ms-icon-cart);
}

/* Cards */
div .ms-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  margin: 1rem 0;
}

.ms-cards .ms-card-menu-li {
  text-align: center;
  padding: 10rem 1rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
    overflow: hidden;
}

.ms-card-menu-li {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  width: 100%;
  max-width: 360px;
}

.ms-cards .ms-card-menu-li span {
	    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.3rem;
    background-color: white;
    color: black;
    font-weight: 500;
    font-size: 1rem;
	text-align: center;
}

.ms-card-menu-li {
position: relative;
background-repeat: no-repeat;
background-size: cover;
}


.ms-card-menu-li .ms-card-menu {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: flex-end;
  display: flex;
  justify-content: center;
  background-color: transparent;
  width: 100%;
  max-width: 400px;
  opacity: 1;
  text-align: center;
  font-size: 1rem;
  border-bottom-left-radius: 0.4rem;
  border-bottom-right-radius: 0.4rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ms-card-menu-li .ms-card-menu::before {
	content: "";
	display: flex;
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);

}

/* Contact Links */
.ms-contact-links {
  width: 80px;
  display: flex;
}

.ms-contact-links + a {
  margin-left: 40px;
}

.ms-contact-links .ms-phone-link,
.ms-contact-links .ms-contact-link {
  width: 40px;
  height: 40px;
  background-image: var(--ms-icon-phone);
  background-size: 1.6rem;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
}

.ms-contact-links .ms-contact-link {
  background-image: var(--ms-icon-email);
}

.ms-burger-container {
  width: 80px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.ms-submenu-btn {
  font-weight: 500;
}

.ms-submenu-btn::after {
  content: "";
  float: right;
  width: 1.2rem;
  height: 1.2rem;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='currentColor' d='M5.5 3.5L10 8l-4.5 4.5-.7-.7L8.6 8 4.8 4.2z'/></svg>") no-repeat center;
  background-size: contain;
}


/* ============================================
   MENU DESKTOP
   ============================================ */

/* Masquer desktop sur mobile */
.ms-desktop-header {
  display: none;
}

@media (min-width: 1024px) {
  /* Masquer mobile sur desktop */
  .ms-mobile-header {
    display: none;
  }

  /* Afficher desktop */
  .ms-desktop-header {
    display: block;
    position: relative;
    font-family: "Poppins", sans-serif;
  }

  /* ===== PREMIER BANDEAU ===== */
  .ms-topbar-desktop {
    background: #3d4e6e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 2rem;
    font-size: 0.9rem;
  }

  .ms-topbar-left,
  .ms-topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .ms-topbar-desktop a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.2s;
  }

  .ms-topbar-desktop a:hover {
    opacity: 0.8;
  }
	
  .ms-topbar-desktop a.ms-topbar-timer {
	padding: .2rem 1rem;
	 gap: 0;
  }

  .ms-icon-link {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .ms-icon-account {
    background-image: var(--ms-icon-person-white);
  }

  .ms-icon-cart {
    background-image: var(--ms-icon-cart-white);
  }

  .ms-icon-ticket {
    background-image: var(--ms-icon-ticket-white);
    padding-left: 2rem;
    background-size: 1.5rem;
    background-repeat: no-repeat;
    background-position: 8px center;
    border: 1px solid white;
    padding: 0.2rem 0.8rem 0.2rem 2.5rem;
    border-radius: 4px;
  }

  .ms-phone-desktop {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .ms-phone-desktop::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: var(--ms-icon-phone);
    background-size: contain;
    background-repeat: no-repeat;
  }

  /* ===== DEUXIÈME BANDEAU ===== */
  .ms-main-header-desktop {
    background: #1b1b1b;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0 2rem;
    height: 90px;
  }

  .ms-logo-desktop {
    display: flex;
    align-items: center;
  }

  .ms-logo-desktop img {
    height: 60px;
  }

  .ms-nav-desktop {
    display: flex;
    gap: 0;
  }

  .ms-nav-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
  }

  .ms-nav-btn::after {
    content: "▼";
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.2s;
  }

  .ms-nav-btn[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }

  .ms-nav-btn:hover,
  .ms-nav-btn[aria-expanded="true"] {
    background: white;
    color: #ff6a1a;
    border-color: transparent;
  }

  .ms-btn-promo-desktop {
    margin: auto 0;
    background: #ff6a1a;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
  }
	
  .ms-topbar-timer {
	background: #ff6a1a;
	box-shadow: none !important;
  }

  .ms-btn-promo-desktop:hover {
    transform: translateY(-2px);
  }

  /* ===== MEGA PANEL ===== */
  .ms-mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-height: 300px;
  }

  .ms-mega-panel[hidden] {
    display: none;
  }

  .ms-close-panel {
    position: absolute;
    top: 10.5px;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    z-index: 10;
  }

  .ms-close-panel:hover {
    color: #ff6a1a;
  }

  /* ===== TABS (Niveau 2) ===== */
  .ms-tabs-container {
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    padding: 0 3rem 0 0;
  }

  .ms-tab-btn {
    background: none;
    border: none;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
  }

  .ms-tab-btn:hover {
    color: #333;
  }

  .ms-tab-btn.active {
    color: #ff6a1a;
  }

  .ms-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff6a1a;
	transform: none;
  }

  /* ===== CONTENU DES TABS (Niveau 3) ===== */
  .ms-tab-content {
    display: none;
    padding: 2rem;
  }

  .ms-tab-content.active {
    display: block;
  }

  .ms-maroc-btn {
    position: relative;
  }

  .ms-maroc-btn::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 75%;
    border-left: 2px solid #e0dfdf;
  }
	
  .ms-maroc-btn.active::after {
    top: 100%;
  }

  /* ===== CARDS ===== */
  .ms-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .ms-card-desktop {
    position: relative;
	max-width: 370px;
    height: 250px;
    border-radius: 0.5rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .ms-card-desktop:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }

  .ms-card-desktop::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  }

  .ms-card-title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1.5rem;
    width: 100%;
    text-align: center;
  }
}
