/* Portal AdvSmart — HF29 Landing Premium
   Escopo: somente classes adicionadas por hf29-premium.js.
   Não altera backend, rotas, autenticação, Drive, WhatsApp ou formulários. */

html.pas-hf29-enabled {
  scroll-behavior: smooth;
}

.pas-hf29-hide-hero-wa {
  display: none !important;
}

.pas-hf29-hero {
  position: relative;
}

.pas-hf29-primary-cta {
  position: relative;
  isolation: isolate;
  box-shadow: 0 14px 34px rgba(191, 132, 78, .20), 0 0 0 1px rgba(222, 173, 112, .10) inset;
}

.pas-hf29-primary-cta::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset;
}

.pas-hf29-secondary-cta {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #f0b38f !important;
  opacity: .92;
  font-weight: 850 !important;
  letter-spacing: .015em;
  text-decoration: none !important;
  text-shadow: 0 1px 18px rgba(240, 179, 143, .16);
}

.pas-hf29-secondary-cta:hover,
.pas-hf29-secondary-cta:focus-visible {
  opacity: 1;
  color: #ffd0b2 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.pas-hf29-icon {
  width: 1.35em;
  height: 1.35em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: currentColor;
  vertical-align: middle;
}

.pas-hf29-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pas-hf29-feature-primary,
.pas-hf29-feature-secondary {
  transition: border-color .2s ease, background-color .2s ease, opacity .2s ease, transform .2s ease;
}

.pas-hf29-feature-primary {
  border-color: rgba(210, 155, 96, .24) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
}

.pas-hf29-feature-primary:hover {
  transform: translateY(-2px);
  border-color: rgba(222, 173, 112, .42) !important;
}

.pas-hf29-feature-secondary {
  opacity: .78;
}

.pas-hf29-feature-secondary:hover,
.pas-hf29-feature-secondary:focus-within {
  opacity: 1;
}

.pas-hf29-drive-section {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(210, 155, 96, .24);
  background-image: radial-gradient(circle at 82% 18%, rgba(210, 155, 96, .08), transparent 38%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .16);
}

.pas-hf29-premium-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
}

@media (max-width: 767px) {
  .pas-hf29-hero,
  .pas-hf29-drive-section {
    text-align: center;
  }

  .pas-hf29-primary-cta,
  .pas-hf29-secondary-cta {
    margin-inline: auto;
  }

  .pas-hf29-drive-section {
    border-radius: 22px;
  }

  .pas-hf29-premium-image {
    border-radius: 18px;
  }

  .pas-hf29-feature-secondary {
    opacity: .88;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.pas-hf29-enabled {
    scroll-behavior: auto;
  }

  .pas-hf29-feature-primary,
  .pas-hf29-feature-secondary {
    transition: none;
  }
}


/* HF30 — reparo de assets e legibilidade do CTA secundário. */
.landing-topwrap .platform-brand img.platform-logo,
.pas-hf29-premium-image {
  visibility: visible;
}

.pas-hf29-secondary-cta:focus-visible {
  outline: 2px solid rgba(240, 179, 143, .76);
  outline-offset: 4px;
  border-radius: 10px;
}

@media (max-width: 767px) {
  .pas-hf29-secondary-cta {
    color: #f3bd9a !important;
    opacity: 1;
  }
}
