/* ============================================================
   Pages interieures — Studio & Contact.
   Meme langage visuel que la page projet.
   ============================================================ */

.pg-body {
  background: #1A1A1A;
  color: #E8E8E4;
  cursor: none;
}

#wg-env {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.pg {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 5vw, 6rem);
}

.pg::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 128px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.88), rgba(26, 26, 26, 0));
}

/* ---------- hero ---------- */

.pg-hero {
  padding-top: clamp(2.6rem, 7vh, 4.4rem);
}

.pg-kicker {
  display: flex;
  gap: 1.4rem;
  margin: 0 0 clamp(1.4rem, 3vh, 2.2rem);
  font-family: 'Neuepower', Arial, sans-serif;
  font-size: clamp(0.6rem, 0.74vw, 0.74rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(199, 184, 166, 0.78);
}

.pg-kicker span:first-child {
  color: #fb0301;
}

.pg-title {
  margin: 0;
  font-family: 'Neuepower Ultra', 'Neuepower', Arial, sans-serif;
  font-size: clamp(2.6rem, 11vw, 12rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.pg-lead {
  max-width: 46ch;
  margin: clamp(2rem, 6vh, 3.6rem) 0 0;
  font-family: 'neue-haas-grotesk-display', 'Neuepower', Arial, sans-serif;
  font-size: clamp(1.1rem, 1.9vw, 1.9rem);
  line-height: 1.45;
  color: rgba(232, 232, 228, 0.9);
}

.pg-lead em {
  font-style: normal;
  color: #fb0301;
}

/* ---------- expertises ---------- */

.pg-list {
  margin-top: clamp(4rem, 12vh, 9rem);
  border-top: 1px solid rgba(199, 184, 166, 0.22);
}

.pg-list__row {
  display: grid;
  grid-template-columns: minmax(9rem, 30%) 1fr;
  gap: clamp(1.2rem, 4vw, 4rem);
  padding: clamp(1.6rem, 4.5vh, 3rem) 0;
  border-bottom: 1px solid rgba(199, 184, 166, 0.22);
}

.pg-list__row h2 {
  margin: 0;
  font-family: 'Neuepower', Arial, sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #E8E8E4;
}

.pg-list__row p {
  margin: 0;
  max-width: 60ch;
  font-family: 'neue-haas-grotesk-display', 'Neuepower', Arial, sans-serif;
  font-size: clamp(0.95rem, 1.25vw, 1.2rem);
  line-height: 1.55;
  color: rgba(232, 232, 228, 0.72);
}

/* ---------- chiffres ---------- */

.pg-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  margin-top: clamp(4rem, 12vh, 8rem);
  padding-top: clamp(1.6rem, 4vh, 2.6rem);
  border-top: 1px solid rgba(199, 184, 166, 0.22);
}

.pg-facts__n {
  display: block;
  font-family: 'Neuepower Ultra', 'Neuepower', Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fb0301;
}

.pg-facts__l {
  display: block;
  margin-top: 0.5rem;
  font-family: 'Neuepower', Arial, sans-serif;
  font-size: clamp(0.56rem, 0.7vw, 0.7rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(199, 184, 166, 0.78);
}

/* ---------- contact ---------- */

.pg-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.6rem, 4vw, 3.4rem);
  margin-top: clamp(3.5rem, 10vh, 7rem);
  padding-top: clamp(1.6rem, 4vh, 2.6rem);
  border-top: 1px solid rgba(199, 184, 166, 0.22);
}

.pg-contact__col h3 {
  margin: 0 0 1rem;
  font-family: 'Neuepower', Arial, sans-serif;
  font-size: clamp(0.56rem, 0.7vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fb0301;
}

.pg-contact__col p,
.pg-contact__col a {
  display: block;
  margin: 0 0 0.4rem;
  font-family: 'neue-haas-grotesk-display', 'Neuepower', Arial, sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.5;
  color: rgba(232, 232, 228, 0.82);
  text-decoration: none;
  cursor: none;
  transition: color 0.3s ease;
}

.pg-contact__col a:hover {
  color: #fb0301;
}

/* ---------- actions groupees (404) ---------- */

.pg-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.6rem, 3.4vw, 3.4rem);
  margin-top: clamp(3rem, 9vh, 6rem);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.pg-ready .pg-actions {
  opacity: 1;
  transform: none;
  transition-delay: 0.18s;
}

/* ---------- appel a l'action ---------- */

.pg-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(3.5rem, 10vh, 7rem);
  padding: clamp(1rem, 2.4vw, 1.5rem) clamp(1.6rem, 4vw, 3rem);
  border: 1px solid rgba(251, 3, 1, 0.5);
  border-radius: 999px;
  font-family: 'Neuepower', Arial, sans-serif;
  font-size: clamp(0.66rem, 0.86vw, 0.86rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fb0301;
  text-decoration: none;
  cursor: none;
  transition: background 0.4s ease, color 0.4s ease;
}

.pg-cta:hover {
  background: #fb0301;
  color: #1A1A1A;
}

/* ---------- entree ---------- */

.pg-hero,
.pg-list,
.pg-facts,
.pg-contact,
.pg-cta {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.pg-ready .pg-hero { opacity: 1; transform: none; }
.pg-ready .pg-list { opacity: 1; transform: none; transition-delay: 0.08s; }
.pg-ready .pg-facts { opacity: 1; transform: none; transition-delay: 0.14s; }
.pg-ready .pg-contact { opacity: 1; transform: none; transition-delay: 0.12s; }
.pg-ready .pg-cta { opacity: 1; transform: none; transition-delay: 0.18s; }

@media (max-width: 900px) {
  .pg-list__row {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .pg-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ============================================================
   Bandes pleine largeur (fond clair) et theme clair.
   ============================================================ */

.pg-band {
  position: relative;
  z-index: 3;
  margin-left: calc(-1 * clamp(1.5rem, 5vw, 6rem));
  margin-right: calc(-1 * clamp(1.5rem, 5vw, 6rem));
  padding-left: clamp(1.5rem, 5vw, 6rem);
  padding-right: clamp(1.5rem, 5vw, 6rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

.pg-band--light { background: #E8E8E4; color: #1A1A1A; }
.pg-band--sand  { background: #C7B8A6; color: #1A1A1A; }

.pg-band.pg-contact,
.pg-band.pg-facts { margin-top: 0; }

.pg-band.pg-facts { padding-top: clamp(3rem, 9vh, 6rem); }

.pg-band--light .pg-title,
.pg-band--sand .pg-title,
.pg-band--light .pg-lead,
.pg-band--sand .pg-lead { color: #1A1A1A; }

.pg-band--light .pg-kicker,
.pg-band--sand .pg-kicker,
.pg-band--light .pg-facts__l,
.pg-band--sand .pg-facts__l { color: rgba(26, 26, 26, 0.6); }

.pg-band--light .pg-contact__col p,
.pg-band--sand .pg-contact__col p,
.pg-band--light .pg-contact__col a,
.pg-band--sand .pg-contact__col a { color: rgba(26, 26, 26, 0.82); }

.pg-band--light .pg-contact__col a:hover,
.pg-band--sand .pg-contact__col a:hover { color: #fb0301; }

.pg-band--light .pg-contact__col h3,
.pg-band--sand .pg-contact__col h3 { color: #fb0301; }

/* --- interface sombre posee sur un fond clair --- */

body.pg-light .pg::before { display: none; }

body.pg-light .wegam-menu-btn:not(.is-open) {
  color: #1A1A1A;
  border-color: rgba(26, 26, 26, 0.35);
}

body.pg-light .wegam-menu-btn:not(.is-open) .wegam-burger i { background: #1A1A1A; }

body.pg-light .wegam-position b,
body.pg-light .wegam-position span { color: #1A1A1A; }

body.pg-light .wegam-position i { color: rgba(26, 26, 26, 0.45); }

/* Quand le footer sombre entre a l'ecran, l'interface redevient claire. */
body.pg-light.pg-light-off .wegam-menu-btn:not(.is-open) { color: #E8E8E4; border-color: rgba(232, 232, 228, 0.35); }
body.pg-light.pg-light-off .wegam-menu-btn:not(.is-open) .wegam-burger i { background: #E8E8E4; }
body.pg-light.pg-light-off .wegam-position b,
body.pg-light.pg-light-off .wegam-position span { color: #E8E8E4; }
body.pg-light.pg-light-off .wegam-position i { color: rgba(199, 184, 166, 0.4); }


/* Les sections qui suivent les metiers passent au-dessus du fond fixe
   des images plein ecran (sinon celui-ci les recouvre). */
.pg-hero,
.pg > .wg-btn { position: relative; z-index: 3; }


/* La premiere section de Studio doit rester bien visible avant les metiers. */
.pg-hero--tall {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* Bande d'appel a l'action : prolonge le fond de la section precedente. */
.pg-band--cta {
  padding-top: clamp(1.5rem, 4vh, 3rem);
  display: flex;
  align-items: center;
}
.pg-band--cta .wg-btn { margin: 0; }
