@media (min-width: 1440px) {
  .hero-v2 {
    min-height: clamp(640px, 56vw, 840px);
  }

  .hero-v2__bg {
    background-position: right top;
  }

  .hero-v2__title {
    font-size: 3.55rem;
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .hero-v2 {
    min-height: clamp(600px, 58vw, 780px);
  }

  .hero-v2__bg {
    background-position: right top;
  }
}

@media (max-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .product-detail,
  .about-grid,
  .contact-layout,
  .catalog-layout,
  .hero-v2__grid,
  .apps-editorial__inner {
    grid-template-columns: 1fr;
  }

  .cat-strip {
    min-height: 0;
    max-height: none;
  }

  .cat-strip__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cat-strip__track::-webkit-scrollbar {
    display: none;
  }

  .cat-chip {
    flex: 0 0 min(200px, 78vw);
    scroll-snap-align: start;
    min-height: 62px;
    border-right: 1px solid rgba(12, 31, 58, 0.1);
  }

  .apps-editorial__inner {
    gap: 2rem;
  }

  .apps-editorial__preview {
    display: none;
  }

  .nav-desktop,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mvv-grid,
  .footer-grid,
  .footer-grid--editorial {
    grid-template-columns: repeat(2, 1fr);
  }

  .diff-open {
    grid-template-columns: 1fr;
  }

  .diff-open__item,
  .diff-open__item:nth-child(odd),
  .diff-open__item:nth-child(even) {
    padding: 1.75rem 0;
    border-right: 0;
  }

  .filters {
    position: static;
  }

  .mobile-filters {
    display: block;
  }

  .filters-desktop {
    display: none;
  }

  .filters-drawer {
    display: none;
    margin-bottom: 1rem;
  }

  .filters-drawer,
  .filters.filters-drawer {
    border-right: 0;
    padding-right: 0;
    margin-top: 0.75rem;
    border-top: 1px solid var(--line);
    padding-top: 0.75rem;
  }

  .filters-drawer.is-open {
    display: block;
  }

  .authority__row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .authority__item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0 0 1.1rem;
  }

  .authority__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .cta-finale__card {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 0.85fr);
    min-height: 300px;
    padding: 2.25rem 2rem;
  }

  .cta-finale__figure {
    width: min(40%, 320px);
    bottom: 0;
  }

  .hero-v2 {
    min-height: clamp(520px, 62vw, 700px);
  }

  .hero-v2__bg {
    background-position: right top;
  }

  .hero-v2__title {
    font-size: clamp(2.15rem, 3.1vw, 2.9rem);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 76px;
  }

  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .brand img {
    height: 58px;
  }

  .section,
  .section-editorial {
    padding: 3.75rem 0;
  }

  #destaques.section-editorial {
    padding: 2.75rem 0;
  }

  .cat-strip {
    min-height: 132px;
    max-height: none;
  }

  .cat-strip__inner {
    width: min(100% - 1.5rem, var(--container));
    padding: 0.85rem 0 0.95rem;
  }

  .cat-chip {
    flex-basis: 196px;
    padding: 0.5rem 0.85rem;
  }

  .cat-chip__icon {
    width: 20px;
    height: 20px;
  }

  .cat-chip__name {
    font-size: 0.88rem;
  }

  .cat-chip__arrow {
    opacity: 0.45;
    transform: none;
  }

  .hero-v2 {
    min-height: clamp(480px, 78vw, 620px);
    padding: calc(var(--header-h) + 1.5rem) 0 2.75rem;
  }

  .hero-v2__bg {
    /*
      Folga real no topo (px): evita a cabeça colar na borda do hero.
      auto + altura reduzida = arte completa, sem crop vertical.
    */
    background-size: auto calc(100% - 2.75rem);
    background-position: right 1.25rem;
  }

  .hero-v2__bg::before {
    background: linear-gradient(
      180deg,
      rgba(5, 10, 18, 0.9) 0%,
      rgba(7, 14, 24, 0.82) 48%,
      rgba(7, 14, 24, 0.74) 100%
    );
  }

  .hero-v2__content {
    max-width: 100%;
  }

  .hero-v2__title {
    max-width: 100%;
    font-size: clamp(1.95rem, 6vw, 2.35rem);
    line-height: 1.12;
  }

  .hero-search__field {
    flex-wrap: wrap;
    border-radius: 18px;
    padding: 0.75rem;
    min-height: 0;
  }

  .hero-search__field input {
    width: 100%;
    flex: 1 1 100%;
    padding-left: 0.15rem;
  }

  .hero-search__icon {
    display: none;
  }

  .hero-search__btn {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.85rem;
  }

  .mvv-grid,
  .footer-grid,
  .footer-grid--editorial,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-card h3 {
    font-size: 0.92rem;
    min-height: 2.4em;
  }

  .page-hero {
    padding: 2.5rem 0 1.75rem;
  }

  .gallery-thumbs button {
    width: 64px;
    height: 64px;
  }

  #whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }

  .section-editorial__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-finale {
    padding: 4rem 0 5rem;
  }

  .cta-finale__card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 2.25rem 1.35rem 2.5rem;
    border-radius: 22px;
  }

  .cta-finale__content {
    max-width: 58%;
    padding-right: 0;
    text-align: left;
  }

  .cta-finale__content h2 {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .cta-finale__content p {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .cta-finale__figure {
    right: -0.5rem;
    bottom: 0;
    width: min(42%, 240px);
  }

  /* Aplicações: accordion editorial, sem preview */
  .apps-editorial {
    padding: 3rem 0;
  }

  .apps-editorial__detail {
    display: none;
  }

  .apps-editorial__preview {
    display: none;
  }

  .apps-row {
    align-items: start;
    padding: 1.1rem 0 1.2rem;
  }

  .apps-row__num {
    padding-top: 0.35rem;
  }

  .apps-row__text {
    display: block;
  }

  .apps-row__name,
  .apps-row:hover .apps-row__name,
  .apps-row.is-active .apps-row__name {
    transform: none;
  }
}

@media (max-width: 430px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .hero-v2 {
    min-height: clamp(460px, 100vw, 540px);
  }

  .hero-v2__bg {
    background-size: auto calc(100% - 3rem);
    background-position: right 1.5rem;
  }

  .hero-v2__title {
    font-size: clamp(1.85rem, 7vw, 2.15rem);
  }

  .cta-finale__card {
    padding-bottom: 2.25rem;
  }

  .cta-finale__content {
    max-width: 56%;
  }

  .cta-finale__btn {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    font-size: 0.82rem;
  }

  .cta-finale__figure {
    width: min(50%, 204px);
    right: -0.9rem;
  }
}

@media (max-width: 390px) {
  .hero-v2 {
    min-height: clamp(440px, 105vw, 520px);
  }

  .hero-v2__bg {
    background-size: auto calc(100% - 3.25rem);
    background-position: right 1.65rem;
  }

  .hero-v2__title {
    font-size: clamp(1.8rem, 7.2vw, 2.05rem);
  }

  .cta-finale__figure {
    width: min(50%, 186px);
    right: -0.9rem;
    bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .apps-editorial__preview img.is-switching {
    opacity: 1;
    transform: none;
  }
}
