/* ===== SCALERIA — feuille de style ===== */
:root {
  --bg: #0a0a0c;
  --bg-soft: #111114;
  --surface: #15151a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f3ee;
  --muted: #9a978f;
  --accent: #c9a96a;
  --accent-2: #e7cf9a;
  --maxw: 1140px;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand-name, .stat-num {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

.accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #1a1407;
  box-shadow: 0 8px 30px rgba(201, 169, 106, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201, 169, 106, 0.4); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name { font-weight: 700; font-size: 1.25rem; letter-spacing: 0.12em; }
.brand-mark {
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: rotate(45deg);
  border-radius: 5px;
  box-shadow: 0 0 18px rgba(201, 169, 106, 0.5);
}
.nav { display: flex; gap: 34px; }
.nav a { color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav-cta { padding: 9px 20px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: 12px 24px 24px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.mobile-nav a { padding: 14px 0; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: 0; }

/* ===== Hero ===== */
.hero { position: relative; padding: 120px 0 130px; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; margin-bottom: 26px; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 620px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-glow {
  position: absolute; top: -160px; right: -120px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(201, 169, 106, 0.18), transparent 62%);
  filter: blur(20px); z-index: 1; pointer-events: none;
}

/* ===== Sections génériques ===== */
section { position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2, .approche h2, .contact h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; }

/* ===== Services ===== */
.services { padding: 100px 0; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(201, 169, 106, 0.4); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.card:hover::before { transform: scaleX(1); }
.card-num { font-family: "Space Grotesk", sans-serif; font-size: 0.9rem; color: var(--accent); font-weight: 600; letter-spacing: 0.1em; }
.card h3 { font-size: 1.5rem; margin: 14px 0 14px; }
.card p { color: var(--muted); margin-bottom: 22px; }
.card-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.card-list li { position: relative; padding-left: 22px; font-size: 0.92rem; color: var(--text); }
.card-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; }

/* ===== Approche ===== */
.approche { padding: 110px 0; }
.approche-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.approche-text h2 { margin: 0 0 22px; }
.approche-text p { color: var(--muted); margin-bottom: 16px; }
.approche-stats { display: flex; flex-direction: column; gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; }
.stat-num { display: block; font-size: 2rem; font-weight: 700; color: var(--accent); }
.stat-label { color: var(--muted); font-size: 0.95rem; }

/* ===== Contact ===== */
.contact { padding: 110px 0 130px; text-align: center; background: var(--bg-soft); border-top: 1px solid var(--border); }
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact .lead { color: var(--muted); margin: 16px 0 34px; font-size: 1.1rem; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-name { font-size: 1.1rem; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: var(--muted); font-size: 0.92rem; transition: color .2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-legal { color: var(--muted); font-size: 0.82rem; }

/* ===== Productions / portfolio ===== */
.work { padding: 80px 0 110px; }
.work-intro { max-width: 680px; margin-bottom: 54px; }
.work-intro h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; margin: 6px 0 18px; }
.work-intro p { color: var(--muted); font-size: 1.1rem; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.work-card:hover { transform: translateY(-6px); border-color: rgba(201, 169, 106, 0.4); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.work-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.work-cover.ph-1 { background: linear-gradient(135deg, #2a2118, #4a3a1f 60%, #6b5326); }
.work-cover.ph-2 { background: linear-gradient(135deg, #181c2a, #25304a 60%, #2f3f6b); }
.work-cover.ph-3 { background: linear-gradient(135deg, #2a1820, #4a1f33 60%, #6b264a); }
.work-cover.ph-4 { background: linear-gradient(135deg, #15211a, #1f4a35 60%, #266b4a); }
.work-cover.ph-5 { background: linear-gradient(135deg, #221a2a, #392550 60%, #4a2f6b); }
.work-cover.ph-6 { background: linear-gradient(135deg, #2a2618, #4a431f 60%, #6b6126); }
.work-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(10, 10, 12, 0.55); border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.work-play::after { content: ""; border-left: 16px solid var(--text); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.work-cat {
  margin: 14px 14px 0; align-self: flex-start;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  color: #1a1407; background: linear-gradient(120deg, var(--accent), var(--accent-2));
  padding: 5px 12px; border-radius: 999px;
}
.work-body { padding: 18px 22px 24px; }
.work-body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.work-body .work-client { color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; }
.work-body p { color: var(--muted); font-size: 0.92rem; }
.work-cta { text-align: center; margin-top: 64px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .approche-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) {
  .work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; }
  .hero { padding: 80px 0 90px; }
  .services, .approche, .contact { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
