/* Extra responsive tweaks that span multiple components */

@media (max-width: 1200px) {
  :root {
    --container-pad: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: 1.25rem;
    --header-h: 68px;
  }

  .section {
    padding-block: var(--space-12);
  }

  .section-title {
    font-size: var(--fs-lg);
  }

  .page-hero__title {
    font-size: var(--fs-2xl);
  }

  .btn {
    padding: var(--space-3) var(--space-5);
    font-size: var(--fs-xs);
  }

  /* Decorative element da foto (Sobre) não vazar fora da tela */
  .about-img::after {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
  }

  /* Títulos menores em celular pequeno */
  .page-hero__title {
    font-size: var(--fs-xl);
  }

  .section-title {
    font-size: var(--fs-base);
  }

  /* Stats: 2 colunas em vez de 4 */
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card {
    padding: var(--space-4);
  }

  .stat-card__number {
    font-size: var(--fs-3xl);
  }

  /* Hero home */
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Form rows em coluna única */
  .form-row {
    grid-template-columns: 1fr;
  }
}
