/* ==========================================================================
   Responsividade
   Desktop 1440+ · Notebook 1024–1399 · Tablet 768–1023 · Mobile 320–767
   ========================================================================== */

/* Notebook e telas menores: menu vira hambúrguer */
@media (max-width: 1399px) {
  .hero__content {
    width: min(620px, 56vw);
  }

  .hero__actions {
    margin-top: 36px;
  }

  .hero__actions .btn {
    padding: 0 24px;
  }
}

/* Celular (<768): menu vira hambúrguer */
@media (max-width: 767px) {
  .primary-nav,
  .header-cta {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Notebook e menores: sem o bloco de scroll lateral */
@media (max-width: 1099px) {
  .scroll-cue {
    display: none;
  }
}

/* Layout vertical: celulares e tablets em retrato */
@media (max-width: 767px), (max-width: 1023px) and (max-aspect-ratio: 1/1) {
  :root {
    --header-h: 80px;
  }

  .site-header__inner {
    padding: 18px var(--gutter);
  }

  .site-header.is-scrolled .site-header__inner {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 1.1rem;
  }

  .brand__sub {
    font-size: 0.44rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero__photo img {
    object-position: 50% 12%;
  }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0) 14%),
      linear-gradient(
        180deg,
        rgba(5, 5, 5, 0) 24%,
        rgba(5, 5, 5, 0.7) 34%,
        rgba(5, 5, 5, 0.94) 44%,
        #050505 56%
      );
  }

  .hero__content {
    top: auto;
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    padding: 0 0 max(28px, env(safe-area-inset-bottom, 0px));
  }

  .hero__copy {
    flex: none;
    justify-content: flex-start;
  }

  .hero__eyebrow {
    margin-bottom: 22px;
    font-size: 0.62rem;
    letter-spacing: 0.34em;
  }

  .hero__title {
    font-size: clamp(2.5rem, 11.5vw, 3.7rem);
    line-height: 1.02;
  }

  .hero__lead {
    max-width: none;
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 30px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
    letter-spacing: 0.22em;
  }

  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid rgba(200, 148, 69, 0.14);
  }

  .hero__stats li {
    padding: 0 10px;
  }

  .hero__stats li:first-child {
    padding-left: 0;
  }

  .hero__stats strong {
    font-size: 2rem;
  }

  .hero__stats span {
    margin-top: 10px;
    font-size: 0.5rem;
    letter-spacing: 0.18em;
    line-height: 1.7;
  }



  .video-modal__close {
    top: calc(16px + env(safe-area-inset-top, 0px));
    right: var(--gutter);
  }
}

/* Celulares pequenos (320–375) */
@media (max-width: 374px) {
  .hero__title {
    font-size: 2.3rem;
  }

  .hero__stats span {
    font-size: 0.46rem;
    letter-spacing: 0.12em;
  }
}

/* Movimento reduzido: desativa animações e transições longas */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-cue__arrow {
    animation: none;
  }
}

/* Tablet (768–1099): abas centralizadas no header, sem hambúrguer */
@media (min-width: 768px) and (max-width: 1099px) {
  .site-header__inner {
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
  }

  .primary-nav {
    display: block;
  }

  .primary-nav ul {
    gap: 20px;
  }

  .primary-nav a {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
  }

  .header-cta,
  .menu-toggle {
    display: none;
  }

  .brand__name {
    font-size: 1.15rem;
  }
}

/* Desktop: abas da navegação um pouco deslocadas para a direita */
@media (min-width: 1100px) {
  .primary-nav {
    transform: translateX(clamp(30px, 4vw, 76px));
  }

  .primary-nav a {
    font-size: 0.76rem;
  }
}
