/* Ajustes finos para viewports móveis em paisagem e baixa altura. */

@media (max-width: 57.99rem) and (orientation: landscape) and (max-height: 36rem) {
  :root {
    --header-height: 3.85rem;
    --mobile-nav-height: 3.35rem;
  }

  .site-header,
  .header-inner {
    min-height: var(--header-height);
  }

  .brand {
    min-height: 2.5rem;
  }

  .brand-primary {
    font-size: 0.96rem;
  }

  .brand-secondary {
    font-size: 0.54rem;
    letter-spacing: 0.07em;
  }

  .mobile-nav {
    padding-top: 0.2rem;
    padding-bottom: calc(0.2rem + env(safe-area-inset-bottom));
  }

  .mobile-nav a {
    min-height: 2.7rem;
    flex-direction: row;
    gap: 0.35rem;
    font-size: 0.62rem;
  }

  .mobile-nav svg {
    width: 1rem;
    height: 1rem;
  }

  .hero,
  .hero-inner {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
  }

  .hero-inner {
    align-items: flex-start;
    padding-top: 0.85rem;
    padding-bottom: calc(var(--mobile-nav-height) + 0.85rem + env(safe-area-inset-bottom));
  }

  .hero-copy {
    width: min(100%, 42rem);
  }

  .hero-clause {
    display: none;
  }

  .hero-eyebrow {
    margin-bottom: 0.45rem;
    font-size: 0.62rem;
    line-height: 1.3;
    letter-spacing: 0.055em;
  }

  .hero h1 {
    max-width: 18ch;
    font-size: clamp(1.95rem, 4.8vw, 2.55rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }

  .hero-lead {
    max-width: 34rem;
    margin-top: 0.55rem;
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .hero-actions {
    margin-top: 0.75rem;
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
  }

  .button {
    min-width: 0;
    min-height: 2.55rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.74rem;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 57.99rem) and (orientation: landscape) and (max-height: 36rem) {
    .hero,
    .hero-inner {
      min-height: calc(100dvh - var(--header-height));
    }
  }
}
