
/* ==========================================================
   COMPLEMENTOS — sem alterar o styles.css original
   ========================================================== */

/* Evita que os parágrafos do hero criem linhas ruins / palavras órfãs. */
.hero p,
.hero .hero__lead {
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

@media (max-width: 640px) {
  .hero__container {
    width: calc(100% - 36px);
  }

  .hero p,
  .hero .hero__lead {
    width: 100%;
    max-width: none;
    text-wrap: pretty;
  }
}

@media (max-width: 430px) {
  .hero__container {
    width: calc(100% - 36px);
  }

  .hero p,
  .hero .hero__lead {
    max-width: none;
  }
}

/* Garante que o link da política permaneça visível e clicável. */
.site-footer__bottom,
.site-footer__bottom a {
  visibility: visible;
}

.site-footer__bottom a {
  display: inline-block;
}

/* WhatsApp fixo no canto inferior direito. */
.floating-whatsapp {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  left: auto !important;
  top: auto !important;
  z-index: 99999 !important;

  width: 60px;
  height: 60px;
  display: flex !important;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);

  opacity: 1 !important;
  visibility: visible !important;
  transform: none;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: currentColor;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(37, 211, 102, .38);
  border-radius: 50%;
  animation: floatingWhatsappPulse 2.2s ease-out infinite;
  pointer-events: none;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .32);
}

.floating-whatsapp__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 11px;
  border-radius: 4px;
  background: #171717;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.floating-whatsapp:hover .floating-whatsapp__tooltip,
.floating-whatsapp:focus-visible .floating-whatsapp__tooltip {
  opacity: 1;
  visibility: visible;
}

@keyframes floatingWhatsappPulse {
  0% { opacity: .7; transform: scale(.9); }
  70%, 100% { opacity: 0; transform: scale(1.28); }
}

@media (max-width: 640px) {
  .floating-whatsapp {
    width: 54px;
    height: 54px;
    right: 16px !important;
    bottom: 16px !important;
  }

  .floating-whatsapp svg {
    width: 30px;
    height: 30px;
  }

  .floating-whatsapp__tooltip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp::before {
    animation: none;
  }

  .floating-whatsapp {
    transition: none;
  }
}


/* ==========================================================
   CONTATO FINAL — CTA WhatsApp sem formulário
   ========================================================== */
.contact-section {
  min-height: 338px;
  padding: 52px 0 54px;
  display: flex;
  align-items: flex-start;
}

.contact-section__container {
  width: min(calc(100% - 48px), var(--container));
}

.contact-section__header h2 {
  margin-bottom: 13px;
}

.contact-section__header p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 9px;
}

.contact-section__actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.contact-section__cta {
  width: 370px;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 22px;
  border: 0;
  border-radius: 3px;
  background: #ffffff;
  color: #9f3133;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08px;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 5px 16px rgba(59, 8, 11, 0.10);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.contact-section__cta svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: #BA001F;
}

.contact-section__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 8, 11, 0.16);
  filter: brightness(1.02);
}

.contact-section__cta:focus-visible {
  outline: 3px solid rgba(255,255,255,.65);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .contact-section {
    min-height: auto;
    padding: 38px 0 44px;
  }

  .contact-section__header {
    width: calc(100% - 36px);
  }

  .contact-section__header h2 {
    font-size: 26px;
    line-height: 27px;
  }

  .contact-section__header p {
    max-width: 360px;
    font-size: 12px;
    line-height: 18px;
  }

  .contact-section__actions {
    margin-top: 25px;
  }

  .contact-section__cta {
    width: min(calc(100% - 36px), 370px);
    min-height: 48px;
    padding: 0 16px;
    font-size: 10px;
  }
}
