/* =========================================================
   LP /previdenciario — ajustes exclusivos
   Usa os tokens e componentes de ../style.css (mesma identidade
   da home). Este arquivo NÃO afeta a home.
   ========================================================= */

/* ---------------------------------------------------
   1) Hero (sem cabeçalho / sem menu)
--------------------------------------------------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 88px;
}
.lp-hero__glow {
  position: absolute; top: 8%; right: 2%; width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, .16), transparent 65%);
  z-index: 0;
}
.lp-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.lp-hero__title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: -.015em;
  line-height: 1.18;
}
.lp-hero__title em { font-style: normal; color: var(--color-gold); }
.lp-hero__text { font-size: 1.1rem; max-width: 540px; }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 8px; }
.lp-hero__credit {
  margin: 16px 0 0;
  font-size: .84rem;
  letter-spacing: .01em;
  color: var(--fg-muted);
}
.lp-hero__visual { display: flex; justify-content: center; }
.lp-hero__image-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  aspect-ratio: 3 / 4;
  background: var(--color-onyx-soft);
}
.lp-hero__image-frame::after {
  content: ''; position: absolute; inset: 14px; pointer-events: none;
  border: 1px solid rgba(197, 160, 89, .45);
  border-radius: calc(var(--radius-lg) - 8px);
}
.lp-hero__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%; /* mantém o rosto no quadro; recorta pelas pernas */
}

/* ---------------------------------------------------
   2) Slider de áreas
--------------------------------------------------- */
.lp-slider { position: relative; }
.lp-slider__viewport { overflow: hidden; margin: 0 -10px; padding: 4px 0 8px; }
.lp-slider__track {
  display: flex;
  touch-action: pan-y;
  transition: transform .5s cubic-bezier(.25, .8, .25, 1);
}
.lp-slider__slide { flex: 0 0 50%; min-width: 0; padding: 0 10px; display: flex; }
.lp-slider__slide > * { width: 100%; }

.lp-area-card {
  --outline: var(--color-gold);
  --outline-hover-fg: var(--color-onyx);
  background: var(--color-navy);
  border: 1px solid rgba(197, 160, 89, .25);
  border-radius: var(--radius-lg);
  padding: 40px 32px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lp-area-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(197, 160, 89, .14);
}
.lp-area-card__icon [data-lucide] { width: 26px; height: 26px; color: var(--color-gold); stroke-width: 1.6; }
.lp-area-card h3 { color: var(--color-ivory); font-size: 1.3rem; margin: 0; }
.lp-area-card p { color: var(--color-on-dark-muted); font-size: .95rem; margin: 0; flex-grow: 1; }
.lp-area-card .btn { margin-top: 8px; }

/* Setas e bolinhas — mesmo visual do botão "voltar ao topo" */
.lp-slider__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.lp-slider__btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-white); color: var(--color-ink);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.lp-slider__btn:hover { background: var(--color-onyx); color: var(--color-gold); border-color: var(--color-onyx); }
.lp-slider__btn svg { width: 20px; height: 20px; display: block; }
.lp-slider__dots { display: flex; gap: 9px; }
.lp-slider__dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0; border: 0;
  background: rgba(26, 32, 44, .2);
  transition: background var(--transition), transform var(--transition);
}
.lp-slider__dot.is-active { background: var(--color-gold); transform: scale(1.25); }

/* ---------------------------------------------------
   3) Diferenciais (imagem + lista)
--------------------------------------------------- */
.lp-features__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.lp-features__visual { display: flex; justify-content: center; }
.lp-features__image-frame {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 6;
  background: var(--color-onyx);
}
.lp-features__image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.lp-features__content h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
.lp-features { display: flex; flex-direction: column; gap: 18px; margin: 24px 0 30px; }
.lp-features li { position: relative; padding-left: 24px; }
.lp-features li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--color-gold);
}
.lp-features strong { display: block; color: var(--color-ink); font-size: 1.08rem; margin-bottom: 2px; }
.lp-features span { display: block; color: var(--color-ink-muted); font-size: .95rem; line-height: 1.6; }

/* ---------------------------------------------------
   4) Faixa de destaque (bloco escuro sobre seção clara)
--------------------------------------------------- */
.lp-band {
  --outline: var(--color-gold);
  --outline-hover-fg: var(--color-onyx);
  background: linear-gradient(135deg, var(--color-onyx), var(--color-navy));
  border: 1px solid rgba(197, 160, 89, .35);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lp-band .lp-band__title {
  margin: 0; max-width: 680px;
  font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.3;
  color: var(--color-ivory);
}
.lp-band .lp-band__sub { margin: 0 0 8px; max-width: 560px; color: var(--color-on-dark-muted); }

/* ---------------------------------------------------
   6) CTA final
--------------------------------------------------- */
.lp-cta { position: relative; overflow: hidden; padding: 88px 0; }
.lp-cta__glow {
  position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(197, 160, 89, .13), transparent 62%);
}
.lp-cta__inner { position: relative; z-index: 1; max-width: 720px; text-align: center; }
.lp-cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lp-cta p { font-size: 1.05rem; margin-bottom: 32px; }

/* ---------------------------------------------------
   Responsivo
--------------------------------------------------- */
/* ---- Tablet + telefone: hero vira coluna única, tudo centralizado ---- */
@media (max-width: 960px) {
  .lp-hero { padding: 52px 0 56px; }
  .lp-hero__glow { display: none; }
  .lp-hero__inner {
    display: flex;               /* sai do grid — sem colunas "sobrando" */
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .lp-hero__visual { order: -1; width: 100%; max-width: 380px; }
  .lp-hero__content { text-align: center; max-width: 560px; }
  .lp-hero__text { margin-left: auto; margin-right: auto; }
  .lp-hero__actions { justify-content: center; }
  .lp-hero__image-frame { box-shadow: none; }
  .lp-hero__image-frame img {
    -webkit-mask-image: linear-gradient(to bottom, #000 82%, rgba(0, 0, 0, 0) 100%);
            mask-image: linear-gradient(to bottom, #000 82%, rgba(0, 0, 0, 0) 100%);
  }

  .lp-features__grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-features__visual { max-width: 360px; margin: 0 auto; }
  .lp-features__content { text-align: left; }
}

/* ---- Só telefone: imagem de fora a fora que se dissolve no fundo ---- */
@media (max-width: 640px) {
  .lp-hero { padding: 0 0 36px; }
  .lp-hero__inner {
    align-items: stretch;        /* imagem e conteúdo ocupam toda a largura */
    gap: 0;
    padding-left: 0;             /* remove o respiro lateral do container... */
    padding-right: 0;
  }
  .lp-hero__visual { max-width: none; }
  .lp-hero__image-frame {
    max-width: none;
    aspect-ratio: auto;          /* proporção natural do retrato (sem "zoom") */
    border-radius: 0;
    background: transparent;
  }
  .lp-hero__image-frame::after { display: none; }
  .lp-hero__image-frame img {
    width: 100%;
    height: auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 40%, rgba(0, 0, 0, 0) 88%);
            mask-image: linear-gradient(to bottom, #000 40%, rgba(0, 0, 0, 0) 88%);
  }
  .lp-hero__content {
    position: relative;
    z-index: 1;
    max-width: none;
    margin-top: -230px;          /* título sobe por cima da parte de baixo da foto */
    padding-left: 16px;          /* ...e devolve o respiro só ao texto */
    padding-right: 16px;
  }
  .lp-hero__actions { flex-direction: column; margin-top: 22px; }
  .lp-hero__credit { font-size: .76rem; }

  .lp-slider__slide { flex-basis: 100%; }
  .lp-area-card { padding: 32px 24px 28px; }
  .lp-band { padding: 34px 22px; }
  .lp-band .btn { width: 100%; }

  /* Menos espaço em branco entre os blocos no celular */
  .lp .section { padding: 48px 0; }
  .lp .lp-band-section { padding: 8px 0 48px; }
  .lp .section__head { margin-bottom: 24px; }
  .lp-cta { padding: 56px 0; }
  .lp-slider__controls { margin-top: 18px; }
}
