/* ══════════════════════════════════════════════════════════════
   ARSA — feuille de style
   Thème sombre. Trois pôles couleur : MICE (vert), STUDIO (violet),
   LIVE (bleu). La section "champ d'actions" prend la couleur du pôle
   sélectionné via la variable --accent posée sur #champ.
   ══════════════════════════════════════════════════════════════ */

/* ---- Typographie Satoshi ---------------------------------------------- */
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/Satoshi-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/Satoshi-Italic.woff2")  format("woff2"); font-weight: 400; font-style: italic;  font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/Satoshi-Medium.woff2")  format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/Satoshi-Bold.woff2")    format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/Satoshi-Black.woff2")   format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --bg:            #0a0a0c;
  --bg-soft:       #101013;
  --bg-card:       #141417;
  --line:          rgba(255, 255, 255, 0.10);
  --line-soft:     rgba(255, 255, 255, 0.06);
  --text:          #f4f4f6;
  --text-dim:      #9a9aa2;
  --text-faint:    #63636b;

  /* couleurs de pôle */
  --mice:          #8ed44e;
  --mice-deep:     #3f6b1c;
  --studio:        #c06cf0;
  --studio-deep:   #6a2b8f;
  --live:          #3f7cff;
  --live-deep:     #23407f;

  /* accent courant (par défaut : neutre) */
  --accent:        #ffffff;

  --font-display:  "Satoshi", "Inter", system-ui, sans-serif;
  --font-body:     "Satoshi", "Inter", system-ui, sans-serif;
  --container:     1180px;
  --radius:        22px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* En-têtes de section ---------------------------------------------------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--text-dim);
  margin-top: 14px;
  max-width: 560px;
}

/* Animation d'apparition ------------------------------------------------- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10,10,12,.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim); transition: color .2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-cta:hover { background: #fff; color: #000; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: #fff; display: block; }

.mobile-menu {
  position: fixed; inset: 68px 0 auto 0; z-index: 99;
  background: rgba(10,10,12,.97); backdrop-filter: blur(14px);
  padding: 24px 28px; flex-direction: column; gap: 20px;
  transform: translateY(-120%); transition: transform .35s ease;
  border-bottom: 1px solid var(--line-soft); display: flex;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-size: 18px; letter-spacing: .04em; }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  padding-bottom: 68px; overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,12,.55) 0%, rgba(10,10,12,.15) 40%, rgba(10,10,12,.9) 100%),
    radial-gradient(120% 80% at 20% 90%, rgba(10,10,12,.7), transparent 60%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.hero-text h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -0.02em;
}
.hero-text p { color: var(--text-dim); max-width: 420px; margin-top: 22px; font-size: 15px; }
.hero-card {
  flex: 0 0 320px; max-width: 320px;
  background: rgba(20,20,24,.55); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.hero-card h2 {
  font-family: var(--font-display); font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; line-height: 1.4; margin-bottom: 14px;
}
.hero-card p { color: var(--text-dim); font-size: 14px; }
.hero-card-link { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--text); opacity: .9; }
.hero-card-link:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   CHAMP D'ACTIONS — les 3 cartes / onglets
   ══════════════════════════════════════════════════════════════ */
.champ { padding: 96px 0 40px; background: var(--bg); }

.poles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px;
}
.pole-card {
  position: relative; text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-radius: 26px; padding: 26px 24px 22px;
  min-height: 240px; display: flex; flex-direction: column;
  color: #fff; font-family: inherit; overflow: hidden;
  transition: transform .3s ease, filter .3s ease, box-shadow .3s ease, opacity .3s ease;
  background: var(--bg-card);
}
.pole-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .92;
  transition: opacity .3s ease;
}
.pole-card > * { position: relative; z-index: 1; }

.pole-mice::before   { background: radial-gradient(120% 130% at 85% 115%, var(--mice) 0%, var(--mice-deep) 42%, #0e1a08 78%); }
.pole-studio::before { background: radial-gradient(120% 130% at 85% 115%, var(--studio) 0%, var(--studio-deep) 42%, #180a20 78%); }
.pole-live::before   { background: radial-gradient(120% 130% at 85% 115%, var(--live) 0%, var(--live-deep) 42%, #0a1024 78%); }

.pole-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.5); }

.pole-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; letter-spacing: .02em;
}
.pole-desc { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.9); max-width: 260px; }
.pole-solutions {
  margin-top: auto; padding-top: 18px; font-style: italic; font-size: 13.5px;
  color: rgba(255,255,255,.85);
}
.pole-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pole-tags .tag {
  font-size: 11px; padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25);
  color: #fff; white-space: nowrap;
}

/* état sélectionné / non-sélectionné */
.poles.has-active .pole-card:not(.is-active) { filter: grayscale(.85) brightness(.5); opacity: .55; }
.pole-card.is-active { box-shadow: 0 0 0 2px rgba(255,255,255,.35), 0 24px 60px rgba(0,0,0,.55); }
.pole-card.is-active::before { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   PANNEAU DÉTAIL D'UN PÔLE (injecté par JS)
   ══════════════════════════════════════════════════════════════ */
.pole-detail { margin-top: 46px; }
.pole-detail[hidden] { display: none; }

.pd-projects-title, .pd-exp-title {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.01em;
}
.pd-projects-title span, .pd-exp-title span { color: var(--accent); }
.pd-projects-title { color: var(--text); }

.pd-showcase {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px;
}
.pd-showcase .shot { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; position: relative; border: 1px solid var(--line-soft); background: #101014; }
.pd-showcase .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-showcase .shot.is-poster img { object-fit: contain; padding: 6px; }

/* bannière colorée */
.pd-banner {
  margin-top: 46px; padding: 34px 34px 30px; border-radius: 18px; position: relative; overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(10,10,12,.85), rgba(10,10,12,.2)),
    linear-gradient(120deg, var(--accent), transparent 70%);
}
.pd-banner h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.7rem); letter-spacing: .01em; }
.pd-banner .sub { font-family: var(--font-display); font-weight: 500; margin-top: 8px; font-size: 1rem; }
.pd-banner .tag { color: rgba(255,255,255,.72); margin-top: 10px; font-size: 14px; }

/* intro + logo pôle */
.pd-intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: center; margin-top: 40px; }
.pd-intro p { color: var(--text-dim); font-size: 15px; margin-bottom: 14px; }
.pd-logo { display: flex; align-items: center; gap: 14px; justify-content: flex-end; }
.pd-logo-block { width: 26px; height: 52px; background: var(--accent); border-radius: 3px; }
.pd-logo-word { font-family: var(--font-display); font-weight: 600; font-size: 2rem; letter-spacing: .04em; }

/* expertises */
.pd-exp-title { margin-top: 56px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pd-group { margin-top: 34px; }
.pd-group > h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.pd-group > .grp-sub { color: var(--text-dim); font-size: 14px; margin-top: 6px; max-width: 760px; }

.exp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.exp-card {
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: 14px; padding: 18px 18px 16px; background: rgba(255,255,255,.015);
  display: flex; flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 0 24px -18px var(--accent);
}
.exp-card h5 { font-size: 14.5px; font-weight: 600; margin-bottom: 12px; }
.exp-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.exp-card li { position: relative; padding-left: 15px; color: var(--text-dim); font-size: 13px; line-height: 1.45; }
.exp-card li::before { content: "•"; position: absolute; left: 0; color: var(--accent); }
.exp-cta {
  margin-top: auto; align-self: flex-start; cursor: pointer; font-family: inherit;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; color: #fff;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border: 1px solid var(--accent); transition: background .2s ease, color .2s ease;
}
.exp-cta:hover { background: var(--accent); color: #0a0a0c; }

/* ══════════════════════════════════════════════════════════════
   PROJETS (vue par défaut)
   ══════════════════════════════════════════════════════════════ */
.projects { padding: 40px 0 96px; background: var(--bg); }
.projects[hidden] { display: none; }
.projects .section-title { margin-bottom: 42px; }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.proj {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line-soft);
  background: var(--bg-card); transition: transform .3s ease, border-color .3s ease;
}
.proj:hover { transform: translateY(-5px); border-color: var(--line); }
.proj-thumb { aspect-ratio: 3/2; position: relative; background: #17171b; }
.proj-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-body { padding: 14px 15px 16px; }
.proj-body h3 { font-size: 15px; font-weight: 600; }
.proj-body .meta { color: var(--text-faint); font-size: 12px; margin-top: 3px; }
.proj-body .chips { display: flex; gap: 7px; margin-top: 12px; flex-wrap: wrap; }
.chip {
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.chip-mice   { background: rgba(142,212,78,.16);  color: var(--mice);   border: 1px solid rgba(142,212,78,.4); }
.chip-studio { background: rgba(192,108,240,.16); color: var(--studio); border: 1px solid rgba(192,108,240,.4); }
.chip-live   { background: rgba(63,124,255,.16);  color: var(--live);   border: 1px solid rgba(63,124,255,.4); }

/* Placeholders visuels (à remplacer par les vraies photos) --------------- */
.ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
      font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.55);
      font-size: 13px; text-align: center; padding: 10px; }
.ph-mice   { background: radial-gradient(120% 120% at 70% 90%, #6fae37, #12210a); }
.ph-studio { background: radial-gradient(120% 120% at 70% 90%, #9a49c9, #1a0a24); }
.ph-live   { background: radial-gradient(120% 120% at 70% 90%, #3866d6, #0a1128); }
.ph-neutral{ background: radial-gradient(120% 120% at 70% 90%, #2a2a30, #101014); }

/* ══════════════════════════════════════════════════════════════
   SHOWREEL
   ══════════════════════════════════════════════════════════════ */
.showreel { padding: 20px 0 96px; }
.showreel-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.reel { position: relative; border-radius: 16px; overflow: hidden; display: block; border: 1px solid var(--line-soft); }
.reel-main { aspect-ratio: 16/10; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-col { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.reel-small { position: relative; aspect-ratio: 16/9; }
.reel-play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255,255,255,.92); z-index: 2; pointer-events: none;
}
.reel-play::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0;
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #0a0a0c;
  transform: translateX(2px);
}
.reel:hover .reel-play { transform: scale(1.08); transition: transform .2s ease; }

/* ══════════════════════════════════════════════════════════════
   ILS NOUS FONT CONFIANCE
   ══════════════════════════════════════════════════════════════ */
.trust { padding: 0 0 90px; }
.trust-band {
  display: flex; align-items: center; gap: 40px; padding: 26px 36px;
  border: 1px solid rgba(142,212,78,.45); border-radius: 20px;
  box-shadow: 0 0 40px -24px var(--mice);
}
.trust-title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; flex: 0 0 auto; }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; flex: 1; justify-content: space-around; }
.trust-logos img {
  height: 34px; width: auto; max-width: 120px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .72; transition: opacity .2s ease;
}
.trust-logos img:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════════ */
.contact { padding: 20px 0 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact .section-title { margin-top: 8px; }
.contact-lead { color: var(--text-dim); margin: 20px 0 30px; max-width: 380px; }
.contact-line {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
  border-top: 1px solid var(--line-soft); color: var(--text); font-size: 15px;
}
.contact-line:last-child { border-bottom: 1px solid var(--line-soft); }
.contact-ic {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-dim);
}

.contact-form { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; background: #0c0c0f; border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; color: var(--text); font-family: inherit; font-size: 15px; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(255,255,255,.4); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.btn-send {
  width: 100%; background: #fff; color: #0a0a0c; border: 0; border-radius: 12px; cursor: pointer;
  padding: 15px; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .04em;
  transition: opacity .2s ease;
}
.btn-send:hover { opacity: .88; }
.form-done { display: none; text-align: center; padding: 30px 10px; color: var(--text-dim); }
.form-done.show { display: block; }
#form-fields.hide { display: none; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--line-soft); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-logo { height: 18px; width: auto; opacity: .9; }
.footer-copy { color: var(--text-faint); font-size: 12px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-faint); font-size: 12px; }
.footer-links a:hover { color: var(--text); }

/* ══════════════════════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════════════════════ */
img.zoomable { cursor: zoom-in; }

.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center;
  background: rgba(6,6,8,.92); backdrop-filter: blur(6px);
  padding: 40px; opacity: 0; transition: opacity .22s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lb-figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb-figure img {
  max-width: 92vw; max-height: 82vh; width: auto; height: auto; object-fit: contain;
  border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,.6); cursor: default;
  animation: lb-in .25s ease;
}
@keyframes lb-in { from { transform: scale(.96); opacity: .4; } to { transform: none; opacity: 1; } }
.lb-figure figcaption { color: var(--text-dim); font-size: 13px; letter-spacing: .02em; }

.lb-close {
  position: absolute; top: 22px; right: 26px; z-index: 2;
  background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; opacity: .8;
}
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; color: #fff; font-size: 28px; line-height: 1;
  background: rgba(255,255,255,.08); border: 1px solid var(--line); transition: background .2s ease;
}
.lb-nav:hover { background: rgba(255,255,255,.18); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--text-dim); font-size: 12px; letter-spacing: .1em; }

@media (max-width: 560px) {
  .lightbox { padding: 16px; }
  .lb-nav { width: 42px; height: 42px; font-size: 22px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-card { flex-basis: auto; max-width: 100%; }
  .poles { grid-template-columns: 1fr; }
  .poles.has-active .pole-card:not(.is-active) { filter: grayscale(.7) brightness(.6); opacity: .7; }
  .pd-showcase, .exp-cards { grid-template-columns: repeat(2, 1fr); }
  .pd-intro { grid-template-columns: 1fr; }
  .pd-logo { justify-content: flex-start; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .showreel-grid { grid-template-columns: 1fr; }
  .trust-band { flex-direction: column; align-items: flex-start; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .pd-showcase, .exp-cards, .projects-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 3rem; }
}
