@media (max-width: 960px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 80px 24px 32px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    width: 100%;
    max-width: 680px;
    margin: auto;
    padding: 48px 0 32px;
  }

  .hero-title {
    font-size: clamp(30px, 6vw, 46px);
    overflow-wrap: anywhere;
  }

  .hero-sub {
    max-width: 100%;
    margin: 20px 0 28px;
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-video-nav {
    position: relative;
    inset: auto;
    transform: none;
    margin: 0 0 24px;
  }

  .hero-video-dots {
    justify-content: center;
    flex-wrap: wrap;
  }

  .stats-bar {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }

  .stat-item {
    padding: 16px 0;
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .stat-num {
    font-size: clamp(38px, 9vw, 52px);
  }

  .projects-header,
  .atuacao-header,
  .sobre-top {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    text-align: center;
  }

  .projects-header,
  .atuacao-header {
    margin-bottom: 32px;
  }

  #projetos .projetos {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    padding: 0;
  }

  #projetos .card {
    height: auto;
    min-width: 0;
  }

  #projetos .project-img-small {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  #projetos .projects-content-wrapper {
    align-items: center;
    text-align: center;
  }

  #projetos .projects-title {
    overflow-wrap: anywhere;
  }

  #atuacao {
    text-align: center;
  }

  #atuacao .especialidades {
    grid-template-columns: minmax(0, 1fr);
  }

  #atuacao .especialidades-description {
    font-size: clamp(16px, 2.8vw, 20px);
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
  }

  #sobre {
    text-align: center;
  }

  #sobre .section-tag {
    justify-content: center;
  }

  #sobre .sobre-header {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 24px;
  }

  #sobre .section-subtitle {
    font-size: clamp(16px, 2.8vw, 20px);
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  #sobre .sobre-card {
    justify-content: center;
    height: auto;
    min-height: 120px;
  }

  #sobre .sobre-card-content-title,
  #sobre .sobre-card-content-subtitle {
    overflow-wrap: anywhere;
  }

  footer {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  #sobre .sobre-card-content-number {
    font-size: 60px;
  }

  #sobre .sobre-card-content-sign {
    padding-left: 10px;
  }

  #sobre .sobre-card-content-title,
  #sobre .sobre-card-content-subtitle {
    padding-left: 10px;
  }

  #sobre .sobre-card-content-title {
    font-size: 15px;
  }
}
