/* ============================================
   FLAGRANTE.CSS — LP de Defesa Criminal 24h
   Estende styles.css com componentes da LP
   Usa mesma paleta: preto + dourado + cream
============================================= */

/* ---------- 1. AJUSTES DE BASE ---------- */
.lp-flagrante { background: var(--black); }
.lp-flagrante .wa-float { display: none; }

.hide-on-mobile { display: inline-flex; }
@media (max-width: 768px) {
  .hide-on-mobile { display: none; }
}

/* ---------- 2. HEADER MINIMAL ---------- */
.lp-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base);
}
.lp-header.is-scrolled {
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.lp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.lp-header__logo img {
  height: 42px;
  width: auto;
}
.lp-header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

/* ---------- 3. HERO ---------- */
.lp-hero {
  position: relative;
  min-height: 100vh;
  padding: calc(72px + var(--s-8)) 0 var(--s-12);
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 75% 50%, rgba(201, 169, 97, 0.06), transparent 60%),
    linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
  overflow: hidden;
}

.lp-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  z-index: 2;
}

.lp-hero__content {
  max-width: 580px;
}

/* Badge "PLANTÃO 24h" com dot pulsante */
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gold-dark);
  border-radius: 100px;
  background: rgba(201, 169, 97, 0.08);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.lp-badge strong { font-weight: 700; }

.lp-badge__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
  animation: pulse-dot 1.8s ease-out infinite;
}
.lp-badge__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@keyframes pulse-ring {
  0%   { opacity: 0.7; transform: scale(0.8); }
  100% { opacity: 0;   transform: scale(1.8); }
}

.lp-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: var(--s-4);
  letter-spacing: -0.01em;
  text-wrap: balance;       /* distribui melhor em qualquer largura */
  -webkit-text-wrap: balance;
}

.lp-hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  color: var(--cream);
  opacity: 0.85;
  max-width: 540px;
  margin-bottom: var(--s-5);
}

.lp-hero__ctas {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-6);
}
.lp-cta { font-weight: 600; }

.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.lp-trust li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.85rem;
  color: var(--gray);
}
.lp-trust svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* Hero photo (Jéssica) */
.lp-hero__photo {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.lp-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-hero__photo-tag {
  position: absolute;
  left: var(--s-3);
  right: var(--s-3);
  bottom: var(--s-3);
  padding: var(--s-2) var(--s-3);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 2px solid var(--gold);
}
.lp-hero__photo-tag strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
}
.lp-hero__photo-tag span {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ---------- 4. URGÊNCIA (pilares) ---------- */
.lp-urgencia {
  padding: var(--s-16) 0;
  background: var(--black-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lp-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.lp-pillar {
  text-align: center;
  padding: var(--s-5) var(--s-3);
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all var(--t-base);
}
.lp-pillar:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
  background: var(--black-elev);
}
.lp-pillar__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--s-3);
  color: var(--gold);
}
.lp-pillar__icon svg { width: 100%; height: 100%; }
.lp-pillar h3 {
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: var(--s-2);
  font-weight: 500;
}
.lp-pillar p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ---------- 4.5 ANTES DE FAZER QUALQUER COISA (educa + autoridade) ---------- */
.lp-antes {
  padding: var(--s-16) 0;
  background:
    radial-gradient(ellipse at center top, rgba(201, 169, 97, 0.06), transparent 65%),
    var(--black);
  position: relative;
}
.lp-antes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.lp-antes__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4) var(--s-5);
  max-width: 960px;
  margin: 0 auto;
}

.lp-antes__item {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--black-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  transition: all var(--t-base);
}
.lp-antes__item:hover {
  border-color: var(--gold-dark);
  border-left-color: var(--gold);
  transform: translateY(-3px);
  background: var(--black-elev);
}

.lp-antes__num {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  min-width: 36px;
}

.lp-antes__item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: var(--s-1);
  line-height: 1.2;
}
.lp-antes__item p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gray);
}
.lp-antes__item strong { color: var(--cream); font-weight: 500; }

.lp-antes__cta {
  text-align: center;
  margin-top: var(--s-8);
}
.lp-antes__cta-note {
  font-size: 0.85rem;
  color: var(--gray-dim);
  letter-spacing: 0.04em;
  margin-top: var(--s-2);
}

/* ---------- 5. SERVIÇOS ---------- */
.lp-servicos {
  padding: var(--s-16) 0;
}
.lp-servicos__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-8);
  align-items: start;
}
.lp-servicos__intro p {
  font-size: 1.05rem;
  line-height: 1.65;
}
.lp-servicos__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.lp-servicos__list li {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all var(--t-base);
}
.lp-servicos__list li:hover {
  border-color: var(--gold-dark);
  transform: translateX(4px);
}
.lp-check {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-check svg { width: 18px; height: 18px; }
.lp-servicos__list strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: var(--s-1);
}
.lp-servicos__list p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ---------- 6. CRIMINALISTA (Jéssica destaque) ---------- */
.lp-criminalista {
  padding: var(--s-16) 0;
  background: var(--black-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lp-criminalista__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--s-8);
  align-items: center;
}
.lp-criminalista__photo {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  max-width: 420px;
}
.lp-criminalista__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-criminalista__role {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: var(--s-3);
}
.lp-criminalista__content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--s-2);
}
.lp-criminalista__content strong { color: var(--cream); }

/* ---------- 7. COMO FUNCIONA (steps) ---------- */
.lp-funciona {
  padding: var(--s-16) 0;
}
.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  counter-reset: step;
  position: relative;
}
.lp-steps li {
  text-align: center;
  padding: var(--s-3);
  position: relative;
}
.lp-steps li:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 24px;
  color: var(--gold-dark);
  font-size: 1.6rem;
  line-height: 1;
}
.lp-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: var(--s-3);
}
.lp-steps h3 {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: var(--s-2);
  font-weight: 500;
}
.lp-steps p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ---------- 8. FAQ ---------- */
.lp-faq {
  padding: var(--s-16) 0;
  background: var(--black-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lp-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: 860px;
  margin: 0 auto;
}
.lp-faq__item {
  padding: var(--s-4) var(--s-5);
  background: var(--black-card);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: var(--r-md);
  transition: all var(--t-base);
}
.lp-faq__item:hover {
  border-color: var(--line-strong);
  border-left-color: var(--gold);
  transform: translateX(2px);
}
.lp-faq__q {
  font-size: 1.15rem;
  font-weight: 500;
  font-family: var(--font-serif);
  color: var(--cream);
  margin-bottom: var(--s-2);
  letter-spacing: -0.005em;
}
.lp-faq__a {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ---------- 9. CTA FINAL ---------- */
.lp-final {
  padding: var(--s-20) 0;
  text-align: center;
  background:
    radial-gradient(ellipse at center top, rgba(201, 169, 97, 0.1), transparent 65%),
    var(--black);
}
.lp-final__inner {
  max-width: 720px;
  margin: 0 auto;
}
.lp-badge--center { margin-left: auto; margin-right: auto; }
.lp-final__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--cream);
  margin: var(--s-4) 0;
  letter-spacing: -0.01em;
}
.lp-final__sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: var(--s-6);
}
.lp-final__ctas {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--s-4);
}
.lp-final__address {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.9rem;
  color: var(--gray);
  padding-top: var(--s-6);
  margin-top: var(--s-4);
  border-top: 1px solid var(--line);
  width: 100%;
  justify-content: center;
}
.lp-final__address svg { color: var(--gold); }

/* ---------- 10. FOOTER MÍNIMO ---------- */
.lp-footer {
  padding: var(--s-6) 0 calc(var(--s-6) + 80px);
  background: var(--black);
  border-top: 1px solid var(--line);
  text-align: center;
}
.lp-footer__legal,
.lp-footer__copy {
  font-size: 0.85rem;
  color: var(--gray-dim);
  margin-bottom: var(--s-2);
}
.lp-footer__legal strong { color: var(--gray); }
.lp-footer__copy a {
  color: var(--gray);
  text-decoration: underline;
  margin: 0 0.3em;
}
.lp-footer__copy a:hover { color: var(--gold); }

/* ---------- 11. STICKY MOBILE CTAS ---------- */
.lp-sticky {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: none;
  z-index: 90;
  padding: var(--s-2);
  /* safe-area-inset pra iPhone com home indicator não cobrir */
  padding-bottom: max(var(--s-2), env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  gap: var(--s-1);
}
.lp-sticky__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  letter-spacing: 0.02em;
  transition: all var(--t-fast);
}
.lp-sticky__btn--gold {
  background: var(--gold);
  color: var(--black);
}
.lp-sticky__btn--gold:hover { background: var(--gold-soft); }
.lp-sticky__btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line-strong);
}
.lp-sticky__btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- 12. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .lp-hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .lp-hero__photo { max-width: 420px; margin: 0 auto; }
  .lp-pillars { grid-template-columns: repeat(2, 1fr); }
  .lp-servicos__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .lp-criminalista__inner { grid-template-columns: 1fr; gap: var(--s-5); max-width: 600px; margin: 0 auto; }
  .lp-criminalista__photo { margin: 0 auto; }
  .lp-steps { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-3); }
  .lp-steps li::after { display: none; }
}

@media (max-width: 768px) {
  /* ===== HERO ===== */
  .lp-hero {
    min-height: auto;
    padding-top: calc(72px + var(--s-4));
    padding-bottom: var(--s-8);
  }
  .lp-hero__title {
    font-size: clamp(1.95rem, 8vw, 2.6rem);
    line-height: 1.1;
  }
  .lp-hero__sub { font-size: 0.98rem; line-height: 1.55; }
  .lp-hero__ctas { flex-direction: column; align-items: stretch; gap: var(--s-2); }
  .lp-hero__ctas .btn { justify-content: center; }
  .lp-trust { flex-direction: column; gap: var(--s-1); margin-top: var(--s-2); }

  /* Foto Jéssica menor no mobile */
  .lp-hero__photo { max-width: 320px; margin: var(--s-2) auto 0; }
  .lp-hero__photo-tag strong { font-size: 1.05rem; }
  .lp-hero__photo-tag span { font-size: 0.72rem; }

  /* Badge 24h */
  .lp-badge { font-size: 0.72rem; padding: 0.4rem 0.85rem; }

  /* ===== PILARES — 2 colunas no mobile ===== */
  .lp-pillars { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .lp-pillar { padding: var(--s-4) var(--s-3); }
  .lp-pillar__icon { width: 40px; height: 40px; margin-bottom: var(--s-2); }
  .lp-pillar h3 { font-size: 1rem; }
  .lp-pillar p { font-size: 0.85rem; line-height: 1.5; }

  /* ===== SERVIÇOS ===== */
  .lp-servicos__list li { padding: var(--s-3); gap: var(--s-2); }
  .lp-servicos__list strong { font-size: 1.1rem; }
  .lp-servicos__list p { font-size: 0.88rem; }
  .lp-check { width: 32px; height: 32px; }
  .lp-check svg { width: 16px; height: 16px; }

  /* ===== JÉSSICA destaque ===== */
  .lp-criminalista__photo { max-width: 320px; }
  .lp-criminalista__role { font-size: 1rem; }
  .lp-criminalista__content p { font-size: 0.95rem; line-height: 1.65; }

  /* ===== COMO FUNCIONA ===== */
  .lp-steps { grid-template-columns: 1fr; gap: var(--s-4); }
  .lp-step__num { width: 44px; height: 44px; font-size: 1.15rem; }
  .lp-steps h3 { font-size: 1.05rem; }
  .lp-steps p { font-size: 0.85rem; }

  /* ===== FAQ ===== */
  .lp-faq__item { padding: var(--s-3) var(--s-4); }
  .lp-faq__q { font-size: 1rem; }
  .lp-faq__a { font-size: 0.9rem; line-height: 1.65; }

  /* ===== CTA FINAL ===== */
  .lp-final__title { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .lp-final__sub { font-size: 1rem; }
  .lp-final__ctas { flex-direction: column; gap: var(--s-2); }
  .lp-final__ctas .btn { width: 100%; justify-content: center; }
  .lp-final__address { font-size: 0.85rem; }

  /* ===== ANTES DE FAZER QUALQUER COISA ===== */
  .lp-antes__list { grid-template-columns: 1fr; gap: var(--s-3); }
  .lp-antes__item { padding: var(--s-3); }
  .lp-antes__num { font-size: 1.25rem; min-width: 32px; }
  .lp-antes__item h3 { font-size: 1.05rem; }
  .lp-antes__item p { font-size: 0.88rem; }

  /* ===== PADDING DE SEÇÕES ===== */
  .lp-antes,
  .lp-urgencia,
  .lp-servicos,
  .lp-criminalista,
  .lp-funciona,
  .lp-faq { padding: var(--s-10) 0; }
  .lp-final { padding: var(--s-12) 0; }

  /* ===== STICKY MOBILE CTAS ===== */
  .lp-sticky { display: flex; }
  .lp-sticky__btn { padding: 0.85rem 0.5rem; font-size: 0.92rem; }

  /* No mobile, header só mostra WhatsApp (Ligar tá no sticky) */
  .lp-header__actions .btn:not(.btn--gold) { display: none; }

  /* Footer com espaço pro sticky não cobrir */
  .lp-footer { padding-bottom: calc(var(--s-6) + 80px + env(safe-area-inset-bottom)); }
}

/* ---------- MOBILE PEQUENO (até 480px) ---------- */
@media (max-width: 480px) {
  .lp-hero__title { font-size: 1.75rem; }
  .lp-final__title { font-size: 1.8rem; }
  .lp-criminalista__photo { max-width: 280px; }
  .lp-hero__photo { max-width: 280px; }
}

/* ---------- MOBILE MICRO (até 360px) ---------- */
@media (max-width: 360px) {
  .lp-pillars { grid-template-columns: 1fr; }
  .lp-hero__title { font-size: 1.6rem; }
}
