/* Container de cada card */
.features-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 220px; /* <- ajuste fino aqui */
  padding: 0;
}

/* Lista */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Cada item */
.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 6px;
  line-height: 1.35;
  font-size: 14px;
}

/* Check azul */
.feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #007BFF; /* azul */
  font-weight: 700;
  font-size: 16px;
}

/* CTA final */
.cta {
  display: flex;
  align-items: center;
  gap: 6px; /* espaço entre ícone e texto */
  margin-top: 12px;
  font-size: 14px;
}

.cta-icon {
  width: 28px;     /* ajuste como preferir: 16, 20, 24 */
  height: 28px;
  display: inline-block;
}

/* MOBILE: reduzir espaçamento entre o bloco e o CTA */
@media (max-width: 480px) {
  .resource-item {
    margin-bottom: 18px !important; /* antes devia estar ~40–60px */
  }

  /* Reduz espaço do título até a lista */
  .resource-item h3 {
    margin-bottom: 8px !important;
  }

  /* Reduz espaço da lista até o CTA */
  .resource-item ul {
    margin-bottom: 8px !important;
  }

  /* CTA mais colado no bloco */
  .cta {
    margin-top: 4px !important;   /* estava 10–14px */
  }

  /* MOBILE: remove a altura fixa que cria o buraco */
  .features-box {
    height: 160px !important;
  }
}


/* Scroll bonitinho */
.select-wrapper::-webkit-scrollbar {
  width: 6px;
}
.select-wrapper::-webkit-scrollbar-thumb {
  border-radius: 10px;
}


.custom-select {
  position: relative;
  width: 100%;
  border-radius: 22px;
}

.select-trigger {
  border: 1px solid #ccc;
  padding: 8px 14px;
  border-radius: 22px;
  cursor: pointer !important;
  color: #6b7280; 
  font-weight: 400;
}

.select-options {
  position: absolute;
  top: 48px;
  width: 100%;
  max-height: 220px;
  overflow-y: auto;
  top: calc(100% + 1px);
  border-radius: 16px;
  border-left: 1px solid #ddd;
  display: none;
  z-index: 50;
}

.select-options .option {
  padding: 10px 14px;
  cursor: pointer;
  transition: 0.15s;
}

.select-options .option:hover {
  background: rgba(0,0,0,0.06);
}

.dark .select-options .option:hover {
  background: rgba(255,255,255,0.08);
}

/* Scrollbar do dropdown customizado */
.select-options::-webkit-scrollbar {
  width: 15px;            /* largura da barra */
}

.select-options::-webkit-scrollbar-track {
  background: transparent; /* fundo */
}

.select-options::-webkit-scrollbar-thumb {
  background: #9ca3af;     /* cinza padrão */
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.select-options::-webkit-scrollbar-thumb:hover {
  background: #6b7280;     /* cinza escuro */
}

/* Modo escuro */
.dark .select-options::-webkit-scrollbar-thumb {
  background: #4b5563;
}

.dark .select-options::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}


/* MODAL VIDEO */
/* === MODAL VÍDEO (ESTÁVEL) === */

.modal-demo.hidden {
  display: none;
}

.modal-demo {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Ajuste fino do modal no mobile */
@media (max-width: 640px) {
  .modal-demo {
    align-items: flex-start; /* joga levemente para baixo */
    padding-top: 80px;       /* distância do topo */
  }
}

/* Fundo escurecido */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 28, .95);
  backdrop-filter: blur(4px);
  z-index: 1;
}

/* Container do vídeo */
.modal-content {
  position: relative;
  background: #000;
  border-radius: 16px;
  max-width: 480px;
  width: 90%;
  overflow: hidden;
  z-index: 2;
  padding: 0;
}

/* Vídeo responsivo SEM cortar */
.modal-content video {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

/* Botão de fechar */
.modal-close {
  position: absolute;
  top: 6px;
  right: 12px;
  z-index: 3;
  /* background: transparent; */
  height: 34px;
  width: 34px;
  border-radius: 999px;
  border: none;
  /* color: #f5f108ff; */
  font-size: 28px;
  cursor: pointer;
}

/* Moldura do smartphone */
.phone-frame {
  position: relative;
  background: #000;
  border-radius: 32px;
  padding: 0;
  max-width: 380px;     /* largura realista de smartphone */
  width: 90%;
  max-height: 80vh;     /* evita ocupar a tela inteira */
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Notch opcional (igual Samsung / Android moderno) */
.phone-frame::before {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 28px;
  background: rgba(0,0,0,0.85);
  border-radius: 0 0 16px 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.phone-frame {
  position: relative;
  background: #000;
  border-radius: 32px;
  padding: 0;
  max-width: 380px;
  width: 90%;
  max-height: 88vh;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(20, 20, 20, 0.65);
  z-index: 2;

  /* CORREÇÃO CRUCIAL */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* vídeo agora ocupa o espaço DE CIMA sem esmagar o botão */
.phone-frame video {
  width: 100%;
  height: auto;
  flex-shrink: 0; 
}

/* botão agora 100% dentro da moldura */
.btn-video-cta {
  width: 100%;
  padding: 14px;
  background: #f8801ed7;
  color: #fff;
  text-align: center;
  font-size: 16px;
  border: none;
  border-radius: 0 0 22px 22px; 
  cursor: pointer;
  font-weight: 600;
}

.btn-video-cta:hover {
  background: #a14e0ad7;
}

/* Estado inicial: invisível */
.btn-video-cta {
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}

/* Quando deve aparecer */
.btn-video-cta.show {
  opacity: 1;
  pointer-events: auto;
}

/* animação de pulso suave */
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* botão base */
.btn-video-cta {
  width: 100%;
  padding: 14px;
  background: #f8801ed7;
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  border: none;
  border-radius: 0 0 22px 22px;
  cursor: pointer;
  font-weight: 600;

  /* começa invisível */
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}

/* quando o vídeo chegar em 70% → JS adiciona .show */
.btn-video-cta.show {
  opacity: 1;
  pointer-events: auto;

  /* ativa o pulso suave */
  animation: pulse 1.0s infinite ease-in-out;
}

.hide-on-modal {
  display: none !important;
}

@keyframes pulseCTA {
  0%   { transform: scale(1.05); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1.05); }
}

@media (max-width: 768px) {
  #btnAbrirModalWhats {
    display: none !important;
  }
}






