@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .hero__inner, .hero--inner .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: 850px; }
  .hero-stage { min-height: 480px; }
  .site-footer__top { grid-template-columns: 1.2fr repeat(2, minmax(0,1fr)); }
  .footer-brand { grid-row: span 2; }
  .process-mini { grid-template-columns: repeat(3,1fr); }
  .process-mini::before { display: none; }
  .architecture-map { grid-template-columns: 1fr; }
  .architecture-map::before { display: none; }
  .architecture-map article:nth-child(2) { transform: none; }
  .ecosystem { min-height: auto; grid-template-columns: repeat(2,1fr); gap: 12px; }
  .ecosystem__center { grid-column: 1/-1; margin: 0 auto 24px; }
  .ecosystem__orbit { display: none; }
  .ecosystem__node { position: static; width: auto; transform: none; }
  .ecosystem__node:nth-of-type(1), .ecosystem__node:nth-of-type(4) { transform: none; }
}

@media (max-width: 860px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .manifesto-grid, .project-feature, .app-teaser, .diagnosis, .promotion-layout, .contact-layout, .campaign-content { grid-template-columns: 1fr; }
  .manifesto-grid__statement, .price-panel { position: static; }
  .promo-home { grid-template-columns: 1fr; }
  .promo-home__price { text-align: left; }
  .project-feature__media { order: -1; }
  .related-paths { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .privacy-center { grid-template-columns: 1fr; }
  .device-stage { min-height: 480px; }
  .process-step__details { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --header-height: 66px; }
  .container, .container--narrow { width: min(100% - 22px, var(--container)); }
  .section { padding-block: 72px; }
  .section--cut { clip-path: polygon(0 2%,100% 0,100% 98%,0 100%); padding-block: 90px; }
  .site-header { top: 8px; width: calc(100% - 16px); margin-top: 8px; }
  .site-header__inner { min-height: 64px; padding: 6px 7px 6px 10px; }
  .brand img { width: 44px; border-radius: 12px; }
  .brand span { font-size: .96rem; }
  .header-cta { display: none; }
  .mobile-menu { top: 82px; right: 8px; left: 8px; max-height: calc(100dvh - 94px); }
  .hero { min-height: auto; padding-top: 86px; }
  .hero__inner { gap: 34px; }
  .hero-stage { min-height: 390px; }
  .hero-stage__logo { width: min(290px, 72vw); border-radius: 28%; }
  .hero-stage__arc { width: 300px; }
  .hero-stage__diagonal { width: 320px; }
  .hero-stage__chip { display: none; }
  .hero__scroll { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .process-mini { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; grid-row: auto; }
  .site-footer__bottom { flex-direction: column; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { width: 50px; padding: 0; }
  .device-stage { min-height: 410px; }
  .device-stage[data-device="desktop"] .device-frame { width: 94%; }
  .device-stage[data-device="tablet"] .device-frame { width: 62%; }
  .device-stage[data-device="mobile"] .device-frame { width: 39%; }
  .funnel-step, .funnel-step:nth-child(n) { width: 100%; grid-template-columns: 48px 1fr; }
  .funnel-step small { grid-column: 2; }
  .before-after { min-height: 420px; }
  .before-after__side { padding: 24px; }
  .before-after__mock { grid-template-columns: 1fr; }
  .before-after__nav { display: none; }
  .process-timeline::before { left: 25px; }
  .process-step { grid-template-columns: 52px 1fr; gap: 14px; }
  .process-step__number { width: 52px; height: 52px; font-size: .9rem; }
  .process-step__content { padding: 20px; }
  .about-values { grid-template-columns: 1fr; }
  .legal-toc nav { grid-template-columns: 1fr; }
  .campaign-header .btn { min-height: 44px; padding-inline: 14px; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  h2 { font-size: clamp(2rem, 11vw, 3.2rem); }
  .hero__actions .btn, .campaign-content .btn { width: 100%; }
  .hero__proof { display: grid; grid-template-columns: 1fr; }
  .hero__proof li { text-align: center; }
  .hero-stage { min-height: 340px; }
  .hero-stage__logo { width: min(250px, 74vw); }
  .hero-stage__arc { width: 260px; }
  .hero-stage__diagonal { width: 280px; height: 10px; }
  .card, .form-card { padding: 22px; }
  .promo-home { padding: 28px 22px; }
  .phone-mockup { width: min(290px, 88vw); }
  .phone-mockup__screen { min-height: 540px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-cta { padding: 34px 24px; border-radius: 30px; }
  .ecosystem { grid-template-columns: 1fr; }
  .ecosystem__center { width: 180px; }
  .price-panel { padding: 26px 22px; }
  .campaign-header .brand span { display: none; }
  .before-after__divider::after { width: 40px; height: 40px; }
}

@media (min-width: 1600px) {
  :root { --container: 1320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto; animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-stage { transform: none; }
  .page-transition { display: none; }
}


/* Integração lote 01 — ajustes responsivos */
@media (max-width: 900px) {
  .process-timeline[data-process-timeline] { gap: 22px; }
  .process-timeline__svg {
    left: 26px;
    width: 4px;
    transform: none;
  }
  .process-timeline[data-process-timeline] .process-step {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
  }
  .process-timeline[data-process-timeline] .process-step__number {
    grid-column: 1;
    width: 52px;
    height: 52px;
    font-size: .9rem;
  }
  .process-timeline[data-process-timeline] .process-step:nth-of-type(odd) .process-step__content,
  .process-timeline[data-process-timeline] .process-step:nth-of-type(even) .process-step__content {
    grid-column: 2;
  }
  .process-timeline[data-process-timeline] .process-step__content::after { display: none; }
}
@media (max-width: 700px) {
  .service-visual { border-radius: 22px; }
  .before-after-interactive { min-height: 460px; border-radius: 22px; }
  .before-after__label { top: 14px; }
  .before-after__media--before .before-after__label { left: 14px; }
  .before-after__media--after .before-after__label { right: 14px; }
  .before-after__divider svg { width: 46px; height: 46px; padding: 10px; }
  .before-after__fallback { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .before-after-interactive { min-height: 390px; }
  .process-timeline[data-process-timeline] .process-step__content { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .process-timeline__progress,
  .process-timeline[data-process-timeline] .process-step__number { transition: none; }
}


/* Mídias finais */
@media (max-width: 1080px) {
  .promo-home { grid-template-columns: 220px 1fr; }
  .promo-home__price { grid-column: 1 / -1; text-align: left; }
  .legal-hero__icon { position: static; margin-bottom: 24px; }
  .project-case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .promo-home { grid-template-columns: 1fr; }
  .promo-home__visual img { max-height: 240px; }
  .legal-icon-cluster { grid-template-columns: 1fr; }
  .legal-icon-cluster a { min-height: 120px; }
  .promotion-hero-media .price-panel { position: relative !important; right: auto; bottom: auto; width: 100% !important; margin-top: 14px; }
  .media-figure { border-radius: 22px; }
  .media-figure--phone .media-figure__image { max-height: 680px; }
}
