/* ============================================================
   AUDIOSPECTO — Main Stylesheet
   Design: Dark cinematic / editorial agency aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,600;0,700;1,300&family=Barlow+Condensed:wght@400;700&display=swap');

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --bg:         #080A0E;
  --bg-2:       #0F1218;
  --bg-3:       #151A22;
  --surface:    #1C2230;
  --border:     rgba(255,255,255,0.07);
  --accent:     #E8FF47;       /* electric lime */
  --accent-2:   #FF4D6D;       /* coral red */
  --accent-3:   #00C2FF;       /* electric blue */
  --text:       #F0F2F5;
  --text-muted: #7A8394;
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --nav-h:      72px;
  --max-w:      1400px;
  --radius:     4px;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
button { cursor: none; }

/* ─── Custom Cursor ─────────────────────────────────────── */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(232,255,71,0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease), width 0.3s, height 0.3s, border-color 0.3s;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--accent);
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s, border-bottom 0.4s;
}
.nav.scrolled {
  background: rgba(8,10,14,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  /* Le logo a un fond noir natif — on le laisse tel quel */
}
.footer-logo-img {
  height: 52px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  padding: 0.5rem 1.4rem;
  background: var(--accent);
  color: #080A0E !important;
  font-weight: 700 !important;
  border-radius: var(--radius);
  letter-spacing: 0.12em;
  transition: opacity 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.85; color: #080A0E !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,10,14,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 2rem 3rem;
  z-index: 99;
  flex-direction: column;
  gap: 1.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--accent); }

/* ─── Layout Utilities ───────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
}
.section {
  padding: 8rem 0;
}
.section-sm {
  padding: 5rem 0;
}

/* ─── Typography ─────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0.04em;
}
.label {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-cond);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #080A0E;
}
.btn-primary:hover {
  background: #f4ff6e;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232,255,71,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding-left: 0;
}
.btn-ghost:hover { gap: 1rem; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ─── Divider ────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
}

/* ─── Section Header ─────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 8rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 20%, rgba(0,194,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(232,255,71,0.05) 0%, transparent 50%),
    linear-gradient(180deg, #080A0E 0%, #080A0E 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-visual {
  position: absolute;
  top: 8%;
  right: 0;
  width: 52%;
  height: 78%;
  /* pas d'overflow:hidden ni de ::after — l'animation flotte librement sur le fond */
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.7);
}

/* Hero placeholder visual — fond transparent, l'animation flotte sur le bg du site */
.hero-visual-placeholder {
  width: 100%; height: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-inner {
  width: 380px; height: 380px;
  border: 1px solid rgba(0,194,255,0.2);
  border-radius: 50%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  animation: spin-slow 18s linear infinite;
}
.hero-visual-inner::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(232,255,71,0.12);
  border-radius: 50%;
}
.hero-visual-inner::after {
  content: '';
  position: absolute;
  inset: 50px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}
.hero-icon {
  width: 80px; height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hero-icon svg { width: 40px; height: 40px; color: #080A0E; }

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--accent);
}
.hero-title {
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}
.hero-desc {
  max-width: 520px;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
.hero-scroll span {
  font-family: var(--font-cond);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(var(--accent), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 0 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--accent);
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── Works Grid (Home) ──────────────────────────────────── */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
}
.work-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.work-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease), filter 0.5s;
  overflow: hidden;
}
.work-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.work-card:hover .work-card-bg {
  transform: scale(1.06);
  filter: brightness(0.7);
}
.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,10,14,0.95) 0%, rgba(8,10,14,0.2) 60%, transparent 100%);
}
.work-card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(232,255,71,0.1);
  border: 1px solid rgba(232,255,71,0.3);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.work-card:hover .work-card-icon {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.work-card-icon svg { width: 28px; height: 28px; color: var(--accent); }

.work-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}
.work-card:hover .work-card-content { transform: translateY(0); }
.work-card-tag {
  font-family: var(--font-cond);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.work-card-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 0.95;
  margin-bottom: 1rem;
}
.work-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.3s, color 0.3s, gap 0.3s;
}
.work-card:hover .work-card-link {
  opacity: 1;
  color: var(--accent);
}
.work-card-link:hover { gap: 0.9rem; }

/* Anciens styles décoratifs supprimés */

/* ─── About Page ─────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 50%, rgba(0,194,255,0.05), transparent 60%),
    linear-gradient(180deg, #080A0E 0%, #0A0D12 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-title {
  margin-bottom: 1rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--border);
}
.team-card {
  background: var(--bg-2);
  overflow: hidden;
  transition: background 0.3s;
}
.team-card:hover { background: var(--bg-3); }
.team-card-photo {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
/* Image insérée dans .team-card-photo : elle s'adapte automatiquement */
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s var(--ease);
}
.team-card:hover .team-card-photo img {
  transform: scale(1.05);
}

.team-card-info {
  padding: 1.2rem 1.4rem;
  border-top: 1px solid var(--border);
}
.team-card-name {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.team-card-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ─── Portfolio Pages ────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.portfolio-item {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: var(--radius);
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--bg-2);
  color: var(--text-muted);
  font-family: var(--font-cond);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.play-btn-lg {
  width: 64px; height: 64px;
  background: rgba(232,255,71,0.1);
  border: 1px solid rgba(232,255,71,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.video-placeholder:hover .play-btn-lg {
  background: var(--accent);
  transform: scale(1.1);
}
.play-btn-lg svg { width: 24px; height: 24px; color: var(--accent); }
.video-placeholder:hover .play-btn-lg svg { color: #080A0E; }

.portfolio-item-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}
.portfolio-item-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.portfolio-item-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--border);
  line-height: 1;
}

/* Affiches */
.affiches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.affiche-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.affiche-img-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.affiche-img-wrapper img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.affiche-item:hover .affiche-img-wrapper img {
  transform: scale(1.04);
}
.affiche-placeholder {
  aspect-ratio: 2/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--font-cond);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.affiche-1 {
  background: linear-gradient(160deg, #0D1B2A 0%, #1E3A5F 50%, #0A1220 100%);
}
.affiche-2 {
  background: linear-gradient(160deg, #1A0820 0%, #3D1050 50%, #0D0515 100%);
}
.affiche-placeholder-icon {
  width: 80px; height: 80px;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: pulse-border 3s ease-in-out infinite;
}
@keyframes pulse-border {
  0%, 100% { border-color: rgba(255,255,255,0.08); }
  50% { border-color: rgba(232,255,71,0.3); }
}
.affiche-placeholder-icon svg { width: 36px; height: 36px; color: var(--text-muted); }

.affiche-label {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(8,10,14,0.8);
  backdrop-filter: blur(8px);
  font-family: var(--font-cond);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(232,255,71,0.2);
  border-radius: var(--radius);
}
.affiche-title {
  font-family: var(--font-display);
  font-size: 2rem;
}
.affiche-process {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-left: 2px solid var(--accent);
  padding-left: 1.2rem;
}

/* ─── Contact Page ───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 3rem);
}
.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-info-label {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-info-value {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.5;
}
.contact-info-value a { transition: color 0.2s; }
.contact-info-value a:hover { color: var(--accent); }
.contact-divider {
  height: 1px;
  background: var(--border);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input,
.form-select,
.form-textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); opacity: 0.6; }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: var(--bg-3);
}
.form-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A8394' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-select option { background: var(--bg-2); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-submit { align-self: flex-start; }

/* Success message */
.form-success {
  display: none;
  padding: 1rem 1.5rem;
  background: rgba(232,255,71,0.08);
  border: 1px solid rgba(232,255,71,0.3);
  border-radius: var(--radius);
  color: var(--accent);
  font-family: var(--font-cond);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.form-success.show { display: block; }

/* ─── Google Maps embed ──────────────────────────────────── */
.gmaps-wrapper {
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.gmaps-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2.5rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.footer-brand {
  max-width: 340px;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-nav-group h4 {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.footer-nav-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-nav-group ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav-group ul a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }

/* ─── Ticker / Marquee ───────────────────────────────────── */
.ticker {
  overflow: hidden;
  background: var(--accent);
  padding: 0.8rem 0;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  animation: ticker-scroll 20s linear infinite;
}
.ticker-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: #080A0E;
  padding: 0 2.5rem;
}
.ticker-sep {
  color: rgba(8,10,14,0.3);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Fade-in on scroll ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }

/* ─── Page-specific padding (non-home pages) ─────────────── */
.page-content {
  padding-top: var(--nav-h);
}

/* ─── Accent lines ───────────────────────────────────────── */
.accent-line {
  display: inline-block;
  width: 40px; height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.8rem;
}

/* ─── Badge ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: rgba(232,255,71,0.08);
  border: 1px solid rgba(232,255,71,0.2);
  border-radius: 100px;
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.badge-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}




/* ═══════════════════════════════════════════════════════════
   WAVEFORM — spectre audio interactif (page d'accueil)
   ═══════════════════════════════════════════════════════════ */

.waveform-section {
  width: 100%;
  height: 140px;
  background: none;
  position: relative;
  overflow: hidden;
}

.waveform-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 0px;
  gap: 0;
}

.waveform-bar {
  flex: 1;
  min-width: 0;
  margin: 0 1px;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom center;
  transition: height 0.12s ease-out;
  /* Dégradé du bas vers le haut : jaune profond → jaune vif → blanc citron */
  background: linear-gradient(
    to top,
    rgba(180, 210, 0, 0.9)  0%,
    rgba(232, 255, 71, 1)   45%,
    rgba(245, 255, 160, 0.85) 80%,
    rgba(255, 255, 220, 0.5)  100%
  );
}

/* ═══════════════════════════════════════════════════════════
   PAGE HERO DECORATIONS — animations icônes pages travaux
   ═══════════════════════════════════════════════════════════ */

/* Conteneur commun positionné à droite du hero */
.page-hero-deco {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

/* ── Icône centrale commune ─────────────────────────────── */
.phd-icon-wrap {
  position: relative;
  z-index: 4;
  width: 90px; height: 90px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.phd-icon-main {
  background: rgba(232,255,71,0.08);
  border: 1.5px solid rgba(232,255,71,0.3);
  animation: phd-icon-float 4s ease-in-out infinite;
}
.phd-icon-main svg {
  width: 42px; height: 42px;
  color: var(--accent);
}
.phd-icon-red {
  background: rgba(255,77,109,0.08);
  border-color: rgba(255,77,109,0.3);
}
.phd-icon-red svg { color: var(--accent-2); }
.phd-icon-purple {
  background: rgba(138,90,255,0.08);
  border-color: rgba(138,90,255,0.3);
}
.phd-icon-purple svg { color: #a06aff; }

@keyframes phd-icon-float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-14px) scale(1.04); }
}

/* ══════════════════════════════════════════════════════════
   CARTE POSTALE SONORE — ondes + égaliseur
   ══════════════════════════════════════════════════════════ */
.phd-sound {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* Cercles concentriques pulsants */
.phd-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
}
.phd-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232,255,71,0.15);
  transform: translate(-50%, -50%);
  animation: phd-ring-pulse 3s ease-out infinite;
}
.phd-ring-1 { width: 160px; height: 160px; animation-delay: 0s; }
.phd-ring-2 { width: 260px; height: 260px; animation-delay: 0.8s; }
.phd-ring-3 { width: 360px; height: 360px; animation-delay: 1.6s; }
@keyframes phd-ring-pulse {
  0%   { opacity: 0.6; transform: translate(-50%,-50%) scale(0.85); }
  60%  { opacity: 0.2; }
  100% { opacity: 0;   transform: translate(-50%,-50%) scale(1.1); }
}

/* Égaliseur */
.phd-eq {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
}
.phd-eq-bar {
  width: 5px;
  height: var(--h, 40px);
  background: var(--accent);
  border-radius: 3px;
  opacity: 0.55;
  animation: phd-eq-anim 1.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes phd-eq-anim {
  0%, 100% { transform: scaleY(0.35); opacity: 0.3; }
  50%       { transform: scaleY(1);    opacity: 0.7; }
}

/* ══════════════════════════════════════════════════════════
   COURTS-MÉTRAGES — pellicule + orbites
   ══════════════════════════════════════════════════════════ */
.phd-film {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px; height: 320px;
}

/* Bande pellicule */
.phd-strip {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: phd-strip-scroll 3s linear infinite;
}
@keyframes phd-strip-scroll {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(calc(-50% - 28px)); }
}
.phd-frame {
  width: 36px; height: 26px;
  border: 1.5px solid rgba(255,77,109,0.2);
  border-radius: 2px;
  background: rgba(255,77,109,0.03);
  position: relative;
}
.phd-frame::before,
.phd-frame::after {
  content: '';
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,77,109,0.25);
}
.phd-frame::before { left: -9px; }
.phd-frame::after  { right: -9px; }
.phd-frame-lit {
  background: rgba(255,77,109,0.12);
  border-color: rgba(255,77,109,0.4);
  animation: phd-frame-flash 2.4s ease-in-out infinite;
}
@keyframes phd-frame-flash {
  0%, 100% { background: rgba(255,77,109,0.12); }
  50%       { background: rgba(255,77,109,0.22); }
}

/* Orbites */
.phd-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: phd-orbit-spin linear infinite;
}
.phd-orbit-1 {
  width: 200px; height: 200px;
  border-color: rgba(255,77,109,0.15);
  animation-duration: 12s;
}
.phd-orbit-2 {
  width: 290px; height: 290px;
  border-color: rgba(255,77,109,0.08);
  animation-duration: 20s;
  animation-direction: reverse;
}
@keyframes phd-orbit-spin {
  to { transform: rotate(360deg); }
}
.phd-orbit-dot {
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(232,255,71,0.6);
}
.phd-orbit-dot-red { background: rgba(255,77,109,0.7); }

/* ══════════════════════════════════════════════════════════
   AFFICHES — stack de cadres + lignes de construction
   ══════════════════════════════════════════════════════════ */
.phd-poster {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px; height: 340px;
}

/* Stack de mini-affiches */
.phd-poster-stack {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}
.phd-poster-card {
  position: absolute;
  width: 110px;
  aspect-ratio: 2/3;
  border-radius: 4px;
  border: 1px solid;
}
.phd-poster-back {
  border-color: rgba(138,90,255,0.12);
  background: rgba(138,90,255,0.04);
  transform: rotate(6deg) translate(16px, 8px);
  animation: phd-poster-sway 5s ease-in-out 0.4s infinite;
}
.phd-poster-mid {
  border-color: rgba(138,90,255,0.2);
  background: rgba(138,90,255,0.07);
  transform: rotate(-3deg) translate(-6px, 4px);
  animation: phd-poster-sway 5s ease-in-out 0.8s infinite reverse;
}
.phd-poster-front {
  border-color: rgba(138,90,255,0.4);
  background: rgba(138,90,255,0.1);
  transform: rotate(0deg);
  display: flex; align-items: center; justify-content: center;
  animation: phd-poster-sway 5s ease-in-out 0s infinite;
  z-index: 2;
}
@keyframes phd-poster-sway {
  0%, 100% { transform: rotate(0deg) translateY(0px); }
  25%       { transform: rotate(-1.5deg) translateY(-5px); }
  75%       { transform: rotate(1.5deg) translateY(3px); }
}
.phd-poster-back  { @keyframes: none; }

/* Lignes de construction */
.phd-construction {
  position: absolute;
  inset: 0;
}
.phd-c-line {
  position: absolute;
  background: rgba(138,90,255,0.12);
  animation: phd-line-draw 2.5s ease-out forwards;
}
.phd-c-h {
  height: 1px;
  width: 0;
  top: 50%; left: 10%;
  animation-delay: 0.3s;
}
.phd-c-v {
  width: 1px;
  height: 0;
  left: 50%; top: 10%;
  animation-delay: 0.6s;
}
@keyframes phd-line-draw {
  to { width: 80%; }
}
.phd-c-corner {
  position: absolute;
  width: 14px; height: 14px;
  border-color: rgba(138,90,255,0.35);
  border-style: solid;
  border-width: 0;
  animation: phd-corner-appear 0.4s ease-out forwards;
  opacity: 0;
}
.phd-c-tl { top: 15%; left: 10%;  border-top-width: 1.5px; border-left-width: 1.5px;  animation-delay: 1s; }
.phd-c-tr { top: 15%; right: 10%; border-top-width: 1.5px; border-right-width: 1.5px; animation-delay: 1.1s; }
.phd-c-bl { bottom: 15%; left: 10%;  border-bottom-width: 1.5px; border-left-width: 1.5px;  animation-delay: 1.2s; }
.phd-c-br { bottom: 15%; right: 10%; border-bottom-width: 1.5px; border-right-width: 1.5px; animation-delay: 1.3s; }
@keyframes phd-corner-appear {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

/* Masquer les décos sur mobile */
@media (max-width: 768px) {
  .page-hero-deco { display: none; }
}


/* ══════════════════════════════════════════════════════════
   ABOUT — Animation collaboration studio (nuances de jaune)
   ══════════════════════════════════════════════════════════ */

.about-anim {
  position: relative;
  width: 420px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG de scène */
.about-anim-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(232,255,71,0.08));
}

/* Léger balancement des personnages */
.about-person-left {
  animation: about-sway-left 6s ease-in-out infinite;
  transform-origin: 112px 255px;
}
.about-person-right {
  animation: about-sway-right 6s ease-in-out infinite;
  transform-origin: 228px 255px;
}
@keyframes about-sway-left {
  0%, 100% { transform: rotate(0deg); }
  30%       { transform: rotate(-1.5deg); }
  70%       { transform: rotate(1deg); }
}
@keyframes about-sway-right {
  0%, 100% { transform: rotate(0deg); }
  30%       { transform: rotate(1.5deg); }
  70%       { transform: rotate(-1deg); }
}

/* Particules externes */
.about-spark {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  animation: about-spark-rise linear infinite;
}
.about-spark-1 { width: 3px; height: 3px; bottom: 25%; left: 22%;  opacity: 0.45; animation-duration: 4.5s; animation-delay: 0s;   }
.about-spark-2 { width: 4px; height: 4px; bottom: 30%; right: 20%; opacity: 0.35; animation-duration: 6s;   animation-delay: 1.2s; }
.about-spark-3 { width: 2px; height: 2px; bottom: 20%; left: 50%;  opacity: 0.4;  animation-duration: 5s;   animation-delay: 2.5s; }
.about-spark-4 { width: 3px; height: 3px; bottom: 35%; right: 35%; opacity: 0.3;  animation-duration: 7s;   animation-delay: 3.5s; }
@keyframes about-spark-rise {
  0%   { transform: translate(0, 0)    scale(1);   opacity: 0.5; }
  50%  { transform: translate(-6px, -20px) scale(1.2); opacity: 0.7; }
  100% { transform: translate(4px, -45px)  scale(0);   opacity: 0;   }
}

/* ─── Hero music button ──────────────────────────────────── */
.hero-visual-inner {
  cursor: pointer;
}
.hero-visual-inner:hover .hero-icon {
  background: #f4ff6e;
  box-shadow: 0 0 40px rgba(232,255,71,0.35);
  transform: scale(1.08);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.hero-visual-inner.playing {
  border-color: rgba(232,255,71,0.5);
}
.hero-visual-inner.playing .hero-icon {
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(232,255,71,0.12), 0 0 40px rgba(232,255,71,0.25);
  animation: pulse-play 1.8s ease-in-out infinite;
}
@keyframes pulse-play {
  0%, 100% { box-shadow: 0 0 0 8px rgba(232,255,71,0.12), 0 0 40px rgba(232,255,71,0.2); }
  50%       { box-shadow: 0 0 0 16px rgba(232,255,71,0.06), 0 0 60px rgba(232,255,71,0.35); }
}
.hero-music-tooltip {
  position: absolute;
  bottom: -2.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-cond);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.hero-visual-inner:hover .hero-music-tooltip {
  opacity: 1;
}
.hero-visual-inner.playing .hero-music-tooltip {
  content: 'Pause';
  color: var(--accent);
  opacity: 0.7;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .container { padding: 0 2rem; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card { aspect-ratio: 16/9; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 4rem; }
  .contact-info { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-top { flex-direction: column; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  .nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .container { padding: 0 1.5rem; }
  .section { padding: 5rem 0; }
  .hero { padding-bottom: 4rem; }
  .hero-visual { display: none; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .affiches-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-legal { flex-wrap: wrap; gap: 0.8rem; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item { padding: 0 1rem; }
}
