/* Camada fina: layout global sem competir com o Elementor */
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }

/* Se o CSS do tema não carregar, o skip-link não pode ocupar a tela inteira */
.skip-link.screen-reader-text:not(:focus):not(:active) {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  word-wrap: normal !important;
}

/* Menu mobile (substitui popup Elementor #958, que não veio no HTML estático) */
.ontrip-drawer {
  pointer-events: none;
}
.ontrip-drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 99998;
}
.ontrip-drawer__panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(88vw, 320px);
  max-width: 100%;
  background: #1a1f26;
  color: #edf2e9;
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 3.5rem 1.25rem 1.5rem;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}
.ontrip-drawer__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}
.ontrip-drawer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ontrip-drawer nav a {
  display: block;
  padding: 0.75rem 0;
  color: inherit;
  text-decoration: none;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  border-bottom: 1px solid rgba(237, 242, 233, 0.12);
}
.ontrip-drawer nav a:hover,
.ontrip-drawer nav a:focus {
  color: #ecbb82;
}
body.ontrip-drawer-open {
  overflow: hidden;
}
body.ontrip-drawer-open .ontrip-drawer {
  pointer-events: auto;
}
body.ontrip-drawer-open .ontrip-drawer__backdrop {
  opacity: 1;
}
body.ontrip-drawer-open .ontrip-drawer__panel {
  transform: translateX(0);
}

/* --- Hero: fundo full-bleed (o dump fixou width:1280px no sticky layer) --- */
.elementor-1658 .elementor-element.elementor-element-104efa3.elementor-sticky--active {
  width: 100vw !important;
  max-width: none !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
}
.elementor-1658 .elementor-element.elementor-element-104efa3.elementor-sticky--active {
  background-size: cover !important;
  background-position: center center !important;
}

/* --- Header: sempre fixed (o SHE usa absolute+transparent, que ganhava do inline fixed) --- */
.elementor-location-header .elementor-element-c45ee85.she-header-yes {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  z-index: 10000 !important;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.elementor-location-header .elementor-element-c45ee85.she-header-transparent-yes {
  background-color: transparent !important;
  box-shadow: none;
}
body.ontrip-header-scrolled .elementor-location-header .elementor-element-c45ee85.she-header-yes {
  background-color: var(--e-global-color-ffa9a11, #e19272) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* --- Banner: centraliza o layer do efeito flutuante --- */
.elementor-element-8c76b28 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  /* sobe um pouco para alinhar no centro visual do banner */
  transform: translateY(calc(var(--translateY, 0px) - 8%)) !important;
}

/* --- Vídeo YouTube direto (iframe responsivo) --- */
.elementor-element-32136bc .elementor-wrapper.elementor-open-inline {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: #0d0f12;
}
.elementor-element-32136bc .ontrip-youtube-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --- Checkout transparente (LP) --- */
.ontrip-checkout {
  position: fixed;
  inset: 0;
  z-index: 11000;
  pointer-events: none;
}
.ontrip-checkout__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.ontrip-checkout__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92vw, 480px);
  max-height: 90vh;
  overflow: auto;
  transform: translate(-50%, -46%);
  border-radius: 18px;
  border: 1px solid rgba(236, 187, 130, 0.35);
  background: linear-gradient(180deg, #f7f3ed 0%, #efe7dc 100%);
  color: #2e3742;
  padding: 24px 22px 18px;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.35);
}
.ontrip-checkout.is-open {
  pointer-events: auto;
}
.ontrip-checkout.is-open .ontrip-checkout__backdrop {
  opacity: 1;
}
.ontrip-checkout.is-open .ontrip-checkout__panel {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.ontrip-checkout__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(236, 187, 130, 0.35);
  color: #6a7480;
  border: 0;
  background: rgba(255, 255, 255, 0.85);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.ontrip-checkout__title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #d8c6aa;
  font-family: "Balmond", "Montserrat", serif;
}
.ontrip-checkout__product {
  display: flex;
  justify-content: center;
  margin: 2px 0 10px;
}
.ontrip-checkout__product img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(236, 187, 130, 0.45);
}
.ontrip-checkout__author {
  margin: 0 0 4px;
  text-align: center;
  font-size: 13px;
  color: #6f7985;
}
.ontrip-checkout__headline {
  margin: 0 0 4px;
  text-align: center;
  font-weight: 700;
  font-size: 29px;
  line-height: 1.15;
  color: #1f2a36;
}
.ontrip-checkout__cash {
  margin: 0 0 6px;
  text-align: center;
  font-size: 16px;
  color: #2f3945;
}
.ontrip-checkout__desc {
  margin: 0 0 12px;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  color: #4c5763;
}
.ontrip-checkout__plan,
.ontrip-checkout__price {
  margin: 0 0 9px;
  font-size: 18px;
  color: #2f3945;
}
.ontrip-checkout__form {
  display: grid;
  gap: 11px;
}
.ontrip-checkout__form label {
  display: grid;
  gap: 5px;
  font-size: 14px;
  color: #3b4552;
  font-weight: 600;
}
.ontrip-checkout__form input,
.ontrip-checkout__form select {
  height: 44px;
  border: 1px solid rgba(86, 93, 104, 0.22);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.92);
  color: #2f3945;
}
.ontrip-checkout__form input:focus,
.ontrip-checkout__form select:focus {
  outline: none;
  border-color: rgba(236, 187, 130, 0.95);
  box-shadow: 0 0 0 3px rgba(236, 187, 130, 0.2);
}
.ontrip-checkout__submit {
  border: 0;
  border-radius: 10px;
  padding: 13px 14px;
  background: linear-gradient(180deg, #ecbb82 0%, #e19272 100%);
  color: #fffdf9;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.ontrip-checkout__submit:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}
.ontrip-checkout__hint {
  font-size: 12px;
  color: #6f7985;
  margin: 0;
}
.ontrip-checkout__installment-note {
  margin: -2px 0 0;
  font-size: 12px;
  color: #6f7985;
}
.ontrip-checkout__trial {
  border: 1px solid rgba(86, 93, 104, 0.18);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  padding: 10px 12px;
  color: #37414c;
  font-size: 13px;
  line-height: 1.45;
}
.ontrip-checkout__terms {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  font-size: 12px !important;
  color: #4b5562 !important;
  font-weight: 500 !important;
  line-height: 1.35;
}
.ontrip-checkout__terms input[type="checkbox"] {
  margin-top: 2px;
}
.ontrip-checkout__terms a {
  color: #2f3945;
  text-decoration: underline;
}
.ontrip-checkout__status {
  min-height: 20px;
  font-size: 13px;
  font-weight: 600;
}
.ontrip-checkout__status[data-type="error"] {
  color: #ad2d2d;
}
.ontrip-checkout__status[data-type="success"] {
  color: #177c39;
}
.ontrip-checkout__status[data-type="loading"] {
  color: #375e9f;
}
body.ontrip-checkout-open {
  overflow: hidden;
}

.ontrip-avista-link {
  margin-top: 8px;
  text-align: left;
}
.ontrip-avista-link a {
  font-size: 12px;
  color: #ccc;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.ontrip-avista-link a:hover {
  opacity: 1;
  color: #fff;
  text-decoration: underline;
}
.ontrip-avista-badge {
  display: inline-block;
  background: #4a7c3f;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}
