/* ============================================================
   index.css — Page d'accueil Maison Liora
   Ajout : hero vidéo (.hero--video)
   ============================================================ */

/* ── Hero image (existant) ──────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22, 20, 15, 0.35) 0%,
    rgba(22, 20, 15, 0.55) 100%
  );
  z-index: 1;
}

/* ── Hero vidéo ────────────────────────────────────── */
.hero--video {
  background: #16140f; /* fallback pendant le chargement */
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* Overlay sombre par-dessus la vidéo */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22, 20, 15, 0.38) 0%,
    rgba(22, 20, 15, 0.58) 100%
  );
  z-index: 1;
}

/* Le contenu doit passer au-dessus de la vidéo et de l'overlay */
.hero--video .hero-content {
  position: relative;
  z-index: 2;
}

/* ── Contenu hero (commun image + vidéo) ──────────────── */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 2rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(.65rem, 1vw, .75rem);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--color-or);
  margin-bottom: 1rem;
  opacity: .9;
}

.hero-content h1 {
  font-family: var(--font-titre);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .02em;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: clamp(.82rem, 1.5vw, 1rem);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: .04em;
  color: rgba(255,255,255,.82);
  margin-bottom: 2.25rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Boutons hero ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-or);
  color: #faf5e8;
  border: 1.5px solid var(--color-or);
}
.btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.65);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  transform: translateY(-1px);
}

.btn-light {
  background: #fff;
  color: var(--color-noir);
  border: 1.5px solid #fff;
}
.btn-light:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-1px);
}

/* ── Catégories ─────────────────────────────────────── */
.categories {
  padding: 5rem 2rem 3rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.categories h2 {
  font-family: var(--font-titre);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--color-noir);
  margin-bottom: 2.5rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.category-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  align-items: flex-end;
  background: var(--color-sable);
  text-decoration: none;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30,28,23,.15);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.category-card:hover img { transform: scale(1.04); }

.category-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-taupe);
  opacity: .4;
}

.category-card span {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: .7rem 1rem;
  background: linear-gradient(to top, rgba(22,20,15,.75) 0%, transparent 100%);
  font-family: var(--font-titre);
  font-size: clamp(.85rem, 1.5vw, 1.05rem);
  font-weight: 400;
  letter-spacing: .08em;
  color: #fff;
  text-align: center;
}

/* ── Sections produits ───────────────────────────────── */
.home-products {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.home-products__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.home-products__eyebrow {
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-or);
  margin-bottom: .4rem;
  font-weight: 500;
}

.home-products__title {
  font-family: var(--font-titre);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--color-noir);
  letter-spacing: .06em;
}

.home-products__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-taupe);
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
  flex-shrink: 0;
}

.home-products__link:hover { color: var(--color-or); }

.home-products__grid { /* hérite collection-grid */ }
.home-products__grid--single { justify-content: center; }

/* ── Bannière promo ─────────────────────────────────── */
.promo-banner {
  background: var(--color-noir);
  padding: 5rem 2rem;
  text-align: center;
}

.promo-content { max-width: 600px; margin: 0 auto; }

.promo-content h2 {
  font-family: var(--font-titre);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: #f2ede6;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}

.promo-content p {
  font-size: clamp(.8rem, 1.5vw, .95rem);
  font-weight: 300;
  color: rgba(255,255,255,.6);
  letter-spacing: .06em;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ── Réassurance ────────────────────────────────────── */
.reassurance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(30,28,23,.08);
  border-bottom: 1px solid rgba(30,28,23,.08);
  background: var(--color-creme, #fdf9f2);
}

.reassurance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid rgba(30,28,23,.08);
  gap: .6rem;
}

.reassurance-item:last-child { border-right: none; }

.reassurance-item span { color: var(--color-or); }

.reassurance-item h3 {
  font-family: var(--font-titre);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-noir);
  letter-spacing: .05em;
}

.reassurance-item p {
  font-size: .78rem;
  color: var(--color-taupe);
  letter-spacing: .04em;
}
