/* =========================================================
   AXIS — Étude de cas NMTD (realisation-nmtd.html et ses versions anglaises)
   Mise en page reprise d'une référence fournie par le client (2026-11-06) :
   en-tête à deux colonnes (marque du client, titre, texte | capture), ligne de
   repères séparée par un filet, puis chaque page du site montrée dans un cadre
   clair. Aucun chiffre ni résultat inventé : seuls des faits déjà écrits sur la page.
   Relief : le halo chaud derrière les cadres est l'exception déjà accordée par le
   client à cette page (voir « Galerie du projet » dans style.css) ; sa teinte est
   déclarée ici, une seule fois (--cs-halo). Le lime reste réservé au survol et au focus.
   Aucun JS : les apparitions sont celles de .reveal-fade (js/site.js).
   ========================================================= */
.cs-intro{
  /* même largeur que la bande des captures (.band--wide, style.css) : la colonne éditoriale étroite
     rétrécirait trop la capture de l'en-tête */
  margin-left: calc(var(--side-margin-wide) * -1);
  margin-right: calc(var(--side-margin-wide) * -1);
  padding-left: clamp(24px, 9vw, 180px);
  padding-right: clamp(24px, 9vw, 180px);
  padding-bottom: clamp(48px, 7vw, 88px);
}

/* ---------- en-tête : texte à gauche, capture à droite ---------- */
.cs-hero{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.cs-hero__mark{
  display: block;
  height: clamp(52px, 6vw, 68px);
  width: auto;
  margin: 0 0 clamp(20px, 3vw, 32px);
}
.cs-hero__title{
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-title);
  font-size: var(--fs-section);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: var(--lh-title);
  text-transform: none;
  color: var(--white);
}
.cs-hero__lede{
  margin: clamp(20px, 2.6vw, 28px) 0 0;
  max-width: 52ch;
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  color: var(--text-2);
}
.cs-hero__media{
  margin: 0;
  min-width: 0;
}
.cs-hero__media img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (min-width: 900px){
  .cs-hero{ grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .cs-hero__title{ max-width: none; }
}

/* ---------- repères : trois faits, séparés du titre par un filet ---------- */
.cs-facts{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  justify-content: start;
  gap: 24px clamp(32px, 6vw, 80px);
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: clamp(28px, 4vw, 40px) 0 0;
  border-top: 1px solid var(--line);
}
.cs-facts__v{
  margin: 0;
  font-family: var(--font-title);
  font-variation-settings: "wdth" 100;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--white);
}
.cs-facts__l{
  margin: 10px 0 0;
  max-width: 24ch;
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--text-2);
}
@media (max-width: 700px){
  .cs-facts{ grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- pages du site, chacune dans son cadre clair ---------- */
.cs-shots{
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 88px);
  margin: clamp(32px, 4vw, 48px) 0 clamp(72px, 9vw, 112px);
  --cs-halo: #FF9650;
}
.cs-shot{ margin: 0; }
.cs-shot__frame{
  padding: clamp(12px, 3.2vw, 48px);
  border-radius: var(--radius);
  background: var(--text);
  box-shadow:
    inset 0 0 56px color-mix(in srgb, var(--cs-halo) 30%, transparent),
    0 0 70px 10px color-mix(in srgb, var(--cs-halo) 30%, transparent),
    0 0 160px 40px color-mix(in srgb, var(--cs-halo) 16%, transparent);
}
.cs-shot__bezel{
  padding: clamp(5px, 1vw, 12px);
  border-radius: calc(var(--radius) - 4px);
  background: color-mix(in srgb, var(--text) 84%, var(--bg));
}
.cs-shot__bezel img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 8px);
}
.cs-shot__cap{
  display: flex;
  gap: 14px;
  margin-top: clamp(18px, 2.4vw, 28px);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .04em;
  color: var(--text-2);
}
.cs-shot__cap span{ color: var(--text-3); }

/* Mobile (≤ 700 px, demande client du 2026-11-09) : les cadres des captures sont
   plus hauts (image recadrée en 4/3 au centre, qui garde le texte et le logo
   des captures au lieu d'une bande de ~120 px) et à 12 px des bords de l'écran
   (marge de la bande, clamp(24px, 9vw, 180px), moins 12 px) ; la légende garde
   l'alignement du texte de la page. Bureau et tablette inchangés. */
@media (max-width: 700px){
  .cs-shots{
    margin-left: calc(-1 * (clamp(24px, 9vw, 180px) - 12px));
    margin-right: calc(-1 * (clamp(24px, 9vw, 180px) - 12px));
  }
  .cs-shot__bezel img{
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 50%;
  }
  .cs-shot:nth-child(3) .cs-shot__bezel img{ object-position: 38% 50%; }   /* disciplines : texte à gauche, photo à droite */
  .cs-shot__cap{ padding-left: calc(clamp(24px, 9vw, 180px) - 12px); }
}
