/*
Theme Name: Salle Obscure
Theme URI: https://www.blurayenfrancais.com
Author: Blu-ray en Français
Author URI: https://www.blurayenfrancais.com
Description: Thème sombre et élégant pour site de critiques Blu-ray & 4K UHD. Design "Salle Obscure" avec accents dorés, typographies Playfair Display et Barlow Condensed. Optimisé pour les critiques de films, séries et tests techniques.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salle-obscure
Tags: dark, movies, cinema, reviews, blu-ray, custom-colors, custom-menu, featured-images, post-thumbnails, custom-logo, translation-ready
*/

/* ─── VARIABLES ─── */
:root {
  --noir:        #080a0e;
  --noir-2:      #0f1219;
  --noir-3:      #161b24;
  --noir-4:      #1e2530;
  --or:          #c9a84c;
  --or-clair:    #e8c97a;
  --or-pale:     #f5e8bb;
  --bleu:        #1a3a5c;
  --bleu-vif:    #2a6aad;
  --texte:       #d4cfc8;
  --texte-2:     #8a857e;
  --blanc:       #f4f0e8;
  --rouge:       #e85d7a;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--noir);
  color: var(--texte);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--or); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--or-clair); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--blanc);
  line-height: 1.2;
}

p { margin-bottom: 1em; color: var(--texte); }
ul, ol { padding-left: 1.5em; }
li { margin-bottom: 0.4em; }

/* ─── CONTENEUR ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ─── HEADER ─── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 10, 14, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  animation: slideDown 0.6s ease both;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 40px;
}

/* ─── LOGO ─── */
.site-logo-wrap { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.site-logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--or);
  letter-spacing: 0.04em;
}
.site-logo-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 300;
  color: var(--texte-2);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 3px;
}
.custom-logo { max-height: 50px; width: auto; }

/* ─── NAVIGATION ─── */
#site-navigation { display: flex; align-items: center; gap: 32px; }

#site-navigation ul {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 0; margin: 0;
}

#site-navigation ul li { position: relative; }

#site-navigation ul li a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--texte-2);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 4px;
  position: relative;
}

#site-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

#site-navigation ul li a:hover,
#site-navigation ul li.current-menu-item > a { color: var(--or-clair); }
#site-navigation ul li a:hover::after,
#site-navigation ul li.current-menu-item > a::after { transform: scaleX(1); }

/* Dropdown */
#site-navigation ul li ul {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 200px;
  background: var(--noir-2);
  border: 1px solid rgba(201,168,76,0.2);
  border-top: 2px solid var(--or);
  flex-direction: column;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
}
#site-navigation ul li:hover > ul {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
#site-navigation ul li ul li a {
  display: block;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
#site-navigation ul li ul li a::after { display: none; }

/* Menu CTA */
.menu-item-cta > a {
  background: var(--or) !important;
  color: var(--noir) !important;
  padding: 7px 18px !important;
  border-radius: 2px;
  font-weight: 700 !important;
}
.menu-item-cta > a:hover { background: var(--or-clair) !important; }
.menu-item-cta > a::after { display: none !important; }

/* Burger mobile */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--or);
  padding: 8px 12px;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── HERO (page d'accueil) ─── */
.hero-section {
  position: relative;
  height: 85vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg-layer {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(26,58,92,0.4) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.08) 0%, transparent 50%),
              linear-gradient(135deg, #080a0e 0%, #0f1a2e 50%, #0a0c10 100%);
}

.hero-thumbnail {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 58%;
  background-size: cover;
  background-position: center;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 30%, black 100%),
              linear-gradient(to top, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 28%, black 100%);
  opacity: 0.65;
}
.hero-thumbnail::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--noir) 0%, transparent 35%),
              linear-gradient(to top, var(--noir) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 50px 60px 70px;
  max-width: 620px;
  animation: heroSlideUp 0.9s ease 0.5s both;
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.hero-badge::before { content: ''; width: 30px; height: 1px; background: var(--or); }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--blanc);
  margin-bottom: 18px;
}
.hero-title em { font-style: italic; color: var(--or-clair); }

.hero-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--texte-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-excerpt {
  font-size: 15px;
  line-height: 1.75;
  color: var(--texte);
  max-width: 460px;
  margin-bottom: 28px;
}

.so-stars { display: flex; gap: 4px; margin-bottom: 28px; }
.so-star {
  width: 16px; height: 16px;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  background: var(--or);
}
.so-star.empty { background: var(--noir-4); }

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--or);
  color: var(--or-clair);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
}
.hero-btn:hover { background: var(--or); color: var(--noir); }
.hero-btn svg { transition: transform 0.3s; }
.hero-btn:hover svg { transform: translateX(4px); }

/* ─── DIVIDER ─── */
.so-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 60px;
  margin: 50px 0 40px;
}
.so-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.3));
}
.so-divider-line.right { background: linear-gradient(to left, transparent, rgba(201,168,76,0.3)); }
.so-divider-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--or);
  white-space: nowrap;
}

/* ─── SECTION HEADER ─── */
.so-section-header {
  padding: 0 60px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}
.so-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--blanc);
}
.so-section-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texte-2);
  transition: color 0.2s;
}
.so-section-link:hover { color: var(--or); }

/* ─── GRILLE FILMS (home) ─── */
.films-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 0 60px;
  margin-bottom: 60px;
}

.film-card {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--noir-3);
}

.film-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.85) saturate(0.9);
}
.film-card:hover .film-card-img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}

.film-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,14,0.97) 0%, rgba(8,10,14,0.25) 50%, transparent 100%);
}

.film-card-hover {
  position: absolute; inset: 0;
  background: rgba(8,10,14,0.65);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.film-card:hover .film-card-hover { opacity: 1; }

.film-play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--or);
  display: flex; align-items: center; justify-content: center;
  color: var(--or);
  transform: scale(0.8);
  transition: transform 0.3s;
}
.film-card:hover .film-play-btn { transform: scale(1); }

.film-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 18px 18px;
}

.film-genre-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 6px;
}

.film-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--blanc);
  line-height: 1.2;
  margin-bottom: 8px;
}

.film-note-line {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  color: var(--texte-2);
  display: flex; align-items: center; gap: 6px;
}
.film-score { font-size: 15px; font-weight: 700; color: var(--or-clair); }

.coup-coeur-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 5px;
  display: block;
}
.coup-coeur-badge::before { content: '♥ '; }

/* ─── FEATURED ROW ─── */
.featured-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3px;
  padding: 0 60px;
  margin-bottom: 60px;
  height: 420px;
}

.featured-main {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.featured-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s, filter 0.4s;
  filter: brightness(0.7) saturate(0.85);
}
.featured-main:hover img { transform: scale(1.04); filter: brightness(0.9) saturate(1); }

.featured-main-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,14,0.98) 0%, rgba(8,10,14,0.2) 60%, transparent 100%);
}

.featured-main-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  background: var(--or);
  color: var(--noir);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.featured-main-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--blanc);
  line-height: 1.15;
  margin-bottom: 10px;
}

.featured-main-excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: var(--texte-2);
  max-width: 360px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-side { display: flex; flex-direction: column; gap: 3px; }

.featured-side-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.featured-side-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s, filter 0.3s;
  filter: brightness(0.7) saturate(0.8);
}
.featured-side-card:hover img { transform: scale(1.06); filter: brightness(0.9) saturate(1); }

.featured-side-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,14,0.97) 0%, transparent 65%);
}

.featured-side-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
}
.featured-side-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--blanc);
  margin-bottom: 3px;
}
.featured-side-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--or);
  text-transform: uppercase;
}

/* ─── LISTE DE TESTS ─── */
.tests-list {
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 60px;
}

.test-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  background: var(--noir-2);
  overflow: hidden;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}
.test-item:hover { background: var(--noir-3); border-left-color: var(--or); }

.test-poster {
  width: 80px; height: 100px;
  object-fit: cover;
  filter: saturate(0.8);
  transition: filter 0.3s;
}
.test-item:hover .test-poster { filter: saturate(1.1); }

.test-body { padding: 14px 20px; display: flex; flex-direction: column; justify-content: center; }
.test-cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--or); margin-bottom: 5px;
}
.test-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700;
  color: var(--blanc); margin-bottom: 4px;
}
.test-excerpt {
  font-size: 12px; line-height: 1.5; color: var(--texte-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.test-scores {
  display: flex; flex-direction: column;
  align-items: flex-end; justify-content: center;
  padding: 14px 20px; gap: 6px; min-width: 130px;
}
.score-line {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.08em; color: var(--texte-2);
}
.score-val { font-size: 14px; font-weight: 700; color: var(--or-clair); min-width: 40px; text-align: right; }

/* ─── TAGS / CATÉGORIES ─── */
.tags-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 0 60px; margin-bottom: 50px;
}
.so-tag {
  padding: 6px 16px;
  border: 1px solid rgba(201,168,76,0.2);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--texte-2);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.so-tag:hover, .so-tag.active, .so-tag.current-cat {
  background: var(--or);
  border-color: var(--or);
  color: var(--noir);
}

/* ─── BANNIÈRE BON PLAN ─── */
.bonplan-banner {
  margin: 0 60px 60px;
  padding: 32px 40px;
  background: linear-gradient(135deg, var(--noir-3) 0%, var(--bleu) 100%);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex; align-items: center;
  justify-content: space-between; gap: 30px;
  position: relative; overflow: hidden;
}
.bonplan-banner::before {
  content: '💿';
  position: absolute; right: 160px;
  font-size: 120px; opacity: 0.05;
  top: 50%; transform: translateY(-50%);
}
.bonplan-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--or); margin-bottom: 8px;
}
.bonplan-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; color: var(--blanc);
}
.bonplan-sub { font-size: 13px; color: var(--texte-2); margin-top: 6px; }
.bonplan-btn {
  flex-shrink: 0;
  padding: 14px 30px;
  background: var(--or); color: var(--noir);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.bonplan-btn:hover { background: var(--or-clair); transform: translateY(-1px); color: var(--noir); }

/* ─── SINGLE POST ─── */
.single-hero {
  position: relative;
  height: 60vh; min-height: 400px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.single-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  filter: brightness(0.35) saturate(0.7);
}
.single-hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--noir) 0%, rgba(8,10,14,0.6) 60%, transparent 100%);
}
.single-hero-content {
  position: relative; z-index: 2;
  padding: 50px 60px;
  max-width: 800px;
}
.single-post-cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--or); margin-bottom: 12px;
  display: block;
}
.single-post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900; color: var(--blanc);
  line-height: 1.15; margin-bottom: 16px;
}
.single-post-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 0.12em;
  color: var(--texte-2); text-transform: uppercase;
}

/* ─── CONTENT LAYOUT ─── */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 50px 60px;
  max-width: 1280px;
  margin: 0 auto;
}

.single-content, .archive-content { min-width: 0; }

/* ─── NOTE TECHNIQUE (custom fields) ─── */
.note-technique {
  background: var(--noir-2);
  border: 1px solid rgba(201,168,76,0.2);
  border-top: 3px solid var(--or);
  padding: 28px;
  margin-bottom: 40px;
}
.note-tech-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--or); margin-bottom: 20px;
}
.note-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.note-tech-item {}
.note-tech-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.15em;
  color: var(--texte-2); text-transform: uppercase;
  margin-bottom: 6px;
}
.note-tech-score {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700; color: var(--or-clair);
  line-height: 1;
}
.note-tech-sub { font-size: 11px; color: var(--texte-2); margin-top: 3px; }

.note-bar {
  height: 4px;
  background: var(--noir-4);
  margin-top: 8px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.note-bar-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  background: linear-gradient(to right, var(--or), var(--or-clair));
  border-radius: 2px;
}

/* ─── ARTICLE CONTENT ─── */
.entry-content {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--texte);
}
.entry-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--blanc);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.entry-content h3 {
  font-size: 18px; color: var(--or-clair);
  margin: 28px 0 12px;
}
.entry-content p { margin-bottom: 1.3em; }
.entry-content strong { color: var(--or-pale); font-weight: 600; }
.entry-content em { color: var(--or-clair); }
.entry-content blockquote {
  border-left: 3px solid var(--or);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--noir-2);
  font-style: italic;
  color: var(--texte-2);
}
.entry-content a { color: var(--or); }
.entry-content a:hover { color: var(--or-clair); }
.entry-content img {
  max-width: 100%;
  border: 1px solid rgba(201,168,76,0.15);
  margin: 20px 0;
}

/* ─── VERDICT BOX ─── */
.verdict-box {
  background: linear-gradient(135deg, var(--noir-3) 0%, rgba(26,58,92,0.4) 100%);
  border: 1px solid rgba(201,168,76,0.3);
  border-top: 3px solid var(--or);
  padding: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.verdict-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--or); margin-bottom: 16px;
}
.verdict-note {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 900;
  color: var(--or-clair); line-height: 1;
  margin-bottom: 12px;
}
.verdict-text { font-size: 14px; line-height: 1.7; color: var(--texte-2); }

/* ─── SIDEBAR ─── */
.sidebar { display: flex; flex-direction: column; gap: 30px; }

.widget {
  background: var(--noir-2);
  border: 1px solid rgba(201,168,76,0.12);
  padding: 24px;
}
.widget-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--or);
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.widget ul { list-style: none; padding: 0; }
.widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.widget ul li a {
  font-size: 13px; color: var(--texte-2);
  transition: color 0.2s; display: flex;
  justify-content: space-between;
}
.widget ul li a:hover { color: var(--or-clair); }

/* Sticky sidebar post */
.sidebar-post {
  display: flex; gap: 12px; margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidebar-post:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-post-thumb { width: 60px; height: 80px; object-fit: cover; flex-shrink: 0; filter: saturate(0.8); }
.sidebar-post-info {}
.sidebar-post-cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--or); display: block; margin-bottom: 4px;
}
.sidebar-post-title {
  font-family: 'Playfair Display', serif;
  font-size: 13px; font-weight: 700;
  color: var(--blanc); line-height: 1.25;
}

/* ─── ARCHIVE / BLOG ─── */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 40px;
}

.archive-card {
  position: relative;
  background: var(--noir-2);
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.archive-card:hover { background: var(--noir-3); border-bottom-color: var(--or); }

.archive-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.archive-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s, filter 0.3s;
  filter: brightness(0.8) saturate(0.85);
}
.archive-card:hover .archive-card-thumb img { transform: scale(1.04); filter: brightness(1) saturate(1); }

.archive-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.archive-card-cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--or); margin-bottom: 8px;
}
.archive-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700;
  color: var(--blanc); line-height: 1.3;
  margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.archive-card-excerpt {
  font-size: 12px; line-height: 1.6; color: var(--texte-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.archive-card-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--texte-2); margin-top: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.archive-card-score { color: var(--or-clair); font-weight: 700; font-size: 13px; }

/* ─── PAGINATION ─── */
.so-pagination {
  display: flex; justify-content: center;
  align-items: center; gap: 6px;
  padding: 20px 0 50px;
}
.so-pagination a, .so-pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--texte-2);
  border: 1px solid rgba(201,168,76,0.15);
  transition: all 0.2s; text-decoration: none;
}
.so-pagination a:hover,
.so-pagination .current {
  background: var(--or); border-color: var(--or); color: var(--noir);
}

/* ─── FOOTER ─── */
#site-footer {
  background: var(--noir-2);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 50px 60px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 13px; line-height: 1.7;
  color: var(--texte-2); margin-top: 14px; max-width: 280px;
}

.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--or); margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--texte-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--or-clair); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.1em; color: var(--texte-2);
}

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--texte-2); text-decoration: none;
  font-size: 13px; font-family: serif;
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--or); color: var(--or); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── COMMENTAIRES ─── */
.comments-section { margin-top: 50px; }
.comment-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; color: var(--blanc);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.comment {
  display: flex; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.comment-avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; background: var(--noir-4); }
.comment-meta { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 0.1em; color: var(--texte-2); margin-bottom: 8px; }
.comment-author { color: var(--or-clair); font-weight: 700; margin-right: 10px; }
.comment-text { font-size: 14px; line-height: 1.7; color: var(--texte); }

/* Formulaire */
.comment-form input, .comment-form textarea {
  width: 100%; background: var(--noir-2);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--texte);
  padding: 12px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  margin-bottom: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--or); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-submit {
  padding: 14px 32px;
  background: var(--or); color: var(--noir);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background 0.2s;
}
.comment-submit:hover { background: var(--or-clair); }

/* ─── SEARCH ─── */
.search-form { display: flex; gap: 0; }
.search-field {
  flex: 1;
  background: var(--noir-2);
  border: 1px solid rgba(201,168,76,0.25);
  border-right: none;
  color: var(--texte);
  padding: 10px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  outline: none;
}
.search-field:focus { border-color: var(--or); }
.search-submit {
  background: var(--or); border: none;
  color: var(--noir); padding: 10px 18px;
  cursor: pointer; font-weight: 700;
  transition: background 0.2s;
}
.search-submit:hover { background: var(--or-clair); }

/* ─── UTILITAIRES ─── */
.text-or { color: var(--or); }
.text-blanc { color: var(--blanc); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 40px; }
.no-margin { padding: 0; margin: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .films-grid { grid-template-columns: repeat(3, 1fr); padding: 0 30px; }
  .featured-row { grid-template-columns: 1fr 1fr; padding: 0 30px; }
  .featured-row > *:last-child { display: none; }
  .content-sidebar-wrap { grid-template-columns: 1fr; padding: 30px; }
  .sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .so-section-header, .so-divider, .tags-row, .tests-list, .bonplan-banner { padding-left: 30px; padding-right: 30px; }
  .bonplan-banner { margin-left: 30px; margin-right: 30px; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
  #site-navigation ul { display: none; }
  .menu-toggle { display: block; }
  #site-navigation.toggled ul {
    display: flex; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--noir-2);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    padding: 20px;
    gap: 0;
  }
  #site-navigation.toggled ul li a { display: block; padding: 12px 0; }
  .films-grid { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
  .featured-row { height: auto; grid-template-columns: 1fr; padding: 0 20px; }
  .featured-main { height: 300px; }
  .featured-side { display: none; }
  .archive-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 30px 20px 50px; }
  .single-hero-content { padding: 30px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  #site-footer { padding: 40px 20px 20px; }
  .note-tech-grid { grid-template-columns: repeat(2, 1fr); }
  .bonplan-banner { flex-direction: column; align-items: flex-start; }
  .so-section-header, .so-divider, .tags-row, .tests-list { padding-left: 20px; padding-right: 20px; }
  .bonplan-banner { margin-left: 20px; margin-right: 20px; padding: 24px 20px; }
}

/* ═══════════════════════════════════════
   BANNIÈRE FORUM
═══════════════════════════════════════ */

.forum-banner {
    display: block;
    position: relative;
    overflow: hidden;
    height: 56px;
    text-decoration: none;
    cursor: pointer;
    z-index: 200;
}

/* Fond dégradé animé */
.forum-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        270deg,
        #0a0d14 0%,
        #0f1a2e 20%,
        #1a3a5c 45%,
        #1e2e10 70%,
        #2a1a0a 85%,
        #0a0d14 100%
    );
    background-size: 400% 100%;
    animation: forumBgSlide 8s ease infinite;
}

@keyframes forumBgSlide {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ligne or en haut */
.forum-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(201,168,76,0.3) 20%,
        rgba(201,168,76,0.8) 50%,
        rgba(201,168,76,0.3) 80%,
        transparent 100%
    );
    z-index: 3;
}

/* Ligne or en bas */
.forum-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(201,168,76,0.15) 30%,
        rgba(201,168,76,0.4) 50%,
        rgba(201,168,76,0.15) 70%,
        transparent 100%
    );
    z-index: 3;
}

/* Hover : lueur or */
.forum-banner:hover .forum-banner-bg {
    background: linear-gradient(
        270deg,
        #0f1a2e 0%,
        #1a3a5c 25%,
        #243a10 50%,
        #3a2800 75%,
        #0f1a2e 100%
    );
    background-size: 400% 100%;
    animation: forumBgSlide 4s ease infinite;
}

/* ── Particules flottantes ── */
.forum-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: forumFloat linear infinite;
    opacity: 0;
}
.forum-particle.p1 { width:3px; height:3px; background:rgba(201,168,76,0.6); left:8%;  animation-duration:6s;  animation-delay:0s; }
.forum-particle.p2 { width:2px; height:2px; background:rgba(201,168,76,0.4); left:22%; animation-duration:8s;  animation-delay:1.5s; }
.forum-particle.p3 { width:4px; height:4px; background:rgba(201,168,76,0.3); left:55%; animation-duration:5s;  animation-delay:0.8s; }
.forum-particle.p4 { width:2px; height:2px; background:rgba(255,255,255,0.3); left:72%; animation-duration:7s;  animation-delay:2s; }
.forum-particle.p5 { width:3px; height:3px; background:rgba(201,168,76,0.5); left:88%; animation-duration:9s;  animation-delay:0.3s; }

@keyframes forumFloat {
    0%   { bottom: -6px; opacity: 0; transform: translateX(0) scale(0.5); }
    10%  { opacity: 1; }
    80%  { opacity: 0.6; }
    100% { bottom: 62px; opacity: 0; transform: translateX(12px) scale(1.2); }
}

/* ── Contenu intérieur ── */
.forum-banner-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ── Disque animé ── */
.forum-disc {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.forum-disc-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.4);
    animation: forumSpin linear infinite;
}
.forum-disc-ring.r1 { animation-duration: 6s; }
.forum-disc-ring.r2 { inset: 5px; border-color: rgba(201,168,76,0.25); animation-duration: 9s; animation-direction: reverse; }
.forum-disc-ring.r3 { inset: 10px; border-color: rgba(201,168,76,0.5); border-style: dashed; animation-duration: 12s; }

@keyframes forumSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.forum-disc-center {
    position: absolute;
    inset: 11px;
    background: rgba(201,168,76,0.12);
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--or-clair);
    transition: background 0.3s;
}
.forum-banner:hover .forum-disc-center {
    background: rgba(201,168,76,0.25);
}

/* ── Texte ── */
.forum-banner-text {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.forum-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--or);
    white-space: nowrap;
    display: none; /* visible au-dessus de 900px */
}

.forum-title {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--blanc);
    white-space: nowrap;
    transition: color 0.2s;
}
.forum-title em {
    font-style: italic;
    color: var(--or-clair);
}
.forum-banner:hover .forum-title { color: #fff; }

/* Séparateur */
.forum-banner-text::before {
    content: '';
    width: 1px;
    height: 20px;
    background: rgba(201,168,76,0.25);
    flex-shrink: 0;
    display: none;
}

.forum-sub {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--texte-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── CTA ── */
.forum-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    border: 1px solid rgba(201,168,76,0.5);
    background: rgba(201,168,76,0.06);
    color: var(--or-clair);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

/* Shimmer au hover */
.forum-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.15), transparent);
    transition: left 0.4s;
}
.forum-banner:hover .forum-cta::before { left: 100%; }

.forum-banner:hover .forum-cta {
    background: rgba(201,168,76,0.18);
    border-color: var(--or);
    color: var(--or-pale);
}

.forum-arrow {
    transition: transform 0.25s;
}
.forum-banner:hover .forum-arrow {
    transform: translateX(4px);
}

/* ── Responsive ── */
@media (min-width: 900px) {
    .forum-label { display: block; }
    .forum-banner-text::before { display: block; }
}

@media (max-width: 600px) {
    .forum-banner { height: 48px; }
    .forum-banner-inner { padding: 0 16px; }
    .forum-sub { display: none; }
    .forum-disc { width: 28px; height: 28px; }
    .forum-cta { padding: 6px 14px; font-size: 11px; }
    .forum-title { font-size: 13px; }
}
