/* ══════════════════════════════════════════════
   CONTATO
══════════════════════════════════════════════ */
.contato-section {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.contato-photo {
  position: relative;
  z-index: 0;
  width: min(100%, 1100px);
  margin: clamp(-7rem, -7vw, -1.5rem) auto 0;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 14%),
    linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 14%),
    linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.contato-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.025);
}

.contato-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 1.6vw, 1.4rem);
  padding-top: clamp(4.5rem, 7vw, 6.5rem);
  text-align: center;
}

.contato-titulo {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.4vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  text-wrap: balance;
  letter-spacing: -0.035em;
  color: var(--verde-profundo);
}

.contato-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.contato-side p {
  max-width: 44ch;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.65;
  color: var(--text-muted);
  text-wrap: pretty;
}

.contato-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.25rem 1rem 1.6rem;
  border-radius: 50px;
  background: var(--terracota-medio);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 28px -14px rgba(var(--terracota-escuro-rgb), 0.7);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.contato-btn .fa-whatsapp {
  font-size: 1.2rem;
}

.contato-btn-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: 0.35rem;
  padding: 6px;
  border-radius: 50%;
  background: rgba(var(--white-rgb), 0.16);
  transition:
    rotate 0.4s var(--easing-expo),
    background-color 0.3s ease;
}

.contato-btn:hover {
  background: var(--roxo-profundo);
  box-shadow: 0 18px 34px -14px rgba(var(--roxo-profundo-rgb), 0.75);
}

.contato-btn:hover .contato-btn-arrow {
  rotate: 45deg;
  background: rgba(var(--white-rgb), 0.24);
}

.contato-btn:focus-visible {
  outline: 3px solid var(--verde-vivo);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .contato-photo {
    width: 100%;
    margin-top: 0.5rem;
  }

  .contato-inner {
    gap: 1rem;
    padding-top: clamp(4rem, 12vw, 5rem);
  }
}

@media (max-width: 480px) {
  .contato-titulo {
    font-size: clamp(2.4rem, 12vw, 3rem);
  }

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

  .contato-photo {
    width: 118%;
    margin-left: -9%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contato-btn-arrow {
    transition: none;
  }
}
