/* ============================================================
   Chico Cyber — overrides de marca
   CTAs: painel escuro + hover azul-tecnologia
   Rodapé: hover âmbar
   ============================================================ */

:root {
  --cc-brand: #f06080;
  --cc-tech-amber: #ffb703;
  --cc-border-hard: rgba(150, 190, 220, 0.18);

  /* Azul das salas EAD (cta-oferta) — corporativo, sem néon */
  --cc-tech-blue: #1e7ae8;
  --cc-tech-blue-hover: #3a8ef5;
  --cc-tech-blue-mid: #1a6fd4;
  --cc-tech-blue-deep: #1458a8;
  --cc-tech-blue-glow: rgba(26, 111, 212, 0.45);
  --cc-tech-blue-soft: #7eb8f0;
}

/* ---- Todos os CTAs do site ---- */
a.button,
a.button:focus,
a.button:visited,
button.button,
button.button:focus,
.vision-section__button,
.vision-section__button:focus,
.vision-section__button:visited,
.b2b-stress-cta__button,
.b2b-stress-cta__button:focus,
.b2b-stress-cta__button:visited,
a.paypal-button,
a.paypal-button:focus,
a.paypal-button:visited {
  --btn-edge: var(--cc-brand);
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 260px;
  max-width: 100%;
  padding: 0.95rem 2.25rem 0.95rem 2.4rem !important;
  border: 1px solid var(--cc-border-hard) !important;
  border-radius: 6px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 42%),
    linear-gradient(145deg, #15263c 0%, #0c1828 55%, #0a1522 100%) !important;
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  cursor: pointer;
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.22s ease,
    box-shadow 0.28s ease,
    transform 0.18s ease,
    letter-spacing 0.28s ease;
}

/* barra lateral + highlight */
a.button::before,
button.button::before,
.vision-section__button::before,
.b2b-stress-cta__button::before,
a.paypal-button::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 3px !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--btn-edge) !important;
  box-shadow: 0 0 12px rgba(240, 96, 128, 0.45) !important;
  transform: none !important;
  opacity: 1 !important;
  transition: background 0.28s ease, box-shadow 0.28s ease, width 0.28s ease !important;
  z-index: 1;
  pointer-events: none;
}

a.button::after,
button.button::after,
.vision-section__button::after,
.b2b-stress-cta__button::after,
a.paypal-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.04) 48%,
    transparent 62%
  );
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.45s ease;
  z-index: 0;
}

/* HOVER — azul das salas EAD (mais profundo, menos gritante) */
a.button:hover,
a.button:active,
a.button.active,
button.button:hover,
button.button:active,
button.button.active,
.vision-section__button:hover,
.vision-section__button:active,
.b2b-stress-cta__button:hover,
.b2b-stress-cta__button:active,
a.paypal-button:hover,
a.paypal-button:active {
  --btn-edge: var(--cc-tech-blue-hover);
  color: #ffffff !important;
  border-color: rgba(58, 142, 245, 0.55) !important;
  background:
    linear-gradient(180deg, rgba(58, 142, 245, 0.14) 0%, transparent 42%),
    linear-gradient(180deg, var(--cc-tech-blue-hover) 0%, var(--cc-tech-blue-mid) 100%) !important;
  letter-spacing: 0.075em;
  box-shadow:
    inset 0 1px 0 rgba(200, 230, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(26, 111, 212, 0.12),
    0 6px 20px var(--cc-tech-blue-glow),
    0 14px 32px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

a.button:hover::before,
a.button:active::before,
button.button:hover::before,
button.button:active::before,
.vision-section__button:hover::before,
.b2b-stress-cta__button:hover::before,
a.paypal-button:hover::before {
  width: 4px !important;
  background: var(--cc-tech-blue-hover) !important;
  box-shadow: 0 0 14px rgba(58, 142, 245, 0.4) !important;
}

a.button:hover::after,
button.button:hover::after,
.vision-section__button:hover::after,
.b2b-stress-cta__button:hover::after,
a.paypal-button:hover::after {
  opacity: 1;
  transform: translateX(12%);
}

/* submit full-width no formulário de contato */
button.button.button-block,
a.button.button-block {
  width: 100%;
  min-width: 0;
}

/* Home — “Conheça Nossos Valores”: um pouco maior (sem exagero) */
a.vision-section__button,
a.vision-section__button:focus,
a.vision-section__button:visited {
  min-height: 62px;
  min-width: 300px;
  padding: 1.1rem 2.55rem 1.1rem 2.7rem !important;
  font-size: 1.05rem;
}

/* Home — “Solicitar Análise Estratégica”: mesmo ajuste */
a.b2b-stress-cta__button,
a.b2b-stress-cta__button:focus,
a.b2b-stress-cta__button:visited {
  min-height: 62px;
  min-width: 320px;
  padding: 1.1rem 2.55rem 1.1rem 2.7rem !important;
  font-size: 1.05rem;
}

/* ---- Rodapé: hover âmbar no “Chico CYBR” ---- */
.footer-classic .footer-inner-2 .rights a,
.footer-classic .footer-inner-2 .rights a:link,
.footer-classic .footer-inner-2 .rights a:visited {
  color: #c5d0de !important;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, text-shadow 0.2s ease;
}

.footer-classic .footer-inner-2 .rights a:hover,
.footer-classic .footer-inner-2 .rights a:focus {
  color: var(--cc-tech-amber) !important;
  border-bottom-color: rgba(255, 183, 3, 0.55);
  text-shadow: 0 0 14px rgba(255, 159, 28, 0.35);
}

@media (max-width: 480px) {
  a.button,
  button.button,
  .vision-section__button,
  .b2b-stress-cta__button,
  a.paypal-button {
    min-width: min(260px, 90vw);
    font-size: 0.95rem;
    padding: 0.9rem 1.4rem 0.9rem 1.6rem !important;
  }

  button.button.button-block {
    width: 100%;
    min-width: 0;
  }
}
