/* Prevent hero photo / content flash on refresh */
.animate-fade-up {
  opacity: 0;
}

.min-h-screen > section.relative.pt-32 .relative.rounded-3xl.overflow-hidden {
  background: #000;
}

.min-h-screen > section.relative.pt-32 img[src*="weliton"],
.min-h-screen .relative.rounded-3xl.overflow-hidden img[src*="weliton"] {
  opacity: 0;
  animation: landing-photo-in 0.7s ease-out 0.2s forwards;
  background-color: #000;
  object-fit: cover;
  object-position: center 12%;
}

@keyframes landing-photo-in {
  to {
    opacity: 1;
  }
}

/* Landing page polish — header logo + WhatsApp CTA */

header .container.h-16 {
  height: 4rem;
  min-height: 4rem;
  padding-block: 0;
}

.landing-logo-link {
  flex-shrink: 0;
  min-width: 0;
}

.landing-logo {
  width: auto;
  display: block;
}

.landing-logo-header {
  height: 32px;
  max-width: 132px;
  object-fit: contain;
}

.landing-logo-hero {
  height: 36px;
  filter: drop-shadow(0 0 12px rgba(26, 43, 255, 0.4));
}

.landing-logo-footer {
  height: 36px;
}

@media (min-width: 640px) {
  .landing-logo-header {
    height: 36px;
    max-width: none;
  }

  .landing-logo-hero {
    height: 40px;
  }

  .landing-logo-footer {
    height: 40px;
  }
}

.landing-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #0000f5 0%, #2222ff 100%);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 245, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.landing-wa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 245, 0.32);
  background: linear-gradient(135deg, #1111ff 0%, #3333ff 100%);
}

.landing-wa-btn__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .landing-wa-btn {
    padding: 0.625rem 1.125rem;
    font-size: 0.875rem;
  }
}

/* Mobile layout */
@media (max-width: 639px) {
  header .container.h-16 {
    padding-inline: 1rem;
    gap: 0.75rem;
  }

  .landing-logo-header {
    height: 30px;
    max-width: 112px;
  }

  .landing-wa-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    gap: 0.35rem;
    min-height: 2.5rem;
  }

  .landing-wa-btn__icon {
    width: 0.9375rem;
    height: 0.9375rem;
  }

  .min-h-screen > section.relative.pt-32 {
    padding-top: 6.25rem;
    padding-bottom: 3.5rem;
  }

  .min-h-screen .container.mx-auto.px-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .min-h-screen h1.text-5xl {
    font-size: 2.25rem;
    line-height: 0.98;
    margin-bottom: 1.25rem;
  }

  .min-h-screen section.relative .text-xl {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
  }

  .min-h-screen section.relative .flex.items-center.gap-3.mb-6 {
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
  }

  .landing-logo-hero {
    height: 30px;
  }

  .min-h-screen .flex.flex-col.sm\:flex-row.gap-4 > a,
  .min-h-screen .flex.flex-col.sm\:flex-row.gap-4 > .group {
    width: 100%;
  }

  .min-h-screen .flex.flex-col.sm\:flex-row.gap-4 > a,
  .min-h-screen .flex.flex-col.sm\:flex-row.gap-4 > .group > a {
    justify-content: center;
  }

  .min-h-screen h2.text-4xl,
  .min-h-screen h2.text-3xl {
    font-size: 1.85rem;
    line-height: 1.12;
  }

  .min-h-screen section.py-24 {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .min-h-screen section.py-32 {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .min-h-screen blockquote.text-3xl {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .landing-logo-footer {
    height: 30px;
  }

  .min-h-screen .relative.rounded-3xl.overflow-hidden.border img {
    max-height: 420px;
    object-position: center 12%;
  }
}

/* Telas bem estreitas: botão WhatsApp só ícone */
@media (max-width: 360px) {
  .landing-wa-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .landing-wa-btn {
    position: relative;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
  }

  .landing-logo-header {
    height: 28px;
    max-width: 100px;
  }
}

/* CTAs — tamanho equilibrado (não enormes) */
.min-h-screen a[href*="pay.hotmart.com"] {
  padding: 0.8rem 1.35rem !important;
  font-size: 0.9375rem !important;
  line-height: 1.2;
  border-radius: 0.875rem !important;
}

.min-h-screen a[href*="pay.hotmart.com"]:hover {
  transform: scale(1.02) !important;
}

.min-h-screen a[href*="wa.me"].rounded-2xl,
.min-h-screen a[href*="wa.me"].rounded-xl {
  padding: 0.8rem 1.2rem !important;
  font-size: 0.9375rem !important;
  line-height: 1.2;
}

/* WhatsApp secundário em blocos escuros */
.min-h-screen a[href*="wa.me"][class*="border-white"] {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  color: #fff !important;
}

.min-h-screen a[href*="wa.me"][class*="border-white"]:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Rodapé — WhatsApp legível */
.landing-footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.landing-footer-wa:hover {
  color: #fff !important;
  opacity: 1;
}

.landing-footer-wa svg {
  color: #5dff9a;
  flex-shrink: 0;
}

/* Rodapé — grid 3 colunas: logo | tagline central | WhatsApp */
.landing-footer__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  width: 100%;
}

.landing-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.landing-footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.landing-footer__tagline {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-footer {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.landing-footer__bottom {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  padding-bottom: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .landing-footer__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 2rem;
    row-gap: 1rem;
  }

  .landing-footer__brand {
    justify-self: start;
  }

  .landing-footer__tagline {
    justify-self: center;
    text-align: center;
    white-space: nowrap;
  }

  .landing-footer__wa {
    justify-self: end;
  }
}

/* Contraste — textos que sumiam no escuro */
.min-h-screen .backdrop-blur-md p.text-xs.text-primary,
.min-h-screen [class*="bg-graphite"] p.text-primary,
.min-h-screen .bg-gradient-dark p.text-primary,
.min-h-screen .bg-gradient-dark span.text-primary {
  color: #c5c9ff !important;
}

.min-h-screen section.relative.pt-32 span.inline-flex.text-primary {
  color: #d0d4ff !important;
}

/* Cards DIA — letras decorativas com respiro dentro do card */
.min-h-screen .group.relative.rounded-2xl.bg-card {
  overflow: hidden;
  isolation: isolate;
}

.min-h-screen .group.relative.rounded-2xl.bg-card > div.absolute {
  font-size: clamp(2.75rem, 9vw, 5rem) !important;
  line-height: 1 !important;
  color: rgba(0, 0, 245, 0.08) !important;
  pointer-events: none;
  user-select: none;
  top: auto !important;
  bottom: 0.85rem !important;
  right: 0.85rem !important;
  left: auto !important;
  transform: none !important;
}

@media (max-width: 639px) {
  .min-h-screen section.relative.overflow-hidden > img[aria-hidden="true"] {
    display: none !important;
  }

  .min-h-screen .group.relative.rounded-2xl.bg-card > div.absolute {
    font-size: 2.35rem !important;
    bottom: 0.65rem !important;
    right: 0.65rem !important;
  }
}

/* Marca d'água da seção Autoridade — some no mobile */
.min-h-screen section.relative.overflow-hidden > img[aria-hidden="true"] {
  opacity: 0.03 !important;
  max-width: min(360px, 75vw) !important;
}

@media (max-width: 639px) {
  .min-h-screen section.relative.overflow-hidden > img[aria-hidden="true"] {
    display: none !important;
  }
}

/* Labels e subtítulos em azul — contraste mínimo garantido */
.min-h-screen .text-primary.uppercase.tracking-widest,
.min-h-screen .section-label,
.min-h-screen span.text-sm.font-medium.text-primary {
  color: #0000e8 !important;
}

.min-h-screen .text-muted-foreground {
  color: #4a4a55 !important;
}

.min-h-screen .bg-gradient-dark .text-white\/70,
.min-h-screen .bg-gradient-dark .text-white\/60 {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* Notebook: tipografia mais contida na landing */
@media (min-width: 769px) and (max-width: 1280px) {
  .min-h-screen h1.text-5xl,
  .min-h-screen h1[class*="text-5xl"] {
    font-size: clamp(2.35rem, 4vw, 3rem) !important;
    line-height: 1.02 !important;
  }

  .min-h-screen h2.text-4xl,
  .min-h-screen h2.text-3xl {
    font-size: clamp(1.65rem, 2.8vw, 2.1rem) !important;
    line-height: 1.12 !important;
  }

  .min-h-screen section.relative .text-xl {
    font-size: 1.025rem !important;
  }

  .min-h-screen blockquote.text-3xl {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }

  .min-h-screen section.py-24,
  .min-h-screen section.py-32 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .min-h-screen .group.relative.rounded-2xl.bg-card > div.absolute {
    font-size: clamp(2.5rem, 7vw, 4rem) !important;
  }
}
