/* ═══════════════════════════════════════════════════════════════════
   ARC-EN-CIEL FILMS — Style Principal
   Brand: Orange #F5A623 · Noir #1A1A1A · Blanc Ivoire #F9F5EF
   Typo: Cormorant Garamond (titres) + DM Sans (corps)
═══════════════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════
   VERSION 3.2.1 - DEEP RESTORATION
   ═══════════════════════════════════════════════════════ */

:root {
  --orange: #F5A623;
  --orange-deep: #E08B00;
  --orange-light: #FFC85A;
  --noir: #0D0D0D;
  --noir-soft: #1A1A1A;
  --noir-card: #141414;
  --gris: #2A2A2A;
  --gris-mid: #444444;
  --beige: #F9F5EF;
  --beige-soft: #EDE8DF;
  --blanc: #FFFFFF;
  --text-light: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.45);
  --border: rgba(245, 166, 35, 0.15);

  --font-title: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 100px;

  --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-card: 0 12px 48px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 40px rgba(245, 166, 35, 0.22);
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.05);
}

/* ── RESET & BASE ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--noir);
  color: var(--blanc);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

em {
  font-style: italic;
}

ul {
  list-style: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── SCROLL REVEAL ─────────────────────────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: opacity, transform;
}

.reveal-section {
  opacity: 0;
  transform: translateY(50px);
  filter: blur(5px);
  transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1), filter 1.2s ease;
}

.scroll-reveal.revealed,
.reveal-section.revealed,
.elementor-editor-active .scroll-reveal,
.elementor-editor-active .reveal-section {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── BOUTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: var(--noir);
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(245, 166, 35, 0.45);
}

.btn-ghost {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--blanc);
  border: 1.5px solid var(--glass-border);
}

.btn-ghost:hover {
  border-color: rgba(245, 166, 35, 0.5);
  color: var(--orange);
  transform: translateY(-3px);
  background: rgba(245, 166, 35, 0.06);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid rgba(245, 166, 35, 0.5);
  padding: 13px 28px;
  font-size: 0.85rem;
  margin-top: 20px;
  border-radius: var(--radius-pill);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--noir);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.footer-nav-col a:hover {
  color: var(--orange);
  transform: translateX(5px);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-list li {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-list li i {
  color: var(--orange);
  width: 16px;
  margin-top: 4px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-contact-list a {
  padding: 0;
  display: inline-block;
}

.footer-contact-list span {
  display: block;
  line-height: 1.4;
}

.btn-large {
  padding: 18px 44px;
  font-size: 0.95rem;
}

/* ── SECTION HEADERS ────────────────────────────────────────────── */
.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--blanc);
  margin-bottom: 16px;
}

.section-title em {
  color: var(--orange);
  font-style: italic;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin-top: 12px;
}

.section-header {
  margin-bottom: 64px;
}

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.5s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 56px;
  display: flex;
  align-items: center;
}

/* Logo always light version (white background won't clash on dark site) */
.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: none;
}

/* Sur fond sombre (transparent navbar) : logo blanc */
.logo-light {
  display: none;
}

.logo-dark {
  display: block;
}

/* Quand scrollé on garde le logo noir sur fond dark */
.navbar.scrolled .logo-dark {
  display: block;
}

.navbar.scrolled .logo-light {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
li.current-menu-item > .nav-link,
li.current-page-ancestor > .nav-link {
  color: var(--blanc);
}

.nav-link:hover::after,
li.current-menu-item > .nav-link::after,
li.current-page-ancestor > .nav-link::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  background: var(--orange);
  color: var(--noir);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  margin-right: 20px;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.2);
}

.nav-cta:hover {
  background: var(--blanc);
  color: var(--noir);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
}

@media (max-width: 768px) {
  .nav-cta {
    display: none; /* Masqué sur mobile par défaut, ou à déplacer dans le menu */
  }
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blanc);
  border-radius: 2px;
  transition: var(--transition);
}

/* ══════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  display: none;
}

.hero-video-item.active {
  opacity: 1;
  display: block;
}

.hero-video-item video,
.hero-video-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-h-pos, 50%) var(--hero-v-pos, 50%) !important;
  transform: scale(var(--hero-zoom, 1));
  transform-origin: var(--hero-h-pos, 50%) var(--hero-v-pos, 50%);
  transition: opacity 2s ease-in-out, transform 0.3s ease-out;
}

/* Grain cinématographique simulé */
.hero-film-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0.3) 0%, rgba(13, 13, 13, 0.1) 50%, rgba(13, 13, 13, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 160px 32px 180px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
  animation-delay: 0s;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--blanc);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}

.title-line {
  display: block;
}

.title-accent {
  color: var(--orange);
  font-weight: 600;
  font-style: italic;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: 0.08em;
  margin-bottom: 48px;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--orange);
  vertical-align: super;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Video Feedback */
.hero-video-feedback {
  position: absolute;
  bottom: 140px;
  left: 40px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.hero-video-feedback:hover {
  opacity: 1;
}

.feedback-status {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--orange);
  animation: pulse-orange 2s infinite;
}

.feedback-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blanc);
}

@keyframes pulse-orange {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 140px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 15;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeInDelay 1.5s 1.2s both;
}

@keyframes fadeInDelay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.6);
    opacity: 0.4;
  }
}

/* ── REEL / TICKER GAUMONT STYLE ───────────────── */
.hero-reel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(245, 166, 35, 1);
  /* Orange ARC EN CIEL */
  padding: 25px 0 35px; /* Ajusté en bas pour les badges en superposition basse */
  overflow: visible;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
}

.reel-track {
  display: flex;
  width: max-content;
  animation: ticker 50s linear infinite;
  align-items: flex-start; /* Aligne le haut des éléments */
}

.reel-track:hover {
  animation-play-state: paused;
}

.reel-item.active-sync .reel-card {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
  border: 2px solid #fff;
}

.reel-item.active-sync .reel-card-title {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.reel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
  margin-right: 30px;
  flex-shrink: 0;
  transition: all 0.5s ease;
  height: 100%; /* S'assure que tous les items ont la même hauteur */
}

.reel-card {
  width: 160px;
  aspect-ratio: 1/1.3;
  position: relative;
  border-radius: 14px;
  overflow: visible;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  background: #000;
}

.reel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px; /* Bordure plus douce */
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reel-item:hover .reel-img {
  transform: scale(1.15);
}

.reel-category {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #E30613;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 5px 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 5;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
  border-radius: 4px;
}

/* Position Basse (Défaut) */
.badge-pos-bottom .reel-category {
  bottom: -8px;
}
.reel-item:hover .badge-pos-bottom .reel-category {
  transform: translateX(-50%) translateY(5px);
}

/* Position Haute */
.badge-pos-top .reel-category {
  top: -12px;
}
.reel-item:hover .badge-pos-top .reel-category {
  transform: translateX(-50%) translateY(-8px);
}

.reel-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 100%;
}

.reel-card-link:hover .reel-card-title {
  color: var(--blanc);
}

.reel-card-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
  text-align: center;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 5px;
  transition: color 0.3s ease;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% / 3));
  }
}

/* ══════════════════════════════════════════════════════════════════
   NOTRE HISTOIRE
══════════════════════════════════════════════════════════════════ */
.histoire {
  padding: 120px 0;
  background: var(--noir-soft);
  position: relative;
  overflow: hidden;
}

.histoire::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: transparent;
  /* Suppression de l'image fixe */
  opacity: 0.05;
  filter: grayscale(100%);
  z-index: 0;
}

.histoire {
  padding: 140px 0;
  background: #0d0d0d;
  position: relative;
  overflow: hidden;
}

.histoire-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(100%) brightness(0.4);
  z-index: 0;
  transition: opacity 0.5s ease;
}

.histoire-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #0d0d0d 0%, transparent 20%, transparent 80%, #0d0d0d 100%);
  z-index: 1;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 106px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(245, 166, 35, 0) 0%, rgba(245, 166, 35, 0.3) 10%, var(--orange) 50%, rgba(245, 166, 35, 0.3) 90%, rgba(245, 166, 35, 0) 100%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 60px;
  padding: 80px 0;
  position: relative;
}

.timeline-marker::after {
  content: '';
  position: absolute;
  left: 106px;
  /* Centered with dot */
  top: 0;
  bottom: -60px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(245, 166, 35, 0.2), var(--orange), rgba(245, 166, 35, 0.2));
  z-index: 0;
}

.timeline-item:last-child .timeline-marker::after {
  display: none;
}

.timeline-item+.timeline-item {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-top: 4px;
  position: relative;
}

.timeline-year {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--orange);
  line-height: 1;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid #0d0d0d;
  position: relative;
  z-index: 10;
  box-shadow: 0 0 12px var(--orange);
  margin-top: 10px;
}

.timeline-item.revealed .timeline-dot {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.5);
}

.timeline-dot--orange {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.5) !important;
}

.timeline-content {
  padding-top: 0;
}

.timeline-tag-wrapper {
  margin-bottom: 8px;
}

.timeline-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 4px 12px;
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 2px;
  background: rgba(245, 166, 35, 0.05);
}

.timeline-content h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--blanc);
  margin-bottom: 20px;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.timeline-content h3 i {
  font-size: 0.65em;
  color: var(--orange);
  font-family: FontAwesome;
  font-weight: 400;
}

/* Fix icônes SVG Elementor dans les titres de timeline */
.timeline-content h3 svg,
.timeline-content h3 .elementor-icon,
.timeline-content h3 span[class*="eicon"] {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0;
  color: var(--orange);
  fill: var(--orange);
}


.timeline-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 25px; /* Ajouté pour séparer de la galerie */
}

.timeline-desc strong {
  color: #fff;
  font-weight: 600;
}

.infra-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.badge {
  padding: 8px 16px;
  background: rgba(245, 166, 35, 0.1); /* État "activé" par défaut */
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.badge i,
.badge svg {
  color: #fff;
  fill: #fff;
  font-size: 0.65em;
  width: 13px !important;
  height: 13px !important;
  max-width: 13px !important;
  max-height: 13px !important;
  font-family: FontAwesome;
  font-weight: 400;
  flex-shrink: 0;
}

/* ── GALERIE D'IMAGES DANS TIMELINE ──────────────── */
.timeline-gallery {
  margin-top: 30px;
  position: relative;
}

.timeline-gallery-grid {
  display: grid;
  gap: 15px;
}

.timeline-gallery-grid.cols-1 { grid-template-columns: 1fr; }
.timeline-gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.timeline-gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.timeline-gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.timeline-gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #1a1a1a;
}

.timeline-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.timeline-gallery-item:hover img {
  transform: scale(1.08);
}

/* Navigation Slider */
.timeline-gallery-slider-wrap {
  position: relative;
}

.timeline-gallery .swiper-button-prev,
.timeline-gallery .swiper-button-next {
  width: 35px;
  height: 35px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 50%;
  color: var(--orange);
  transition: all 0.3s ease;
}

.timeline-gallery .swiper-button-prev::after,
.timeline-gallery .swiper-button-next::after {
  font-size: 14px;
  font-weight: 900;
}

.timeline-gallery .swiper-button-prev:hover,
.timeline-gallery .swiper-button-next:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* Position: Centered (Default) */
.arrows-pos-center .swiper-button-prev { left: -17px; }
.arrows-pos-center .swiper-button-next { right: -17px; }

/* Position: Top-Right */
.arrows-pos-top-right .gallery-nav-top {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 15px;
}

.arrows-pos-top-right .gallery-nav-top .swiper-button-prev,
.arrows-pos-top-right .gallery-nav-top .swiper-button-next {
  position: static;
  margin: 0;
}

.timeline-cta-wrapper {
  margin-top: 35px;
}

.btn-timeline-cta {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--orange);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 30px;
  transition: all 0.4s ease;
}

.histoire .btn-timeline-cta:hover,
.digital360x-histoire-widget .btn-timeline-cta:hover {
  background: var(--orange) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateX(10px);
}

/* ── READ MORE ADN ────────────────────────────────────────────── */
.timeline-content .timeline-desc {
  position: relative;
  transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

.timeline-content .timeline-desc p:last-child {
  margin-bottom: 0;
}

.timeline-content .timeline-desc.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  max-height: 5.1em; /* ~3 lines * 1.7 line-height */
}

/* Gradient overlay for truncated state */
.timeline-content .timeline-desc.truncated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(13, 13, 13, 0.8));
  pointer-events: none;
}

.read-more-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.8;
}

.read-more-trigger:hover {
  opacity: 1;
  transform: translateX(5px);
}

.read-more-trigger i {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.read-more-trigger.active i {
  transform: rotate(180deg);
}

.timeline-vision {
  padding-bottom: 0;
}

.timeline-vision .timeline-content {
  background: rgba(245, 166, 35, 0.03);
  border: 1px solid rgba(245, 166, 35, 0.15);
  padding: 50px;
  border-radius: 12px;
  margin-top: -30px;
  box-shadow: inset 0 0 30px rgba(245, 166, 35, 0.05);
}

.timeline-year.∞ {
  font-size: 2.5rem !important;
  line-height: 0.8 !important;
  margin-right: -5px;
}

/* ══════════════════════════════════════════════════════════════════
   NOS ŒUVRES
══════════════════════════════════════════════════════════════════ */
.oeuvres {
  padding: 120px 0;
  background: var(--noir);
  position: relative;
}

.oeuvres::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ══════════════════════════════════════════════════════════════════
   NOS ŒUVRES
══════════════════════════════════════════════════════════════════ */
/* ── ACTUALITES INTERACTIVES (Split Layout) ───────────────── */
.actu-split-right {
  position: relative;
  height: 500px; /* Assurez-vous d'avoir une hauteur fixe pour le swiper vertical */
  overflow: hidden;
}

.actu-split-right .swiper-wrapper {
  display: flex;
  flex-direction: column;
}

.actu-split-right .actu-card.list-item {
  margin-bottom: 20px;
  height: auto;
}

/* Flèches de navigation Marquee */
.actu-marquee-prev,
.actu-marquee-next {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 32px;
  height: 32px;
  background: rgba(245, 166, 35, 0.9);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0; /* Caché par défaut */
}

.actu-split-right:hover .actu-marquee-prev,
.actu-split-right:hover .actu-marquee-next {
  opacity: 1;
}

.actu-marquee-prev { top: 10px; }
.actu-marquee-next { bottom: 10px; }

.actu-marquee-prev:hover,
.actu-marquee-next:hover {
  background: #fff;
  transform: translateX(-50%) scale(1.1);
}

/* ── HISTORY GALLERY (Timeline Add-on) ───────────────── */
.timeline-gallery {
  margin-top: 25px;
  width: 100%;
}

.timeline-gallery-grid {
  display: grid;
  gap: 15px;
}

.timeline-gallery-grid.cols-1 { grid-template-columns: 1fr; }
.timeline-gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.timeline-gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.timeline-gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.timeline-gallery-item {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.timeline-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.timeline-gallery-item:hover img {
  transform: scale(1.08);
}

.timeline-gallery-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.timeline-gallery-slider .swiper-pagination,
.timeline-gallery-slider .swiper-scrollbar {
  display: none !important;
}

.actualites::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/009A6803.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.05;
  filter: grayscale(100%);
  z-index: 0;
}

.actualites .container {
  position: relative;
  z-index: 1;
}

.actualites::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* Filtres */
.catalogue-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #000000 !important;
}

/* Films Grid */
.films-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.projet-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Fonds d'images spécifiques aux cartes */
.projet-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  filter: grayscale(100%) brightness(0.6);
  z-index: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.projet-card:hover::after {
  opacity: 0.08;
}

.projet-wolonwula::after {
  background-image: url('../images/009A6750.jpg');
}

.projet-ile::after {
  background-image: url('../images/009A2726.jpg');
}

.projet-madeinmali::after {
  background-image: url('../images/009A6783.jpg');
}

.projet-card>* {
  position: relative;
  z-index: 1;
}

.projet-status {
  margin-bottom: 24px;
}

.film-card {
  background: var(--noir-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.film-card::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(135deg, transparent 40%, rgba(245, 166, 35, 0.08) 50%, transparent 60%);
  transition: transform 0.65s ease;
  pointer-events: none;
  z-index: 1;
}

.film-card:hover::after {
  transform: translate(30%, 30%);
}

.film-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.film-card.hidden {
  display: none;
}

.film-poster {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.film-poster-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
  filter: brightness(0.75);
}

.film-card:hover .film-poster-bg {
  transform: scale(1.06);
  filter: brightness(0.9);
}

/* Couleurs cinématographiques pour chaque film */
.poster-wolonwula {
  background: linear-gradient(135deg, #1A0A2E 0%, #3D1553 40%, #7B3F80 70%, #C49A3C 100%);
}

.poster-fanga {
  background: linear-gradient(135deg, #0D1F3C 0%, #1A3A6B 50%, #C84B3A 100%);
}

.poster-sira {
  background: linear-gradient(135deg, #3D1A0A 0%, #7A3C1A 50%, #C8963A 100%);
}

.poster-fatow {
  background: linear-gradient(135deg, #0A2010 0%, #1A5030 50%, #F5A623 100%);
}

.poster-laveuve {
  background: linear-gradient(135deg, #1F0A0A 0%, #4A1515 50%, #8B2020 100%);
}

.poster-revedieu {
  background: linear-gradient(135deg, #0A100A 0%, #1A2A0F 50%, #4A6B1F 80%, #C5B045 100%);
}

.poster-timbuktu {
  background: linear-gradient(135deg, #2A1A00 0%, #5C3A00 50%, #D4A017 100%), url("data:image/svg+xml,%3Csvg...%3E");
}

.poster-nullepart {
  background: linear-gradient(135deg, #0A0A1A 0%, #1A1A3D 50%, #2A2A6B 80%, #3A3A9A 100%);
}

.poster-menthe {
  background: linear-gradient(135deg, #0A2015 0%, #1A5032 50%, #2E8B57 80%, #7EC8A0 100%);
}

/* Overlay survol du poster */
.film-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.film-card:hover .film-poster-overlay {
  opacity: 1;
}

.film-awards {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.award-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--orange);
  color: #000000;
  padding: 5px 12px;
  border-radius: 2px;
  letter-spacing: 0.02em;
  align-self: flex-start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateX(-10px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.film-card:hover .award-badge {
  transform: translateX(0);
  opacity: 1;
}

.award-badge:nth-child(2) {
  transition-delay: 0.1s;
}

.film-meta-top {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.film-year-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: var(--orange);
  color: var(--noir);
  padding: 3px 8px;
  border-radius: 2px;
  align-self: flex-start;
}

.film-genre-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.1);
  color: var(--blanc);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 4px;
}

/* Avant du poster (icône de camera stylisée en CSS) */
.film-poster::after {
  content: '🎬';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  opacity: 0.15;
  transition: opacity 0.3s;
  pointer-events: none;
}

.film-card:hover .film-poster::after {
  opacity: 0;
}

.film-body {
  padding: 24px;
}

.film-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blanc);
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.film-synopsis {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.film-infos {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}

.film-ctas {
  display: flex;
  gap: 12px;
}

.btn-film {
  flex: 1;
  padding: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.btn-synopsis {
  background: var(--orange);
  border: 1px solid var(--orange);
  color: #000000;
}

.btn-synopsis:hover {
  background: #e0961f;
  border-color: #e0961f;
}

.btn-fiche {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--blanc);
}

.btn-fiche:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--blanc);
}

.btn-film {
  flex: 1;
  padding: 9px 14px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-synopsis {
  background: var(--orange);
  color: var(--noir);
}

.btn-synopsis:hover {
  background: var(--orange-light);
}

.btn-fiche {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-fiche:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ══════════════════════════════════════════════════════════════════
   NOS PROJETS
══════════════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════════════
   NOS PROJETS — Accordéon Cinématique
══════════════════════════════════════════════════════════════════ */
.projets {
  padding: 140px 0;
  background: var(--noir);
  position: relative;
  overflow: hidden;
}

.projets-grid {
  display: flex;
  gap: 15px;
  height: 600px;
  width: 100%;
}

.projet-card {
  position: relative;
  flex: 1;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-size: cover;
  background-position: center;
}

.projet-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 1;
  transition: opacity 0.5s;
}

.projet-card:hover {
  flex: 5;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.projet-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 50px;
  z-index: 2;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.projet-card:not(:hover) .projet-desc,
.projet-card:not(:hover) .projet-etapes,
.projet-card:not(:hover) .projet-type {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.projet-status {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 2;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: left top;
  white-space: nowrap;
}

.projet-card:hover .projet-status {
  transform: rotate(0) translateX(0);
}

.status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(245, 166, 35, 0.9);
  color: var(--noir);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.projet-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--blanc);
  margin-bottom: 5px;
  line-height: 1.1;
}

.projet-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--orange);
  font-size: 0.9em;
}

.projet-type {
  font-size: 0.8rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 15px;
  transition-delay: 0.1s;
}

.projet-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 25px;
  transition-delay: 0.2s;
}

.projet-etapes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition-delay: 0.3s;
}

.etape {
  font-size: 0.75rem;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  width: fit-content;
  color: var(--text-muted);
}

.etape.done {
  color: #66BB6A;
  border-color: rgba(102, 187, 106, 0.3);
  background: rgba(102, 187, 106, 0.05);
}

.etape.active {
  color: var(--orange);
  border-color: rgba(245, 166, 35, 0.3);
  background: rgba(245, 166, 35, 0.05);
}

/* Player Vidéo dans Modal */
.modal-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ══════════════════════════════════════════════════════════════════
   ARCHIVES (Page dédiée avec Filtres)
══════════════════════════════════════════════════════════════════ */
.archive-actualites {
  padding: 120px 0;
  background: var(--noir);
}
.archive-header {
  margin-bottom: 60px;
}
.archive-title {
  font-size: 3rem;
  margin-bottom: 30px;
  color: var(--blanc);
}
.archive-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.filter-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.archive-item {
  animation: fadeScale 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes fadeScale {
  0% { opacity: 0; transform: scale(0.95) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ══════════════════════════════════════════════════════════════════
   ACTUALITÉS (Accueil)
══════════════════════════════════════════════════════════════════ */
.actualites {
  padding: 120px 0;
  background: var(--noir);
}

.actu-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

/* Variante 1 : Grille Asymétrique "Bento" (Défaut Original) */
.actu-layout-bento {
  grid-template-columns: 1.4fr 1fr 1fr;
}

/* Variante 2 : Grille Classique Équilibrée */
.actu-layout-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Variante 3 : Liste Éditoriale (Magazine) */
.actu-layout-list {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

/* Variante 4 : Magazine Animé (Split) */
.actu-layout-split {
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
  gap: 32px;
}

.actu-split-left {
  position: relative;
  height: 550px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--noir-card);
}
.actu-split-left .swiper-wrapper {
  height: 100%;
}
.actu-split-left .swiper-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}
.actu-split-left .actu-card {
  height: 100%;
  border: none;
  border-radius: 0;
}
.actu-split-left .actu-img {
  height: 100%;
}
.actu-split-left .actu-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
  padding: 40px;
  z-index: 2;
}

.actu-split-right {
  position: relative;
  height: 550px;
  overflow: hidden;
}
.actu-split-right .marquee-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 15px; /* Pour masquer la scrolbar si on force */
}
.actu-split-right .actu-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: transparent;
  border: none;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
}
.actu-split-right .actu-card:last-child {
  border-bottom: none;
}
.actu-split-right .actu-img {
  width: 160px;
  height: 120px;
  min-width: 160px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  margin-right: 24px;
}
.actu-split-right .actu-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.actu-split-right .actu-body {
  padding: 0;
  flex: 1;
}

.actu-card {
  background: var(--noir-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.actu-card:hover {
  border-color: rgba(245, 166, 35, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.actu-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

/* Hauteur spécifique Bento (article mis en avant) */
.actu-layout-bento .actu-featured .actu-img {
  height: 280px;
}

/* Hauteur spécifique Grille Classique */
.actu-layout-grid .actu-img {
  height: 240px;
}

/* Dispositifs "Liste Éditoriale" */
.actu-layout-list .actu-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  padding-bottom: 24px;
}
.actu-layout-list .actu-card:last-child {
  border-bottom: none;
}
.actu-layout-list .actu-card:hover {
  border-color: rgba(245, 166, 35, 0.2);
  transform: translateX(10px);
  box-shadow: none;
}
.actu-layout-list .actu-img {
  width: 280px;
  height: 200px;
  min-width: 280px;
  border-radius: var(--radius-md);
  margin-right: 32px;
}
.actu-layout-list .actu-img--placeholder {
.actu-layout-list .actu-body {
  padding: 0;
  flex: 1;
}

.actu-img--maiga {
  background: linear-gradient(135deg, #1A0A00, #4A2800, #8B5A00, #F5A623);
}

.actu-img--timbuktu {
  background: linear-gradient(135deg, #2A1500, #6B3A00, #C89A00, #E8C840);
}

.actu-img--ouabania {
  background: linear-gradient(135deg, #001A00, #005A00, #00A000, #90C840);
}

.actu-body {
  padding: 24px;
}

.actu-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.actu-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--blanc);
  line-height: 1.3;
  margin-bottom: 10px;
}

.actu-featured .actu-title {
  font-size: 1.55rem;
}

.actu-excerpt {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.actu-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  transition: var(--transition);
  text-decoration: none;
}

.actu-link span {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-size: 1.2rem;
  line-height: 1;
}

.actu-link:hover {
  color: #fff;
}

.actu-link:hover span {
  transform: translateX(6px);
}

.actu-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.actu-title a:hover {
  color: var(--orange);
}

.actu-empty {
  padding: 60px 40px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.actu-img--placeholder {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.05) 0%, rgba(20, 20, 20, 0.8) 100%);
}

.actu-all-actions {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.actu-all-actions .btn {
  padding: 18px 52px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(245, 166, 35, 0.2);
}

.actu-all-actions .btn::after {
  content: ' →';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  display: inline-block;
}

.actu-all-actions .btn:hover::after {
  opacity: 1;
  transform: translateX(10px);
}


/* La section Contact (Image Cloud) est désormais gérée directement (in-line) dans le widget 
   pour garantir un affichage immersif sans conflit avec le cache ou le thème. */

@keyframes floatCloud {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

/* Texte et Titre Centré */
.contact-main-content {
  text-align: center !important;
  max-width: 900px !important;
  width: 100% !important;
  margin: 0 auto !important;
  z-index: 2 !important;
  position: relative !important;
}

.contact-badge-eyebrow {
  display: inline-block !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: var(--orange) !important;
  background: rgba(245, 166, 35, 0.08) !important;
  padding: 8px 32px !important;
  border-radius: 50px !important;
  border: 1px solid rgba(245, 166, 35, 0.2) !important;
  margin-bottom: 32px !important;
}

.contact-main-title {
  font-family: var(--font-title) !important;
  font-size: clamp(2.5rem, 6vw, 5.5rem) !important;
  font-weight: 300 !important;
  color: #fff !important;
  line-height: 1.1 !important;
  margin-bottom: 56px !important;
  letter-spacing: -0.02em !important;
}

/* Boutons Centrés et Style Pill */
.contact-actions-center {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.d360x-pill-btn {
  border-radius: 100px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  padding: 18px 48px !important;
  font-size: 0.95rem !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

.d360x-pill-btn i, .d360x-pill-btn svg {
  margin-right: 12px;
  font-size: 1.1em;
}

/* Overlay Orb de fond */
.contact-bg::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.05) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
.footer {
  background: #060606;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 72px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/009A6782.jpg');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.03;
  filter: grayscale(100%);
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  /* Rend le logo parfaitement blanc sur fond sombre */
  filter: brightness(0) invert(1);
  opacity: 0.9;
  align-self: flex-start;
}

.footer-tagline {
  font-family: var(--font-title);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  padding-left: 2px;
}

.footer-divider {
  width: 32px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  opacity: 0.6;
}

.footer-tagline {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-nav {
  display: contents; /* Permet aux colonnes filles d'être des items directs de .footer-top */
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icon:hover {
  transform: translateY(-5px);
  color: var(--blanc);
  border-color: var(--orange);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.social-facebook:hover { background: #1877F2; border-color: #1877F2; }
.social-instagram:hover { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); border-color: transparent; }
.social-linkedin:hover { background: #0077b5; border-color: #0077b5; }
.social-youtube:hover { background: #FF0000; border-color: #FF0000; }
.social-tiktok:hover { background: #000000; border-color: #EE1D52; box-shadow: 0 0 15px rgba(105, 201, 208, 0.5); }
.social-custom:hover { background: var(--orange); border-color: var(--orange); color: var(--noir); }

.footer-nav-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
  position: relative;
}

.footer-nav-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--orange);
  opacity: 0.3;
}

.footer-nav-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-nav-col a:hover {
  color: var(--blanc);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 2000;
  padding: 14px 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.open {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal {
  background: var(--noir-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--blanc);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.modal-close:hover {
  background: var(--orange);
  color: var(--noir);
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .films-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projets-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .actu-grid {
    grid-template-columns: 1fr 1fr;
  }

  .actu-featured {
    grid-column: 1 / -1;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .timeline::before {
    left: 60px;
  }

  .timeline-item {
    grid-template-columns: 80px 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .films-grid {
    grid-template-columns: 1fr;
  }

  .projets-grid {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }

  .projets-carousel {
    height: 480px !important;
    overflow: visible !important;
  }

  .projets-carousel .swiper-wrapper {
    flex-direction: row !important;
    height: 100% !important;
    align-items: stretch !important;
  }

  .projet-card {
    height: 400px !important;
    flex: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .projet-card:hover {
    flex: none;
    height: 400px;
  }

  .projet-status {
    transform: rotate(0) translateX(0);
    top: 20px;
    left: 20px;
  }

  .projet-content {
    padding: 30px;
  }

  .projet-title {
    font-size: 1.8rem;
  }

  .actu-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-desc {
    margin-bottom: 30px;
  }

  .timeline-gallery-slider {
    overflow: hidden;
    padding-bottom: 0;
  }

  .timeline-marker {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .contact-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-panel-right {
    height: auto;
    order: -1; /* Put images first on mobile */
  }

  /* TRIPLE-FORCE Mobile Contact Overrides */
  body .digital360x-contact-widget .contact-film-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    display: grid !important;
    margin-top: 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body .digital360x-contact-widget .contact-film-thumb {
    aspect-ratio: 1/1 !important;
    height: auto !important;
    width: 100% !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 2px solid var(--orange) !important;
    display: block !important;
  }

  body .digital360x-contact-widget .contact-film-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
  }

  .contact-film-thumb:nth-child(even),
  .contact-film-thumb:nth-child(3n) {
    margin-top: 0; /* Remove offsets on mobile */
  }

  .contact-title {
    text-align: center;
    font-size: 2.2rem;
  }

  .contact-subtitle {
    text-align: center;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* ══════════════════════════════════════════════════════════════════
   NOS PROJETS — Accordéon Cinématique
══════════════════════════════════════════════════════════════════ */
.projets {
  padding: 140px 0;
  background: var(--noir);
  position: relative;
  overflow: hidden;
}

.projets-grid {
  display: flex;
  gap: 15px;
  height: 600px;
  width: 100%;
}

.projets-carousel {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden; /* Standard swiper */
}

.projets-carousel .swiper-wrapper {
  display: flex !important;
  height: 100%;
  align-items: stretch;
}

/* Pagination Moderne */
.projets-carousel .swiper-pagination {
  bottom: 20px !important;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.projets-carousel .swiper-pagination-bullet {
  width: 25px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
  transition: all 0.3s ease;
}

.projets-carousel .swiper-pagination-bullet-active {
  background: var(--orange);
  width: 40px;
}

/* Flèches Modernes */
.projets-carousel.swiper .swiper-button-next,
.projets-carousel.swiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  z-index: 100 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex !important; /* Forcer l'affichage */
  align-items: center;
  justify-content: center;
}

.projets-carousel.swiper .swiper-button-next:after,
.projets-carousel.swiper .swiper-button-prev:after,
.projets-carousel.swiper .swiper-button-next:before,
.projets-carousel.swiper .swiper-button-prev:before {
  content: "" !important;
  display: none !important;
}

.projets-carousel.swiper .swiper-button-next i,
.projets-carousel.swiper .swiper-button-prev i {
  display: none !important;
}

.projets-carousel.swiper .swiper-button-next svg,
.projets-carousel.swiper .swiper-button-prev svg {
  width: 18px;
  height: 18px;
  stroke: white;
  transition: transform 0.3s ease;
}

.projets-carousel.swiper .swiper-button-next:hover svg,
.projets-carousel.swiper .swiper-button-prev:hover svg {
  transform: scale(1.2);
}

.projets-carousel.swiper .swiper-button-next:hover,
.projets-carousel.swiper .swiper-button-prev:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.1);
}

.projets-carousel.swiper .swiper-button-next { right: 25px; }
.projets-carousel.swiper .swiper-button-prev { left: 25px; }

@media (max-width: 1024px) {
  .projets-carousel.swiper .swiper-button-next,
  .projets-carousel.swiper .swiper-button-prev {
    display: none !important; /* On cache sur mobile */
  }
}

@media (max-width: 900px) {
  .projets-grid {
    flex-direction: column;
    height: auto;
  }
  .projets-carousel .swiper-wrapper {
    flex-direction: row; /* Keep horizontal flow for swiper */
  }
}

.projet-card {
  position: relative;
  flex: 1; /* Par défaut, ils se partagent l'espace */
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-size: cover;
  background-position: center;
  min-width: 0; /* Important pour flex */
}

/* Si carousel activé, Swiper va mettre des styles en ligne, on doit s'assurer que ça ne bloque pas le flex expansion */
.projets-carousel .projet-card.swiper-slide {
  flex: 0 0 350px; /* Largeur fixe de base pour l'ergonomie */
  width: 350px !important;
  height: 100%;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.projets-carousel .projet-card.swiper-slide:hover {
  flex: 0 0 650px; /* Expansion contrôlée dans le carousel */
  width: 650px !important;
}

@media (max-width: 768px) {
  .projets-carousel .projet-card.swiper-slide {
    width: 85vw !important;
    flex: 0 0 85vw;
  }
}

.status-badge i {
  margin-right: 8px;
  vertical-align: middle;
}

.etape i {
  margin-right: 6px;
  width: 16px;
  text-align: center;
}

.projet-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.9) 90%);
  z-index: 1;
  transition: opacity 0.5s;
}

.projet-card:hover {
  flex: 4;
}

@media (max-width: 900px) {
  .projet-card:hover {
    flex: 3;
  }
}

.projet-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  z-index: 2;
  transition: transform 0.5s, opacity 0.5s;
}

.projet-card:not(:hover) .projet-desc,
.projet-card:not(:hover) .projet-etapes,
.projet-card:not(:hover) .projet-type {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}

@media (max-width: 900px) {
  .projet-card:not(:hover) .projet-desc,
  .projet-card:not(:hover) .projet-etapes,
  .projet-card:not(:hover) .projet-type {
    display: none;
  }
}

.projet-status {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 2;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: left top;
  white-space: nowrap;
}

.projet-card:hover .projet-status {
  transform: rotate(0) translateX(0);
}

.projet-status .status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(245, 166, 35, 0.9);
  color: var(--noir);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.projet-title {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--blanc);
  margin-bottom: 5px;
  line-height: 1.1;
}

.projet-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--orange);
  font-size: 0.9em;
}

.projet-type {
  font-size: 0.8rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 15px;
  transition-delay: 0.1s;
}

.projet-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 25px;
  transition-delay: 0.2s;
}

.projet-etapes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition-delay: 0.3s;
}

.projet-etapes .etape {
  font-size: 0.75rem;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  width: fit-content;
  color: var(--text-muted);
}

.projet-etapes .etape.done {
  color: #66BB6A;
  border-color: rgba(102, 187, 106, 0.3);
  background: rgba(102, 187, 106, 0.05);
}

.projet-etapes .etape.active {
  color: var(--orange);
  border-color: rgba(245, 166, 35, 0.3);
  background: rgba(245, 166, 35, 0.05);
}

/* ── MODAL UI (SYNOPSIS & FICHE TECHNIQUE) ────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 10, 10, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.98);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--orange);
  color: #000;
  border-color: var(--orange);
  transform: rotate(90deg);
}

.modal-content {
  padding: 40px;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 30px 20px;
  }
  .modal-close {
    top: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .modal {
    padding: 20px;
    width: 95%;
  }
}

/* Synopsis & Awards Styles */
.modal-awards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.modal-award-tag {
    font-size: 0.75rem;
    padding: 5px 12px;
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 4px;
    color: var(--orange);
}

.modal-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 25px 0;
}

.modal-section-title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.modal-body-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .fiche-row {
        flex-direction: column;
        gap: 4px;
    }
    .fiche-label, .fiche-value {
        width: 100% !important;
        text-align: left !important;
    }
    .fiche-label {
        color: var(--orange);
        font-size: 0.75rem;
        text-transform: uppercase;
    }
}

/* Scrollbar minimale pour la modale */
.modal::-webkit-scrollbar {
  width: 6px;
}
.modal::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.modal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.modal::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ── CONTACT SIDEBAR (OFF-CANVAS) ────────────────────────────────────── */
.contact-sidebar {
  position: fixed;
  top: 0;
  right: -100%; /* Caché hors écran par défaut */
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  visibility: hidden;
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1), visibility 0s 0.5s;
}

.contact-sidebar.is-open {
  right: 0;
  visibility: visible;
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1), visibility 0s;
}

.contact-sidebar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: background 0.5s ease, backdrop-filter 0.5s ease;
  cursor: pointer;
}

.contact-sidebar.is-open .contact-sidebar-overlay {
  background: rgba(10, 10, 10, 0.85);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.contact-sidebar-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 500px;
  height: 100%;
  background: var(--noir-card);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-sidebar.is-open .contact-sidebar-content {
  transform: translateX(0);
}

.contact-sidebar-header {
  padding: 30px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-sidebar-header h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--orange);
  margin: 0;
  line-height: 1.2;
}

.contact-sidebar-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
}

.contact-sidebar-close:hover {
  background: var(--orange);
  color: #000;
  border-color: var(--orange);
  transform: rotate(90deg);
}

.contact-sidebar-body {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-sidebar-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-sidebar-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-detail-item svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-detail-item span,
.contact-detail-item a {
  color: var(--blanc);
  font-size: 1.1rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail-item a:hover {
  color: var(--orange);
}

.contact-sidebar-map {
  width: 100%;
  height: 250px;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  margin-top: auto; /* Pousse la carte vers le bas s'il y a de l'espace */
}

.contact-sidebar-map iframe {
  width: 100%;
  height: 100%;
}

@media (max-width: 576px) {
  .contact-sidebar-content {
    max-width: 100%; /* Prend tout l'écran sur mobile */
  }
  .contact-sidebar-header {
    padding: 20px;
  }
  .contact-sidebar-body {
    padding: 20px;
  }
}

/* ── PROJETS INFINITE LOOP FIX ───────────────── */
/* Ensure cards have fixed width in carousel mode to prevent gaps during loop transition */
.projets-carousel .projet-card {
  width: 420px !important;
  flex: none !important;
}

@media (max-width: 768px) {
  .projets-carousel .projet-card {
    width: 300px !important;
  }
}