/* ==========================================================================
   Accueil « plateau, la nuit » : ouverture au « g » en 3D, phrase, offres,
   preuve, plateau tournant des réalisations, audit, qui est derrière, final.
   ========================================================================== */

/* Sections */
.n-section { position: relative; padding-block: clamp(4.5rem, 2.5rem + 7vw, 10rem); }
/* La preuve et le plateau se suivent : un seul souffle entre les deux */
.n-proof + .stack-section { padding-top: 0; }

/* Ouverture ------------------------------------------------------------- */

.n-hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; overflow: hidden; overflow: clip; contain: paint; padding-block: var(--s-6) var(--s-5); }
.n-hero__object { position: absolute; z-index: 1; right: 0; top: 2vh; width: min(44vw, 700px); height: calc(100% - 12vh); }
.n-hero__object canvas, .n-hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.n-hero__poster { transition: opacity var(--t-temps) var(--e-pose); }
.is-live > .n-hero__poster { opacity: 0; }
.n-hero__text { position: relative; z-index: 2; }
.n-hero__text .n-kicker { margin-bottom: var(--s-4); }
.n-hero__bottom { display: grid; gap: var(--s-4); margin-top: var(--s-5); align-items: end; }
.n-hero__sub { max-width: 40ch; font-size: var(--fs-lead); line-height: 1.4; color: var(--ivoire-2); }
.n-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
.n-proofline { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ivoire-2); font-size: var(--fs-small); font-weight: 600; text-decoration: none; }
.n-proofline:hover { color: var(--ivoire); }
.n-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--ivoire); box-shadow: 0 0 12px rgb(var(--tungstene) / 0.9); }
@media (min-width: 64rem) { .n-hero__bottom { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .n-hero__actions { justify-content: flex-end; } }
@media (max-width: 63.99rem) {
  .n-hero { flex-direction: column; align-items: stretch; justify-content: flex-end; padding-top: 0; }
  .n-hero__object { position: relative; inset: auto; width: 100%; height: 46svh; margin-inline: auto; }
}

/* Ouverture « plateau tournant » */

/* Une phrase ------------------------------------------------------------ */

.n-statement p { font-size: var(--n-statement); line-height: 1.1; max-width: 21ch; }
.n-readout .w { color: #828C92;   /* 5,4 sur le noir : lisible avant d'être allumé */
  transition: color var(--t-demi) var(--e-pose); }
.n-readout .w.is-lit { color: var(--ivoire); }

/* Ce qu'on fait --------------------------------------------------------- */

.n-services__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.n-services__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem var(--gutter); align-items: baseline;
  padding-block: clamp(1.25rem, 0.8rem + 1.6vw, 2.5rem);
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
  transition: opacity var(--t-temps) var(--e-pose), padding var(--t-temps) var(--e-hit);
}
.n-services__name { font-size: clamp(2.25rem, 1rem + 4.6vw, 6.25rem); line-height: 1; }
.n-services__price { font-family: var(--font-display); font-size: clamp(1rem, 0.8rem + 0.8vw, 1.6rem); white-space: nowrap; }
.n-services__line { grid-column: 1 / -1; color: var(--ivoire-2); max-width: 48ch; }
@media (min-width: 64rem) {
  .n-services__row { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) auto; }
  .n-services__line { grid-column: auto; }
  .n-services__price { text-align: right; }
  .n-services__list:hover .n-services__row { opacity: 0.32; }
  .n-services__list:hover .n-services__row:hover { opacity: 1; padding-left: 1.5rem; }
}

/* La preuve ------------------------------------------------------------- */

.n-proof__grid { display: grid; gap: var(--s-4) var(--gutter); align-items: end; }
.n-proof__number { font-family: var(--font-display); font-size: clamp(9rem, 3rem + 24vw, 26rem); line-height: 0.75; letter-spacing: -0.05em; color: var(--ivoire); text-shadow: 0 0 120px rgb(var(--tungstene) / 0.25); transform: translateY(calc((1 - var(--p, 1)) * 3rem)); }
.n-proof__text { max-width: 22ch; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.75rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 300; }
.n-proof__figure { display: contents; }
.n-proof__figure > p:last-child { grid-column: 1 / -1; }
@media (min-width: 64rem) {
  .n-proof__grid { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(2rem, 1rem + 4vw, 6rem); }
  .n-proof__figure > p:last-child { grid-column: 2; }
}

/* L'audit, en 5, 6, 7, 8 ---------------------------------------------------- */

.n-steps__list { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-5) var(--gutter); }
.n-steps__list li { border-top: 1px solid var(--line-strong); padding-top: var(--s-4); }
.n-steps__n { display: block; font-family: var(--font-display); font-size: clamp(4rem, 2.5rem + 5vw, 8rem); line-height: 0.8; letter-spacing: -0.04em; margin-bottom: var(--s-4); }
.n-steps__list h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.02em; }
.n-steps__list p { margin-top: 0.5rem; color: var(--ivoire-2); max-width: 32ch; }
@media (min-width: 64rem) { .n-steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Qui est derrière ---------------------------------------------------------- */

.n-who { overflow: hidden; }
.n-who__inner { position: relative; z-index: 1; }
.n-who__statement { font-size: var(--n-statement); line-height: 1.08; max-width: 20ch; }
.n-who__text { margin-top: var(--s-5); max-width: 46ch; font-size: var(--fs-lead); line-height: 1.45; color: var(--ivoire-2); }
.n-who__sign { margin-top: var(--s-4); font-weight: 600; }

/* Final ---------------------------------------------------------------------- */

.n-final { overflow: hidden; text-align: left; }
.n-final__glow { position: absolute; left: -10vw; bottom: -40vh; width: 90vmax; height: 90vmax; background: radial-gradient(closest-side, rgb(var(--tungstene) / 0.18), transparent 70%); pointer-events: none; }
.n-final .wrap { position: relative; }
.n-final__title { max-width: 12ch; }
.n-final__text { margin: var(--s-5) 0; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.45; color: var(--ivoire-2); }

@media (prefers-reduced-motion: reduce) {
  .n-proof__number { transform: none; }
}

/* Accueil : le bleu Groov'It en pastille, au survol et sur le « 4 » --------- */
.n-services__row { position: relative; isolation: isolate; }
.n-services__price::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.7rem; vertical-align: 0.2em; border-radius: 50%; background: rgb(var(--gel)); box-shadow: 0 0 14px rgb(var(--gel) / 0.9); }
.n-services__row::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none; background: radial-gradient(60% 140% at 20% 50%, rgb(var(--gel) / 0.16), transparent 70%); transition: opacity var(--t-temps) var(--e-pose); }
.n-services__row:hover::after, .n-services__row:focus-visible::after { opacity: 1; }
.n-services__row:hover .n-services__name, .n-services__row:focus-visible .n-services__name { color: rgb(var(--gel)); text-shadow: 0 0 60px rgb(var(--gel) / 0.45); }
.n-services__name { transition: color var(--t-temps) var(--e-pose); }
.n-proof__number { color: rgb(var(--gel)); text-shadow: 0 0 140px rgb(var(--gel) / 0.4); }
.n-statement { background: radial-gradient(50% 70% at 90% 60%, rgb(var(--tungstene) / 0.22), transparent 70%); }
.n-steps { background: radial-gradient(60% 80% at 10% 100%, rgb(var(--tungstene) / 0.22), transparent 70%); }
.n-final__glow { background: radial-gradient(closest-side, rgb(var(--gel) / 0.3), rgb(var(--glow-deep) / 0.2) 55%, transparent 72%); }

/* Sur Instagram */
.n-reels__head { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); max-width: 46rem; }
.n-reels__title { font-size: var(--n-h2); line-height: 1; letter-spacing: -0.045em; }
.n-reels__text { max-width: 52ch; font-size: var(--fs-lead); line-height: 1.45; }
.n-reels__link { margin-top: var(--s-5); }
.n-reels { background: radial-gradient(60% 60% at 50% 70%, rgb(var(--tungstene) / 0.25), transparent 70%); }
@media (min-width: 64rem) { .n-reels .reel:nth-child(even) { margin-top: var(--s-6); } }

/* Qui est derrière : Adrien face caméra */
.n-who__reel { max-width: 19rem; margin-top: var(--s-6); }
@media (min-width: 64rem) {
  .n-who__inner { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; column-gap: clamp(2rem, 1rem + 5vw, 8rem); }
  .n-who__inner > * { grid-column: 1; }
  .n-who__inner > .n-who__reel { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin-top: 0; }
}

/* Questions fréquentes : une section courte, en volets */
.n-faq { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.n-faq__title { font-size: clamp(1.75rem, 1rem + 2.4vw, 3rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.05; color: var(--ivoire); }

/* Derrière la phrase : la mosaïque des événements de l'agenda, floutée, qui défile lentement */
.n-statement.has-mosaic { overflow: hidden; overflow: clip; }
.n-statement > .wrap { position: relative; z-index: 1; }
.n-mosaic {
  position: absolute; inset: 14% -4% 0 42%; z-index: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  opacity: 0.5; filter: blur(2px) saturate(0.6); overflow: hidden;
  pointer-events: none;
}
.n-statement.has-mosaic::after {   /* fondu vers le noir, sur la zone de la mosaïque */
  content: ""; position: absolute; inset: 14% 0 0 42%; z-index: 0; pointer-events: none;
  background:
    linear-gradient(var(--noir), transparent 25%, transparent 70%, var(--noir)),
    linear-gradient(90deg, var(--noir), rgb(14 14 14 / 0.5) 25%, transparent 55%);
}
@media (max-width: 63.99rem) { .n-statement.has-mosaic::after { inset: 14% 0 0 20%; } }
.n-mosaic__col { display: flex; flex-direction: column; gap: 1rem; }
.anim-on .n-mosaic__col { animation: mosaic-up calc(60s + var(--c) * 14s) linear infinite; }
.anim-on .n-mosaic__col:nth-child(2) { animation-direction: reverse; }
@keyframes mosaic-up { to { translate: 0 calc(-50% - 0.5rem); } }
.n-mosaic__tile { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 0.8rem; object-fit: cover; }
.n-mosaic__poster {
  display: flex; flex-direction: column; justify-content: space-between; padding: 1rem;
  background: radial-gradient(circle at 70% 20%, rgb(var(--tungstene) / 0.55), transparent 65%), #151617;
  box-shadow: inset 0 0 0 1px rgb(244 243 239 / 0.08);
}
.n-mosaic__poster b { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: clamp(0.9rem, 0.6rem + 0.7vw, 1.3rem); line-height: 1; color: var(--ivoire); }
.n-mosaic__poster small { font-size: 0.7rem; font-weight: 700; color: rgb(var(--gel)); }
.n-mosaic__poster small:last-child { color: var(--ivoire-2); }
@media (max-width: 63.99rem) { .n-mosaic { inset: 14% -20% 0 20%; opacity: 0.28; } }
