/* Ajustes locais de revisão — 2026-08-27 */
.faq-item {
  transition: background-color 220ms ease;
}

.faq-item:hover,
.faq-item:focus-within {
  background: color-mix(in srgb, var(--mist) 72%, transparent);
}

.faq-item button {
  border-radius: 12px;
  transition: color 220ms ease, padding 220ms ease;
}

.faq-item button span:last-child {
  display: inline-grid;
  flex: 0 0 30px;
  place-items: center;
  transition: transform 360ms cubic-bezier(.2, .8, .2, 1), color 220ms ease;
}

.faq-answer {
  display: block !important;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 480ms cubic-bezier(.2, .8, .2, 1),
    opacity 260ms ease,
    transform 360ms cubic-bezier(.2, .8, .2, 1);
}

.faq-item.is-open .faq-answer {
  max-height: 320px;
  opacity: 1;
  transform: translateY(0);
}

.faq-item.is-open button span:last-child {
  color: var(--coral-dark);
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-item button,
  .faq-item button span:last-child,
  .faq-answer {
    transition: none;
  }
}

/* Refinamentos solicitados em 27/08/2026. */
.about-copy .lead {
  color: var(--muted);
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.7;
}

/* Mantém a imagem da hero dentro do mesmo limite horizontal do conteúdo. */
.hero {
  width: min(100%, 1240px);
  overflow: hidden;
}

.hero-image {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
}

.hero-image img {
  width: 100%;
  max-width: 100%;
}

/* No tablet e em janelas estreitas, a hero vira uma coluna. A imagem não deve
   ocupar toda a largura disponível nem alongar a primeira dobra. */
@media (max-width: 980px) and (min-width: 641px) {
  .hero-image {
    justify-self: center;
    width: min(100%, 35rem) !important;
    max-width: 35rem;
    height: 30rem;
    margin-inline: auto;
  }
}

@media (min-width: 769px) {
  h1,
  h2 {
    font-size: min(4rem, 4.5vw);
  }

  .contact-copy h2 {
    max-width: 44rem;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.08;
    text-wrap: balance;
  }

  .method-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
  }

  .method-grid article,
  .method-grid article.featured {
    box-sizing: border-box;
    height: 100%;
    min-height: 340px;
    transform: none;
  }
}
