/* =======================================================================
   TrainingAndPlacements — cta.css
   The "convert, don't just look nice" layer: a distinct hot-gradient CTA
   button style (pill-shaped, glowing, pulsing) used everywhere that
   matters, plus an urgency bar, floating call/WhatsApp cluster, mobile
   sticky CTA, and hero trust badges. Kept in its own file since these
   components are deliberately louder than the rest of the design system.
   ======================================================================= */

:root{
  --cta-start: #FF7A3D;
  --cta-end:   #FF3B5C;
  --cta-shadow: rgba(255, 59, 92, .38);
}

/* ---------- the hot CTA button ---------- */
.btn--cta{
  background: linear-gradient(135deg, var(--cta-start) 0%, var(--cta-end) 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 24px var(--cta-shadow);
  position: relative;
}
.btn--cta:hover{
  background: linear-gradient(135deg, #ff8a52 0%, #ff4d6d 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px var(--cta-shadow);
  color: #fff;
}
.btn--cta:active{ transform: translateY(0) scale(.99); }

.btn--pulse{ z-index: 1; }
.btn--pulse::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 var(--cta-shadow);
  animation: cta-pulse 2.2s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes cta-pulse{
  0%{ box-shadow: 0 0 0 0 rgba(255,59,92,.55); }
  70%{ box-shadow: 0 0 0 16px rgba(255,59,92,0); }
  100%{ box-shadow: 0 0 0 0 rgba(255,59,92,0); }
}
@media (prefers-reduced-motion: reduce){
  .btn--pulse::after{ animation: none; }
}

/* ---------- header call link + logo scale bump ---------- */
.header-call{
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
}
.header-call svg{ width: 18px; height: 18px; color: var(--cta-end); stroke-width: 2.2; }
.header-call:hover{ color: var(--cta-end); }
@media (min-width: 1080px){
  .header-call{ display: inline-flex; }
}

/* ---------- announcement / urgency bar ---------- */
.announce-bar{
  background: var(--ink);
  color: var(--paper);
  font-size: .86rem;
}
.announce-bar__inner{
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 10px 28px; flex-wrap: wrap; text-align: center; position: relative;
}
.announce-bar p{ margin: 0; color: rgba(238,241,239,.9); }
.announce-bar strong{ color: var(--amber); }
.announce-bar__link{
  color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
  white-space: nowrap;
}
.announce-bar__link:hover{ color: var(--amber); }
.announce-bar__close{
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: rgba(238,241,239,.6); font-size: 1.2rem; line-height: 1; padding: 4px;
}
.announce-bar__close:hover{ color: #fff; }
.announce-bar.is-dismissed{ display: none; }

/* ---------- hero trust badges ---------- */
.hero__trust{
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: .88rem; color: var(--ink-soft); margin: 0 0 28px;
  opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease) .1s, transform .6s var(--ease) .1s;
}
.hero__trust.in-view{ opacity: 1; transform: none; }
.hero__stars{ color: var(--amber); letter-spacing: 1px; font-size: .95rem; }
.hero__trust strong{ color: var(--ink); }
.hero__trust-divider{ width: 1px; height: 14px; background: var(--line); }

/* ---------- mid-page urgency strip ---------- */
.urgency-strip{ background: var(--ink); padding: 18px 0; }
.urgency-strip__inner{
  display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
}
.urgency-strip p{
  margin: 0; color: var(--paper); font-size: .94rem; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.urgency-strip__dot{
  width: 9px; height: 9px; border-radius: 50%; background: var(--cta-end); flex: 0 0 auto;
  animation: dot-blink 1.6s ease-in-out infinite;
}
@keyframes dot-blink{ 0%,100%{ opacity: 1; } 50%{ opacity: .3; } }
.urgency-strip .btn--cta{ padding: 10px 22px; font-size: .88rem; }

/* ---------- catalog card inline CTA ---------- */
.catalog-card__cta{
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-weight: 700; font-size: .86rem; color: var(--cta-end);
}
.catalog-card:hover .catalog-card__cta{ text-decoration: underline; text-underline-offset: 3px; }

/* ---------- floating call / WhatsApp cluster (desktop) ---------- */
.floating-cta{
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
}
.floating-cta__btn{
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 10px 22px rgba(16,27,48,.25); transition: transform .2s var(--ease);
}
.floating-cta__btn:hover{ transform: translateY(-3px) scale(1.05); color: #fff; }
.floating-cta__btn svg{ width: 26px; height: 26px; }
.floating-cta__btn--whatsapp{ background: #25D366; }
.floating-cta__btn--call{ background: linear-gradient(135deg, var(--cta-start), var(--cta-end)); }
.floating-cta__btn--call svg{ width: 22px; height: 22px; stroke: #fff; }

/* ---------- mobile sticky CTA bar ---------- */
.mobile-sticky-cta{
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--paper-raised); border-top: 1px solid var(--line);
  padding: 10px 16px; gap: 10px;
  box-shadow: 0 -8px 20px rgba(16,27,48,.08);
}
.mobile-sticky-cta .btn{ flex: 1; justify-content: center; padding: 12px 16px; font-size: .9rem; }

@media (max-width: 760px){
  .floating-cta{ display: none; }
  .mobile-sticky-cta{ display: flex; }
  body{ padding-bottom: 66px; }
  .announce-bar__inner{ padding: 10px 44px 10px 16px; font-size: .8rem; }
}
