/**
 * Bloc : lg/groupe-stock
 *
 * Bloc stock véhicules d'occasion global du groupe.
 *
 * SPECS VISUELLES :
 * ─────────────────────────────────────────────────────────────
 * - Même specs que concession-stock mais avec données groupe (ACF Options)
 * - Badge "LG OCCASION"
 * - Grande image de fond (parc automobile)
 * - Overlay sombre avec titre + texte + CTA
 * - Les données proviennent de la page ACF Options (niveau groupe)
 *   et non des champs CPT de la concession
 * - Pas d'onglets de stock par concession (vue globale)
 *
 * BEM :
 *   .lg-groupe-stock
 *     __badge            → Badge "LG OCCASION"
 *     __background       → Image de fond (parc automobile)
 *     __overlay          → Overlay sombre sur l'image
 *     __title            → Titre principal
 *     __text             → Texte descriptif
 *     __cta              → CTA vers stock externe
 *
 * MOBILE-FIRST
 * ─────────────────────────────────────────────────────────────
 */

.lg-groupe-stock {
    position: relative;
    overflow: hidden;
  }

/* ── Background ─────────────────────────────────────────── */

.lg-groupe-stock__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
  }

/* ── Overlay ────────────────────────────────────────────── */

.lg-groupe-stock__overlay {
    position: relative;
    z-index: 1;
    padding: 3rem 1rem;
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.45) 100%
    );
  }

@media (min-width: 768px) {
    .lg-groupe-stock__overlay {
      padding: 5rem 2rem;
    }
  }

@media (min-width: 1200px) {
    .lg-groupe-stock__overlay {
      padding: 6rem 4rem;
    }
  }

/* ── Badge ──────────────────────────────────────────────── */

.lg-groupe-stock__badge {
    display: inline-block;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--color-red, #e30613);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
  }

/* ── Title ──────────────────────────────────────────────── */

.lg-groupe-stock__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

@media (min-width: 768px) {
    .lg-groupe-stock__title {
      font-size: 2rem;
    }
  }

@media (min-width: 1200px) {
    .lg-groupe-stock__title {
      font-size: 2.5rem;
    }
  }

/* ── Text ───────────────────────────────────────────────── */

.lg-groupe-stock__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 600px;
  }

/* ── CTA ────────────────────────────────────────────────── */

.lg-groupe-stock__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background-color: var(--color-red, #e30613);
    border: 2px solid var(--color-red, #e30613);
    border-radius: 4px;
    transition: background-color 0.2s ease;
    cursor: pointer;
  }

.lg-groupe-stock__cta:hover {
    background-color: var(--color-red-dark, #b8050f);
  }
