/* EC Theme — gradientes institucionais dos CTAs preenchidos (28/10/2026).
 * Azul e dourado não trocam de background no hover, foco ou clique.
 * Não estiliza ghost/outline, links dos cards ou UI acadêmica do Tutor LMS.
 * Fonte única das cores dos botões públicos.
 */

body.ec-theme-active:not(.ec-theme-student-authority) :is(
  .ec-button--gold,
  .ec-formation-sticky-cta__complete,
  .ec-formation-how__plan--complete a.ec-button,
  .ec-btn.ec-btn-gold,
  .elementor-3276 .ec-trails > a,
  #inicio.hero.ec-cine .actions a.btn.btn-secondary
) {
  font-weight: bold !important;
  background-image: linear-gradient(115deg, #e5c088 0%, #dba34e 45%, #CDA22C 100%) !important;
  background-repeat: repeat !important;
  background-attachment: scroll !important;
  background-size: auto auto !important;
  background-position: 0% 0% !important;
  box-shadow: 0px 1px 0px 0px #fff5cf80 inset !important;
  background-color: #CDA22C !important;
  color: #02092E !important;
  border-color: #CDA22C !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
body.ec-theme-active:not(.ec-theme-student-authority) :is(
  .ec-button--gold,
  .ec-formation-sticky-cta__complete,
  .ec-formation-how__plan--complete a.ec-button,
  .ec-btn.ec-btn-gold,
  .elementor-3276 .ec-trails > a,
  #inicio.hero.ec-cine .actions a.btn.btn-secondary
):is(:hover,:focus-visible,:active) {
  background-image: linear-gradient(115deg, #e5c088 0%, #dba34e 45%, #CDA22C 100%) !important;
  background-color: #CDA22C !important;
  color: #02092E !important;
  border-color: #CDA22C !important;
}

body.ec-theme-active:not(.ec-theme-student-authority) :is(
  .ec-button--primary,
  .ec-btn.ec-btn-blue,
  .ec-formation-sticky-cta__monthly,
  #inicio.hero.ec-cine .actions a.btn.btn-primary
) {
  font-weight: bold !important;
  background-image: linear-gradient(115deg, #0b4d7a 0%, #023564 45%, #02092E 100%) !important;
  background-repeat: repeat !important;
  background-attachment: scroll !important;
  background-size: auto auto !important;
  background-position: 0% 0% !important;
  background-color: #02092E !important;
  color: #fff !important;
  border-color: #02092E !important;
  box-shadow: 0px 1px 0px 0px #fff5cf80 inset !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
body.ec-theme-active:not(.ec-theme-student-authority) :is(
  .ec-button--primary,
  .ec-btn.ec-btn-blue,
  .ec-formation-sticky-cta__monthly,
  #inicio.hero.ec-cine .actions a.btn.btn-primary
):is(:hover,:focus-visible,:active) {
  background-image: linear-gradient(115deg, #0b4d7a 0%, #023564 45%, #02092E 100%) !important;
  background-color: #02092E !important;
  color: #fff !important;
  border-color: #02092E !important;
}
@media (prefers-reduced-motion: reduce) {
  body.ec-theme-active:not(.ec-theme-student-authority) :is(
    .ec-button--gold, .ec-button--primary, .ec-btn.ec-btn-gold,
  .elementor-3276 .ec-trails > a,
    .ec-btn.ec-btn-blue, .ec-formation-sticky-cta__complete,
    .ec-formation-sticky-cta__monthly,
    .ec-formation-how__plan--complete a.ec-button,
    #inicio.hero.ec-cine .actions a.btn
  ) { transition: none !important; }
}

/* Sticky formation CTA vertical alignment */
/* Both plan links use the same centering, without changing their checkout URLs
   or the existing bar's visibility/scroll behavior. */
body.ec-theme-active:not(.ec-theme-student-authority)
  .ec-formation-sticky-cta__inner > a:is(
    .ec-formation-sticky-cta__monthly,
    .ec-formation-sticky-cta__complete
  ) {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  min-height: 45px !important;
  padding: 0 16px !important;
  line-height: 1.25 !important;
  text-align: center !important;
}
@media (max-width: 780px) {
  body.ec-theme-active:not(.ec-theme-student-authority)
    .ec-formation-sticky-cta__inner > a:is(
      .ec-formation-sticky-cta__monthly,
      .ec-formation-sticky-cta__complete
    ) {
    min-height: 44px !important;
    padding-inline: 5px !important;
  }
}
