@media (max-width: 1024px) {
    .navbar { padding: 0 32px; }
    .section { padding: 72px 32px; }
    .hero { padding: 100px 32px 80px; }
    .cta-banner { padding: 56px 32px; }
    .footer { padding: 24px 32px; }
    .diff-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .proj-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .sobre-grid { gap: 48px; }
    .contact-grid { gap: 48px; }
    .hero-stats { gap: 36px; }
  }

  /* Tablet (≤768px) */
  @media (max-width: 768px) {
    .navbar { padding: 0 20px; height: 60px; }
    .navbar-links { display: none; }
    .navbar-hamburger { display: flex; }
    .navbar-links.mobile-open {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 60px; left: 0; right: 0;
      background: var(--navy-dark);
      padding: 24px 20px 32px;
      gap: 0;
      border-top: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 8px 32px rgba(0,0,0,0.4);
      z-index: 999;
    }
    .navbar-links.mobile-open li { width: 100%; }
    .navbar-links.mobile-open a {
      display: block;
      padding: 14px 0;
      font-size: 15px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      color: rgba(255,255,255,0.85);
    }
    .navbar-links.mobile-open .navbar-cta {
      margin-top: 16px;
      text-align: center;
      padding: 12px 20px;
      border-radius: 2px;
      border-bottom: none;
    }
    .navbar-links.mobile-open a::after { display: none; }

    .hero { padding: 90px 20px 72px; min-height: 100svh; }
    .hero-title { font-size: clamp(32px, 8vw, 48px); }
    .hero-sub { font-size: 15px; margin-bottom: 32px; }
    .hero-ctas { flex-direction: column; gap: 12px; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 14px 24px; }
    .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 40px; padding-top: 28px; }
    .hero-stat-num { font-size: 24px; }

    .strip { flex-wrap: wrap; gap: 12px; padding: 14px 20px; justify-content: center; }
    .strip-divider { display: none; }

    .section { padding: 56px 20px; }
    .section-sub { margin-bottom: 36px; }

    .diff-grid { grid-template-columns: 1fr; gap: 12px; }

    .sobre-grid { grid-template-columns: 1fr; gap: 36px; }
    /* .sobre-imgs removido */

    .cta-banner { padding: 48px 20px; }
    .cta-banner h2 { font-size: 24px; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }

    .proj-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

    .footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px 20px; }
    .footer-links { justify-content: center; }
  }

  /* Mobile (≤480px) */
  @media (max-width: 480px) {
    .navbar { padding: 0 16px; }
    .hero { padding: 80px 16px 64px; }
    .hero-stats { gap: 16px; }
    .hero-stat { min-width: 100px; }

    .section { padding: 48px 16px; }
    .cta-banner { padding: 40px 16px; }
    .footer { padding: 20px 16px; }

    /* .sobre-imgs removido */
    /* placeholder removido { height: 180px !important; }

    .proj-grid { grid-template-columns: 1fr; }
    .proj-card-placeholder { height: 160px; }

    .prazo-grid { grid-template-columns: 1fr; }
    .modal { padding: 24px 16px; }
    .modal-grid { grid-template-columns: 1fr; }

    .acc-body { padding: 0 16px 0 16px; }
    .acc-item.open .acc-body { padding: 0 16px 18px 16px; }
  }


  /* ─── PARTICLES CANVAS ─── */
  /* ─── CURSOR PERSONALIZADO ─── */
  body { cursor: none; }
  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(245,130,32,0.7);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease,
                border-color 0.25s ease, background 0.25s ease;
    will-change: transform;
  }
  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: var(--orange);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    will-change: transform;
  }
  .cursor-ring.hover {
    width: 56px; height: 56px;
    background: rgba(245,130,32,0.08);
    border-color: var(--orange);
  }
  .cursor-ring.click {
    width: 22px; height: 22px;
    background: rgba(245,130,32,0.25);
  }
  /* Restaurar cursor nos inputs */
  input, textarea, select { cursor: text; }
  a, button, [role="button"], .serv-card, .proj-card { cursor: none; }

  /* ─── SCROLL PROGRESS BAR ─── */
  #scrollProgress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--orange) 0%, #ffb347 100%);
    z-index: 99998;
    transition: width 0.08s linear;
    box-shadow: 0 0 8px rgba(245,130,32,0.6);
  }

  /* ─── CANVAS CTA BANNER ─── */


  /* ─── CANVAS SEÇÃO NAVY (CONTACTO) ─── */

  
  /* ─── PROJ CARDS COM IMAGENS REAIS ─── */
  .proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
  }
  .proj-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .proj-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  }
  .proj-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
  }
  .proj-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
  }
  .proj-card:hover .proj-card-img {
    transform: scale(1.06);
  }
  .proj-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,26,35,0.75) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .proj-card:hover .proj-card-overlay { opacity: 1; }
  .proj-tag {
    background: var(--orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
  }
  .proj-card-body {
    padding: 22px 22px 24px;
    background: var(--navy-mid);
    color: #ffffff;
  }
  .proj-card-body h3,
  .proj-card-body .proj-card-title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  .proj-card-body p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .proj-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--orange);
    background: var(--orange-dim);
    border: 1px solid rgba(245,130,32,0.2);
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.04em;
  }

  /* Responsivo proj-grid */
  @media (max-width: 900px) {
    .proj-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .proj-grid { grid-template-columns: 1fr; }
    .proj-card-img-wrap { height: 220px; }
  }

/* ─── ÍCONES MOBILE FIX ─── */
/* Forçar ícones visíveis em todos os tamanhos */
.acc-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 3px !important;
    background: var(--orange-dim) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.acc-icon i {
    font-size: 22px !important;
    color: var(--orange) !important;
    font-family: 'tabler-icons' !important;
    font-style: normal !important;
    font-weight: normal !important;
    line-height: 1 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.acc-item.open .acc-icon {
    background: var(--orange) !important;
}
.acc-item.open .acc-icon i {
    color: #fff !important;
}

.diff-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    background: rgba(245,130,32,0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 16px !important;
}
.diff-icon i {
    font-size: 28px !important;
    color: var(--orange) !important;
    font-family: 'tabler-icons' !important;
    font-style: normal !important;
    font-weight: normal !important;
    line-height: 1 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 4px !important;
    background: rgba(245,130,32,0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.contact-icon i {
    font-size: 20px !important;
    color: var(--orange) !important;
    font-family: 'tabler-icons' !important;
    font-style: normal !important;
    font-weight: normal !important;
    line-height: 1 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}