/* Chrome haut-gauche + tableau de bord latéral */

.globe-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  padding: 10px 12px 12px;
  pointer-events: none;
}

.globe-chrome__logo {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.globe-chrome__logo:hover {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55)) brightness(1.08);
}

.globe-chrome__logo:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
  border-radius: 4px;
}

.globe-chrome__home {
  pointer-events: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  text-decoration: none;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.75));
}

.globe-chrome__home svg {
  display: block;
}

.globe-chrome__home:hover {
  color: #cfe3ff;
}

/* Une seule ligne : maison · logo · ☰ · recherche */
.globe-chrome__bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: min(520px, calc(100vw - 24px));
  max-width: 100%;
  min-width: 0;
  pointer-events: none;
}

.globe-chrome__menu {
  pointer-events: auto;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(32, 33, 36, 0.92);
  color: #e8eaed;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.34),
    0 8px 24px -8px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.globe-chrome__menu:hover {
  background: rgba(48, 49, 52, 0.95);
}

.globe-chrome__menu-icon {
  width: 18px;
  height: 14px;
  display: block;
}

.globe-chrome .country-search {
  position: relative;
  top: auto;
  left: auto;
  z-index: auto;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  pointer-events: none;
}

.globe-chrome .country-search__form,
.globe-chrome .country-search__results {
  pointer-events: auto;
}

/* Suggestions hors flux — ne décale pas maison/logo/☰ */
.globe-chrome .country-search__results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  z-index: 50;
}

.globe-sidebar {
  --sidebar-top: 68px;
  position: fixed;
  top: var(--sidebar-top);
  left: 0;
  bottom: 0;
  z-index: 60;
  width: min(300px, 86vw);
  height: auto;
  display: flex;
  flex-direction: column;
  background: rgba(24, 25, 28, 0.97);
  color: #e8eaed;
  box-shadow: 8px 0 28px rgba(0, 0, 0, 0.4);
  border-radius: 0 12px 0 0;
  transform: translateX(-105%);
  transition: transform 0.22s ease;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.globe-sidebar.is-open {
  transform: translateX(0);
}

.globe-sidebar__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.globe-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.globe-sidebar__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.globe-sidebar__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.globe-sidebar__close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #9aa0a6;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.globe-sidebar__close::before,
.globe-sidebar__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.globe-sidebar__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.globe-sidebar__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.globe-sidebar__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.globe-sidebar__body {
  padding: 14px 16px 24px;
  overflow: auto;
}

.globe-sidebar__section + .globe-sidebar__section {
  margin-top: 1.25rem;
}

.globe-sidebar__section h3 {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa0a6;
}

.globe-sidebar__toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.35rem 0;
  font-size: 0.95rem;
  cursor: pointer;
}

.globe-sidebar__hint {
  margin: 0;
  color: #9aa0a6;
  font-size: 0.9rem;
  line-height: 1.45;
}

.globe-sidebar__list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #c8c8c8;
  font-size: 0.9rem;
  line-height: 1.5;
}

.globe-sidebar__list li + li {
  margin-top: 0.35rem;
}

.globe-sidebar__list strong {
  color: #e8eaed;
  font-weight: 650;
}

.globe-sidebar__backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.globe-sidebar__backdrop.hidden {
  display: none !important;
}
