/**
 * Accueil V2 — sections hero, catégories, avantages, PC GothamDev
 */

/* ---- HERO ---- */
.lgk-hero-v2 {
  position: relative;
  min-height: clamp(520px, 78vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #07090d;
}

.lgk-hero-v2__media {
  position: absolute;
  inset: 0;
}

.lgk-hero-v2__media picture,
.lgk-hero-v2__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lgk-hero-v2__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.94) 0%, rgba(7, 9, 13, 0.72) 42%, rgba(7, 9, 13, 0.25) 100%),
    linear-gradient(0deg, rgba(7, 9, 13, 0.88) 0%, transparent 45%);
  pointer-events: none;
}

/* Trame technique subtile (grille hardware) */
.lgk-hero-v2__shade::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 75%, transparent 100%);
}

/* Ligne d'énergie sous le hero */
.lgk-hero-v2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 3;
  background: linear-gradient(90deg, transparent 0%, #2563eb 25%, #22d3ee 50%, #7c3aed 75%, transparent 100%);
  opacity: 0.85;
}

.lgk-hero-v2__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 1280px);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 8rem) 0 clamp(2.5rem, 6vh, 4rem);
  max-width: 40rem;
}

.lgk-hero-v2__title {
  margin: 0.85rem 0 0.75rem;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 780;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.lgk-hero-v2__title em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lgk-hero-v2__lead {
  margin: 0;
  color: #cbd5e1;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  max-width: 34rem;
}

.lgk-hero-v2__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.lgk-hero-v2__cta .button {
  min-height: 3rem;
  padding-inline: 1.35rem;
}

.lgk-hero-v2__cta .button--ghost {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #fff;
  border-radius: 10px;
}

.lgk-hero-v2__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.lgk-hero-v2__trust li {
  color: #94a3b8;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lgk-hero-v2__trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
}

@media (max-width: 699px) {
  .lgk-hero-v2 {
    min-height: 88vh;
    align-items: end;
  }
  .lgk-hero-v2__shade {
    background:
      linear-gradient(0deg, rgba(7, 9, 13, 0.95) 0%, rgba(7, 9, 13, 0.55) 45%, rgba(7, 9, 13, 0.35) 100%);
  }
  .lgk-hero-v2__content {
    max-width: none;
    padding-bottom: 2rem;
  }
  .lgk-hero-v2__cta .button {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
    text-align: center;
  }
}

/* ---- CATEGORIES ---- */
.lgk-cats-v2 {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: #0a0c10;
}

.lgk-cats-v2__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (min-width: 900px) {
  .lgk-cats-v2__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.lgk-cats-v2__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 160px;
  padding: 1.15rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: #151a24;
  text-decoration: none;
  color: #fff;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease, box-shadow 180ms ease;
}

.lgk-cats-v2__card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.lgk-cats-v2__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity 220ms ease, transform 320ms ease;
}

.lgk-cats-v2__card:hover img {
  opacity: 0.6;
  transform: scale(1.05);
}

.lgk-cats-v2__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 9, 13, 0.92) 0%, rgba(7, 9, 13, 0.2) 70%);
  pointer-events: none;
}

.lgk-cats-v2__label {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.lgk-cats-v2__label::after {
  content: "→";
  font-size: 0.95em;
  color: #22d3ee;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 180ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lgk-cats-v2__card:hover .lgk-cats-v2__label::after {
  opacity: 1;
  transform: none;
}

/* Liseré lumineux en pied de carte catégorie */
.lgk-cats-v2__card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, #2563eb, #22d3ee);
  opacity: 0;
  transition: opacity 200ms ease;
}

.lgk-cats-v2__card:hover::before {
  opacity: 1;
}

.lgk-cats-v2__sub {
  position: relative;
  z-index: 1;
  margin-top: 0.2rem;
  color: #94a3b8;
  font-size: 0.82rem;
}

/* ---- ADVANTAGES ---- */
.lgk-adv-v2 {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: #11151f;
  border-block: 1px solid rgba(148, 163, 184, 0.1);
}

.lgk-adv-v2__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 700px) {
  .lgk-adv-v2__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .lgk-adv-v2__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lgk-adv-v2__item {
  padding: 1.25rem;
  border-radius: 14px;
  background: #151a24;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.lgk-adv-v2__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.16);
  color: #93c5fd;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.lgk-adv-v2__item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.lgk-adv-v2__item p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.45;
}

/* ---- PC GOTHAMDEV ---- */
.lgk-pcgd-v2 {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  background:
    radial-gradient(700px 280px at 90% 20%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(600px 260px at 10% 80%, rgba(37, 99, 235, 0.16), transparent 55%),
    #0a0c10;
}

.lgk-pcgd-v2__panel {
  position: relative;
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(135deg, rgba(21, 26, 36, 0.95), rgba(17, 21, 31, 0.9));
  overflow: hidden;
}

/* Lueur d'angle du panneau GothamDev */
.lgk-pcgd-v2__panel::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28), transparent 65%);
  pointer-events: none;
}

@media (min-width: 900px) {
  .lgk-pcgd-v2__panel {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.lgk-pcgd-v2__list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.lgk-pcgd-v2__list li {
  display: flex;
  gap: 0.55rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.lgk-pcgd-v2__list li::before {
  content: "✓";
  color: #22d3ee;
  font-weight: 700;
}

.lgk-pcgd-v2__visual {
  min-height: 240px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: #121722;
}

.lgk-pcgd-v2__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- UNIVERS SECONDAIRES ---- */
.lgk-sec-v2 {
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
  background: #11151f;
}

.lgk-sec-v2__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 800px) {
  .lgk-sec-v2__row {
    grid-template-columns: repeat(5, 1fr);
  }
}

.lgk-sec-v2__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0.85rem;
  text-align: center;
  text-decoration: none;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: #151a24;
  transition: border-color 160ms ease, color 160ms ease;
}

.lgk-sec-v2__link:hover {
  border-color: rgba(34, 211, 238, 0.45);
  color: #22d3ee;
}

/* ========== Hero boutique (2/3 + côtés) ========== */
.lgk-hero-shop {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem clamp(0.75rem, 2vw, 1.25rem) 0;
  max-width: 1400px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .lgk-hero-shop {
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 0.85rem;
    min-height: 420px;
  }
}
.lgk-hero-shop__main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(148, 163, 184, 0.14);
}
.lgk-hero-shop__media,
.lgk-hero-shop__media img,
.lgk-hero-shop__media picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lgk-hero-shop__fallback {
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 320px at 70% 30%, rgba(37,99,235,.35), transparent), linear-gradient(135deg,#0a0c10,#151a24);
}
.lgk-hero-shop__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,9,13,.92) 0%, rgba(7,9,13,.55) 48%, rgba(7,9,13,.2) 100%),
    linear-gradient(0deg, rgba(7,9,13,.75) 0%, transparent 50%);
}
.lgk-hero-shop__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
  min-height: 320px;
  padding: clamp(1.1rem, 3vw, 2rem);
  color: #fff;
}
.lgk-hero-shop__title {
  margin: 0;
  font-size: clamp(1.65rem, 4.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 750;
  text-wrap: balance;
}
.lgk-hero-shop__lead {
  margin: 0;
  max-width: 36rem;
  color: #cbd5e1;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
}
.lgk-hero-shop__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.25rem;
}
.lgk-hero-shop__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: #94a3b8;
}
.lgk-hero-shop__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
}
.lgk-hero-shop__badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.lgk-hero-shop__product-link {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.lgk-hero-shop__price {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 750;
  color: #fff;
}
.lgk-hero-shop__price s {
  margin-left: 0.4rem;
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.85em;
}
.lgk-hero-shop__avail { font-size: 0.78rem; color: #94a3b8; }
.lgk-hero-shop__avail--ok { color: #22c55e; }
.lgk-hero-shop__sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 900px) {
  .lgk-hero-shop__sides {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
}
.lgk-hero-shop__side {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 110px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(148,163,184,.14);
  background: #151a24;
}
.lgk-hero-shop__side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lgk-hero-shop__side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,9,13,.88), transparent 55%);
}
.lgk-hero-shop__side-label {
  position: relative;
  z-index: 1;
  padding: 0.85rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Grille produits accueil */
.lgk-grid-v2__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.lgk-grid-v2__all {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.lgk-grid-v2__products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (min-width: 900px) {
  .lgk-grid-v2__products {
    grid-template-columns: repeat(var(--products-per-row, 4), minmax(0, 1fr));
  }
}

/* Mosaïque composants */
.lgk-comp-v2__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 1.15rem;
}
@media (min-width: 700px) {
  .lgk-comp-v2__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .lgk-comp-v2__grid { grid-template-columns: repeat(6, 1fr); }
}
.lgk-comp-v2__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0.5rem;
  text-align: center;
  text-decoration: none;
  color: #e2e8f0;
  font-weight: 650;
  font-size: 0.82rem;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.12);
  background: #151a24;
  transition: border-color 160ms ease, transform 160ms ease;
}
.lgk-comp-v2__card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.lgk-comp-v2__card:hover {
  border-color: rgba(37,99,235,.5);
  transform: translateY(-2px);
}

/* Aide choix — compacte */
.lgk-help-v2__panel {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.12);
  background: #151a24;
}
.lgk-help-v2__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.lgk-hero-shop__secondary {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
}
.lgk-hero-shop__secondary a {
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.lgk-hero-shop__secondary a:hover { color: #cbd5e1; }

/* Avis accueil — compact */
.lgk-reviews-v2__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  align-items: flex-end;
}
.lgk-reviews-v2__score {
  display: grid;
  gap: 0.15rem;
  text-align: right;
}
.lgk-reviews-v2__rating {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.lgk-reviews-v2__meta { font-size: 0.82rem; color: #94a3b8; }
.lgk-reviews-v2__tp {
  font-size: 0.78rem;
  color: #22d3ee;
  text-decoration: none;
}
.lgk-reviews-v2__sources {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
}
.lgk-reviews-v2__list {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) {
  .lgk-reviews-v2__list { grid-template-columns: repeat(3, 1fr); }
}
.lgk-reviews-v2__item {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.12);
  background: #151a24;
}
.lgk-reviews-v2__stars { color: #00b67a; letter-spacing: 0.05em; font-size: 0.85rem; }
.lgk-reviews-v2__item-title { margin: 0.35rem 0 0; font-weight: 650; color: #e2e8f0; font-size: 0.9rem; }
.lgk-reviews-v2__item-text { margin: 0.35rem 0 0; color: #94a3b8; font-size: 0.82rem; line-height: 1.45; }
.lgk-reviews-v2__item-author { margin: 0.5rem 0 0; font-size: 0.75rem; color: #64748b; }

.lgk-footer-hub--shop {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .lgk-footer-hub--shop { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
