/* Compagnie Vox Oniri — feuille de style */

@font-face { font-family: Poppins; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/poppins-300.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-400.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-600.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/poppins-800.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: italic; font-weight: 300; font-display: swap; src: url(fonts/poppins-300i.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: italic; font-weight: 800; font-display: swap; src: url(fonts/poppins-800i.woff2) format('woff2'); }

:root {
  --red: #ee2346;
  --red-dark: #c9163a;
  --ink: #0d0d0d;
  --paper: #f6f6f4;
  --white: #ffffff;
  --grey: #6b6b6b;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong { font-weight: 600; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Logo (repris du dossier : VOX / ONIRI, O lumineux) ---------- */
.logo {
  display: inline-grid;
  justify-items: end;
  text-decoration: none;
  color: var(--white);
  font-weight: 300;
  line-height: 1;
}
.logo__cie { letter-spacing: .55em; margin-right: -.55em; font-size: .17em; font-weight: 400; margin-bottom: .35em; }
.logo__vox { letter-spacing: .12em; margin-right: -.12em; }
.logo__oniri { display: inline-flex; align-items: center; letter-spacing: .12em; margin-right: -.12em; }
.logo__o {
  display: inline-block;
  width: .78em; height: .78em;
  margin-right: .14em;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 38%, #fff 40%, #fff 58%, rgba(255,255,255,.6) 68%, transparent 74%);
  filter: blur(.012em);
  box-shadow: 0 0 .25em rgba(255,255,255,.7);
}
.logo--small { font-size: 22px; }
.logo--big { font-size: clamp(72px, 15vw, 150px); }

/* ---------- Barre de navigation ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter);
  transition: background .3s, box-shadow .3s;
}
.topbar.is-solid { background: var(--red); box-shadow: 0 2px 16px rgba(0,0,0,.2); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--white); text-decoration: none; font-weight: 400; font-size: 15px; letter-spacing: .02em; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav__cta { border: 1.5px solid var(--white); padding: 6px 16px; border-radius: 999px; }
.nav__cta:hover { background: var(--white); color: var(--red) !important; text-decoration: none !important; }
.menu-btn { display: none; }

@media (max-width: 820px) {
  .menu-btn {
    display: block; background: none; border: 1.5px solid var(--white); color: var(--white);
    font: 400 14px Poppins, sans-serif; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px 0;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px var(--gutter); font-size: 17px; }
  .nav__cta { border: 0; border-radius: 0; color: var(--red) !important; }
}

/* ---------- Accueil ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .55; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,0) 30%, rgba(13,13,13,.2) 55%, rgba(238,35,70,.9) 100%);
}
.hero__content {
  position: relative;
  max-width: var(--wrap); width: 100%; margin: 0 auto;
  padding: 120px var(--gutter) 56px;
  display: grid; gap: 28px; justify-items: start;
}
.hero__content .logo { justify-self: start; }
.hero__tagline { font-size: clamp(17px, 2.1vw, 21px); max-width: 34em; margin: 0; }
.hero__show {
  display: grid; text-decoration: none;
  background: var(--ink); padding: 16px 26px; border-left: 6px solid var(--white);
  transition: transform .2s;
}
.hero__show:hover { transform: translateX(6px); }
.hero__show-label { font-size: 13px; text-transform: uppercase; letter-spacing: .2em; font-weight: 400; }
.hero__show-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; font-style: italic; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--white); }
.section--red { background: var(--red); color: var(--white); }

.tag {
  display: inline-block;
  font-size: 15px; font-weight: 400; text-transform: uppercase; letter-spacing: .18em;
  background: var(--ink); color: var(--white);
  padding: 8px 18px; margin-bottom: 36px;
}
.tag--red { background: var(--red); }
.tag--dark { background: var(--ink); }

.lead { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.45; max-width: 30em; margin-bottom: 48px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.cols h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: var(--red); }

.show-title { font-size: clamp(44px, 9vw, 96px); font-weight: 800; font-style: italic; letter-spacing: -.01em; margin-bottom: 20px; }
.credits { font-size: 18px; color: #d8d8d8; }
.credits strong { color: var(--white); }
.pitch {
  font-size: clamp(20px, 2.8vw, 30px); font-weight: 600; line-height: 1.35;
  border-left: 6px solid var(--red); padding-left: 22px; margin: 40px 0 56px; max-width: 26em;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split__img { margin: 0; position: sticky; top: 96px; }
.split__img img { width: 100%; }
.split__text h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .16em; color: var(--red); margin: 0 0 12px; font-weight: 600; }
.split__text h4:not(:first-child) { margin-top: 32px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split__img { position: static; }
  .split--reverse .split__img { order: -1; }
}

/* ---------- Extraits ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.quotes blockquote { margin: 0; position: relative; padding-top: 44px; font-size: 17px; line-height: 1.7; }
.quotes blockquote::before {
  content: "«"; position: absolute; top: -14px; left: -4px;
  font-size: 80px; font-weight: 800; line-height: 1; color: var(--ink);
}

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); position: relative; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery__credit { position: absolute; right: 12px; bottom: 6px; margin: 0; font-size: 12px; color: rgba(255,255,255,.8); }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Calendrier ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: 300px 1fr; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.step__head {
  background: var(--red); color: var(--white); font-weight: 800; font-size: 20px; line-height: 1.25;
  padding: 26px 40px 26px 26px; display: flex; gap: 16px; align-items: flex-start;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
}
.step__head small { display: block; font-weight: 300; font-size: 14px; margin-top: 6px; }
.step__num { font-size: 44px; line-height: .9; font-style: italic; }
.step__body { padding: 26px 30px; }
.step__body p:last-child, .step__body ul:last-child { margin-bottom: 0; }
.step__body ul { margin: 0 0 1em; padding-left: 20px; }
@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; }
  .step__head { clip-path: none; padding-right: 26px; }
}
.btn {
  display: inline-block; margin-top: 8px;
  background: var(--ink); color: var(--white); text-decoration: none; font-weight: 600;
  padding: 12px 24px; border-radius: 999px;
}
.btn:hover { background: var(--red); }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; }
.person { font-size: 15.5px; color: #d6d6d6; }
.person__photo {
  width: 140px; height: 140px; border-radius: 50%; object-fit: cover;
  transform: scale(1); outline: 4px solid var(--red); outline-offset: -2px;
  clip-path: circle(47%);
  margin-bottom: 20px;
}
.person__head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.person h3 { color: var(--white); font-size: 24px; font-weight: 800; margin: 0; }
.person__role { color: var(--red); font-weight: 400; font-size: 14px; letter-spacing: .03em; margin-bottom: 18px; }
.person__insta {
  display: inline-flex; flex: none; padding: 4px; margin: -4px 0; border-radius: 8px;
  color: #bdbdbd; transition: color .2s ease, transform .2s ease;
}
.person__insta:hover, .person__insta:focus-visible { color: var(--red); transform: scale(1.1); }
.person__insta:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- Contact ---------- */
.contact { text-align: left; }
.contact__lead { font-size: 20px; max-width: 28em; }
.contact__mail a { font-size: clamp(26px, 5vw, 52px); font-weight: 800; text-decoration: none; word-break: break-word; }
.contact__mail a:hover { text-decoration: underline; text-underline-offset: 8px; }
.contact__tel a { font-size: 22px; font-weight: 400; text-decoration: none; }

.footer { background: var(--ink); color: #9a9a9a; font-size: 13px; text-align: center; padding: 24px var(--gutter); }
.footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__show, .topbar { transition: none; }
}

/* ---------- Animations discrètes ---------- */
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 .25em rgba(255,255,255,.7); }
  50%      { box-shadow: 0 0 .5em rgba(255,255,255,.95), 0 0 .9em rgba(255,255,255,.35); }
}

.hero__media img { animation: kenburns 14s ease-out both; }
.hero__content > * { animation: fadeUp 1s cubic-bezier(.2,.7,.2,1) both; }
.hero__content > :nth-child(2) { animation-delay: .35s; }
.hero__content > :nth-child(3) { animation-delay: .6s; }
.logo__o { animation: breathe 5s ease-in-out infinite; }

/* Apparition au défilement (classes ajoutées par le script : sans JS, tout reste visible) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

.gallery img { transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .8s; filter: saturate(.85); }
.gallery { overflow: hidden; }
.gallery img:hover { transform: scale(1.04); filter: saturate(1); }
.person__photo { transition: transform .5s ease; }
.person:hover .person__photo { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .hero__media img, .hero__content > *, .logo__o { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .gallery img, .person__photo, .person__insta { transition: none; }
}
