/* ── 960px ─────────────────────────────────────────────────── */
@media (max-width:960px) {
  /* Delta */
  .delta-g { grid-template-columns:1fr; gap:40px }
  .delta-visual { flex-direction:row; justify-content:flex-start; align-items:center; gap:32px }
  .delta-sym-wrap { width:120px; height:120px; flex-shrink:0 }

  /* Problema */
  .problem-g { grid-template-columns:1fr }
  .problem-card:not(:last-child) { border-bottom:1px solid var(--rule) }

  /* Serviços */
  .sol-g { grid-template-columns:1fr 1fr }
  .sol-card:nth-child(3n) { border-right:1px solid var(--rule) }
  .sol-card:nth-child(2n) { border-right:none }
  .sol-card:nth-child(n+4) { border-bottom:1px solid var(--rule) }
  .sol-card:nth-child(n+5) { border-bottom:none }

  /* Método */
  .steps { grid-template-columns:1fr 1fr }
  .step:nth-child(2) { border-right:none }
  .step:nth-child(3) { border-right:1px solid rgba(255,255,255,.06) }
  .step:nth-child(n+3) { border-top:1px solid rgba(255,255,255,.06) }

  /* Mockup */
  .mkup-g { gap:12px }
  .mkup-sm-g { grid-template-columns:1fr 1fr }

  /* Hero */
  .hero-body { grid-template-columns:1fr; gap:48px }
  .hero-right { padding-left:0; justify-content:flex-start }
  .vortex-wrap { width:clamp(200px,50vw,300px); opacity:.5 }
  .hero-left { max-width:100% }
  .hero-ticker { grid-template-columns:1fr 1fr }
  .ht:last-child { grid-column:span 2; border-right:none }

  /* Portfólio */
  .proj-body { grid-template-columns:1fr }
  .proj-text { border-right:none; border-bottom:1px solid var(--rule) }
  .proj-mock-kpis { grid-template-columns:repeat(2,1fr) }
  .proj-metrics { grid-template-columns:repeat(2,1fr) }
  .proj-metric:nth-child(2n) { border-right:none }
  .proj-metric:nth-child(n+3) { border-top:1px solid var(--rule) }
  .proj-arch-g { grid-template-columns:repeat(3,1fr) }

  /* Aplicações */
  .aplic-g { grid-template-columns:1fr 1fr }
  .aplic-card:nth-child(3n)  { border-right:1px solid var(--rule) }
  .aplic-card:nth-child(2n)  { border-right:none }
  .aplic-card:last-child     { border-right:none }
  .aplic-card:nth-child(n+7) { border-bottom:none }

  /* Mockup */
  .mkup-sm-g { grid-template-columns:1fr 1fr }

  /* Sobre */
  .sobre-g { grid-template-columns:1fr; gap:40px }
}

/* ── 600px ─────────────────────────────────────────────────── */
@media (max-width:600px) {
  .nav { height:56px }

  /* Hero ticker */
  .hero-ticker { grid-template-columns:1fr }
  .ht { border-right:none; border-bottom:1px solid rgba(255,255,255,.07) }
  .ht:last-child { grid-column:auto; border-bottom:none }

  /* Serviços */
  .sol-g { grid-template-columns:1fr }
  .sol-card { border-right:none }
  .sol-card:nth-child(n+1) { border-bottom:1px solid var(--rule) }
  .sol-card:last-child { border-bottom:none }

  /* Método */
  .steps { grid-template-columns:1fr }
  .step { border-right:none; border-bottom:1px solid rgba(255,255,255,.06) }
  .step:last-child { border-bottom:none }

  /* Mockup */
  .mkup-sm-g { grid-template-columns:1fr }
  .mkup-body { grid-template-columns:1fr }
  .mkup-side { display:none }

  /* Portfólio */
  .proj-metrics { grid-template-columns:1fr 1fr }
  .proj-metric { border-right:none; border-bottom:1px solid var(--rule) }
  .proj-metric:last-child { border-bottom:none }
  .proj-metric:nth-child(odd) { border-right:1px solid var(--rule) }
  .proj-ctas { flex-direction:column; align-items:flex-start }
  .proj-arch-g { grid-template-columns:1fr 1fr }
  .proj-mock-kpis { grid-template-columns:1fr 1fr }

  /* Aplicações */
  .aplic-g { grid-template-columns:1fr }
  .aplic-card { border-right:none }
  .aplic-card:nth-child(n+1) { border-bottom:1px solid var(--rule) }
  .aplic-card:last-child { border-bottom:none }

  /* Delta */
  .delta-visual { flex-direction:column }
  .delta-concepts { gap:16px }

  /* Problema */
  .problem-g { grid-template-columns:1fr }

  /* CTA */
  .cta-btns { flex-direction:column; align-items:center }

  /* Footer */
  .foot-bot { flex-direction:column; align-items:flex-start; gap:8px }
  .f-cols { gap:32px }
}

/* ── Teaser / Cap-g / Feat-g / Values-g / Proj-list ───────── */
@media (max-width:960px) {
  .teaser { grid-template-columns:1fr }
  .teaser-right { display:none }
  .cap-g { grid-template-columns:1fr 1fr }
  .feat-g { grid-template-columns:1fr 1fr }
  .feat-card:nth-child(2n) { border-right:none }
  .feat-card:nth-child(n+3) { border-top:1px solid var(--rule) }
  .values-g { grid-template-columns:1fr 1fr }
  .value-card:nth-child(2n) { border-right:none }
  .value-card:nth-child(n+3) { border-top:1px solid var(--rule) }
  .proj-list-item { grid-template-columns:40px 1fr auto }
}
@media (max-width:600px) {
  .cap-g { grid-template-columns:1fr }
  .cap-g .sol-card { border-right:none; border-bottom:1px solid var(--rule) }
  .cap-g .sol-card:last-child { border-bottom:none }
  .feat-g { grid-template-columns:1fr }
  .feat-card { border-right:none; border-top:1px solid var(--rule) }
  .feat-card:first-child { border-top:none }
  .values-g { grid-template-columns:1fr }
  .value-card { border-right:none; border-top:1px solid var(--rule) }
  .value-card:first-child { border-top:none }
  .proj-list-item { grid-template-columns:1fr auto; gap:12px }
  .proj-list-n { display:none }
}

/* ── Prod-g (grid de produtos /projetos) ───────────────── */
@media (max-width:600px) {
  .prod-g { grid-template-columns:1fr }
  .prod-card { border-right:none; border-bottom:1px solid var(--rule) }
  .prod-card:last-child { border-bottom:none }
}

/* ── Portf-tease-g (home) ───────────────────────────────── */
@media (max-width:960px) {
  .portf-tease-g { grid-template-columns:1fr 1fr }
  .portf-tease-card:nth-child(2n) { border-right:none }
  .portf-tease-card:nth-child(n+3) { border-top:1px solid var(--rule) }
}
@media (max-width:600px) {
  .portf-tease-g { grid-template-columns:1fr }
  .portf-tease-card { border-right:none; border-top:1px solid var(--rule) }
  .portf-tease-card:first-child { border-top:none }
}

/* ── Before/After ───────────────────────────────────────── */
@media (max-width:640px) {
  .before-after { grid-template-columns:1fr }
  .ba-col:first-child { border-right:none; border-bottom:1px solid var(--rule) }
}

/* ── IA Steps ───────────────────────────────────────────── */
@media (max-width:600px) {
  .ia-steps { border-radius:var(--r) }
  .ia-step { grid-template-columns:40px 1fr }
}

/* ── Como-g ─────────────────────────────────────────────── */
@media (max-width:600px) {
  .como-item { grid-template-columns:52px 1fr; gap:20px }
  .como-n { font-size:clamp(22px,7vw,36px) }
}

/* ── Proj Timeline ──────────────────────────────────────── */
@media (max-width:600px) {
  .proj-tl-item { grid-template-columns:36px 1fr; gap:16px }
}

/* ── Footer Δ mobile ────────────────────────────────────── */
@media (max-width:600px) {
  footer::before { right:-8%; bottom:-12%; font-size:clamp(180px,60vw,320px) }
  .foot-top { margin-bottom:48px }
}

/* ── Case SF-36 page ────────────────────────────────────── */
@media (max-width:960px) {
  .case-hero-body { grid-template-columns:1fr }
  .case-hero-right { display:none }
  .case-kpi-bar { grid-template-columns:1fr 1fr }
  .ch-kpi:nth-child(2n) { border-right:none }
  .ch-kpi:nth-child(n+3) { border-top:1px solid rgba(255,255,255,.07) }
  .prob-g { grid-template-columns:1fr 1fr }
  .sol-mod-g { grid-template-columns:1fr 1fr }
  .arch-conn-g { grid-template-columns:1fr 1fr }
  .diff-g { grid-template-columns:1fr 1fr }
  .diff-col:nth-child(2n) { border-right:none }
  .diff-col:nth-child(n+3) { border-top:1px solid var(--rule) }
  .impact-g { grid-template-columns:1fr 1fr }
}
@media (max-width:600px) {
  .case-hero-h1 { font-size:clamp(32px,9vw,52px) }
  .case-kpi-bar { grid-template-columns:1fr 1fr }
  .prob-g { grid-template-columns:1fr }
  .sol-mod-g { grid-template-columns:1fr }
  .arch-conn-g { grid-template-columns:1fr }
  .diff-g { grid-template-columns:1fr }
  .diff-col { border-right:none; border-bottom:1px solid var(--rule) }
  .diff-col:last-child { border-bottom:none }
  .rbac-level { grid-template-columns:32px 1fr; gap:16px }
  .rbac-bar-wrap { display:none }
}

/* ── Método page ────────────────────────────────────────── */
@media (max-width:960px) {
  .m-hero-body { grid-template-columns:1fr }
  .m-hero-right { display:none }
  .entrega-g { grid-template-columns:1fr 1fr }
  .entrega-col:nth-child(2n) { border-right:none }
  .entrega-col:nth-child(n+3) { border-top:1px solid var(--rule) }
  .etapa-cols { grid-template-columns:1fr }
  .etapa-col { border-right:none; border-bottom:1px solid var(--rule) }
  .etapa-col:last-child { border-bottom:none }
  .nao-sim { grid-template-columns:1fr }
  .ns-col:first-child { border-right:none; border-bottom:1px solid var(--rule) }
}
@media (max-width:600px) {
  .m-hero-h1 { font-size:clamp(28px,8vw,42px) }
  .etapa-big-n { font-size:clamp(56px,16vw,80px) }
  .entrega-g { grid-template-columns:1fr }
  .entrega-col { border-right:none; border-bottom:1px solid var(--rule) }
  .entrega-col:last-child { border-bottom:none }
  .entrega-col:nth-child(2n) { border-top:none }
  .entrega-col:nth-child(n+3) { border-top:none }
}

@media (prefers-reduced-motion: reduce) {
  .nav-burger svg { transition:none !important }
  .delta-ring, .delta-sym { animation:none !important }
  .hero-delta-bg, .cta-delta { animation:none !important; opacity:.068 !important }
  .aw { opacity:1 !important; transform:none !important; transition:none !important }
  .rv { opacity:1 !important; transform:none !important; transition:none !important }
  .nav-mobile-links a, .nav-mobile-cta { transition:none !important }
  .sol-card::after, .aplic-card::after { display:none }
  .m-viz-outer, .m-viz-inner { animation:none !important }
}
