/* ==========================================================================
   MODERN MINIMALIST / BRUTALIST NAVBAR (ELIAN KENT STYLE)
   ========================================================================== */

:root {
  --ek-bg: #09090b;
  --ek-bg-glass: rgba(9, 9, 11, 0.92);
  --ek-border: rgba(255, 255, 255, 0.12);
  --ek-border-light: rgba(255, 255, 255, 0.2);
  --ek-text-main: #ffffff;
  --ek-text-muted: #a1a1aa;
  --ek-hover-bg: rgba(255, 255, 255, 0.06);
  --ek-height: 72px;
  --ek-font: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Header Outer Container */
.ek-header,
.ud-header.ek-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--ek-height);
  background-color: var(--ek-bg);
  border-bottom: 1px solid var(--ek-border);
  z-index: 1050;
  padding: 0;
  margin: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
  font-family: var(--ek-font);
}

/* Sticky state keeping the premium dark theme */
.ek-header.sticky,
.ud-header.ek-header.sticky {
  background-color: var(--ek-bg-glass) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid var(--ek-border) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Inner Frame Grid */
.ek-nav-container {
  max-width: 100%;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: relative;
}

@media (min-width: 1400px) {
  .ek-nav-container {
    padding: 0 40px;
  }
}

/* Left framing line & Brand */
.ek-brand-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  padding-left: 20px;
  border-left: 1px solid var(--ek-border);
}

.ek-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ek-text-main);
  transition: opacity 0.2s ease;
}

.ek-brand:hover {
  opacity: 0.88;
  color: var(--ek-text-main);
}

/* Brand Glyph Icon */
.ek-brand-icon {
  width: 32px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ek-brand-logo-img {
  width: auto;
  height: 100%;
  max-height: 36px;
  max-width: 34px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.12));
}

.ek-brand-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Two-line bold typography */
.ek-brand-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}

.ek-brand-top {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ek-text-main);
}

.ek-brand-sub {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ek-text-main);
}

/* Center / Navigation Menu */
.ek-nav-center {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: auto;
  margin-right: 0;
}

.ek-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  gap: 32px;
}

@media (min-width: 992px) and (max-width: 1200px) {
  .ek-nav-links {
    gap: 22px;
  }
}

.ek-nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.ek-nav-link {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ek-text-muted);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.ek-nav-link:hover,
.ek-nav-link.active {
  color: var(--ek-text-main);
}

.ek-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--ek-text-main);
  transition: width 0.25s ease;
}

.ek-nav-link:hover::after,
.ek-nav-link.active::after {
  width: 100%;
}

/* Right Section: Book a Call CTA */
.ek-cta-box {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 100%;
  padding: 0 28px;
  margin-left: 36px;
  border-left: 1px solid var(--ek-border);
  border-right: 1px solid var(--ek-border);
  text-decoration: none;
  color: var(--ek-text-main);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  user-select: none;
}

@media (min-width: 1400px) {
  .ek-cta-box {
    padding: 0 34px;
    gap: 28px;
  }
}

.ek-cta-box:hover {
  background-color: var(--ek-hover-bg);
  color: var(--ek-text-main);
  border-color: var(--ek-border-light);
}

.ek-cta-text {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ek-text-main);
  white-space: nowrap;
}

.ek-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--ek-text-main);
}

.ek-cta-box:hover .ek-cta-arrow {
  transform: translateX(4px);
}

/* Mobile Toggler Button */
.ek-toggler {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--ek-border);
  border-right: 1px solid var(--ek-border);
  margin-left: auto;
}

.ek-toggler-icon {
  width: 24px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ek-toggler-line {
  width: 100%;
  height: 1.5px;
  background-color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
  border-radius: 1px;
}

.ek-toggler.active .ek-toggler-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.ek-toggler.active .ek-toggler-line:nth-child(2) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Dropdown Menu */
.ek-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #0b0b0d;
  border-bottom: 1px solid var(--ek-border);
  padding: 24px 20px 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  z-index: 1040;
}

.ek-mobile-menu.show {
  display: block;
  animation: ekSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ekSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ek-mobile-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
}

.ek-mobile-item {
  border-bottom: 1px solid var(--ek-border);
}

.ek-mobile-link {
  display: block;
  padding: 14px 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ek-text-muted);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.ek-mobile-link:hover,
.ek-mobile-link.active {
  color: var(--ek-text-main);
  padding-left: 14px;
}

.ek-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--ek-border);
  background-color: var(--ek-hover-bg);
  text-decoration: none;
  color: var(--ek-text-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.ek-mobile-cta:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--ek-text-main);
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .ek-nav-center {
    display: none;
  }

  .ek-cta-box.d-desktop {
    display: none;
  }

  .ek-toggler {
    display: inline-flex;
  }

  .ek-brand-wrap {
    padding-left: 12px;
  }

  .ek-nav-container {
    padding: 0 16px;
  }
}

/* Body and Banner offset so fixed header doesn't cover content */
body {
  padding-top: var(--ek-height);
}

#accueil {
  margin-top: calc(-1 * var(--ek-height));
  padding-top: var(--ek-height);
}
