*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --noir:   #0d0d0f;
  --blanc:  #f5f3ee;
  --accent: #e8c97a;
  --gris:   #2a2a30;
  --muted:  #9a9aaa;
}

html { scroll-behavior: smooth; }

body {
  background: var(--noir);
  color: var(--blanc);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(13,13,15,0.95), transparent);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 0 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(232,201,122,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(100,80,200,0.06) 0%, transparent 60%);
}

.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-size: cover;      /* 🔑 remplace object-fit */
  background-position: center; /* centre l’image */
  background-repeat: no-repeat;
  background-image: url("IMG_9014.jpg");
  opacity: 0.55;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  left: 48px; top: 120px; bottom: 80px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.hero-content {
  position: relative;
  max-width: 800px;
  padding-left: 32px;
}

.hero-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 12vw, 140px);
  line-height: 0.9;
  letter-spacing: 2px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-title span { color: var(--accent); }

.hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: #b0b0c0;
  max-width: 480px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.scroll-hint {
  position: absolute;
  bottom: 40px; right: 48px;
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1s;
}

.scroll-hint::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--muted);
}

/* ── SECTION MISSION ─────────────────────────── */
.section-mission {
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.section-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 32px;
}

.section-text {
  font-size: 15px;
  color: #9a9aaa;
  line-height: 1.9;
}

.mission-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.mission-card {
  background: var(--gris);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.mission-card:hover { background: #323238; }

.mission-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.mission-card:hover::before { transform: scaleX(1); }

.mission-card-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: rgba(232,201,122,0.15);
  line-height: 1;
  margin-bottom: 12px;
}

.mission-card-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mission-card-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── MODULES ─────────────────────────────────── */
.section-modules {
  padding: 80px 48px 120px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.modules-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 64px;
}

.modules-intro {
  font-size: 13px;
  color: var(--muted);
  max-width: 300px;
  line-height: 1.8;
}

.modules-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.module-item {
  background: var(--gris);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, transform 0.3s;
  cursor: default;
}

.module-item:hover {
  background: #2e2e36;
  transform: translateY(-4px);
}

.module-iconP{
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  line-height: 1;
  color: rgba(232,201,122,0.1);
  position: absolute;
  top: 24px; right: 24px;
  transition: color 0.3s;
  background-image: url("LogoStudio.png");
  background-size: cover;
  background-position: center;
}
.module-iconC{
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  line-height: 1;
  color: rgba(232,201,122,0.1);
  position: absolute;
  top: 24px; right: 24px;
  transition: color 0.3s;
  background-image: url("LOGOCINESEO.png");
  background-size: cover;
  background-position: center;
}
.module-icon {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  line-height: 1;
  color: rgba(232,201,122,0.1);
  position: absolute;
  top: 24px; right: 24px;
  transition: color 0.3s;
}

.module-item:hover .module-icon { color: rgba(232,201,122,0.2); }

.module-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(232,201,122,0.3);
  padding: 4px 10px;
  margin-bottom: 24px;
}

.module-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 20px;
}

.module-desc {
  list-style: none;
}

.module-desc li {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.7;
}

.module-desc li::before {
  content: '→';
  color: var(--accent);
  font-size: 12px;
  flex-shrink: 0;
}

.module-desc li:last-child { border-bottom: none; }

/* ── FOOTER ──────────────────────────────────── */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--accent);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  .nav-links { gap: 20px; }

  .hero { padding: 0 24px 60px; }
  .hero::before { left: 24px; }
  .hero-content { padding-left: 20px; }

  .section-mission {
    grid-template-columns: 1fr;
    padding: 80px 24px;
    gap: 48px;
  }

  .section-modules { padding: 60px 24px 80px; }
  .modules-list { grid-template-columns: 1fr; }
  .modules-header { flex-direction: column; gap: 16px; }

  footer {
    padding: 32px 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
