/* ═══════════════════════════════════════════
   COMPONENTS.CSS — Botões, Cards, Badges
   NildaMarmitaFit
═══════════════════════════════════════════ */

/* ─── BOTÕES ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--fonte-corpo);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: var(--raio-btn);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--trans);
  white-space: nowrap;
  line-height: 1;
}

/* Verde — principal */
.btn-primary {
  background: var(--verde);
  color: #fff;
  box-shadow: 0 4px 20px rgba(45,106,79,.3);
}
.btn-primary:hover {
  background: #235c41;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,106,79,.4);
}

/* Laranja — destaque/CTA (CORRIGIDO PARA CONTRASTE) */
.btn-laranja {
  background: #d3543c; /* mais escuro = melhor contraste */
  color: #fff;
  box-shadow: 0 4px 20px rgba(211,84,60,.35);
}
.btn-laranja:hover {
  background: #b94732; /* hover mais forte */
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(211,84,60,.45);
}

/* Outline verde */
.btn-outline {
  background: transparent;
  color: var(--verde);
  border: 2px solid var(--verde);
}
.btn-outline:hover {
  background: var(--verde);
  color: #fff;
  transform: translateY(-2px);
}

/* Branco — sobre fundo escuro */
.btn-branco {
  background: #fff;
  color: var(--verde);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.btn-branco:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

/* Outline branco — sobre fundo escuro */
.btn-outline-branco {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-branco:hover {
  border-color: #fff;
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}

/* Tamanhos */
.btn-lg {
  font-size: 1.05rem;
  padding: 17px 38px;
}
.btn-sm {
  font-size: .85rem;
  padding: 10px 20px;
}
.btn-full { width: 100%; }

/* ─── CARDS GENÉRICOS ─── */
.card {
  background: var(--branco);
  border-radius: var(--raio-lg);
  padding: 32px 24px;
  box-shadow: var(--sombra-sm);
  transition: var(--trans);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-hover);
}

.card-cinza {
  background: var(--cinza);
  box-shadow: none;
}

/* ─── BADGE NUTRICIONISTA ─── */
.badge-nutri {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(116,198,157,.12);
  border: 1px solid rgba(116,198,157,.25);
  color: var(--verde-claro);
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--raio-btn);
}

/* ─── CHECK LIST ─── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .93rem;
  line-height: 1.5;
}
.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: var(--verde-palido);
  color: var(--verde);
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Versão clara (sobre fundo escuro) */
.check-list-clara li { 
  color: rgba(255,255,255,.95); /* melhor contraste */
}
.check-list-clara li::before {
  background: var(--verde-claro);
  color: #1a5c3a;
}

/* ─── NÚMERO DESTAQUE ─── */
.stat-numero {
  font-family: var(--fonte-titulo);
  font-size: 2.4rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  margin-top: 4px;
  display: block;
}

/* ─── DIVISOR ─── */
.divisor {
  height: 1px;
  background: var(--cinza-medio);
  margin: var(--gap-lg) 0;
  border: none;
}

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  text-decoration: none;
  transition: var(--trans);
  animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,.6);
  animation: none;
}
.whatsapp-float svg {
  width: 30px; height: 30px;
  fill: #fff;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ─── PULSE DOT ─── */
.pulse-dot {
  width: 8px; height: 8px;
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.5); }
}
