/* R1066 — accueil commercial, décalages horizontaux hérités du PC.
   Les dimensions et styles sont conservés ; le titre retrouve son top tablette. */
@media (min-width:431px) and (max-width:1180px){
  html.ethnosCommercialHome .hero-copy{transform:none;}
  html.ethnosCommercialHome .hero-copy .values{transform:translateY(-10px);}
}
@media (min-width:431px) and (max-width:860px){
  html.ethnosCommercialHome .header-button--login{display:inline-flex;}
}

@media(min-width:431px) and (max-width:767px){
      .site-header {
        position: fixed;
        z-index: 30;
        top: 0;
        left: 0;
        right: 0;
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 8px;
        width: 100%;
        height: calc(62px + env(safe-area-inset-top, 0px));
        padding: env(safe-area-inset-top, 0px) 12px 0;
        border-bottom: 1px solid rgba(7, 26, 57, .08);
        background: rgba(255, 250, 243, .94);
        box-shadow: 0 7px 22px rgba(7, 26, 57, .09);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
      }

      .brand {
        min-width: 0;
        gap: 6px;
      }

      .brand__planet {
        width: 31px;
        height: 31px;
      }

      .brand__name {
        font-size: 1.17rem;
      }

      .main-nav {
        display: none !important;
      }

      .header-actions {
        display: flex;
        justify-content: flex-end;
        gap: 6px;
        min-width: 0;
      }

      .header-button {
        height: 36px;
        min-height: 36px;
        border-radius: 10px;
        white-space: nowrap;
      }

      .header-button--login {
        display: inline-flex !important;
        width: 36px;
        min-width: 36px;
        padding: 0;
        overflow: hidden;
        color: transparent;
        font-size: 0;
      }

      .header-button--login svg {
        width: 18px;
        height: 18px;
        margin: 0;
        color: var(--navy);
      }

      .header-button--signup {
        max-width: 145px;
        padding-inline: 10px;
        font-size: .72rem;
      }

      .header-button--signup svg {
        width: 16px;
        height: 16px;
      }


}
