/* ═══════════════════════════════════════════
   DÉRACINÉ — main.css
   Version : 2026-05
═══════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────── */
:root {
  --black:     #0c0c0c;
  --white:     #f0ede8;
  --magenta:   #e100f5;
  --grey:      #9a9a9a;
  --grey-md:   #3d3d3d;
  --grey-dark: #1a1a1a;

  --f-logo:    'Nunito', sans-serif;
  --f-display: 'Bebas Neue', sans-serif;
  --f-body:    'DM Sans', sans-serif;

  --nav-h: 64px;
  --mx:    clamp(24px, 8.3vw, 120px); /* 120px à 1440px = wireframe */
  --col-max: 1200px;
}

/* ── RESET ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ─────────────────────────────────── */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  padding: 0 var(--mx);
  display: flex;
  align-items: center;
}
nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,12,12,.75) 0%, transparent 100%);
  pointer-events: none;
}
.nav-inner {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  list-style: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links a {
  font-family: var(--f-logo);
  font-weight: 800;
  font-size: clamp(.68rem, 1vw, .82rem);
  letter-spacing: .05em;
  opacity: .65;
  transition: opacity .2s, color .2s;
}
.nav-links a:hover   { opacity: 1; }
.nav-links a.active  { opacity: 1; }
.nav-links a.nav-current { color: var(--magenta); opacity: 1; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--white);
  transition: .25s;
}

/* ── HERO — HOME ─────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-frame {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 62% 1fr;
}
.hero-band { background: var(--black); }
.hero-photo { overflow: hidden; }
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(.72);
}
.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 52%;
  background: linear-gradient(to top, var(--black) 0%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 0 var(--mx) clamp(40px, 8vh, 80px);
}
.hero-logo {
  display: inline-block;
  margin-bottom: .8rem;
  animation: fadeUp .8s .1s both;
}
.hero-logo img {
  height: clamp(48px, 10vw, 110px);
  width: auto;
  mix-blend-mode: screen;
  filter: brightness(1.15);
}
.hero-baseline {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(.8rem, 1.15vw, .98rem);
  color: rgba(240,237,232,.6);
  animation: fadeUp .8s .3s both;
}

/* ── HERO — PAGE INTÉRIEURE ──────────────── */
.page-hero {
  position: relative;
  width: 100%;
  height: clamp(320px, 55vh, 600px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(.55);
}
.page-hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--black) 0%, transparent 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--mx) clamp(32px, 5vh, 56px);
  width: 100%;
}
.page-hero-label {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(.75rem, 1vw, .88rem);
  color: var(--grey);
  margin-bottom: .5rem;
  display: block;
}
.page-hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 7vw, 6rem);
  letter-spacing: .04em;
  line-height: .95;
  text-transform: uppercase;
  color: var(--magenta);
}
.page-hero-title.white { color: var(--white); }

/* ── LAYOUT ──────────────────────────────── */
.wrap {
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 var(--mx);
}
.section {
  padding: clamp(48px, 7vw, 96px) var(--mx);
}
.section + .section {
  padding-top: 0;
}
.section-title {
  font-family: var(--f-logo);
  font-weight: 900;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: -.01em;
  margin-bottom: clamp(20px, 3vw, 36px);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-md);
}
.section-title.magenta { color: var(--magenta); }

/* ── TYPO ────────────────────────────────── */
.lead {
  font-weight: 700;
  font-size: clamp(.98rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  max-width: 760px;
}
.body-text {
  font-size: clamp(.84rem, 1.05vw, .96rem);
  color: rgba(240,237,232,.7);
  line-height: 1.9;
  max-width: 680px;
}
.body-text p + p { margin-top: 1em; }

/* ── INTRO HOME ──────────────────────────── */
.intro-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

/* ── CRÉATIONS LISTE HOME ────────────────── */
.creations-home {
  padding: 0 var(--mx) clamp(60px, 10vw, 120px);
  text-align: center;
}
.creations-home h2 {
  font-family: var(--f-logo);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin-bottom: clamp(28px, 4vw, 52px);
}
.creations-list-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.5vw, 30px);
}
.c-item {
  display: block;
  line-height: 1.15;
  transition: opacity .2s;
}
.c-item:hover { opacity: .6; }
.c-name {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 3.2vw, 2.4rem);
  letter-spacing: .05em;
  display: block;
  text-transform: uppercase;
}
.c-name.featured {
  color: var(--magenta);
  font-size: clamp(1.7rem, 4.2vw, 3.2rem);
}
.c-type {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(.7rem, .9vw, .82rem);
  color: var(--grey);
  display: block;
  margin-top: 2px;
}

/* ── CRÉATIONS PAGE LISTE ────────────────── */
.creations-nav {
  padding: clamp(48px, 7vw, 96px) var(--mx);
}
.creation-nav-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: .5rem 2rem;
  padding: clamp(20px, 2.5vw, 28px) 0;
  border-bottom: 1px solid var(--grey-md);
  transition: padding-left .25s;
  cursor: pointer;
}
.creation-nav-item:first-child { border-top: 1px solid var(--grey-md); }
.creation-nav-item:hover { padding-left: 10px; }
.creation-nav-item:hover .cni-name { color: var(--magenta); }
.cni-name {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3.5vw, 2.8rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
  line-height: 1;
}
.cni-name.current { color: var(--magenta); }
.cni-meta {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(.72rem, .95vw, .85rem);
  color: var(--grey);
  text-align: right;
  white-space: nowrap;
}
.cni-sub {
  grid-column: 1 / -1;
  font-size: .72rem;
  color: var(--grey-md);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: var(--f-display);
  margin-top: -2px;
}

/* ── PAGE PROJET ─────────────────────────── */
.projet-pitch {
  padding: clamp(48px, 7vw, 80px) var(--mx);
  max-width: calc(var(--col-max) + var(--mx)*2);
}

/* Grille images 2 colonnes */
.img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.5vw, 20px);
  padding: 0 var(--mx) clamp(48px, 6vw, 80px);
}
.img-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Grille 2 colonnes texte (équipe / production) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}
.two-col-item h3 {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--grey-md);
}

/* Liste équipe */
.equipe-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.equipe-list li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  font-size: clamp(.78rem, 1vw, .9rem);
}
.equipe-role {
  color: var(--grey);
  font-style: italic;
}
.equipe-name { font-weight: 400; }

/* Calendrier */
.dates-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.dates-list li {
  font-size: clamp(.78rem, 1vw, .9rem);
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--grey-dark);
}
.date-lieu { font-weight: 400; }
.date-date { color: var(--grey); font-style: italic; font-size: .82em; }

/* Vidéo embed */
.video-wrap {
  padding: 0 var(--mx) clamp(48px, 6vw, 80px);
}
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}
.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Téléchargements */
.downloads-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--grey-md);
  font-family: var(--f-logo);
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-download:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}
.btn-download svg {
  width: 14px; height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Nav projet précédent / suivant */
.projet-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--grey-md);
  margin-top: clamp(48px, 7vw, 96px);
}
.projet-nav-item {
  padding: clamp(20px, 3vw, 36px) var(--mx);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background .2s;
}
.projet-nav-item:hover { background: var(--grey-dark); }
.projet-nav-item + .projet-nav-item {
  border-left: 1px solid var(--grey-md);
  align-items: flex-end;
  text-align: right;
}
.pn-label {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
}
.pn-title {
  font-family: var(--f-display);
  font-size: clamp(1rem, 2vw, 1.6rem);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── PAGE QUI SOMMES-NOUS ────────────────── */
.timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px; bottom: 8px;
  width: 1px;
  background: var(--grey-md);
}
.timeline li {
  position: relative;
  padding: 0 0 clamp(20px, 2.5vw, 32px) 0;
  font-size: clamp(.8rem, 1.05vw, .92rem);
}
.timeline li::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  transform: translateX(-.5px);
}
.tl-year {
  font-family: var(--f-display);
  font-size: clamp(.9rem, 1.3vw, 1.1rem);
  letter-spacing: .08em;
  color: var(--magenta);
  display: block;
  margin-bottom: 2px;
}
.tl-text { color: rgba(240,237,232,.7); }

/* Partenaires logos */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 36px);
  align-items: center;
  margin-top: clamp(20px, 3vw, 36px);
}
.partners-grid img {
  height: clamp(28px, 3.5vw, 44px);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .5;
  transition: opacity .2s;
}
.partners-grid img:hover { opacity: 1; }

/* ── PAGE CONTACT ────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.contact-block h3 {
  font-family: var(--f-display);
  font-size: clamp(.85rem, 1.2vw, 1rem);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: .4rem;
}
.contact-block a:hover { color: var(--magenta); }

/* Formulaire */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.2rem;
}
.form-group label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--grey-dark);
  border: 1px solid var(--grey-md);
  color: var(--white);
  padding: 12px 14px;
  font-family: var(--f-body);
  font-size: .9rem;
  font-weight: 300;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--magenta);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--magenta);
  color: var(--black);
  font-family: var(--f-logo);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}
.btn-submit:hover { opacity: .85; }

/* ── FOOTER ──────────────────────────────── */
footer {
  border-top: 1px solid var(--grey-md);
  padding: clamp(28px, 5vw, 52px) var(--mx);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo img {
  height: 28px;
  width: auto;
  mix-blend-mode: screen;
  filter: brightness(1.1);
  opacity: .7;
}
.footer-social {
  display: flex;
  gap: 28px;
}
.footer-social a {
  opacity: .45;
  transition: opacity .2s;
  display: flex;
  align-items: center;
}
.footer-social a:hover { opacity: 1; }
.footer-social svg { width: 20px; height: 20px; fill: var(--white); }
.footer-copy {
  font-size: .65rem;
  color: var(--grey);
  letter-spacing: .1em;
  text-transform: uppercase;
}

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

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .two-col        { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .img-grid       { grid-template-columns: 1fr; }
  .projet-nav     { grid-template-columns: 1fr; }
  .projet-nav-item + .projet-nav-item {
    border-left: none;
    border-top: 1px solid var(--grey-md);
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--black);
    border-bottom: 1px solid var(--grey-md);
    padding: 6px 0 18px;
    gap: 0;
    width: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 13px var(--mx);
    font-size: .9rem;
    opacity: 1;
  }
  .nav-burger { display: flex; }
  .hero-frame { grid-template-columns: 0 100% 0; }
  footer { flex-direction: column; align-items: flex-start; }
}
