/*
 * Seção floral anterior ao mapa
 * Arquivo isolado para facilitar manutenção e reutilização.
 */

.flower-section {
  position: relative;
  overflow: hidden;
  padding: 105px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.90)),
    url("../images/footer/footer-Bg1_2.png") center / cover no-repeat;
  text-align: center;
}

.flower-container {
  position: relative;
  z-index: 3;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.flower-decor {
  position: absolute;
  width: 430px;
  max-width: none;
  opacity: 0.82;
  pointer-events: none;
  user-select: none;
}

.flower-decor--left {
  left: -105px;
  bottom: -165px;
}

.flower-decor--right {
  top: -165px;
  right: -105px;
  transform: rotate(180deg);
}

.flower-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  margin: 0 auto;
}

.flower-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--green-dark, #596d57);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.flower-content h2 {
  margin: 0 0 20px;
  color: var(--navy, #090331);
  font-family: "Donalia", cursive;
  font-size: clamp(46px, 6vw, 70px);
  font-weight: 400;
  line-height: 1;
}

.flower-content p {
  max-width: 650px;
  margin: 0 auto 32px;
  color: var(--text, #5f6861);
  font-size: 18px;
  line-height: 1.8;
}

.flower-button-frame {
  display: inline-flex;
  padding: 4px;
  background: var(--green, #8fa18c);
  box-shadow: 0 12px 30px rgba(83, 97, 76, 0.18);
}

.flower-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid #ffffff;
  background: var(--green, #8fa18c);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.flower-button:hover,
.flower-button:focus-visible {
  background: var(--green-dark, #596d57);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.flower-button:focus-visible {
  outline: 3px solid rgba(89, 109, 87, 0.28);
  outline-offset: 4px;
}

.flower-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.flower-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .flower-section {
    padding: 85px 0;
  }

  .flower-container {
    width: min(100% - 28px, 1160px);
  }

  .flower-decor {
    width: 320px;
    opacity: 0.68;
  }

  .flower-decor--left {
    left: -145px;
    bottom: -125px;
  }

  .flower-decor--right {
    top: -125px;
    right: -145px;
  }

  .flower-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .flower-section {
    padding: 74px 0;
  }

  .flower-content h2 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .flower-button-frame,
  .flower-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flower-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .flower-button {
    transition: none;
  }
}
