@media (max-width: 1320px) {
  .container-lg {
    max-width: 120rem;
  }

  .hero-content {
    padding: 0;
  }

  .header-nav {
    padding: 0;
  }

  .service-card {
    padding: 0 1rem;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 97.5rem;
  }

  .title {
    font-size: 4rem;
  }

  .logo {
    font-size: 2.6rem;
  }

  .hero-heading {
    font-size: 7rem;
  }

  .service-card-title {
    font-size: 1.8rem;
  }

  .project-box {
    max-width: 45.4rem;
  }

  .about,
  .projects,
  .contact {
    padding: 8rem 0;
  }
}

@media (max-width: 977px) {
  html {
    font-size: 62%;
  }

  .container {
    max-width: 72rem;
  }

  .title {
    font-size: 3.6rem;
  }

  .header {
    padding: 0;
  }

  .about-row {
    row-gap: 5rem;
    margin-bottom: 5rem;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .about-descr {
    font-size: 1.52rem;
  }

  .nav-list {
    display: none;
  }

  .nav-btn {
    display: block;
  }

  .nav.open .nav-list {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1;
    padding: 4.6rem 3rem;
    display: flex;
    flex-direction: column;
    row-gap: 4rem;
    font-size: 3rem;
    font-weight: 500;
  }

  .nav-link {
    color: #c0c0c0;
  }

  .nav-link.active {
    color: #0c1618;
  }

  .nav-btn {
    position: absolute;
    z-index: 9;
    top: 3rem;
    right: 3rem;
  }

  .nav.open .nav-btn {
    position: fixed;
  }

  .header-nav {
    margin-bottom: 0rem;
  }

  .hero {
    padding-top: 16rem;
  }

  .hero-greeting {
    font-size: 1.6rem;
  }
  .hero-heading {
    font-size: 5.2rem;
  }
  .hero-heading-subtitle {
    font-size: 1.6rem;
  }

  .social-links-row {
    column-gap: 1.7rem;
    margin: 3rem 0 3rem;
  }

  .hero-img {
    padding: 0;
  }

  .btn {
    font-size: 1.1rem;
    padding: 0 2rem;
  }

  .services-row {
    justify-content: center;
    row-gap: 5rem;
  }
  .service-card {
    flex: 0 0 30.5rem;
  }

  .service-card-img {
    height: 4rem;
  }

  .project-box {
    max-width: 32.7rem;
  }

  .about,
  .projects,
  .contact {
    padding: 7rem 0;
  }

  .about-title,
  .projects-title,
  .contact-title {
    margin-bottom: 3rem;
  }
}

@media (max-width: 720px) {
  .container {
    max-width: 54.5rem;
  }

  .logo {
    font-size: 2.4rem;
  }

  .nav.open .nav-list {
    row-gap: 2rem;
    font-size: 2rem;
    font-weight: 500;
  }

  .hero-row {
    row-gap: 4rem;
  }

  .hero-content,
  .hero-img {
    text-align: center;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .about-social-list {
    display: block;
  }

  .service-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .project-box {
    max-width: 100%;
  }

  .footer-copyright p {
    font-size: 1.2rem;
  }
}

@media (max-width: 406px) {
  html {
    font-size: 50%;
  }

  .footer-copyright p {
    font-size: 1.2rem;
  }
}

/* ===== Seções novas (revamp 2026) ===== */
@media (max-width: 977px) {
  .expertise .service-card {
    flex: 0 0 47%;
  }

  .stat-number {
    font-size: 3.8rem;
  }

  /* Evita colisão da bandeira com o botão do menu */
  .lang-toggle {
    position: absolute;
    top: 2.8rem;
    right: 7.2rem;
    z-index: 10;
  }

  /* Talks split: tablet — compacta padding e fonte do bloco esquerdo */
  .carousel-left {
    padding: 6rem 3.2rem 6rem 2.4rem;
    max-width: none;
  }

  .carousel-title {
    font-size: 2.8rem;
  }

  .carousel-narrative {
    font-size: 1.4rem;
  }
}

@media (max-width: 720px) {
  .expertise,
  .feedbacks {
    padding: 7rem 0;
  }

  .expertise .service-card {
    flex: 0 0 100%;
  }

  .stat {
    flex: 1 1 40%;
  }

  .zoom-bar-title {
    display: none;
  }

  .zoom-chat {
    min-height: 38rem;
    max-height: 60vh;
    padding: 2rem 1.4rem;
  }

  .chat-body {
    max-width: 100%;
  }

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

  /* Talks split: coluna única no mobile */
  .carousel-container {
    flex-direction: column;
    min-height: auto;
  }

  .carousel-left {
    flex: none;
    max-width: 100%;
    margin-left: 0;
    padding: 5rem 2.4rem 3.2rem;
  }

  .carousel-right {
    min-height: auto;
    padding: 0 0 2rem;
  }

  .carousel-slide {
    /* 1 card + pequena espiada do próximo */
    width: 78vw;
    height: min(28rem, 46vh);
  }

  .carousel-track {
    padding: 0 2.4rem 0 0;
  }

  .carousel-title {
    font-size: 2.4rem;
  }

  .footer-cta {
    font-size: 2.2rem;
  }
}

@media (max-width: 406px) {
  .stat {
    flex: 1 1 100%;
  }
}

/* ===== Experiência editorial ===== */
@media (max-width: 977px) {
  .exp-now-year {
    font-size: 16rem;
  }

  .exp-now-role {
    font-size: 2.6rem;
  }

  .exp-tab {
    font-size: 1.7rem;
    padding: 0.8rem 1.8rem 1rem;
  }
}

@media (max-width: 720px) {
  .exp-now {
    padding: 3.5rem 2.4rem 3rem;
  }

  .exp-now-year {
    font-size: 11rem;
    top: -1rem;
  }

  .exp-now-role {
    font-size: 2.2rem;
  }

  .exp-now-desc {
    font-size: 1.5rem;
  }

  .exp-tabs {
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .exp-tab {
    font-size: 1.6rem;
    padding: 0.8rem 1.4rem 1rem;
    white-space: nowrap;
  }

  /* logos strip: quebra em coluna no mobile */
  .logos-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .logos-strip-list {
    gap: 2rem 2.8rem;
  }

  .strip-logo {
    height: 2.6rem;
    filter: grayscale(0);
    opacity: 0.7;
  }
}

@media (max-width: 406px) {
  .exp-now-stack li {
    font-size: 1.2rem;
    padding: 0.4rem 1.1rem;
  }

  .exp-tab {
    font-size: 1.5rem;
    padding: 0.8rem 1.2rem 1rem;
  }
}
