/* ============================================================
   Sections de l'accueil : expertises, preuves, humain, footer.
   Palette : noir / acier / orange #fb0301 / blanc casse #E8E8E4.
   ============================================================ */

.wg-sec {
  position: relative;
  z-index: 3;
  color: #E8E8E4;
  font-family: 'neue-haas-grotesk-display', 'Neuepower', Arial, sans-serif;
}

.wg-sec__kicker {
  margin: 0 0 2.4rem;
  font-family: 'Neuepower', Arial, sans-serif;
  font-size: clamp(0.6rem, 0.72vw, 0.76rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(199, 184, 166, 0.78);
}

.wg-sec__kicker span {
  color: #fb0301;
}

/* ============================================================
   1. EXPERTISES
   ============================================================ */

.wg-exp {
  padding: clamp(6rem, 14vh, 12rem) 0;
  min-height: calc(100vh - var(--wg-bar, 150px));
  display: flex;
  align-items: center;
}

.wg-exp__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.wg-exp.is-live .wg-exp__bg {
  opacity: 1;
}

.wg-exp__img {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.wg-exp__img.is-on {
  opacity: 1;
}

.wg-exp__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 30% 50%, rgba(26, 26, 26, 0.55) 0%, rgba(26, 26, 26, 0.9) 70%),
    linear-gradient(180deg, #1A1A1A 0%, rgba(26, 26, 26, 0.35) 30%, rgba(26, 26, 26, 0.35) 70%, #1A1A1A 100%);
}

.wg-exp__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(1.5rem, 5vw, 6rem);
}

.wg-exp__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(199, 184, 166, 0.22);
}

.wg-exp__item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(0.8rem, 2vw, 2.4rem);
  padding: clamp(0.5rem, 1.6vh, 1.4rem) 0;
  border-bottom: 1px solid rgba(199, 184, 166, 0.22);
  cursor: none;
  transition: padding-left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.wg-exp__item:hover,
.wg-exp__item.is-on {
  padding-left: clamp(0.6rem, 2.4vw, 3rem);
}

.wg-exp__num {
  flex: 0 0 auto;
  font-family: 'Neuepower', Arial, sans-serif;
  font-size: clamp(0.6rem, 0.8vw, 0.8rem);
  letter-spacing: 0.22em;
  color: rgba(199, 184, 166, 0.78);
  transition: color 0.5s ease;
}

.wg-exp__item:hover .wg-exp__num,
.wg-exp__item.is-on .wg-exp__num {
  color: #fb0301;
}

.wg-exp__name {
  font-family: 'Neuepower Ultra', 'Neuepower', Arial, sans-serif;
  font-size: clamp(2rem, 7.6vw, 8.4rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(232, 232, 228, 0.5);
  transition: color 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
}

.wg-exp__item:hover .wg-exp__name,
.wg-exp__item.is-on .wg-exp__name {
  color: #E8E8E4;
  transform: scale(1.03);
}

.wg-exp__note {
  flex: 1 0 100%;
  max-width: none;
  margin: 0.5rem 0 0;
  font-size: clamp(0.72rem, 0.9vw, 0.9rem);
  line-height: 1.5;
  text-align: left;
  color: #fb0301;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.wg-exp__item:hover .wg-exp__note,
.wg-exp__item.is-on .wg-exp__note {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   2. PREUVES
   ============================================================ */

.wg-proof {
  padding: clamp(5rem, 13vh, 11rem) clamp(1.5rem, 5vw, 6rem);
  background: #E8E8E4;
  color: #1A1A1A;
}

.wg-proof .wg-sec__kicker { color: rgba(26, 26, 26, 0.6); }
.wg-proof .wg-proof__grid { border-top-color: rgba(26, 26, 26, 0.2); }
.wg-proof .wg-proof__num { color: #1A1A1A; }
.wg-proof .wg-proof__lab { color: rgba(26, 26, 26, 0.62); }

.wg-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid rgba(199, 184, 166, 0.22);
  padding-top: clamp(1.6rem, 4vh, 3rem);
}

.wg-proof__stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wg-proof__num {
  font-family: 'Neuepower Ultra', 'Neuepower', Arial, sans-serif;
  font-size: clamp(3rem, 10vw, 11rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  color: #E8E8E4;
  font-variant-numeric: tabular-nums;
}

.wg-proof__num i {
  font-style: normal;
  color: #fb0301;
}

.wg-proof__lab {
  font-family: 'Neuepower', Arial, sans-serif;
  font-size: clamp(0.58rem, 0.72vw, 0.74rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(199, 184, 166, 0.78);
  line-height: 1.5;
}

/* ============================================================
   3. HUMAIN
   ============================================================ */

.wg-human {
  position: relative;
  height: 250vh;
  z-index: 3;
}

.wg-human__pin {
  position: sticky;
  top: 0;
  height: calc(100vh - var(--wg-bar, 150px));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wg-human__media {
  position: relative;
  width: 38vw;
  height: 52vh;
  overflow: hidden;
  transform-origin: center center;
  will-change: transform, width, height;
  box-shadow: 0 40px 120px rgba(26, 26, 26, 0.6);
}

.wg-human__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.12);
  will-change: transform;
}

.wg-human__cap {
  position: absolute;
  left: clamp(1.5rem, 5vw, 6rem);
  bottom: clamp(2rem, 8vh, 6rem);
  max-width: 34ch;
  z-index: 2;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.wg-human.is-open .wg-human__cap {
  opacity: 1;
  transform: translateY(0);
}

.wg-human__cap p {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  line-height: 1.45;
  color: rgba(232, 232, 228, 0.82);
}

.wg-human__cap em {
  font-family: 'Champagne Cartel', cursive;
  font-style: normal;
  color: #fb0301;
}

/* la section suivante glisse par-dessus l'image figee */
.wg-after-human {
  position: relative;
  z-index: 4;
  margin-top: calc(-100vh + var(--wg-bar, 150px));
  background: #1A1A1A;
}

/* ============================================================
   4. FOOTER
   ============================================================ */

.wg-foot {
  position: relative;
  z-index: 4;
  padding-top: clamp(6rem, 16vh, 13rem);
  padding-bottom: calc(150px + clamp(1.5rem, 4vh, 3rem));
  background: #fb0301;
  color: #1A1A1A;
  overflow: hidden;
}

.wg-foot__ask {
  padding: 0 clamp(1.5rem, 5vw, 6rem);
  max-width: 100%;
}

.wg-foot__ask p {
  margin: 0;
  font-family: 'Neuepower Ultra', 'Neuepower', Arial, sans-serif;
  font-size: clamp(1.7rem, 5.6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #E8E8E4;
}

.wg-foot__ask em {
  font-family: 'Neuepower Ultra', 'Neuepower', Arial, sans-serif;
  font-style: normal;
  text-transform: uppercase;
  color: #000;
}

.wg-foot__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin: clamp(2.4rem, 6vh, 4rem) clamp(1.5rem, 5vw, 6rem) 0;
  padding: 1.1rem 2.2rem;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 999px;
  font-family: 'Neuepower', Arial, sans-serif;
  font-size: clamp(0.66rem, 0.82vw, 0.82rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  cursor: none;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.wg-foot__cta:hover {
  background: #000;
  border-color: #000;
  color: #fb0301;
}

.wg-foot__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.4rem;
  margin: clamp(2rem, 5vh, 3.4rem) clamp(1.5rem, 5vw, 6rem) 0;
  font-family: 'Neuepower', Arial, sans-serif;
  font-size: clamp(0.58rem, 0.72vw, 0.72rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000;
}

.wg-foot__meta a {
  color: inherit;
  text-decoration: none;
  cursor: none;
  transition: color 0.3s ease;
}

.wg-foot__meta a:hover {
  color: rgba(0, 0, 0, 0.5);
}

/* bandeau qui defile sans fin */
.wg-foot__marquee {
  margin-top: clamp(3rem, 9vh, 6rem);
  border-top: 1px solid rgba(0, 0, 0, 0.38);
  border-bottom: 1px solid rgba(0, 0, 0, 0.38);
  padding: clamp(0.9rem, 2.4vh, 1.6rem) 0;
  overflow: hidden;
  white-space: nowrap;
}

.wg-foot__track {
  display: inline-flex;
  align-items: center;
  animation: wg-marquee 34s linear infinite;
  will-change: transform;
}

.wg-foot__track span {
  font-family: 'Neuepower Ultra', 'Neuepower', Arial, sans-serif;
  font-size: clamp(1.1rem, 2.6vw, 2.6rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(232, 232, 228, 0.72);
  padding: 0 0.5em;
}

.wg-foot__track span i {
  font-style: normal;
  color: #000;
  padding: 0 0.5em;
}

@keyframes wg-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.wg-foot__marquee:hover .wg-foot__track {
  animation-play-state: paused;
}

/* Logo officiel en bas de page, dessine lettre par lettre */
.wg-foot__logo {
  width: 100%;
  padding: clamp(2rem, 6vh, 4.5rem) clamp(1.2rem, 4vw, 4rem) clamp(1.6rem, 4vh, 3rem);
  user-select: none;
}

.wg-foot__logo svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1125.03 / 172.05;
  overflow: visible;
}

.wg-fl {
  fill: #E8E8E4;
  opacity: 0;
  transform: translateY(0.35em);
  transform-box: fill-box;
  transform-origin: center bottom;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i) * 110ms);
  will-change: opacity, transform;
}

.wg-foot__logo.is-in .wg-fl {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .wg-proof__grid { grid-template-columns: repeat(2, 1fr); }
  .wg-exp__item { flex-wrap: wrap; }
  .wg-exp__note { max-width: 100%; text-align: left; margin-left: 0; opacity: 1; transform: none; }
  .wg-human__media { width: 74vw; height: 46vh; }
  .wg-foot__ask { max-width: 100%; }
}

/* le logo fixe laisse la place a la marque geante du footer */
.wegam-logo {
  transition: opacity 0.6s ease;
}

body.wg-at-foot .wegam-logo {
  opacity: 0;
  pointer-events: none;
}

/* ---- grille de contact, dans l'esprit Akaru ---- */
.wg-foot__grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 3rem);
  margin: clamp(3rem, 8vh, 5rem) clamp(1.5rem, 5vw, 6rem) 0;
  padding-top: clamp(1.6rem, 4vh, 2.6rem);
  border-top: 1px solid rgba(0, 0, 0, 0.38);
}

.wg-foot__col {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.wg-foot__col a,
.wg-foot__col p {
  margin: 0;
  font-family: 'Neuepower', Arial, sans-serif;
  font-size: clamp(0.64rem, 0.78vw, 0.78rem);
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: #000;
  text-decoration: none;
  cursor: none;
  transition: color 0.3s ease;
}

.wg-foot__col a:hover {
  color: rgba(0, 0, 0, 0.5);
}

.wg-foot__col--address a {
  display: block;
}

.wg-foot__col--socials,
.wg-foot__col--legals {
  align-items: flex-end;
  text-align: right;
}

.wg-foot__col--socials a {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.wg-foot__copy {
  font-family: 'Neuepower', Arial, sans-serif;
  font-size: clamp(0.64rem, 0.78vw, 0.78rem);
  line-height: 1.65;
  color: #000;
}

@media (max-width: 900px) {
  .wg-foot__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wg-foot__col--socials,
  .wg-foot__col--legals {
    align-items: flex-start;
    text-align: left;
  }
}


/* ============================================================
   La spirale a fini de tourner avant que l'epinglage ne se libere :
   il restait un ecran de vide. On remonte les sections d'autant.
   ============================================================ */
/* Uniquement sur l'accueil : la page Studio commence par sa premiere section. */
body:has(.wg-human) .wg-exp { margin-top: calc(-100vh + var(--wg-bar, 150px)); }


/* ============================================================
   Apres les expertises : fond plein. Plus aucune particule visible.
   ============================================================ */

.wg-proof { background: #E8E8E4; }

.wg-human { background: #E8E8E4; }

.wg-human__cap p { color: #1A1A1A; }

.wg-human__cap em { color: #fb0301; }
