/* ============================================================
   PAGE TÉMOIGNAGES — Nous Unique (premium)
   ============================================================ */
.tem-page {
  --tem-ink: #0b0b0c;
  --tem-cream: #f6f3ee;
  --tem-gold: #c2a36b;
  --tem-gold-bright: #d8bd86;
  --tem-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  background: var(--tem-cream);
}

/* ---------- HERO ---------- */
.tem-hero {
  position: relative;
  padding: 170px 24px 72px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(11, 11, 12, 0.82), rgba(11, 11, 12, 0.92)),
    radial-gradient(60% 130% at 50% 0%, rgba(194, 163, 107, 0.38), transparent 60%),
    var(--tem-ink);
}
.tem-hero .eyebrow {
  color: var(--tem-gold-bright);
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}
.tem-hero h1 {
  font-family: var(--tem-serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  margin: 16px 0 12px;
  line-height: 1.05;
}
.tem-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.06rem;
  line-height: 1.6;
}
.tem-stars {
  color: var(--tem-gold-bright);
  font-size: 22px;
  letter-spacing: 4px;
  margin-top: 20px;
}
.tem-hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.tem-hero-stats .stat strong {
  display: block;
  font-family: var(--tem-serif);
  font-size: 1.9rem;
  color: var(--tem-gold-bright);
}
.tem-hero-stats .stat span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- SECTIONS ---------- */
.tem-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 66px 24px;
}
.tem-section-head {
  text-align: center;
  margin-bottom: 42px;
}
.tem-section-head .eyebrow {
  color: var(--tem-gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
}
.tem-section-head h2 {
  font-family: var(--tem-serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  margin: 12px 0 0;
  color: #111;
}
.tem-section-head .line {
  width: 56px;
  height: 2px;
  background: var(--tem-gold);
  margin: 16px auto 0;
}
.tem-section-head p {
  color: #6b6157;
  margin: 14px auto 0;
  max-width: 560px;
}

/* ---------- VIDÉOS (reels Facebook) ---------- */
.reels-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
}
.reel-card {
  width: 267px;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.reel-card iframe {
  display: block;
  width: 267px;
  height: 476px;
  max-width: 100%;
  border: 0;
}

/* Carte vidéo cliquable (fallback pour les reels non intégrables) */
.reel-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 476px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 34%, rgba(194, 163, 107, 0.28), transparent 62%),
    linear-gradient(160deg, #1c1c1f 0%, #0b0b0c 65%);
  transition: transform 0.35s ease;
}
.reel-link:hover { transform: translateY(-4px); }
.reel-link .reel-play {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tem-gold);
  color: #1a1305;
  box-shadow: 0 12px 34px rgba(194, 163, 107, 0.45);
  transition: transform 0.35s ease;
}
.reel-link:hover .reel-play { transform: scale(1.08); }
.reel-link .reel-label { font-family: var(--tem-serif); font-size: 1.35rem; }
.reel-link .reel-sub {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tem-gold-bright);
}

/* ---------- GALERIE (captures Facebook) ---------- */
.tem-gallery {
  column-count: 4;
  column-gap: 16px;
}
.tem-item {
  break-inside: avoid;
  margin: 0 0 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  cursor: zoom-in;
  position: relative;
}
.tem-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tem-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.tem-item:hover img { transform: scale(1.05); }
.tem-item:hover::after { opacity: 1; }

@media (max-width: 1100px) { .tem-gallery { column-count: 3; } }
@media (max-width: 760px)  { .tem-gallery { column-count: 2; column-gap: 12px; } .tem-item { margin-bottom: 12px; } }

/* ---------- CTA ---------- */
.tem-cta {
  text-align: center;
  background:
    linear-gradient(rgba(11, 11, 12, 0.9), rgba(11, 11, 12, 0.95)),
    radial-gradient(60% 130% at 50% 0%, rgba(194, 163, 107, 0.3), transparent 60%),
    var(--tem-ink);
  color: #fff;
  padding: 76px 24px;
}
.tem-cta h2 {
  font-family: var(--tem-serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin: 0 0 12px;
}
.tem-cta p { color: rgba(255, 255, 255, 0.78); margin: 0 0 28px; }
.tem-cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.tem-btn {
  display: inline-block;
  padding: 16px 36px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.tem-btn-gold { background: var(--tem-gold); color: #1a1305; }
.tem-btn-gold:hover { background: var(--tem-gold-bright); transform: translateY(-3px); }
.tem-btn-ghost { border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; }
.tem-btn-ghost:hover { background: #fff; color: #111; transform: translateY(-3px); }

/* ---------- LIGHTBOX ---------- */
.tem-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
  cursor: zoom-out;
}
.tem-lightbox.open { display: flex; }
.tem-lightbox img {
  max-width: 95vw;
  max-height: 92vh;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}
.tem-lightbox .lb-close {
  position: absolute;
  top: 16px;
  right: 26px;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}
.tem-lightbox .lb-close:hover { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .tem-item img { transition: none; }
}
