.header-desktop .menu-item.mobile-only {
  display: none !important;
}

/* ===== STICKY HEADER — menu ul height fix ===== */
.e-con-full.sticky-header ul#primary-menu.menu,
.e-con-full.sticky-header .menu {
  padding: 0 !important;
  height: auto !important;
}


.menu-highlight-1on1 a{
  color: #AC00FF !important;
}
.menu-highlight-1on1 a:hover{
  color: #000000 !important;
}

/* ============================================
   VARIÁVEIS — bloco único
============================================ */
:root {
  --primary-color: #AC00FF;
  --primary-hover: #00C1CB;
  --secondary-color: #00C1CB;
  --dark-bg: #111;
  --darker-bg: #0a0a0a;
  --card-bg: #1a1a1a;
  --border-color: #AC00FF;
  --border-light: #444;
  --text-color: #fff;
  --text-secondary: rgba(255,255,255,0.4);
  --error-color: #ff5c5c;
  --success-color: #00ff88;
  --border-radius-lg: 24px;
  --border-radius-md: 12px;
  --border-radius-sm: 10px;
  --border-width: 1px;
  --border-style: solid;
  --sml-ph-pt: 200px;
  --sml-ph-pb: 16px;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   LOGO
============================================ */
html { background-color: #000; }

.the-logo img[src*="SML-Visual-013"] {
  width: 121px;
  height: auto;
  aspect-ratio: 515 / 238;
}
.the-logo img[src*="TSC_SML_LOGO2"] {
  width: auto;
  height: auto;
  aspect-ratio: 500 / 132;
}

/* ============================================
   TIPOGRAFIA GLOBAL
============================================ */
body, h1, h2, h3, h4, h5, h6, p, span, div, a, button, input, textarea, label {
  font-family: 'Be Vietnam Pro', sans-serif !important;
}

body.bg-none { background-image: none !important; }
body.bg-none .page-header { background-color: var(--sasi-bg-color-green); }

/* ===== HEADER — fix resoluções intermediárias ===== */

/* Menu central cede espaço */
.elementor-element-be8fa75 {
  flex-shrink: 1 !important;
  min-width: 0 !important;
}

/* Container dos botões — sem invadir o menu */
.elementor-element-b63bd32 {
  --width: auto !important;
  width: auto !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  margin-right: 0 !important;
}

/* Botões nunca quebram linha */
.elementor-element-b63bd32 a.sasi-btn {
  white-space: nowrap !important;
}

/* Comprime menu e botões em telas intermediárias */
@media (max-width: 1200px) and (min-width: 769px) {
  .elementor-element-be8fa75 ul#primary-menu li a {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 14px !important;
  }
  .elementor-element-b63bd32 a.sasi-btn {
    font-size: 13px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

@media (max-width: 1050px) and (min-width: 769px) {
  .elementor-element-be8fa75 ul#primary-menu li a {
    padding-left: 7px !important;
    padding-right: 7px !important;
    font-size: 13px !important;
  }
  .elementor-element-b63bd32 a.sasi-btn {
    font-size: 12px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* ============================================
   MENU FIX (HOME)
============================================ */
body.home .main-navigation > ul > li.current-menu-item > a,
body.front-page .main-navigation > ul > li.current-menu-item > a,
body.home .main-navigation > ul > li.current-menu-ancestor > a,
body.front-page .main-navigation > ul > li.current-menu-ancestor > a,
body.home .main-navigation > ul > li.current_page_item > a,
body.front-page .main-navigation > ul > li.current_page_item > a,
body.home .main-navigation > ul > li.current_page_ancestor > a,
body.front-page .main-navigation > ul > li.current_page_ancestor > a {
  background: transparent !important;
  color: var(--sasi-menu-color) !important;
}

body.home .main-navigation > ul > li.current-menu-item > a::after,
body.front-page .main-navigation > ul > li.current-menu-item > a::after,
body.home .main-navigation > ul > li.current-menu-ancestor > a::after,
body.front-page .main-navigation > ul > li.current-menu-ancestor > a::after,
body.home .main-navigation > ul > li.current_page_item > a::after,
body.front-page .main-navigation > ul > li.current_page_item > a::after,
body.home .main-navigation > ul > li.current_page_ancestor > a::after,
body.front-page .main-navigation > ul > li.current_page_ancestor > a::after {
  background: var(--sasi-arrow-color) !important;
}

body.home .main-navigation > ul > li > a:hover,
body.front-page .main-navigation > ul > li > a:hover {
  background: var(--sasi-bgmenu-color-hover) !important;
  color: var(--sasi-menu-color-hover) !important;
}

body.home .main-navigation > ul > li > a:hover::after,
body.front-page .main-navigation > ul > li > a:hover::after {
  background: var(--sasi-arrow-color-hover) !important;
}

/* ============================================
   RESET ESCOPADO
============================================ */
.checkout-modal,
.checkout-modal * {
  box-sizing: border-box;
}
.checkout-modal * {
  margin: 0;
  padding: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   ANIMAÇÕES
============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1);       opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* ============================================
   MODAL OVERLAY
============================================ */
.checkout-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.checkout-modal.is-open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

/* ============================================
   MODAL BOX
============================================ */
.checkout-box {
  background: #111;
  color: var(--text-color);
  width: 100%;
  max-width: 480px;
  margin: 0;
  padding: 48px 40px;
  border-radius: var(--border-radius-lg);
  position: relative;
  font-family: 'Be Vietnam Pro', sans-serif;
  max-height: 88vh;
  overflow: hidden;
  border: 1px solid rgba(172,0,255,0.3);
  box-shadow: 0 0 60px rgba(172,0,255,0.25);
  animation: slideUp 0.25s ease;
  display: flex;
  flex-direction: column;
}

/* ============================================
   SCROLL INTERNO
============================================ */
.modal-content-container {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  padding-right: 8px;
  margin-right: -8px;
}

.modal-content-container::-webkit-scrollbar { width: 4px; }
.modal-content-container::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.03);
  border-radius: 2px;
}
.modal-content-container::-webkit-scrollbar-thumb {
  background: rgba(172,0,255,0.4);
  border-radius: 2px;
}
.modal-content-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* ============================================
   TÍTULOS
============================================ */
.modal-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.modal-title span { color: var(--primary-color); }

.step-title {
  margin-bottom: 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
}

/* ============================================
   STEP CONTENT / LOGIN CONTENT
============================================ */
.step-content,
.login-content {
  padding: 24px;
  border: var(--border-width) var(--border-style) rgba(172,0,255,0.2);
  border-radius: var(--border-radius-md);
  background: var(--darker-bg);
  position: relative;
}

.step-content { margin-bottom: 20px; }

.step-content::before,
.login-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary-color);
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
  opacity: 0.6;
}

/* ============================================
   FORM
============================================ */
.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }

.checkout-box label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   INPUTS / SELECTS
============================================ */
.form-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  background: #1a1a1a;
  color: var(--text-color);
  font-size: 14px;
  font-family: 'Be Vietnam Pro', sans-serif;
  transition: border-color 0.15s;
  outline: none;
}

.form-input::placeholder { color: rgba(255,255,255,0.2); }

.form-input:focus {
  border-color: rgba(172,0,255,0.6);
}

.form-input:hover:not(:focus) { border-color: rgba(255,255,255,0.2); }

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ============================================
   BOTÕES
============================================ */
.btn-primary,
.btn-secondary {
  width: 100%;
  padding: 15px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  white-space: nowrap;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.9;
	background: #00c1cb;
  transform: scale(1.02);
  box-shadow: 0 0 24px rgba(172,0,255,0.4);
}

.btn-primary:active { transform: scale(0.99); }

.btn-secondary {
  background: transparent;
  color: var(--text-color);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-secondary:hover {
  border-color: rgba(172,0,255,0.5);
  color: #fff;
  background: rgba(172,0,255,0.06);
}

.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.checkout-box button:not(.close-modal) {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-buttons {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.step-buttons .btn-primary,
.step-buttons .btn-secondary {
  flex: 1;
  margin: 0;
}

/* ============================================
   BOTÃO FECHAR
============================================ */
.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: none;
  background: none;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 10;
  outline: none;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
}

.close-modal:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
  background: rgba(255,255,255,0.1);
}

.close-modal:focus { outline: none; }
.close-modal:focus-visible { outline: 2px solid rgba(172,0,255,0.6); }

@media (max-width: 480px) {
  .close-modal { top: 16px; right: 16px; }
}

/* ============================================
   STEPS
============================================ */
.checkout-step {
  display: none;
  animation: fadeInUp 0.25s ease;
}
.checkout-step.active { display: block; }

/* ============================================
   CONFIRMAÇÃO (STEP 3)
============================================ */
.confirm-box { margin-bottom: 25px; }

.confirm-data {
  background: rgba(172,0,255,0.04);
  padding: 20px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(172,0,255,0.2);
  font-size: 14px;
  line-height: 1.6;
}

.confirm-data strong {
  color: var(--primary-color);
  display: inline-block;
  min-width: 80px;
}

/* ============================================
   PAGAMENTO (STEP 4)
   — FIX: altura fixa removida; QR Code adaptativo via max-width + height:auto
============================================ */
.payment-info { margin-bottom: 20px; }

.payment-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.payment-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(172,0,255,0.25);
  background: #000;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

#payment-iframe-embed {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}

.payment-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px;
  background: rgba(172,0,255,0.06);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(172,0,255,0.2);
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 20px;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}

.payment-note {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

/* ============================================
   SUCESSO (STEP 5)
============================================ */
.success-content {
  text-align: center;
  padding: 20px 0;
  margin-bottom: 30px;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(172,0,255,0.15);
  border: 1px solid rgba(172,0,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.success-message {
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.6;
}

/* ============================================
   ERROS
============================================ */
.error-message {
  display: none;
  background: rgba(255,60,60,0.08);
  border: 1px solid rgba(255,60,60,0.3);
  color: #ff6b6b;
  padding: 12px 16px;
  margin: 0 0 20px 0;
  border-radius: var(--border-radius-sm);
  font-size: 13px;
  text-align: center;
  line-height: 1.5;
  flex-shrink: 0;
}

.error-message.show { display: block; }

/* ============================================
   SPINNERS
============================================ */
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

/* ============================================
   RESPONSIVIDADE
============================================ */
@media (max-width: 768px) {
  .checkout-box {
    max-width: 100%;
    padding: 40px 28px;
    border-radius: 20px;
    max-height: 88vh;
  }
  .modal-title { font-size: 22px; }
  .step-content, .login-content { padding: 20px; }
  .step-buttons { flex-direction: column; }

  #payment-iframe-embed {
    max-width: min(260px, calc(100vw - 100px));
  }
}

@media (max-width: 480px) {
  .checkout-box {
    padding: 32px 20px;
    border-radius: 16px;
    max-height: 88vh;
  }
  .modal-title { font-size: 20px; }
  .step-title { font-size: 15px; }
  .step-content, .login-content { padding: 16px; }

  #payment-iframe-embed {
    max-width: min(240px, calc(100vw - 100px));
  }
}

/* ============================================
   PAGE HEADER (páginas internas)
============================================ */
body:not(.home):not(.front-page) .page-header.ph-default {
  padding-top: var(--sml-ph-pt) !important;
  padding-bottom: var(--sml-ph-pb) !important;
  margin-bottom: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

body:not(.home):not(.front-page) .page-header.ph-default .ph-inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body:not(.home):not(.front-page) .page-header.ph-default + .elementor,
body:not(.home):not(.front-page) .page-header.ph-default + .container,
body:not(.home):not(.front-page) .page-header.ph-default + .wrap,
body:not(.home):not(.front-page) .page-header.ph-default + .site-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ============================================
   MISC
============================================ */
.grecaptcha-badge { visibility: hidden !important; }


/* ===== SITE-WIDE IMAGE COPY PROTECTION ===== */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* ======= SCROLL BAR PERSONALIZADA ======= */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(172, 0, 255, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(172, 0, 255, 0.9);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(172, 0, 255, 0.5) transparent;
}
