/* ==========================================
 * PÁGINA DESTAQUES - TEMA LARANJA / VERDE
 * ========================================== */

.destaques-page {
  min-height: 100vh;
  background-color: #f8f9fa;
}

/* Hero da Página */
.hero-page {
  background: linear-gradient(135deg, #2D5016 0%, #4a7b2b 50%, #6f8f4a 100%);
  padding: 6rem 2rem 4rem;
  text-align: center;
  color: white;
  margin-bottom: 3rem;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* Conteúdo */
.destaques-content {
  padding: 2rem 0 4rem;
}

.destaques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cards de Destaque */
.destaque-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.destaque-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.destaque-icon {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ff5500 0%, #ff5500 100%);
  color: white;
}

.destaque-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.destaque-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #5a6c7d;
  margin-bottom: 1rem;
}

/* Lista de Features */
.destaque-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.destaque-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #2c3e50;
}

.destaque-features li i {
  color: #ff5500;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Botão Saiba Mais (opcional) */
.btn-destaque {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background-color: #F4A261;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: auto;
}

.btn-destaque:hover {
  background-color: #E76F51;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(244, 162, 97, 0.4);
}

.btn-destaque i {
  transition: transform 0.3s ease;
}

.btn-destaque:hover i {
  transform: translateX(5px);
}

/* Seção CTA */
.cta-section {
  background: linear-gradient(90deg, #ff9a3c 0%, #ff5500 100%);
  padding: 4rem 2rem;
  text-align: center;
  color: white;
  margin-top: 4rem;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #25D366;
  color: white;
}

.btn-primary:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: #2c3e50;
  transform: translateY(-2px);
}

/* ==========================================
 * BOTÃO WHATSAPP FLUTUANTE + NUVEM 3 BOLHAS
 * ========================================== */

.whatsapp-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse; /* botão embaixo, bolhas em cima */
  align-items: flex-end;
  gap: 6px;
}

/* Botão redondo */
.whatsapp-floating-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  font-size: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-floating-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  background-color: #1ebe5b;
}

/* Bolha maior com a mensagem */
.whatsapp-floating-message {
  position: relative;
  max-width: 220px;
  background: linear-gradient(135deg, #f3e8ff 0%, #e0d4ff 100%);
  color: #1f2933;
  border-radius: 18px;
  padding: 8px 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  border: 1px solid rgba(0, 0, 0, 0.03);
  text-align: left;
  word-break: break-word;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.whatsapp-floating-message span {
  display: block;
}

/* bolha média – encostada na nuvem, lado do botão */
.whatsapp-floating-message::after {
  content: '';
  position: absolute;
  right: 18px;   /* encosta na nuvem do lado do botão */
  bottom: -6px;  /* um pouco abaixo da borda da nuvem */
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #f3e8ff 0%, #e0d4ff 100%);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* bolha pequena – mais perto do botão, abaixo da média */
.whatsapp-floating-message::before {
  content: '';
  position: absolute;
  right: 12px;   /* levemente mais pro botão que a média */
  bottom: -18px; /* mais baixo, chegando perto do círculo verde */
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #f3e8ff 0%, #e0d4ff 100%);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

/* Estado visível (controlado via JS) */
.whatsapp-floating-message.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==========================================
 * RESPONSIVE
 * ========================================== */

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .destaques-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .destaque-card {
    padding: 1.5rem;
  }

  .destaque-title {
    font-size: 1.5rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cta-text {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .whatsapp-floating {
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-floating-button {
    width: 52px;
    height: 52px;
    font-size: 26px;
  }

  .whatsapp-floating-message {
    max-width: 190px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero-page {
    padding: 3rem 1rem 3rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .destaque-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  .destaque-title {
    font-size: 1.25rem;
  }

  .destaque-description {
    font-size: 0.95rem;
  }

  /* se quiser, pode manter oculto no mobile pequeno */
  .whatsapp-floating-message {
    display: none;
  }
}