/* landing-hero.css
   Topo da home: header, pílula de novidade, hero e vitrine em celular com
   seletor de estilo (Romântico / Cinematográfico / Games).
   Prefixo .lh- (Landing Hero) para não conflitar com o Tailwind nem com os
   estilos das páginas de memória. */

:root {
  --lh-bege-2: #F5F0E6;
  --lh-ouro: #c8ab7f;
  --lh-ouro-escuro: #9a7c4f;
  --lh-texto: #1E2D3D;
  --lh-texto-suave: rgba(30, 45, 61, 0.72);
  --lh-texto-fraco: rgba(30, 45, 61, 0.52);
  --lh-rosa: #c4526a;
  --lh-rosa-claro: #e8849a;
  --lh-vinho: #8c143c;
  --lh-vinho-fundo: #2a0714;
  --lh-linha: rgba(30, 45, 61, 0.09);
  --lh-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --lh-script: "Dancing Script", "Brush Script MT", cursive;
  --lh-pixel: "Silkscreen", ui-monospace, monospace;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.lh-nav { display: flex; align-items: center; gap: 22px; }
.lh-nav-link { color: var(--lh-texto-suave); text-decoration: none; font-weight: 500; font-size: 15px; }
.lh-nav-link:hover { color: var(--lh-texto); }
.lh-nav-cta {
  display: none; text-decoration: none; font-weight: 600; font-size: 14px;
  color: var(--lh-vinho); border: 1.5px solid rgba(196, 82, 106, 0.35);
  border-radius: 999px; padding: 9px 16px;
  transition: background 0.18s ease;
}
.lh-nav-cta:hover { background: rgba(196, 82, 106, 0.06); }
@media (min-width: 640px) { .lh-nav-cta { display: inline-flex; } }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.lh-hero { position: relative; padding-top: 28px; padding-bottom: 72px; }
.lh-hero::before {
  content: ""; position: absolute; inset: -80px 0 auto; height: 620px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(420px 320px at 78% 38%, rgba(196, 82, 106, 0.14), transparent 70%),
    radial-gradient(360px 260px at 12% 10%, rgba(215, 179, 129, 0.18), transparent 70%);
}
.lh-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.lh-grid > * { min-width: 0; }
@media (min-width: 980px) {
  .lh-hero { padding-top: 44px; padding-bottom: 96px; }
  .lh-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 40px; }
}

.lh-novidade {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--lh-linha);
  box-shadow: 0 6px 18px -8px rgba(30, 45, 61, 0.18);
  color: var(--lh-texto); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lh-novidade:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(30, 45, 61, 0.25); }
.lh-novidade-tag {
  flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: var(--lh-texto); border-radius: 999px; padding: 4px 10px;
}
.lh-novidade-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lh-novidade-seta { flex-shrink: 0; width: 16px; height: 16px; color: var(--lh-rosa); transition: transform 0.18s ease; }
.lh-novidade:hover .lh-novidade-seta { transform: translateX(3px); }

.lh-eyebrow {
  margin: 28px 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--lh-ouro-escuro);
}
.lh-title {
  margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.04;
  font-size: clamp(38px, 6.2vw, 68px); text-wrap: balance; max-width: 13ch;
}
.lh-title em {
  font-family: var(--lh-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em;
  color: var(--lh-vinho); position: relative; white-space: nowrap;
}
.lh-title em::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: 0.02em; height: 0.1em; border-radius: 99px;
  background: linear-gradient(90deg, rgba(196, 82, 106, 0), rgba(196, 82, 106, 0.45), rgba(196, 82, 106, 0));
}
.lh-sub { margin: 22px 0 0; max-width: 46ch; font-size: 18px; line-height: 1.65; color: var(--lh-texto-suave); }

.lh-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 26px; border-radius: 16px; font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}
.lh-btn svg { width: 18px; height: 18px; }
.lh-btn:focus-visible, .lh-novidade:focus-visible, .lh-estilo:focus-visible, .lh-nav-cta:focus-visible {
  outline: 3px solid var(--lh-ouro); outline-offset: 3px;
}
.lh-btn-primario {
  color: #fff; background: linear-gradient(135deg, var(--lh-rosa) 0%, var(--lh-vinho) 100%);
  box-shadow: 0 14px 30px -12px rgba(140, 20, 60, 0.55);
}
.lh-btn-primario:hover { transform: translateY(-2px); filter: brightness(1.06); }
.lh-btn-secundario { color: var(--lh-texto); background: transparent; border: 1.5px solid rgba(30, 45, 61, 0.14); }
.lh-btn-secundario:hover { background: #fff; }
@media (max-width: 479px) { .lh-btn { flex: 1 1 100%; } }
/* Alternativa grátis no hero: link de texto, para não competir com o CTA. */
.lh-link-gratis {
  display: inline-block; margin-top: 12px; font-size: 14px; color: var(--lh-texto-suave);
  text-decoration: underline; text-underline-offset: 3px;
}
.lh-link-gratis:hover { color: var(--lh-texto); }
.lh-link-gratis:focus-visible { outline: 3px solid var(--lh-ouro); outline-offset: 3px; border-radius: 4px; }

.lh-garantias {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none;
  font-size: 14px; color: var(--lh-texto-fraco);
}
.lh-garantias li { display: inline-flex; align-items: center; gap: 7px; }
.lh-garantias svg { width: 16px; height: 16px; color: var(--lh-rosa); flex-shrink: 0; }
.lh-garantias strong { color: var(--lh-texto); font-weight: 600; }

/* ── Vitrine (celular) ──────────────────────────────────────────────────── */
.lh-vitrine { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.lh-palco { position: relative; width: 100%; max-width: 440px; display: flex; justify-content: center; padding: 12px 0; }
.lh-palco::before {
  content: ""; position: absolute; inset: 8% 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(196, 82, 106, 0.35), transparent);
  filter: blur(30px); z-index: 0;
}
.lh-celular {
  position: relative; z-index: 1;
  width: 292px; max-width: 78vw; aspect-ratio: 9 / 18.6;
  border-radius: 46px; padding: 10px; background: #15131a;
  box-shadow: 0 0 0 1.5px #3a3540, 0 40px 80px -30px rgba(42, 7, 20, 0.6), 0 18px 36px -18px rgba(30, 45, 61, 0.35);
  transform: rotate(-2.5deg);
}
.lh-celular::before { /* dynamic island */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; border-radius: 20px; background: #0b0a0d; z-index: 5;
}
.lh-tela { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; }
.lh-screen { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s ease; pointer-events: none; }
.lh-screen.is-active { opacity: 1; pointer-events: auto; }

/* Tela romântica */
.lh-s-rom {
  background: radial-gradient(120% 70% at 50% 0%, #5a1128 0%, var(--lh-vinho-fundo) 60%, #16030b 100%);
  color: #f5e6ea; padding: 54px 16px 16px; display: flex; flex-direction: column; gap: 10px;
}
.lh-s-rom .lh-marca { text-align: center; font-family: var(--lh-serif); font-size: 12px; letter-spacing: 0.08em; opacity: 0.75; }
.lh-s-rom h3 { margin: 0; text-align: center; font-family: var(--lh-serif); font-size: 21px; font-weight: 700; }
.lh-fotos { position: relative; flex: 1; min-height: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); }
.lh-fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.lh-fotos img.is-on { opacity: 1; }
.lh-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; }
.lh-dots i { width: 6px; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, 0.5); transition: width 0.3s ease, background 0.3s ease; }
.lh-dots i.is-on { width: 16px; background: #fff; }
.lh-contador {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(232, 132, 154, 0.2);
}
.lh-contador small { display: block; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.lh-contador span { font-family: var(--lh-script); font-size: 16px; line-height: 1.2; color: var(--lh-rosa-claro); }
.lh-contador b { font-size: 18px; color: var(--lh-rosa); }

/* Tela Eterflix */
.lh-s-flix { background: #0b0b0c; color: #fff; display: flex; flex-direction: column; }
.lh-s-flix .lh-capa { position: relative; height: 62%; }
.lh-s-flix .lh-capa img { width: 100%; height: 100%; object-fit: cover; }
.lh-s-flix .lh-capa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, 0.2) 0%, rgba(11, 11, 12, 0) 30%, #0b0b0c 100%); }
.lh-s-flix .lh-wm { position: absolute; top: 54px; left: 16px; z-index: 2; font-weight: 800; letter-spacing: 0.04em; color: #e50914; font-size: 17px; }
.lh-s-flix .lh-info { position: relative; z-index: 2; margin-top: -70px; padding: 0 16px; display: flex; flex-direction: column; gap: 8px; }
.lh-s-flix .lh-tipo { font-size: 10px; letter-spacing: 0.2em; color: #bbb; }
.lh-s-flix h3 { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.05; }
.lh-s-flix .lh-meta { font-size: 10.5px; color: #9a9a9a; }
.lh-s-flix .lh-meta b { color: #46d369; }
.lh-s-flix .lh-play { align-self: flex-start; background: #fff; color: #111; font-weight: 700; font-size: 12px; padding: 7px 16px; border-radius: 5px; }
.lh-s-flix .lh-fila { display: flex; gap: 6px; padding: 12px 16px 0; }
.lh-s-flix .lh-fila img { flex: 1; min-width: 0; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 5px; }

/* Tela Games */
.lh-s-game {
  background: linear-gradient(180deg, #1b2344 0%, #10152b 100%); color: #e8ecff;
  padding: 54px 14px 14px; display: flex; flex-direction: column; gap: 10px;
}
.lh-s-game .lh-hud { display: flex; align-items: center; gap: 10px; }
.lh-s-game .lh-avatar { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; border: 2px solid #5b7bff; flex-shrink: 0; }
.lh-s-game .lh-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lh-s-game .lh-lvl { font-family: var(--lh-pixel); font-size: 11px; color: #ffd166; }
.lh-s-game .lh-nome { font-weight: 800; font-size: 15px; }
.lh-s-game .lh-xp { height: 9px; border-radius: 9px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.lh-s-game .lh-xp i { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, #22c55e, #86efac); }
.lh-s-game .lh-xp-lbl { display: flex; justify-content: space-between; font-family: var(--lh-pixel); font-size: 9px; color: #9aa6d6; }
.lh-s-game h4 { margin: 6px 0 0; font-family: var(--lh-pixel); font-size: 11px; font-weight: 400; color: #9aa6d6; letter-spacing: 0.04em; }
.lh-s-game .lh-conq { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.lh-s-game .lh-conq div {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(91, 123, 255, 0.35);
  border-radius: 10px; padding: 8px; font-size: 11px; font-weight: 600; line-height: 1.3;
}
.lh-s-game .lh-conq div span { display: block; font-size: 16px; margin-bottom: 2px; }
.lh-s-game .lh-conq div.is-locked { opacity: 0.45; border-style: dashed; }
.lh-s-game .lh-missao { margin-top: auto; border-radius: 12px; padding: 11px; background: linear-gradient(135deg, #3b5bff, #7c3aed); }
.lh-s-game .lh-missao small { font-family: var(--lh-pixel); font-size: 9px; color: #ffd166; }
.lh-s-game .lh-missao p { margin: 3px 0 0; font-size: 12.5px; font-weight: 700; }

/* Chips flutuantes */
.lh-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--lh-linha); border-radius: 16px; padding: 10px 14px 10px 10px;
  box-shadow: 0 14px 30px -14px rgba(30, 45, 61, 0.35); font-size: 13px; color: var(--lh-texto);
  animation: lhFlutua 6s ease-in-out infinite;
}
.lh-chip-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; font-size: 15px; }
.lh-chip-ic svg { width: 16px; height: 16px; }
.lh-chip small { display: block; font-size: 11px; color: var(--lh-texto-fraco); }
.lh-chip strong { font-weight: 700; }
.lh-chip-musica { top: 38%; left: 0; }
.lh-chip-musica .lh-chip-ic { background: rgba(196, 82, 106, 0.12); color: var(--lh-rosa); }
.lh-chip-link { bottom: 27%; right: 0; animation-delay: -3s; }
.lh-chip-link .lh-chip-ic { background: rgba(200, 171, 127, 0.2); color: var(--lh-ouro-escuro); }
.lh-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; margin-left: 2px; }
.lh-eq i { width: 3px; background: var(--lh-rosa); border-radius: 2px; animation: lhEq 1s ease-in-out infinite; }
.lh-eq i:nth-child(2) { animation-delay: -0.35s; }
.lh-eq i:nth-child(3) { animation-delay: -0.7s; }
@keyframes lhEq { 0%, 100% { height: 4px; } 50% { height: 12px; } }
@keyframes lhFlutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 479px) {
  .lh-chip { font-size: 12px; padding: 8px 10px 8px 8px; }
  .lh-chip-ic { width: 26px; height: 26px; }
  .lh-chip-musica { top: 34%; }
  .lh-chip-link { bottom: 25%; }
}

/* Seletor de estilo */
.lh-estilos-lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lh-texto-fraco); }
.lh-estilos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 5px; border-radius: 999px;
  background: #fff; border: 1px solid var(--lh-linha); box-shadow: 0 6px 18px -10px rgba(30, 45, 61, 0.2);
}
.lh-estilo {
  border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--lh-texto-suave); background: transparent; padding: 9px 16px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 7px; transition: background 0.2s ease, color 0.2s ease;
}
.lh-estilo:hover { color: var(--lh-texto); }
.lh-estilo[aria-pressed="true"] { background: var(--lh-texto); color: #fff; }
.lh-estilo-novo {
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  background: #22c55e; color: #fff; padding: 2px 6px; border-radius: 6px;
}
.lh-vitrine-cta { font-size: 14px; color: var(--lh-texto-fraco); margin: -8px 0 0; text-align: center; }
.lh-vitrine-cta a { color: var(--lh-vinho); font-weight: 600; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .lh-chip, .lh-eq i { animation: none; }
  .lh-screen, .lh-fotos img, .lh-btn, .lh-novidade { transition: none; }
}
