:root {
  --hauteur-menu: 40px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 87, 183, 0.10), transparent 70%),
    radial-gradient(circle at top right, rgba(255, 215, 0, 0.10), transparent 70%),
    #f6f8fc;
  color: #1f2937;
  line-height: 1.6;
}

/* ===== BANDEAU DE TÊTE ===== */
.topbar {
  background: linear-gradient(
    90deg,
    rgba(0, 87, 183, 0.45) 0%,
    rgba(28, 99, 207, 0.45) 42%,
    rgba(255, 216, 77, 0.45) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  /* box-shadow: 0 6px 18px rgba(15, 23, 42, 0.10); */
}

.topbar-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  display: block;
  width: 200px;
  height: auto;
  max-width: 100%;
  margin-left: 30px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: flex-end;
  padding-bottom: 8px;
  margin-right: 60px;
}

.top-link,
.top-icon-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.top-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
}

.youtube-icon {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  display: block;
  flex-shrink: 0;
}

.topbar-sep,
.topbar-links p {
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
}

.top-icon-link,
.topbar-sep,
.topbar-links p {
  flex-shrink: 0;
}

/* ===== RESPONSIVE BANDEAU ===== */
@media (max-width: 768px) {
  .topbar-inner {
    min-height: auto;
    padding: 8px 0 6px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .topbar-links {
    gap: 10px;
    flex-wrap: wrap;
    margin-right: 0;
    align-self: stretch;
    padding-bottom: 0;
    justify-content: flex-end;
  }

  .site-logo {
    width: 160px;
    margin-left: 0;
  }
}