:root {
  --brand: #00b0a2;
  --brand-dark: #008a7e;
  --header-height: 3.5rem;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Brand ── */
.site-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.site-brand:hover .site-title {
  opacity: 0.85;
}

.site-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.site-logo {
  height: 1rem;
  width: auto;
  object-fit: contain;
  transform: scale(2);
}

/* ── Nav liens ── */
.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
}

/* ── Liens header ── */
.header-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
  white-space: nowrap;
}

.header-link:hover {
  background: var(--brand-dark);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.header-link--accent {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.header-link--accent:hover {
  background: var(--brand-dark);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ── Dropdown langue ── */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 5px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
}

.lang-btn:hover {
  background: var(--brand-dark);
}

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  list-style: none;
  padding: 4px;
  min-width: 140px;
  z-index: 200;
}

.lang-dropdown.open .lang-menu {
  display: block;
}

.lang-menu li a {
  display: block;
  padding: 7px 12px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.1s;
}

.lang-menu li a:hover {
  background: var(--brand);
  color: #fff;
}

.lang-menu li a.active {
  color: var(--brand);
  font-weight: 500;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .desktop-only {
    display: none;
  }
}

/* ── Drawer overlay ── */
.drawer-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.25s;
}

.drawer-overlay.open {
  display: block;
  opacity: 1;
}

/* ── Drawer ── */
.drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 280px;
  height: calc(100vh - var(--header-height));
  background: #fff;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
}

body.drawer-open {
  overflow: hidden;
}

/* ── Drawer nav ── */
.drawer-nav-item {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.1s;
}

.drawer-nav-item:hover {
  background: #f0faf9;
  color: var(--brand);
}
