.hdr-top {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 6px 0;
}
.hdr-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hdr-top__phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.hdr-top__phone i { color: #1d4ed8; font-size: 12px; }
.hdr-top__phone:hover { color: #1d4ed8; }
.hdr-top__links { display: flex; align-items: center; gap: 18px; }
.hdr-top__link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #6b7280;
  text-decoration: none;
  transition: color .15s;
}
.hdr-top__link:hover { color: #1d4ed8; }
.hdr-top__link i { transition: opacity .15s; }
.hdr-top__link:hover i { opacity: .75; }
.hdr-top__sep { width: 1px; height: 13px; background: #d1d5db; }

/* Tooltips liens raccourcis */
.hdr-top__link { position: relative; }
.hdr-tip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1e293b;
  color: #f1f5f9;
  border-radius: 8px;
  padding: 9px 13px;
  width: 200px;
  font-size: 11.5px;
  line-height: 1.45;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  pointer-events: none;
  z-index: 9999;
  white-space: normal;
}
.hdr-tip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 14px;
  border: 6px solid transparent;
  border-bottom-color: #1e293b;
}
.hdr-tip strong { display: block; font-size: 12px; color: #fff; margin-bottom: 3px; }
.hdr-top__link:hover .hdr-tip { display: block; }

.hdr-main {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.hdr-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.hdr-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.hdr-logo img { display: block; }

.hdr-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.hdr-nav-item { position: relative; }
.hdr-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  background: transparent;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s, color .15s;
  line-height: 1;
}
.hdr-nav-btn .chev { font-size: 10px; color: #9ca3af; transition: transform .2s; }
.hdr-nav-btn:hover, .hdr-nav-btn:focus-visible { background: #f3f4f6; color: #111827; }
.hdr-nav-btn.is-active { color: #1d4ed8; background: #eff6ff; }
.hdr-nav-item:hover .chev, .hdr-nav-item:focus-within .chev { transform: rotate(180deg); }

.hdr-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  padding: 20px 24px;
  padding-top: 28px;
  min-width: 480px;
  z-index: 1000;
}
/* Pont invisible au-dessus du dropdown pour éviter la fermeture lors du passage bouton->menu */
.hdr-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -20px;
  right: -20px;
  height: 12px;
}
.hdr-dropdown--narrow { min-width: 280px; }
.hdr-nav-item:hover .hdr-dropdown,
.hdr-nav-item:focus-within .hdr-dropdown { display: block; }

.hdr-dd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.hdr-dd-cols--single { grid-template-columns: 1fr; }
.hdr-dd-section { margin-bottom: 16px; }
.hdr-dd-section:last-child { margin-bottom: 0; }
.hdr-dd-head {
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f3f4f6;
  font-weight: 500;
}
.hdr-dd-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.hdr-dd-list a {
  font-size: 13px;
  color: #4b5563;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color .15s;
}
.hdr-dd-list a:hover { color: #1d4ed8; }
.hdr-dd-list a i { font-size: 10px; color: #d1d5db; flex-shrink: 0; }
.hdr-dd-all {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 500;
}
.hdr-dd-all:hover { text-decoration: underline; }

.hdr-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #1d4ed8;
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 7px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
}
.hdr-cta:hover { background: #1e40af; }

.hdr-mobile-btn {
  display: none;
  background: #eff6ff;
  border: 0;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  transition: background .15s;
}
.hdr-mobile-btn:hover { background: #dbeafe; }
.hdr-mobile-btn i,
.hdr-mobile-btn i:before,
.hdr-mobile-btn i:after { background-color: #1d4ed8 !important; }
.hdr-mobile-btn:hover i,
.hdr-mobile-btn:hover i:before,
.hdr-mobile-btn:hover i:after { background-color: #1e40af !important; }

@media (max-width: 767px) { .hdr-top { display: none !important; } }
@media (max-width: 1199px) {
  .hdr-nav { display: none !important; }
  .hdr-mobile-btn { display: flex !important; }
  .hdr-cta-label { display: none; }
  .hdr-cta { padding: 9px 12px; }
}
