/* MIX_HERO_CLEAN_V1_CSS_START */

.mxw-hero-clean-v1 {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 94px);
  padding: 82px 0 92px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 126, 44, 0.12), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(36, 198, 205, 0.16), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #0a1c2d 55%, #05101d 100%);
  color: #ffffff;
}

.mxw-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 72% 38%, black 0%, transparent 64%);
  opacity: 0.42;
}

.mxw-hero-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 56px, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  gap: 64px;
  align-items: center;
}

.mxw-hero-copy {
  max-width: 670px;
}

.mxw-hero-eyebrow {
  margin: 0 0 22px;
  color: #ff8a35;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mxw-hero-copy h1 {
  margin: 0 0 26px;
  color: #f4f7fb;
  font-size: clamp(3.8rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.mxw-hero-text {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 1.18rem;
  line-height: 1.72;
}

.mxw-hero-value {
  max-width: 620px;
  margin: 24px 0 0;
  color: #22c7f2;
  font-size: 1.06rem;
  line-height: 1.55;
  font-weight: 900;
}

.mxw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 0;
}

.mxw-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mxw-hero-btn:hover {
  transform: translateY(-2px);
}

.mxw-hero-btn-primary {
  color: #07111f;
  background: linear-gradient(90deg, #ff7e2c 0%, #ff9638 100%);
  box-shadow: 0 20px 44px rgba(255,126,44,0.30);
}

.mxw-hero-btn-secondary {
  color: #ffffff;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.16);
}

.mxw-hero-btn-secondary:hover {
  border-color: rgba(255,126,44,0.42);
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
}

.mxw-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.mxw-hero-trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  color: rgba(255,255,255,0.88);
  background: rgba(8, 38, 55, 0.64);
  border: 1px solid rgba(34,199,242,0.22);
  font-size: 0.9rem;
  font-weight: 850;
}

.mxw-hero-trust span::before {
  content: "✓";
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff9a3d;
  background: rgba(255,126,44,0.16);
  font-size: 0.7rem;
  font-weight: 950;
}

.mxw-hero-preview {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mxw-phone {
  position: relative;
  width: 310px;
  min-height: 584px;
  padding: 48px 18px 22px;
  border-radius: 44px;
  background:
    linear-gradient(180deg, #10243a 0%, #0a1828 100%);
  border: 1px solid rgba(90, 170, 220, 0.22);
  box-shadow:
    0 34px 88px rgba(0,0,0,0.38),
    0 0 0 10px rgba(9, 29, 48, 0.40) inset;
}

.mxw-phone-notch {
  position: absolute;
  left: 50%;
  top: 24px;
  width: 96px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #020813;
}

.mxw-portal-card {
  min-height: 500px;
  padding: 42px 24px 24px;
  border-radius: 34px;
  text-align: center;
  background: linear-gradient(180deg, #f8fbff 0%, #eef3f8 100%);
  color: #07111f;
  overflow: hidden;
}

.mxw-portal-brand {
  display: block;
  width: 205px;
  max-width: 90%;
  height: auto;
  margin: 0 auto 26px;
}

.mxw-portal-kicker {
  margin: 0 0 10px;
  color: #ff7e2c;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.mxw-portal-card h2 {
  margin: 0 0 12px;
  color: #07111f;
  font-size: 1.58rem;
  line-height: 1.1;
}

.mxw-portal-card p {
  margin: 0 auto 22px;
  max-width: 230px;
  color: rgba(7,17,31,0.58);
  font-size: 0.92rem;
  line-height: 1.55;
}

.mxw-fake-input {
  width: 100%;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: #dfe6ee;
}

.mxw-fake-input-short {
  width: 78%;
}

.mxw-portal-card button {
  width: 100%;
  min-height: 52px;
  margin-top: 12px;
  border: 0;
  border-radius: 15px;
  color: #07111f;
  background: linear-gradient(90deg, #ff7e2c 0%, #ff9638 100%);
  font-size: 0.98rem;
  font-weight: 900;
}

.mxw-floating-card {
  position: absolute;
  z-index: 2;
  min-width: 190px;
  padding: 17px 18px;
  border-radius: 18px;
  background: rgba(12, 28, 45, 0.92);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 22px 48px rgba(0,0,0,0.28);
  backdrop-filter: blur(14px);
}

.mxw-floating-card strong {
  display: block;
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1;
}

.mxw-floating-card span {
  display: block;
  color: rgba(255,255,255,0.74);
  font-size: 0.82rem;
  line-height: 1.35;
}

.mxw-floating-card-a {
  right: -48px;
  top: 138px;
}

.mxw-floating-card-b {
  left: -54px;
  bottom: 116px;
}

/* Mobile */
@media (max-width: 860px) {
  .mxw-hero-clean-v1 {
    min-height: auto;
    padding: 42px 0 62px;
  }

  .mxw-hero-shell {
    width: min(100% - 40px, 430px);
    display: flex;
    flex-direction: column;
    gap: 34px;
    align-items: stretch;
  }

  .mxw-hero-copy {
    max-width: 100%;
  }

  .mxw-hero-eyebrow {
    margin-bottom: 18px;
    font-size: 0.76rem;
  }

  .mxw-hero-copy h1 {
    font-size: clamp(2.8rem, 13vw, 4.15rem);
    line-height: 0.98;
    margin-bottom: 20px;
  }

  .mxw-hero-text {
    font-size: 1rem;
    line-height: 1.66;
  }

  .mxw-hero-value {
    margin-top: 20px;
    font-size: 0.98rem;
  }

  .mxw-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 24px;
  }

  .mxw-hero-btn {
    width: 100%;
    min-height: 52px;
  }

  .mxw-hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 18px;
  }

  .mxw-hero-trust span {
    justify-content: flex-start;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .mxw-hero-preview {
    min-height: auto;
    margin: 0 auto;
    width: 100%;
    max-width: 360px;
    padding-top: 0;
  }

  .mxw-phone {
    width: min(100%, 310px);
    min-height: 560px;
    margin: 0 auto;
    padding: 46px 16px 20px;
    border-radius: 42px;
  }

  .mxw-phone-notch {
    top: 22px;
    width: 90px;
    height: 19px;
  }

  .mxw-portal-card {
    min-height: 480px;
    padding: 38px 20px 22px;
    border-radius: 32px;
  }

  .mxw-portal-brand {
    width: 190px;
    margin-bottom: 24px;
  }

  .mxw-floating-card {
    display: none;
  }
}

@media (max-width: 430px) {
  .mxw-hero-shell {
    width: min(100% - 34px, 100%);
    gap: 30px;
  }

  .mxw-hero-copy h1 {
    font-size: clamp(2.65rem, 12.4vw, 3.65rem);
  }

  .mxw-phone {
    width: min(100%, 292px);
    min-height: 532px;
    padding: 44px 14px 18px;
    border-radius: 40px;
  }

  .mxw-portal-card {
    min-height: 458px;
    padding: 34px 18px 20px;
  }

  .mxw-portal-brand {
    width: 176px;
  }
}

/* MIX_HERO_CLEAN_V1_CSS_END */

/* MIX_HERO_CLEAN_V1_OVERRIDE_LEGACY_START */

/* Neutraliza classes antigas que ficaram no CSS global */
.mxw-hero-clean-v1 .mxw-hero-conversion-card-v6,
.mxw-hero-clean-v1 .mxw-hero-action-panel-v5,
.mxw-hero-clean-v1 .hero-content,
.mxw-hero-clean-v1 .hero-visual,
.mxw-hero-clean-v1 .phone,
.mxw-hero-clean-v1 .phone-top,
.mxw-hero-clean-v1 .portal-card {
  all: unset;
}

/* Garante que a estrutura nova controle tudo */
.mxw-hero-clean-v1 *,
.mxw-hero-clean-v1 *::before,
.mxw-hero-clean-v1 *::after {
  box-sizing: border-box;
}

/* MIX_HERO_CLEAN_V1_OVERRIDE_LEGACY_END */

/* MIX_HERO_WITHOUT_VISUAL_V1_START */

.mxw-hero-clean-v1 .mxw-hero-shell {
  grid-template-columns: 1fr !important;
  max-width: 980px !important;
}

.mxw-hero-clean-v1 .mxw-hero-copy {
  max-width: 820px !important;
}

@media (min-width: 861px) {
  .mxw-hero-clean-v1 .mxw-hero-copy {
    margin: 0 auto !important;
    text-align: center !important;
  }

  .mxw-hero-clean-v1 .mxw-hero-text,
  .mxw-hero-clean-v1 .mxw-hero-value {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .mxw-hero-clean-v1 .mxw-hero-actions,
  .mxw-hero-clean-v1 .mxw-hero-trust {
    justify-content: center !important;
  }
}

@media (max-width: 860px) {
  .mxw-hero-clean-v1 {
    padding-bottom: 58px !important;
  }
}

/* MIX_HERO_WITHOUT_VISUAL_V1_END */
