/* ================================================
   AIRAV TOPBAR — front
   ================================================ */

.airav-topbar {
  width: 100%;
  padding: 14px 0;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.airav-topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;  /* ← déjà présent normalement */
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

/* Séparateur bullet entre les liens */
.airav-topbar__inner > * + *::before {
  content: '•';
  margin: 0 10px;
  opacity: 0.6;
  line-height: 1;
  vertical-align: middle;
}

.airav-topbar__inner a{
  text-decoration: none !important;
}

/* ---- Lien simple ---- */
.aatb-link {
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.aatb-link:hover {
  color: #CA9E46 !important;
  text-decoration: none;
}

/* ---- Item avec dropdown ---- */
.aatb-item--dropdown {
  position: relative;
  cursor: pointer;
  display: inline-flex;  /* ← ajouter inline-flex */
  align-items: center;
}

/* Les liens simples aussi */
.aatb-item.aatb-link {
  display: inline-flex;
  align-items: center;
}

.aatb-item--dropdown > .aatb-link {
  display: flex;
  align-items: center;
  gap: 4px;
}

.aatb-arrow {
  font-style: normal;
  font-size: 9px;
  vertical-align: middle;
  transition: transform 0.2s;
}

.aatb-item--dropdown:hover .aatb-arrow {
  transform: rotate(180deg);
}

/* ---- Dropdown ---- */
.aatb-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 180px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  z-index: 9999;
}

.aatb-item--dropdown:hover .aatb-dropdown {
  display: block;
}

.aatb-dropdown li a {
  display: block;
  padding: 8px 16px;
  color: #4e7c66 !important;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.15s;
}

.aatb-dropdown li a:hover {
  color: #CA9E46 !important;
}

/* Petite flèche au-dessus du dropdown */
.aatb-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
}

/* ---- Mobile : masquer la topbar ---- */
@media (max-width: 767px) {
  .airav-topbar {
    display: none;
  }
}
