/* ===============================
   Responsividade
   =============================== */

@media (max-width: 1080px) {
  .nav-panel {
    gap: 18px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    max-width: 820px;
  }

  .hero-visual {
    overflow: visible;
    width: 100%;
  }

  .hero-visual img {
    margin: 0 auto;
    width: min(100%, 680px);
    max-width: 100%;
    transform: scale(1.04);
    transform-origin: center bottom;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .navbar {
    min-height: 74px;
  }

  .brand img {
    height: 48px;
  }

  .footer-brand img {
    width: 160px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 102;
  }

  .nav-panel {
    position: fixed;
    top: 74px;
    right: 14px;
    left: 14px;
    z-index: 101;
    display: grid;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    background: rgba(5, 5, 5, 0.96);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .nav-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    display: grid;
    gap: 14px;
  }

  .nav-links a {
    display: block;
    padding: 8px 0;
    font-size: 1rem;
  }

  .nav-cta {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding: 104px 0 72px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .hero-stats li {
    min-height: 74px;
    padding: 12px 8px;
    border-radius: 18px;
  }

  .hero-stats strong {
    font-size: 0.78rem;
  }

  .hero-stats span {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .section {
    padding: 82px 0;
  }

  .page-hero {
    padding: 132px 0 68px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-grid > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-grid > div:first-child > .footer-brand {
    display: block;
    width: fit-content;
    max-width: min(240px, 88vw);
    margin: 0 auto 18px;
  }

  .footer-grid > div:first-child > .footer-brand img {
    display: block;
    margin: 0;
  }

  .footer-grid > div:first-child > p {
    text-align: center;
    max-width: 26rem;
    margin-inline: auto;
  }

  .footer-grid > nav,
  .footer-grid > div:nth-child(3) {
    text-align: left;
    justify-self: stretch;
    width: 100%;
  }

  .footer-grid > nav a {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .hero-content .eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .hero-content h1 {
    font-size: clamp(1.38rem, 5.1vw, 1.82rem);
    line-height: 1.1;
  }

  .hero-actions-desktop {
    display: none;
  }

  .hero-actions-mobile {
    display: flex;
  }

  .hero-actions,
  .contact-actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .hero-actions .btn,
  .contact-actions .btn,
  .contact-form .btn {
    justify-content: center;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hero-actions-mobile .btn-pulse {
    animation: softPulse 2.2s ease-in-out infinite;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .service-card,
  .feature-card,
  .review-card {
    min-height: auto;
    padding: 14px;
    border-radius: 18px;
  }

  .service-card-image {
    border-radius: 12px;
  }

  .service-card h3,
  .service-card h2,
  .feature-card h3 {
    margin: 14px 0 8px;
    font-size: 0.95rem;
  }

  .service-card p,
  .feature-card p,
  .review-quote p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .review-meta {
    font-size: 0.72rem;
  }

  .reviews-scroll .review-card {
    flex-basis: min(280px, calc(100vw - 72px));
  }

  .reviews-scroll {
    padding: 16px 12px 18px;
  }

  .reviews-google-summary {
    justify-content: center;
    text-align: center;
  }

  .reviews-google-suffix {
    font-size: 0.88rem;
  }

  .reviews-tenure-box {
    font-size: 0.86rem;
    padding: 14px 18px;
  }

}

