:root {
  --bg: #07080b;
  --bg-soft: #111319;
  --text: #f6f7fb;
  --muted: #b8becd;
  --line: #1f2430;
  --yellow: #f8ee00;
  --yellow-soft: #cec500;
  --neon: #b7ff4c;
  --card: rgba(17, 19, 24, 0.75);
  --radius: 18px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 50% -10%, #1a1d26 0%, #08090d 55%, #040507 100%);
  overflow-x: hidden;
}

.bg-grid,
.bg-orb,
.bg-horizon {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
}

.bg-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.15) 70%, transparent 100%);
}

.bg-orb {
  filter: blur(70px);
}

.bg-orb-1 {
  background: radial-gradient(circle at 26% 12%, rgba(248, 238, 0, 0.32) 0%, rgba(248, 238, 0, 0) 45%);
}

.bg-orb-2 {
  background: radial-gradient(circle at 78% 70%, rgba(183, 255, 76, 0.12) 0%, rgba(183, 255, 76, 0) 42%);
}

.bg-horizon {
  inset: auto 0 0;
  height: 46vh;
  background:
    linear-gradient(to top, rgba(248, 238, 0, 0.16), rgba(248, 238, 0, 0) 18%),
    radial-gradient(70% 120% at 50% 100%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 65%);
  border-top: 1px solid rgba(248, 238, 0, 0.22);
  transform: perspective(500px) rotateX(42deg) translateY(30%);
  transform-origin: bottom;
}

.page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
}

/* ============ NAVIGATION (accueil + blog + contact) ============ */

.blog-nav {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.blog-nav-brand img {
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(248, 238, 0, 0.35);
}

.blog-nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-nav-links a {
  color: #eceef5;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.blog-nav-links a:hover {
  color: var(--yellow);
  border-color: rgba(248, 238, 0, 0.35);
  background: rgba(248, 238, 0, 0.06);
}

.blog-nav-links a[aria-current="page"] {
  color: var(--yellow);
  border-color: rgba(248, 238, 0, 0.35);
  background: rgba(248, 238, 0, 0.06);
}

@media (max-width: 480px) {
  .blog-nav-links a {
    font-size: 0.92rem;
    padding: 0.45rem 0.6rem;
  }
}

/* ============ HERO ============ */

.hero {
  position: relative;
  margin-top: 1.2rem;
  border: 1px solid rgba(248, 238, 0, 0.16);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(160deg, rgba(15, 17, 23, 0.86), rgba(10, 11, 15, 0.78));
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  left: -90px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 238, 0, 0.22) 0%, rgba(248, 238, 0, 0) 68%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Cascade d'entrée au chargement (hero au-dessus de la ligne de flottaison) */
.intro {
  opacity: 0;
  transform: translateY(14px);
  animation: introUp 640ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(120ms + var(--d, 0) * 110ms);
}

@keyframes introUp {
  to { opacity: 1; transform: translateY(0); }
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.brand-picto {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(248, 238, 0, 0.35), 0 0 22px rgba(248, 238, 0, 0.18);
}

.brand-logo {
  width: min(100%, 400px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 16px rgba(248, 238, 0, 0.18));
}

.subtitle {
  margin: 0.4rem 0 0;
  color: #f5f6fb;
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.35;
  max-width: 34ch;
}

.tagline {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ============ BOUTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn-ic {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #0c0d11;
  background: linear-gradient(130deg, #fff56e, var(--yellow) 42%, #dacd00);
  box-shadow: 0 8px 24px rgba(248, 238, 0, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 12px 34px rgba(248, 238, 0, 0.36), 0 0 0 1px rgba(255, 250, 168, 0.22) inset;
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
  border-color: rgba(248, 238, 0, 0.5);
  box-shadow: 0 0 26px rgba(248, 238, 0, 0.2);
}

/* ============ SECTION VIDÉOS ============ */

.videos {
  margin-top: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(14, 16, 22, 0.86), rgba(10, 11, 15, 0.8));
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 3.8vw, 2rem);
}

.videos-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem 1.2rem;
}

.videos-head h2 {
  margin: 0;
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 3.6vw, 1.85rem);
  letter-spacing: 0.02em;
}

.video-count {
  display: inline-block;
  margin-left: 0.4rem;
  transform: translateY(-3px);
  padding: 0.15rem 0.55rem;
  border: 1px solid rgba(248, 238, 0, 0.35);
  border-radius: 999px;
  background: rgba(248, 238, 0, 0.08);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.videos-head p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.search-wrap {
  position: relative;
  flex: 1 1 260px;
  max-width: 340px;
}

.search-ic {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: #9ea5b8;
  pointer-events: none;
}

#videoSearch {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.72rem 0.9rem 0.72rem 2.35rem;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

#videoSearch::placeholder {
  color: #9ea5b8;
}

#videoSearch:focus {
  border-color: rgba(248, 238, 0, 0.75);
  box-shadow: 0 0 0 3px rgba(248, 238, 0, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

.video-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

/* ============ CARTES VIDÉO ============ */

.video-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  opacity: 0;
  transform: translateY(14px);
  animation: cardIn 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--card-delay, 0ms);
}

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(248, 238, 0, 0.44);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.38), 0 0 22px rgba(248, 238, 0, 0.11);
}

.thumb-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0d0f14;
}

.thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 280ms ease;
}

.video-card:hover .thumb-link img {
  transform: scale(1.04);
}

.badge-new {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--yellow);
  color: #0c0d11;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(248, 238, 0, 0.4);
}

.video-content {
  padding: 0.85rem;
}

.video-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-title a {
  color: inherit;
  text-decoration: none;
}

.video-title a:hover {
  color: var(--yellow);
}

.video-date {
  margin: 0.4rem 0 0;
  color: #9ea5b8;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.video-meta {
  margin: 0.35rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-article {
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease, color 180ms ease;
}

.btn-article svg {
  width: 14px;
  height: 14px;
}

.btn-article:hover {
  color: var(--text);
  border-color: rgba(248, 238, 0, 0.5);
  box-shadow: 0 0 18px rgba(248, 238, 0, 0.16);
  transform: translateY(-1px);
}

.btn-watch {
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(248, 238, 0, 0.34);
  border-radius: 10px;
  color: #f7f9ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(248, 238, 0, 0.06);
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.btn-watch svg {
  width: 13px;
  height: 13px;
}

.btn-watch:hover {
  border-color: rgba(248, 238, 0, 0.72);
  box-shadow: 0 0 20px rgba(248, 238, 0, 0.2);
  transform: translateY(-1px);
}

/* ============ SKELETONS (chargement) ============ */

.skeleton-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
}

.sk {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.sk::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

.sk-thumb {
  aspect-ratio: 16 / 9;
}

.sk-line {
  height: 12px;
  border-radius: 6px;
  margin: 0.85rem;
}

.sk-line.short {
  width: 55%;
  margin-top: 0;
}

/* ============ VOIR PLUS / FOOTER ============ */

.more-wrap {
  margin-top: 1.4rem;
  text-align: center;
}

.btn-ghost {
  color: #0b0d10;
  background: #fff;
}

.btn-ghost:hover {
  background: #f9ef22;
  box-shadow: 0 0 26px rgba(248, 238, 0, 0.28);
}

.empty-state {
  margin: 1rem 0 0;
  color: var(--muted);
}

.video-info {
  margin: 0.8rem 0 0;
  color: #cbd3e6;
  font-size: 0.9rem;
}

.video-info a {
  color: var(--yellow);
}

.footer {
  margin-top: 1.6rem;
  padding: 1.2rem 0.4rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
}

.footer img {
  border-radius: 8px;
  opacity: 0.9;
}

.footer p {
  margin: 0;
  color: #8b93a7;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 0.6rem;
  color: #8b93a7;
  font-size: 0.82rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--yellow);
}

/* ============ REVEAL AU SCROLL ============ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============ HERO AVEC IMAGE (configurable depuis l'admin) ============ */

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero-kicker {
  margin: 0 0 0.7rem;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.hero-title-accent {
  color: var(--yellow);
  text-shadow: 0 0 26px rgba(248, 238, 0, 0.35);
}

.hero-has-image {
  min-height: clamp(320px, 44vh, 460px);
  display: flex;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Voile pour garder le texte lisible quelle que soit l'image. */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 11, 0.92) 0%, rgba(7, 8, 11, 0.72) 42%, rgba(7, 8, 11, 0.18) 75%, rgba(7, 8, 11, 0.05) 100%),
    linear-gradient(to top, rgba(7, 8, 11, 0.55), rgba(7, 8, 11, 0) 40%);
}

@media (max-width: 699px) {
  .hero-media::after {
    background: linear-gradient(rgba(7, 8, 11, 0.82), rgba(7, 8, 11, 0.66));
  }
}

/* ============ DEUX UNIVERS : VIDÉOS + PRODUITS ============ */

.universes {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  /* Produits à gauche, vidéos à droite. */
  .universes {
    grid-template-columns: 1fr 1fr;
  }

  /* Aucun produit publié : le panneau vidéos reprend toute la largeur. */
  .universes-solo {
    grid-template-columns: 1fr;
  }
}

.panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(14, 16, 22, 0.86), rgba(10, 11, 15, 0.8));
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 3.4vw, 1.7rem);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.panel-head h2 {
  margin: 0;
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-line {
  flex: 0 0 46px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(248, 238, 0, 0.5);
}

.panel-note {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.sub-head {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--yellow);
}

.sub-head-gap {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sub-head svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.sub-head h3 {
  margin: 0;
  color: var(--text);
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Vidéos longues (cartes compactes horizontales) ---------- */

.vl-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.7rem;
}

.vl-item {
  display: flex;
  gap: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: var(--card);
  padding: 0.55rem;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.vl-item:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 238, 0, 0.44);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34), 0 0 18px rgba(248, 238, 0, 0.1);
}

.vl-thumb {
  position: relative;
  flex: 0 0 148px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0d0f14;
}

.vl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.vl-item:hover .vl-thumb img {
  transform: scale(1.05);
}

.vl-thumb .badge-new {
  top: 0.4rem;
  left: 0.4rem;
}

.vl-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(7, 8, 11, 0.25);
  opacity: 0;
  transition: opacity 200ms ease;
}

.vl-item:hover .vl-play {
  opacity: 1;
}

.vl-play svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.vl-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  padding-right: 0.3rem;
}

.vl-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vl-title a {
  color: inherit;
  text-decoration: none;
}

.vl-title a:hover {
  color: var(--yellow);
}

.vl-date {
  margin: 0;
  color: #9ea5b8;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.vl-article {
  align-self: flex-start;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(248, 238, 0, 0.4);
  padding-bottom: 1px;
}

.vl-article:hover {
  color: var(--yellow);
}

@media (max-width: 480px) {
  .vl-thumb {
    flex-basis: 118px;
  }
}

/* ---------- Shorts & Reels ---------- */

.shorts-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.short-card {
  min-width: 0;
}

.short-thumb {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: #0d0f14;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.short-thumb:hover {
  transform: translateY(-3px);
  border-color: rgba(248, 238, 0, 0.5);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35), 0 0 18px rgba(248, 238, 0, 0.12);
}

.short-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.short-tag {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(7, 8, 11, 0.78);
  border: 1px solid rgba(248, 238, 0, 0.4);
  color: var(--yellow);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.short-tag svg {
  width: 10px;
  height: 10px;
}

.short-title {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.short-title a {
  color: inherit;
  text-decoration: none;
}

.short-title a:hover {
  color: var(--yellow);
}

/* ---------- Produits testés ---------- */

.products-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

@media (min-width: 560px) and (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(248, 238, 0, 0.5);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.36), 0 0 20px rgba(248, 238, 0, 0.12);
}

.product-main {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-img {
  display: block;
  aspect-ratio: 4 / 3;
  background: #101218;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-title {
  margin: 0;
  padding: 0.65rem 0.75rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card:hover .product-title {
  color: var(--yellow);
}

/* Accès vidéo YouTube — secondaire, ne vole pas le clic principal. */
.product-yt {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(7, 8, 11, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.product-yt svg {
  width: 16px;
  height: 16px;
}

.product-yt:hover {
  background: #ff0000;
  border-color: #ff4d4d;
  transform: scale(1.06);
}

/* ---------- Voir plus / pied de panneau ---------- */

.more-inline {
  margin-top: 0.7rem;
}

.btn-more {
  width: 100%;
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn-more:hover {
  color: var(--text);
  border-color: rgba(248, 238, 0, 0.5);
  box-shadow: 0 0 16px rgba(248, 238, 0, 0.14);
}

.panel-foot {
  margin-top: 1.3rem;
  text-align: center;
}

/* ============ RESPONSIVE ============ */

@media (min-width: 700px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page {
    padding-top: 2.3rem;
  }
}

@media (max-width: 699px) {
  .brand-logo {
    width: min(100%, 300px);
  }

  .brand-picto {
    width: 38px;
    height: 38px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .search-wrap {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .intro,
  .video-card,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
