/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 1200px) {
  .hero__title {
    font-size: 64px;
  }

  .site-nav {
    margin-left: 3%;
  }

  .site-footer__inner,
  .site-footer__bar {
    width: calc(100% - 100px);
  }

  .service {
    padding-inline: 28px;
  }
}

@media (max-width: 1024px) {
  .site-header__inner,
  .site-footer__inner,
  .site-footer__bar,
  .seed__inner {
    width: calc(100% - (var(--side) * 2));
  }

  .seed__inner {
    margin-inline: auto;
  }

  .site-nav__link {
    padding-inline: 10px;
  }

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

  .services__intro {
    grid-column: 1 / -1;
    grid-row: auto;
    border-right: 0;
    border-bottom: var(--frame);
  }

  .clients {
    flex-direction: column;
    align-items: flex-start;
  }

  .clients__list {
    width: 100%;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .about,
  .page-about,
  .page-services,
  .quote {
    grid-template-columns: 1fr;
  }

  .about__main,
  .page-about__left,
  .page-services__main,
  .quote__main {
    border-right: 0;
  }

  .about__intro {
    padding: 48px var(--side);
  }

  .about__media {
    padding: 0 var(--side) 40px;
  }

  .about__media img {
    min-height: 0;
    aspect-ratio: 628 / 800;
  }

  .page-about__text {
    padding: 32px var(--side) 56px;
  }

  .page-about__head,
  .page-services__head {
    min-height: 0;
  }

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

  .goal + .goal {
    border-left: 0;
    border-top: var(--frame);
  }

  .seed__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .seed__photo {
    aspect-ratio: 4 / 3;
  }

  .quote__head,
  .form {
    padding-inline: var(--side);
  }

  .quote__media {
    padding: 0 var(--side) 40px;
  }
}

/* Mobile: barra com menu em tela cheia -------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .site-header__brand img {
    width: 140px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
  }

  .nav-toggle__icon {
    width: 26px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }

  .site-header__inner {
    flex-direction: row-reverse;
  }

  .site-header--inner .site-nav {
    margin: 0;
  }

  .site-header--inner .site-nav__list {
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0;
    background: var(--color-bg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: block;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-close::before,
  .nav-close::after {
    content: "";
    position: absolute;
    top: 21px;
    left: 9px;
    width: 26px;
    height: 2px;
    background: var(--color-text);
    transform: rotate(45deg);
  }

  .nav-close::after {
    transform: rotate(-45deg);
  }

  .site-nav__list {
    flex: none;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav__link {
    padding: 8px 20px;
    font-size: 20px;
    text-align: center;
  }

  .hero {
    height: auto;
    min-height: 420px;
    padding: 56px var(--side);
  }

  .hero__title {
    font-size: 44px;
  }

  .hero__subtitle {
    font-size: 20px;
  }

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

  .services__intro {
    padding: 40px var(--side);
  }

  .service,
  .service:nth-child(odd) {
    min-height: 0;
    padding: 28px var(--side);
    border-right: 0;
  }

  .service-grid .service {
    flex-basis: 50%;
    padding: 32px 8px 8px;
    min-height: 0;
  }

  .page-services__media {
    padding: 32px var(--side);
  }

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

  .form__submit {
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
  }

  .form__whatsapp {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .site-footer__bar {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .stat__value {
    font-size: 40px;
  }

  .clients__list img {
    max-width: 84px;
    height: 30px;
  }
}
