/* ==========================================================================
   Link Stream (home / hub) — navy + orange identity, per-product color cards
   ========================================================================== */
:root {
  --bg-deep: #0B1830;
  --bg-panel: #11213D;
  --bg-panel-2: #172A4C;
  --primary: #17A24A;
  --primary-hover: #14893E;
  --gold: #F4711C;
  --gold-deep: #C2540E;
  --text-on-dark: #F4F8F6;
  --text-muted-on-dark: #9FB3AA;
  --border-dark: rgba(244, 248, 246, 0.10);
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Per-product accent colors */
  --c-online: #F4711C;
  --c-smartbook: #22C55E;
  --c-presencial: #3B82F6;
  --c-mentoria: #A855F7;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure, ul { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

body {
  font-family: "Archivo", "Segoe UI", sans-serif;
  min-height: 100dvh;
  color: var(--text-on-dark);
  background:
    radial-gradient(120% 80% at 50% -5%, rgba(244, 113, 28, 0.14), transparent 55%),
    radial-gradient(90% 60% at 50% 110%, rgba(23, 162, 74, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-deep), #0F1215);
  -webkit-font-smoothing: antialiased;
  padding: clamp(1.5rem, 5vw, 3rem) 1.25rem;
  display: flex;
  justify-content: center;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gold);
  z-index: 10;
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 10px;
}

.ls-wrap {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- Banner: single ready-made image (photo + brand + name + credentials baked in) ---- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ls-banner {
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  line-height: 0;
}
.ls-banner__img {
  display: block;
  width: 100%;
  height: auto;
}
/* Dedicated transition strip: eases from the photo's own near-black
   bottom edge into the page background, so there's no visible seam. */
.ls-banner__fade {
  width: 100%;
  height: 64px;
  background: linear-gradient(180deg, #040404, var(--bg-deep));
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

@media (max-width: 640px) {
  .ls-banner,
  .ls-banner__fade {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-radius: 0;
  }
  .ls-banner__fade { height: 48px; }
}

/* ---- Product cards ---- */
.ls-cards {
  width: 100%;
  margin-top: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.ls-card {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 0.9rem;
  background: var(--bg-panel);
  border: 1px solid color-mix(in srgb, var(--c) 35%, var(--border-dark));
  border-radius: var(--radius-lg);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.ls-card:hover {
  transform: translateY(-3px);
  border-color: var(--c);
  background: var(--bg-panel-2);
}
.ls-card--online { --c: var(--c-online); }
.ls-card--smartbook { --c: var(--c-smartbook); }
.ls-card--presencial { --c: var(--c-presencial); }
.ls-card--mentoria { --c: var(--c-mentoria); }

.ls-card__media {
  flex-shrink: 0;
  width: 128px;
  align-self: stretch;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-panel-2), var(--bg-deep));
  position: relative;
}
.ls-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ls-card__media--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--c);
  border: 1px dashed color-mix(in srgb, var(--c) 45%, transparent);
}

.ls-card__badge {
  position: absolute;
  top: 0.4rem; left: 0.4rem;
  max-width: calc(100% - 0.8rem);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #08101F;
  background: var(--c);
  padding: 0.2rem 0.35rem;
  border-radius: 5px;
  z-index: 2;
}
.ls-card__arrow {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--c);
  color: var(--c);
  display: flex; align-items: center; justify-content: center;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease);
}
.ls-card:hover .ls-card__arrow { background: var(--c); color: #08101F; transform: translateX(2px); }

.ls-card__body { flex: 1; min-width: 0; padding-right: 2.2rem; }
.ls-card__title {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.ls-card__title span { color: var(--c); }
.ls-card__label {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--c);
  text-transform: uppercase;
}
.ls-card__desc {
  margin-top: 0.3rem;
  font-size: 0.83rem;
  color: var(--text-muted-on-dark);
  line-height: 1.4;
}
.ls-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--c);
  color: var(--c);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .ls-card { flex-direction: column; }
  .ls-card__media { width: 100%; aspect-ratio: 1 / 1; }
  .ls-card__body { padding-right: 0; }
  .ls-card__arrow { top: 0.6rem; right: 0.6rem; }
}

/* ---- WhatsApp CTA bar ---- */
.ls-wa-bar {
  width: 100%;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--bg-panel);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-lg);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}
.ls-wa-bar:hover { transform: translateY(-2px); border-color: #22C55E; }
.ls-wa-bar__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #22C55E;
  color: #08101F;
}
.ls-wa-bar__body { flex: 1; min-width: 0; }
.ls-wa-bar__title { font-weight: 800; text-transform: uppercase; font-size: 0.95rem; }
.ls-wa-bar__title span { color: #22C55E; }
.ls-wa-bar__desc { margin-top: 0.15rem; font-size: 0.8rem; color: var(--text-muted-on-dark); }
.ls-wa-bar__arrow {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid #22C55E;
  color: #22C55E;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Social + rating ---- */
.ls-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.8rem;
}
.ls-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted-on-dark);
  transition: color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}
.ls-social a:hover {
  color: var(--gold);
  border-color: rgba(244, 113, 28, 0.5);
  transform: translateY(-2px);
}
.ls-social__ig:hover {
  color: #fff;
  border-color: transparent;
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.ls-social__yt:hover {
  color: #fff;
  border-color: transparent;
  background: #FF0000;
}

.ls-bottom {
  width: 100%;
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-dark);
}
.ls-rating { text-align: center; }
.ls-rating__stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.95rem; }
.ls-rating p { margin-top: 0.3rem; font-size: 0.75rem; color: var(--text-muted-on-dark); }
.ls-rating p strong { color: var(--gold); display: block; }

.ls-shield {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.1rem;
  width: 76px; height: 84px;
  clip-path: polygon(50% 0%, 100% 20%, 100% 75%, 50% 100%, 0% 75%, 0% 20%);
  background: linear-gradient(160deg, var(--gold), var(--gold-deep));
  color: #08101F;
}
.ls-shield strong { font-size: 1.1rem; font-weight: 800; line-height: 1; }
.ls-shield span { font-size: 0.5rem; font-weight: 700; text-align: center; letter-spacing: 0.02em; line-height: 1.1; }

/* ---- Footer ---- */
.ls-foot {
  margin-top: 2rem;
  text-align: center;
  color: var(--text-muted-on-dark);
}
.ls-foot p {
  font-size: 0.76rem;
  line-height: 1.5;
}
