
/* Navigation mobile NOVEANCE */

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 760px) {

  .site-header .top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .site-header .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    flex-shrink: 0;
    border: 1px solid #31576a;
    border-radius: 9px;
    background: #102838;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #55e6c1;
    border-radius: 2px;
  }

  .site-header .top #mobile-navigation {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid #31576a;
    border-radius: 12px;
    background: #0a1d2b;
    box-shadow: 0 16px 32px rgba(0,0,0,.35);
  }

  .site-header .top #mobile-navigation.is-open {
    display: flex !important;
  }

  .site-header #mobile-navigation a {
    display: block;
    padding: 14px 12px;
    font-size: 1rem;
    line-height: 1.4;
    color: #f3f7f8;
    text-decoration: none;
    border-radius: 7px;
  }

  .site-header #mobile-navigation a:hover,
  .site-header #mobile-navigation a:focus-visible {
    background: #17394b;
    color: #55e6c1;
  }

  .site-header .mobile-menu-toggle:focus-visible {
    outline: 2px solid #55e6c1;
    outline-offset: 3px;
  }
}

/* Correction de l'alignement du menu mobile */
@media (max-width: 760px) {

  .site-header .top {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative;
  }

  .site-header .brand {
    margin: 0 !important;
    flex: 0 0 auto;
  }

  .site-header .mobile-menu-toggle {
    margin: 0 0 0 auto !important;
    flex: 0 0 44px;
  }

  .site-header #mobile-navigation {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
  }
}


/* NOVEANCE HERO MOBILE V1 */
@media (max-width: 760px) {

  .hero-visual {
    position: relative;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }

  .hero-mobile-picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .hero-mobile-picture img {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    transform: none;
    object-fit: cover;
    object-position: center;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
