/*! chrome.css — bundle CSS généré par tools/build_css.py
    Sources : shared-header.css, shared-footer.css, nav-modern.css, critical-chrome.css, tiktok-icon.css, mobile-menu-variables.css
    Regénérer : python3 tools/build_css.py */

/* ── shared-header.css ──────────────────────────────────── */

/* ===================================================================
   shared-header.css — LAZARO Header: Topbar + Logo + Structure
   Navigation styles are in nav-modern.css (2026 rewrite).
=================================================================== */

/* ---- Remove stray borders ---- */
.header-area .nh3-topber ul.ht3-list,
.header-area .nh3-navber nav .nav-brand,
.header-area .nh3-navber .nh3-nav-btn {
  border-left: none;
  border-right: none;
}

/* =========================================================
   TOPBAR
   ========================================================= */
.h-style3 .nh3-topber {
  position: relative;
  overflow: visible;
}

.h-style3 .nh3-topber .row {
  margin: 0;
  justify-content: center;
}

.h-style3 .nh3-topber .col-md-6,
.h-style3 .nh3-topber .col-6,
.h-style3 .nh3-topber .col-md-4,
.h-style3 .nh3-topber .col-auto {
  padding: 0;
}

.h-style3 .nh3-topber ul.ht3-list {
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.h-style3 .nh3-topber ul.ht3-list li {
  display: inline-block;
  height: 100%;
}

.h-style3 .nh3-topber ul.ht3-list li a {
  color: #fff;
  font-size: 13px;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.h-style3 .nh3-topber ul.ht3-list li a:hover {
  opacity: 0.8;
}

.h-style3 .nh3-topber ul.ht3-list li a i {
  margin-right: 8px;
  font-size: 12px;
  opacity: 0.9;
}

/* h-style4 overrides */
.h-style4 .nh3-topber {
  border-bottom: 1px solid #fdfdfd;
}

.h-style4 .nh3-topber ul.ht3-list {
  justify-content: center;
}

.h-style4 .nh3-topber .row {
  justify-content: center;
}

.h-style3 .nh3-topber ul.ht3-list,
.h-style4 .nh3-topber ul.ht3-list {
  margin-bottom: 0;
  min-height: 100%;
}

/* =========================================================
   NAVBER STRUCTURE (height, container layout)
   — visual nav styles are in nav-modern.css
   ========================================================= */

/* Propagate navber height through Bootstrap grid so main-nav gets a
   definite height and height:100% on .nav-brand resolves correctly. */
.h-style3 .nh3-navber .container,
.h-style3 .nh3-navber .row,
.h-style3 .nh3-navber [class*="col"] {
  height: 100%;
}

.h-style3 .nh3-navber nav {
  height: 100%;
  position: relative;
  overflow: visible;
}

.h-style3 .nh3-navber nav .nav-brand {
  max-width: 183px;
  height: 100%;
  margin: 0;
  padding: 0;
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* h-style4 white border overrides */
.h-style4 .nh3-navber {
  border-top: 1px solid #fcfcfc !important;
  border-bottom: 1px solid #fcfcfc !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

.header-area.header-light-bg.h-style4 .nh3-navber {
  border-top-color: rgba(0, 0, 0, 0.2) !important;
  border-bottom-color: rgba(0, 0, 0, 0.2) !important;
}

.header-area.header-light-bg.h-style4 .nh3-topber {
  border-bottom-color: rgba(0, 0, 0, 0.2) !important;
}

/* =========================================================
   LOGO
   ========================================================= */
.h-style3 h2.nav-brand {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.h-style3 .nav-brand a {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.h-style3 h2.nav-brand img {
  max-height: 45px;
  width: auto;
  height: auto;
  padding: 0;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* =========================================================
   ACTIVE PAGE INDICATOR (desktop underline)
   ========================================================= */
.header-area .nav-menu > li > a.is-current-page::after,
.header-area .nav-menu > li > a.is-current-parent::after {
  background: rgba(86, 194, 226, 0.95);
}

.header-area.header-light-bg .nav-menu > li > a.is-current-page,
.header-area.header-light-bg .nav-menu > li > a.is-current-parent {
  color: #169bd7 !important;
}

.header-area.header-light-bg .nav-menu > li > a.is-current-page::after,
.header-area.header-light-bg .nav-menu > li > a.is-current-parent::after {
  background: rgba(22, 155, 215, 0.95);
}

/* Submenu current page highlight */
.nav-submenu li a.is-current-page {
  background: rgba(86, 194, 226, 0.2);
  color: #fff !important;
  font-weight: 600;
}

/* =========================================================
   TABLET (768px – 1199px): Topbar compact layout
   ========================================================= */
@media (min-width: 768px) and (max-width: 1199px) {
  html, body {
    overflow-x: hidden;
  }

  .h-style3.header-area,
  .header-area,
  #shared-header {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .h-style3 .nh3-topber {
    width: 100%;
    padding: 10px 12px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .h-style3 .nh3-topber .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .h-style3 .nh3-topber ul.ht3-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .h-style3 .nh3-topber ul.ht3-list li {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .h-style3 .nh3-topber ul.ht3-list li a {
    padding: 8px 10px;
    font-size: 11px;
    white-space: normal;
    word-break: break-word;
    display: inline-flex;
    align-items: center;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
  }

  .h-style3 .nh3-topber ul.ht3-list li a i {
    margin-right: 4px;
    flex-shrink: 0;
  }

  .h-style3 .nh3-navber .main-nav {
    padding: 0 12px;
  }

  .h-style3 .nh3-navber .nav-brand img {
    max-height: 42px;
  }
}

/* =========================================================
   MOBILE (< 768px): Topbar hidden, header fixed
   ========================================================= */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;
  }

  /* Header fixed on mobile */
  .header-area.h-style3 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
  }

  /* #shared-header must not interfere with position:fixed */
  #shared-header {
    position: static !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
  }

  /* Topbar hidden on mobile */
  .h-style3 .nh3-topber {
    display: none !important;
  }

  /* Ensure sections stay below fixed header */
  section,
  .section,
  .swiper,
  .swiper-wrapper,
  .swiper-slide,
  .slider {
    position: relative !important;
    z-index: 1 !important;
  }

  .scrollup {
    z-index: 99998 !important;
  }
}

/* Desktop: topbar always visible */
@media (min-width: 768px) {
  .h-style3 .nh3-topber {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
  }
}

/* ── shared-footer.css ──────────────────────────────────── */

/* =========================================================
   shared-footer.css — LAZARO Site Footer (2026)
   Loads AFTER style.css. Uses explicit values + !important
   to beat global h3/p/a/footer overrides.
   ========================================================= */

/* =========================================================
   WRAPPER — dark brand background
   ========================================================= */
footer.site-footer {
  background: #0d2137 !important;
  color: #c8d8e8 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  padding: 0 !important;
  text-align: left !important;
  display: block !important;
  position: relative;
}

/* Top gradient accent stripe */
.footer-accent-bar {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #2c5282 15%,
    #56c2e2 40%,
    #56c2e2 60%,
    #2c5282 85%,
    transparent 100%
  );
}

/* =========================================================
   INNER CONTENT AREA
   ========================================================= */
.footer-inner {
  padding: 60px 0 44px;
}

/* 4-column CSS grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.2fr 1fr;
  gap: 0 52px;
  align-items: start;
}

/* Column dividers */
.footer-col + .footer-col {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  padding-left: 52px;
}

/* =========================================================
   SECTION HEADINGS — override global h3 color (#2a2a33)
   ========================================================= */
.site-footer .footer-heading {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin: 0 0 20px !important;
  padding-bottom: 12px !important;
  line-height: 1.4 !important;
  position: relative;
}

.site-footer .footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: #56c2e2;
  border-radius: 999px;
  transition: width 300ms ease;
}

.site-footer .footer-col:hover .footer-heading::after {
  width: 44px;
}

/* =========================================================
   BRAND COLUMN
   ========================================================= */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 22px;
  transition: opacity 200ms ease;
}

.footer-logo-link:hover {
  opacity: 0.82;
}

.footer-logo {
  max-height: 46px;
  width: auto;
  display: block;
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(86, 194, 226, 0.18));
}

/* Contact list */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-style: normal;
}

.site-footer .footer-contact a {
  display: flex !important;
  align-items: flex-start !important;
  gap: 11px !important;
  color: #94b8d0 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  transition: color 200ms ease, gap 200ms ease !important;
}

.site-footer .footer-contact a:hover {
  color: #ffffff !important;
  gap: 14px !important;
  text-decoration: none !important;
}

.footer-contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  width: 30px;
  height: 30px;
  background: rgba(86, 194, 226, 0.10);
  border: 1px solid rgba(86, 194, 226, 0.18);
  border-radius: 7px;
  color: #56c2e2;
  font-size: 12px;
  flex-shrink: 0;
  transition: background 200ms ease, border-color 200ms ease;
}

.site-footer .footer-contact a:hover .footer-contact__icon {
  background: rgba(86, 194, 226, 0.2);
  border-color: rgba(86, 194, 226, 0.4);
}

/* =========================================================
   LINK LISTS — override global a + footer a !important
   ========================================================= */
.site-footer .footer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer .footer-links li {
  padding: 0 !important;
  line-height: normal !important;
}

.site-footer .footer-links li a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  color: #94b8d0 !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  transition: color 200ms ease, padding-left 200ms ease !important;
  padding-left: 0 !important;
  position: relative;
}

.site-footer .footer-links li a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1.5px;
  background: #56c2e2;
  margin-right: 0;
  flex-shrink: 0;
  vertical-align: middle;
  border-radius: 999px;
  transition: width 200ms ease, margin-right 200ms ease;
  position: relative;
  top: -1px;
}

.site-footer .footer-links li a:hover {
  color: #ffffff !important;
  padding-left: 4px !important;
  text-decoration: none !important;
}

.site-footer .footer-links li a:hover::before {
  width: 12px;
  margin-right: 7px;
}

/* =========================================================
   SOCIAL ICONS
   ========================================================= */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.site-footer .footer-social__link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 11px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #c8d8e8 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms ease !important;
}

.site-footer .footer-social__link:hover {
  transform: translateY(-4px) !important;
  text-decoration: none !important;
}

.site-footer .footer-social__link--facebook:hover {
  background: #1877f2 !important;
  border-color: #1877f2 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.45) !important;
}

.site-footer .footer-social__link--instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(214, 36, 159, 0.45) !important;
}

.site-footer .footer-social__link--tiktok:hover {
  background: #010101 !important;
  border-color: #69c9d0 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(105, 201, 208, 0.40) !important;
}

/* ---- Made-in-Morocco badge ---- */
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: #7a9ab5;
}

.footer-badge__flag {
  font-size: 15px;
  line-height: 1;
}

/* =========================================================
   COPYRIGHT BAR — override footer p !important from style.css
   ========================================================= */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #091828;
  padding: 15px 0;
}

.site-footer .footer-bottom .footer-bottom__copy,
.footer-bottom p.footer-bottom__copy {
  text-align: center !important;
  font-size: 13px !important;
  color: #5a7a96 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
  font-family: inherit !important;
}

.site-footer .footer-bottom a,
.footer-bottom p.footer-bottom__copy a {
  color: #56c2e2 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 200ms ease !important;
}

.site-footer .footer-bottom a:hover,
.footer-bottom p.footer-bottom__copy a:hover {
  color: #88d8ee !important;
  text-decoration: none !important;
}

/* =========================================================
   RESPONSIVE — Tablet (768px – 1023px)
   ========================================================= */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-col + .footer-col {
    border-left: none;
    padding-left: 0;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding-bottom: 28px;
    margin-bottom: 4px;
  }

  .footer-inner {
    padding: 48px 0 36px;
  }
}

/* =========================================================
   RESPONSIVE — Mobile (< 768px)
   ========================================================= */
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col + .footer-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 28px;
  }

  .footer-inner {
    padding: 36px 0 24px;
  }

  .site-footer .footer-heading {
    font-size: 10px !important;
    margin-bottom: 14px !important;
  }

  .footer-logo {
    max-height: 38px;
  }

  .footer-social {
    gap: 8px;
  }

  .site-footer .footer-social__link {
    width: 42px !important;
    height: 42px !important;
  }
}

/* ── nav-modern.css ──────────────────────────────────── */

/* =========================================================
   nav-modern.css — LAZARO Navigation (2026 Rewrite)
   Replaces: sm-core-css.css, sm-mint.css, sm-style.css,
             nav rules in shared-header.css
   No jQuery / No SmartMenus dependency.
   ========================================================= */

/* ---- Design Tokens ---- */
:root {
  --nav-bg:              #1a3a5c;
  --nav-gradient:        linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
  --nav-accent:          #56c2e2;
  --nav-text:            #fff;
  --nav-text-dim:        rgba(255, 255, 255, 0.72);
  --nav-border:          rgba(73, 106, 143, 0.7);
  --nav-item-bg:         rgba(255, 255, 255, 0.08);
  --nav-item-border:     rgba(255, 255, 255, 0.13);
  --nav-dropdown-bg:     #142e4e;
  --nav-dropdown-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25);
  --nav-height:          54px;
  --nav-height-mobile:   64px;
  --nav-radius:          10px;
  --nav-easing:          cubic-bezier(0.16, 1, 0.3, 1);
  --nav-dur:             240ms;
}

/* =========================================================
   NAVBER CONTAINER
   ========================================================= */
.h-style3 .nh3-navber {
  height: var(--nav-height);
  position: relative;
  border-top: 1px solid var(--nav-border);
  border-bottom: 1px solid var(--nav-border);
  border-left: 0;
  border-right: 0;
  overflow: visible;
  z-index: 100;
}

.h-style3 .nh3-navber nav,
.h-style3 .nh3-navber .main-nav {
  height: 100%;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  padding: 0;
  gap: 0;
}

/* Logo: left anchor */
.h-style3 .nh3-navber .nav-brand {
  flex-shrink: 0;
  order: 1;
}

/* Nav menu: pushed right via auto margin, sits before lang selector */
.h-style3 .nh3-navber .nav-menu {
  flex-shrink: 0;
  margin-left: auto;
  order: 2;
}

/* Language selector: far right */
.h-style3 .nh3-navber .language-selector {
  flex-shrink: 0;
  margin-left: 8px;
  order: 3;
}

/* =========================================================
   DESKTOP NAV MENU  (≥ 768px default styles)
   ========================================================= */

/* Top-level list */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-menu > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Top-level link */
.nav-menu > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 15px;
  color: var(--nav-text);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  letter-spacing: 0.01em;
  transition: color var(--nav-dur) ease;
  gap: 4px;
}

/* Animated underline indicator */
.nav-menu > li > a::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 9px;
  height: 2px;
  background: var(--nav-accent);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms var(--nav-easing);
}

.nav-menu > li > a:hover,
.nav-menu > li > a:focus-visible {
  color: var(--nav-accent);
  outline: none;
}

.nav-menu > li:hover > a::after,
.nav-menu > li:focus-within > a::after {
  transform: scaleX(1);
}

/* Active / current page */
.nav-menu > li > a.is-current-page,
.nav-menu > li > a.is-current-parent {
  color: var(--nav-accent);
  font-weight: 700;
}

.nav-menu > li > a.is-current-page::after,
.nav-menu > li > a.is-current-parent::after {
  transform: scaleX(1);
}

/* ---- Dropdown chevron button ---- */
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 100%;
  padding: 0;
  margin-left: -6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--nav-text-dim);
  flex-shrink: 0;
}

.nav-dropdown-btn .chevron {
  display: block;
  width: 10px;
  height: 10px;
  transition: transform var(--nav-dur) var(--nav-easing), color var(--nav-dur) ease;
  pointer-events: none;
}

.has-dropdown:hover .nav-dropdown-btn,
.has-dropdown:focus-within .nav-dropdown-btn {
  color: var(--nav-accent);
}

.has-dropdown:hover .chevron,
.has-dropdown:focus-within .chevron,
.has-dropdown.is-open .chevron {
  transform: rotate(180deg);
}

/* ---- Desktop Dropdown submenu ---- */
.nav-submenu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 215px;
  background: var(--nav-dropdown-bg);
  border-radius: var(--nav-radius);
  box-shadow: var(--nav-dropdown-shadow);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, 0.09);
  /* Hidden by default — opacity+transform only (no display transition) */
  display: none;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
}

/* Open via CSS hover (desktop) */
@media (min-width: 768px) {
  .has-dropdown:hover > .nav-submenu,
  .has-dropdown:focus-within > .nav-submenu {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: submenuIn var(--nav-dur) var(--nav-easing) both;
  }

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

/* Submenu links */
.nav-submenu li {
  margin: 0;
  padding: 0;
}

.nav-submenu li a {
  display: flex;
  align-items: center;
  padding: 10px 18px 10px 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition:
    background 150ms ease,
    padding-left 150ms ease,
    color 150ms ease,
    border-color 150ms ease;
}

.nav-submenu li a:hover,
.nav-submenu li a:focus {
  background: rgba(86, 194, 226, 0.14);
  color: #fff;
  padding-left: 26px;
  border-left-color: var(--nav-accent);
  outline: none;
}

.nav-submenu li a.is-current-page {
  background: rgba(86, 194, 226, 0.2);
  color: #fff;
  font-weight: 600;
  border-left-color: var(--nav-accent);
}

/* =========================================================
   HAMBURGER BUTTON
   ========================================================= */
.nav-hamburger {
  display: none; /* hidden on desktop */
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  transition: background 180ms ease, border-color 180ms ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}

.hamburger-icon {
  display: block;
  width: 22px;
  height: 22px;
  overflow: visible;
}

/* SVG line transition */
.hamburger-icon line {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
  transition:
    transform 320ms cubic-bezier(0.23, 1, 0.32, 1),
    opacity 200ms ease;
}

/* Morph to × when open */
.nav-hamburger.is-open .hamburger-icon .line-1 {
  transform: translateY(5px) rotate(45deg);
}
.nav-hamburger.is-open .hamburger-icon .line-2 {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.is-open .hamburger-icon .line-3 {
  transform: translateY(-5px) rotate(-45deg);
}

/* =========================================================
   MOBILE  (< 768px)
   ========================================================= */
@media (max-width: 767px) {

  /* Show hamburger */
  .nav-hamburger {
    display: flex;
  }

  /* Mobile nav bar: 3-column grid — hamburger | logo (centered) | lang */
  .h-style3 .nh3-navber .main-nav {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 12px;
    width: 100%;
    height: var(--nav-height-mobile);
  }

  .h-style3 .nh3-navber .nav-hamburger {
    grid-column: 1;
    justify-self: start;
    margin: 0;
  }

  .h-style3 .nh3-navber .nav-brand {
    grid-column: 2;
    justify-self: center;
    margin: 0;
    flex-shrink: unset;
  }

  .h-style3 .nh3-navber .language-selector {
    grid-column: 3;
    justify-self: end;
    margin: 0;
  }

  /* Nav menu is position:fixed — out of grid flow */
  .h-style3 .nh3-navber .nav-menu {
    grid-column: unset;
  }

  /* Fixed header */
  .header-area.h-style3 {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--nav-height-mobile) !important;
    min-height: var(--nav-height-mobile) !important;
    max-height: var(--nav-height-mobile) !important;
    z-index: 99999 !important;
    background: var(--nav-bg) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transform: translateZ(0);
    will-change: transform;
  }

  /* Navber fills full height */
  .h-style3 .nh3-navber {
    height: var(--nav-height-mobile) !important;
  }

  /* Push page content below fixed header */
  body {
    padding-top: var(--nav-height-mobile) !important;
  }

  /* Topbar hidden on mobile */
  .h-style3 .nh3-topber {
    display: none !important;
  }

  /* Prevent page sections from overlapping header */
  section, .swiper, .slider, .modal {
    position: relative !important;
    z-index: 1 !important;
  }

  .scrollup {
    z-index: 99998 !important;
  }

  /* ---- Slide-down full-screen menu ---- */
  .nav-menu {
    position: fixed;
    top: var(--nav-height-mobile);
    left: 0;
    right: 0;
    max-height: calc(100svh - var(--nav-height-mobile));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--nav-gradient);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px 12px 28px;
    z-index: 99998;
    float: none;
    height: auto;
    /* Closed state */
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 250ms var(--nav-easing),
      transform 250ms var(--nav-easing),
      visibility 250ms;
  }

  .nav-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  /* Scroll lock when menu is open */
  body.menu-open {
    overflow: hidden !important;
  }

  /* ---- Mobile menu items ---- */
  .nav-menu > li {
    height: auto;
    width: 100%;
    position: relative;
    flex-direction: column;
    align-items: stretch;
    display: flex;
  }

  .nav-menu > li > a {
    height: auto;
    width: 100%;
    padding: 13px 52px 13px 16px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid var(--nav-item-border);
    background: var(--nav-item-bg);
    justify-content: flex-start;
    transition: background 150ms ease, border-color 150ms ease;
  }

  .nav-menu > li > a:hover,
  .nav-menu > li > a:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.26);
    color: #fff;
  }

  /* No underline indicator on mobile */
  .nav-menu > li > a::after {
    display: none;
  }

  /* Active link on mobile */
  .nav-menu > li > a.is-current-page,
  .nav-menu > li > a.is-current-parent {
    background: rgba(86, 194, 226, 0.18);
    border-color: rgba(86, 194, 226, 0.4);
    color: var(--nav-accent);
  }

  /* ---- Dropdown toggle button on mobile (right side of link row) ---- */
  .nav-dropdown-btn {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 50px;
    margin: 0;
    border-left: 1px solid var(--nav-item-border);
    border-radius: 0 8px 8px 0;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    z-index: 1;
  }

  .nav-dropdown-btn .chevron {
    width: 13px;
    height: 13px;
    color: var(--nav-text);
  }

  .has-dropdown:not(.is-open) .nav-dropdown-btn .chevron {
    transform: rotate(0deg);
  }

  .has-dropdown.is-open .nav-dropdown-btn .chevron {
    transform: rotate(180deg);
  }

  /* ---- Mobile submenu (accordion) ---- */
  .nav-submenu {
    position: static;
    display: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border-radius: 8px;
    margin-top: 5px;
    padding: 5px 0;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.22);
    transition: none;
  }

  .has-dropdown.is-open > .nav-submenu {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .nav-submenu li a {
    padding: 10px 16px 10px 28px;
    font-size: 14.5px;
    border-radius: 6px;
    margin: 2px 6px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
  }

  .nav-submenu li a:hover {
    padding-left: 28px;
  }
}

/* Desktop: no body padding */
@media (min-width: 768px) {
  body {
    padding-top: 0 !important;
  }

  .header-area.h-style3 {
    position: absolute;
  }

  /* Ensure topbar is visible on desktop */
  .h-style3 .nh3-topber {
    display: block !important;
  }

  /* Hide hamburger on desktop */
  .nav-hamburger {
    display: none !important;
  }

  /* Always show nav on desktop */
  .nav-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
    flex-direction: row !important;
    height: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    pointer-events: auto !important;
    float: none !important;
  }

  /* Restore desktop flex layout (overrides mobile grid) */
  .h-style3 .nh3-navber .main-nav {
    display: flex !important;
    padding: 0 !important;
  }

  .h-style3 .nh3-navber .nav-hamburger {
    display: none !important;
  }

  .h-style3 .nh3-navber .nav-brand {
    grid-column: unset;
    justify-self: unset;
    margin: 0;
  }

  .h-style3 .nh3-navber .language-selector {
    grid-column: unset;
    justify-self: unset;
    margin-left: 8px;
  }
}

/* =========================================================
   SMALL DESKTOP  (768px – 1024px)
   Reduce item padding so 6 items + logo + lang fit comfortably
   ========================================================= */
@media (min-width: 768px) and (max-width: 1024px) {
  .nav-menu > li > a {
    padding: 0 9px !important;
    font-size: 11.5px !important;
  }

  .nav-menu > li > a::after {
    left: 9px;
    right: 9px;
  }

  .h-style3 h2.nav-brand img {
    max-height: 38px;
  }
}

/* =========================================================
   MEDIUM DESKTOP  (1025px – 1280px)
   Slightly tighter than full desktop
   ========================================================= */
@media (min-width: 1025px) and (max-width: 1280px) {
  .nav-menu > li > a {
    padding: 0 12px !important;
    font-size: 12px !important;
  }
}

/* =========================================================
   LARGE SCREENS  (≥ 1440px)
   Cap Bootstrap container so content never stretches too wide
   ========================================================= */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1480px;
  }
}

/* =========================================================
   GLOBAL OVERFLOW GUARD
   ========================================================= */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* =========================================================
   NAV-FIXED (sticky scroll state)
   Applied by theme.js when scroll > 50px.
   Frosted-glass navy overrides style.css's legacy #169bd7.
   ========================================================= */
header.header-area.h-style3 {
  transition: background 0.35s var(--nav-easing),
              box-shadow  0.35s var(--nav-easing);
}

header.header-area.nav-fixed {
  position: fixed !important;
  top: 0;
  z-index: 9999;
  /* Frosted-glass dark navy — same look on every page */
  background: rgba(26, 58, 92, 0.94) !important;
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.22),
              inset 0 -1px 0 rgba(255, 255, 255, 0.07) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  /* Kill legacy fadeInDown jank from style.css */
  animation: navSlideDown 0.4s var(--nav-easing) both !important;
}

@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0.7; }
  to   { transform: translateY(0);     opacity: 1;   }
}

/* ── critical-chrome.css ──────────────────────────────────── */

/*! critical-chrome.css — bundle: language-selector + accessibility + submenu-arrow-mobile (modifier les 3 sources puis regénérer ce fichier) */
/**
 * Language Selector Styles
 * Professional language switcher for multilingual support
 * Positioned to the right, optimized for responsive design
 */

.language-selector {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1000;
}

.language-selector .lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 48px;
    text-align: center;
    font-family: inherit;
    line-height: 1.4;
}

.language-selector .lang-btn:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-right: none;
}

.language-selector .lang-btn:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.language-selector .lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-selector .lang-btn.active {
    background: #ffffff;
    color: #1a3a5c;
    border-color: #ffffff;
    font-weight: 600;
}

.language-selector .lang-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* ----- Menu déroulant (plusieurs langues + drapeaux) ----- */
.language-selector--dropdown {
    position: relative;
    gap: 0;
}

.language-selector--dropdown .lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    font-family: inherit;
    line-height: 1.2;
    min-height: 40px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.language-selector--dropdown .lang-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.55);
}

.language-selector--dropdown .lang-toggle:focus {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 2px;
}

.language-selector--dropdown .lang-toggle__flag {
    font-size: 1.15em;
    line-height: 1;
}

.language-selector--dropdown .lang-toggle__caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.85);
    margin-left: 2px;
}

/*
 * Liste des langues : plus en position absolute dans le header (évite scroll interne / découpe).
 * Ouverture : position fixed + top/right calculés par i18n.js (sous le bouton, couche séparée).
 */
/* Même styles quand le <ul> est porté sur body (évite transform du header) */
.language-selector--dropdown .lang-menu,
ul.lang-menu[data-lang-menu] {
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #ffffff;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Panneau flottant (hors barre de navigation) */
.language-selector--dropdown .lang-menu.lang-menu--floating,
ul.lang-menu[data-lang-menu].lang-menu--floating {
    border-radius: 12px;
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(26, 58, 92, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 0;
    isolation: isolate;
}

/* Menu ouvert : <ul> est porté sur body (i18n.js) — plus besoin de :has() sur le header */

.language-selector--dropdown .lang-menu[hidden],
ul.lang-menu[data-lang-menu][hidden] {
    display: none !important;
}

.language-selector--dropdown .lang-menu li,
ul.lang-menu[data-lang-menu] li {
    margin: 0;
    padding: 0;
}

.language-selector--dropdown .lang-option,
ul.lang-menu[data-lang-menu] .lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #1a3a5c;
    font-family: inherit;
    transition: background 0.15s ease;
}

.language-selector--dropdown .lang-option:hover,
ul.lang-menu[data-lang-menu] .lang-option:hover {
    background: rgba(26, 58, 92, 0.08);
}

.language-selector--dropdown .lang-option:focus,
ul.lang-menu[data-lang-menu] .lang-option:focus {
    outline: 2px solid #1a3a5c;
    outline-offset: -2px;
}

.language-selector--dropdown .lang-option.active,
ul.lang-menu[data-lang-menu] .lang-option.active {
    background: rgba(26, 58, 92, 0.12);
    font-weight: 700;
}

.language-selector--dropdown .lang-option__flag,
ul.lang-menu[data-lang-menu] .lang-option__flag {
    font-size: 1.25em;
    line-height: 1;
}

.language-selector--dropdown .lang-option__label,
ul.lang-menu[data-lang-menu] .lang-option__label {
    flex: 1;
}

/* Desktop menu positioning - Right aligned */
@media (min-width: 992px) {
    .nh3-navber .main-nav .language-selector {
        margin-left: auto;
        margin-right: 20px;
        order: 999;
        flex-shrink: 0;
    }
    
    .nh3-navber .main-nav #main-menu {
        margin-left: auto;
    }
}

/* Tablet and Mobile adjustments - Centered vertically and adapted to header height */
@media (max-width: 991px) {
    .nh3-navber .main-nav {
        flex-wrap: wrap;
        position: relative;
        padding-left: 0;
        padding-right: 0;
        display: flex;
        align-items: center;
        min-height: 64px;
        height: 64px;
    }
    
    .language-selector {
        position: absolute;
        right: 0;
        margin-right: 12px;
        top: 50%;
        transform: translateY(-50%);
        order: 1;
        z-index: 1001;
        display: flex;
        align-items: center;
        height: auto;
    }
    
    .main-menu-btn {
        order: 0;
        position: absolute !important;
        left: 0 !important;
        margin-left: 12px;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .nav-brand {
        order: 2;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    #main-menu {
        order: 3;
        width: 100%;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .nh3-navber .main-nav {
        padding-left: 0;
        padding-right: 0;
        min-height: 64px;
        height: 64px;
    }
    
    .main-menu-btn {
        margin-left: 10px;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .language-selector {
        right: 0;
        margin-right: 10px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
    }
    
    .language-selector .lang-btn {
        padding: 7px 14px;
        font-size: 13px;
        min-width: 42px;
        height: auto;
        line-height: 1.4;
    }

    .language-selector--dropdown .lang-toggle {
        padding: 7px 10px;
        font-size: 13px;
        min-height: 36px;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .nh3-navber .main-nav {
        padding-left: 0;
        padding-right: 0;
        min-height: 64px;
        height: 64px;
    }
    
    .main-menu-btn {
        margin-left: 8px;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .language-selector {
        right: 0;
        margin-right: 8px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
    }
    
    .language-selector .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 38px;
        height: auto;
        line-height: 1.4;
    }

    .language-selector--dropdown .lang-toggle {
        padding: 6px 8px;
        font-size: 12px;
        min-height: 34px;
    }
}

/* Ensure language selector is always visible and accessible - Centered in header */
@media (max-width: 991px) {
    /* When menu is closed - centered in header, right with margin */
    .nh3-navber .main-nav .language-selector {
        position: absolute;
        right: 0;
        margin-right: 12px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    /* When menu is open - keep centered in header */
    #main-menu-state:checked ~ .language-selector,
    body.menu-active .nh3-navber .main-nav .language-selector {
        position: fixed;
        top: 32px; /* Half of 64px header height */
        right: 0;
        margin-right: 10px;
        z-index: 10001;
        transform: translateY(-50%);
    }
    
    /* Mobile - adjust position */
    @media (max-width: 768px) {
        .nh3-navber .main-nav .language-selector {
            right: 0;
            margin-right: 10px;
        }
        
        #main-menu-state:checked ~ .language-selector,
        body.menu-active .nh3-navber .main-nav .language-selector {
            right: 0;
            margin-right: 10px;
        }
    }
    
    /* Small mobile - adjust position */
    @media (max-width: 480px) {
        .nh3-navber .main-nav .language-selector {
            right: 0;
            margin-right: 8px;
        }
        
        #main-menu-state:checked ~ .language-selector,
        body.menu-active .nh3-navber .main-nav .language-selector {
            right: 0;
            margin-right: 8px;
        }
    }
}

/* Menu langue : fond plein écran (mobile) + pas de scroll de page */
.i18n-lang-backdrop[hidden] {
    display: none !important;
}

.i18n-lang-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000000;
    background: rgba(26, 58, 92, 0.45);
    -webkit-tap-highlight-color: transparent;
}

html.i18n-lang-menu-open,
body.i18n-lang-menu-open {
    overflow: hidden !important;
}

/* Mobile : liste sous le sélecteur (position JS) ; limite hauteur si peu de place sous le bouton */
@media (max-width: 991px) {
    ul.lang-menu[data-lang-menu].lang-menu--mobile-overlay.lang-menu--floating {
        -webkit-overflow-scrolling: touch;
    }
}

/**
 * Accessibilité – liens, focus, skip link
 * Améliore le score et l’usage clavier / lecteurs d’écran
 */

/* Skip link : premier élément focusable, visible au focus */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  padding: 12px 24px;
  background: #1a3a5c;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: top 0.2s ease, box-shadow 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  outline: 3px solid #56c2e2;
  outline-offset: 2px;
  box-shadow: 0 4px 20px rgba(26, 58, 92, 0.5);
}

/* Éviter que le contenu principal soit masqué sous un header fixe au focus */
main:focus {
  outline: none;
}

/* Focus visible pour liens et éléments interactifs (sans modifier le focus souris) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #0EA0E6;
  outline-offset: 2px;
}

/* Liens dans le header / footer */
.header-area a:focus-visible,
.footer-details a:focus-visible,
footer a:focus-visible {
  outline: 2px solid #56c2e2;
  outline-offset: 2px;
}

/* Boutons (sélecteur de langue, CTA, etc.) */
.lang-btn:focus-visible,
.port-btn:focus-visible,
.btn-2:focus-visible,
.btn-3:focus-visible,
.download-btn:focus-visible,
.scrollup:focus-visible {
  outline: 2px solid #0EA0E6;
  outline-offset: 2px;
}

/* Contraste : texte clair uniquement sur la section CTA à fond bleu */
.cta-home-section--dark .cta-text-home,
.cta-home-section--dark .cta-title-home {
  color: #fff !important;
}

/*
 * Pied de page (copyright) — WCAG 2.1 AA : ratio ≥ 4.5:1 sur fond #f5f7f9
 * (remplace #888 et #28aae1 trop faibles dans style.css)
 */
footer[role="contentinfo"] p,
footer p {
  color: #1a2332 !important;
}

footer[role="contentinfo"] a,
footer a {
  color: #0a4a73 !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

footer[role="contentinfo"] a:hover,
footer a:hover {
  color: #062e4a !important;
}

/* Variante sombre du footer (si classe .dark utilisée) */
footer.dark p {
  color: #e8eef4 !important;
}

footer.dark a {
  color: #9fd4ff !important;
}

footer.dark a:hover {
  color: #cce9ff !important;
}

/* Liens colonnes du footer (hors réseaux sociaux) — même palette que le copyright */
section.footer-details:not(.dark) .f-details ul:not(.social) li a {
  color: #0a4a73 !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

section.footer-details:not(.dark) .f-details ul:not(.social) li a:hover {
  color: #062e4a !important;
}

/* Ne pas supprimer le outline sans remplacement (focus souris) */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

/* ================================================================
   SUBMENU ARROW - MOBILE (< 768px)
   Force visibility when menu is active
   ================================================================ */
@media (max-width: 767px) {
  /* Base styling for links with submenus */
  #main-menu.active li > a.has-submenu,
  body #main-menu.active li > a.has-submenu {
    position: relative !important;
    padding-right: 50px !important;
  }
  
  /* Sub-arrow MUST be visible when menu is active - override everything */
  #main-menu.active .sub-arrow,
  body #main-menu.active .sub-arrow,
  html body #main-menu.active .sub-arrow,
  #main-menu.active a .sub-arrow,
  body #main-menu.active a .sub-arrow,
  html body #main-menu.active a .sub-arrow,
  #main-menu.active li > a .sub-arrow,
  body #main-menu.active li > a .sub-arrow,
  html body #main-menu.active li > a .sub-arrow {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    margin-top: -16px !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    line-height: 32px !important;
    text-align: center !important;
    z-index: 10 !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
  }
  
  /* Hide sub-arrow when menu is closed */
  #main-menu:not(.active) .sub-arrow {
    display: none !important;
  }
  
  /* Ensure submenus are hidden by default */
  #main-menu li > ul {
    display: none !important;
  }
  
  /* Show submenu when open (nav.js adds .is-open to the <li>) */
  #main-menu li.is-open > ul {
    display: block !important;
  }
}

/* ── tiktok-icon.css ──────────────────────────────────── */

/* Social icon sizing — ensures TikTok <i class="fab fa-tiktok"> matches
   Facebook/Instagram icon dimensions in hero and footer contexts. */

/* Hero social icons */
section.hero-4 .hero-social-icon li a {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

section.hero-4 .hero-social-icon li a i {
  font-size: 18px;
}

/* Footer social icon link layout */
section.footer-details .f-details .social li a {
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 14px;
  box-sizing: border-box;
}

section.footer-details .f-details .social li a i {
  font-size: 17px;
}

/* Responsive — mobile hero */
@media (max-width: 767px) {
  section.hero-4 .hero-social-icon li a {
    font-size: 10px;
  }

  section.hero-4 .hero-social-icon li a i {
    font-size: 10px;
  }
}

/* ── mobile-menu-variables.css ──────────────────────────────────── */

/* ================================================================
   VARIABLES CSS POUR LE MENU MOBILE
   Centralise les valeurs répétées pour faciliter la maintenance
   ================================================================ */

:root {
  /* Couleurs */
  --menu-bg-primary: #1a3a5c;
  --menu-bg-secondary: #2c5282;
  --menu-text: #ffffff;
  --menu-text-hover: rgba(255, 255, 255, 0.9);
  --menu-bg-hover: rgba(255, 255, 255, 0.1);
  --menu-bg-hover-strong: rgba(255, 255, 255, 0.2);
  --menu-border: rgba(255, 255, 255, 0.15);
  --menu-border-hover: rgba(255, 255, 255, 0.3);
  --submenu-bg: rgba(0, 0, 0, 0.25);
  --submenu-border: rgba(255, 255, 255, 0.3);
  
  /* Dimensions */
  --header-height-mobile: 64px;
  --menu-padding: 20px 15px;
  --menu-item-padding: 16px 20px;
  --submenu-item-padding: 12px 20px;
  --submenu-item-padding-left: 35px;
  --submenu-item-padding-left-hover: 40px;
  
  /* Z-index */
  --menu-z-index: 99999;
  --header-z-index: 999999;
  --scrollup-z-index: 999998;
  
  /* Transitions */
  --menu-transition: 0.3s ease;
  --menu-transition-fast: 0.2s ease;
  
  /* Typography */
  --menu-font-size: 18px;
  --menu-font-weight: 500;
  --submenu-font-size: 16px;
  --submenu-font-weight: 400;
  
  /* Border radius */
  --menu-border-radius: 8px;
  --submenu-border-radius: 6px;
  
  /* Shadows */
  --menu-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --header-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

