/* =============================================================
   NOVA STUDIOS — Design System Principal
   Version 1.0.0
   ============================================================= */

/* ── 1. Custom Properties ──────────────────────────────────── */
:root {
  /* Palette Nova Studios — issue du logo */
  --ns-night:      #0B1437;
  --ns-ink:        #0D1B4B;
  --ns-blue-deep:  #112060;
  --ns-blue-mid:   #1E3A8A;
  --ns-ice:        #DEE6FD;
  --ns-ice-light:  #EBF0FE;
  --ns-pearl:      #F6F8FE;
  --ns-white:      #FFFFFF;
  --ns-mist:       #F0F4FF;
  --ns-slate:      #8B9CC4;
  --ns-slate-dark: #5B6E9E;
  --ns-border:     rgba(222, 230, 253, 0.15);
  --ns-border-light: rgba(14, 30, 80, 0.08);

  /* Typographie */
  --font-display:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;

  /* Échelle typographique (clamp = fluid) */
  --text-xs:    0.75rem;        /* 12px */
  --text-sm:    0.875rem;       /* 14px */
  --text-base:  1rem;           /* 16px */
  --text-lg:    1.125rem;       /* 18px */
  --text-xl:    1.25rem;        /* 20px */
  --text-2xl:   1.5rem;         /* 24px */
  --text-3xl:   2rem;           /* 32px */
  --text-4xl:   clamp(2rem, 3.5vw, 2.75rem);
  --text-5xl:   clamp(2.5rem, 5vw, 3.75rem);
  --text-6xl:   clamp(3rem, 6vw, 5rem);
  --text-7xl:   clamp(3.5rem, 8vw, 6rem);

  /* Espacements */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Layout */
  --container-max:  1280px;
  --container-xl:   1440px;
  --container-pad:  clamp(1.25rem, 5vw, 5rem);
  --section-pad-y:  clamp(5rem, 10vw, 9rem);

  /* Transitions */
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-mid:  350ms;
  --duration-slow: 600ms;

  /* Border radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(11, 20, 55, 0.08);
  --shadow-md:  0 4px 24px rgba(11, 20, 55, 0.12);
  --shadow-lg:  0 16px 64px rgba(11, 20, 55, 0.18);
  --shadow-xl:  0 32px 96px rgba(11, 20, 55, 0.25);

  /* Header height */
  --header-h:   72px;
}

/* ── 2. Reset ──────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ns-night);
  background-color: var(--ns-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
}

/* ── 3. Polices auto-hébergées ─────────────────────────────── */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/PlayfairDisplay-Variable.woff2') format('woff2-variations');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/PlayfairDisplay-Italic-Variable.woff2') format('woff2-variations');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

/* ── 4. Layout ─────────────────────────────────────────────── */
.ns-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.ns-container--wide {
  max-width: var(--container-xl);
}

.ns-section {
  padding-block: var(--section-pad-y);
}

/* ── 5. Typographie de base ─────────────────────────────────── */
.ns-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ns-slate);
  margin-bottom: var(--space-6);
}

.ns-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.ns-eyebrow--light {
  color: var(--ns-slate);
}

.ns-eyebrow--ice {
  color: var(--ns-ice);
}

.ns-display {
  font-family: var(--font-display);
  font-weight: 700;
}

.ns-num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ns-slate);
  font-variant-numeric: tabular-nums;
}

/* ── 6. Boutons ──────────────────────────────────────────────── */
.ns-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.ns-btn:hover {
  transform: translateY(-1px);
}

.ns-btn:active {
  transform: translateY(0);
}

/* Primaire — bleu nuit */
.ns-btn--primary {
  background: var(--ns-night);
  color: var(--ns-white);
  border-color: var(--ns-night);
}

.ns-btn--primary:hover {
  background: var(--ns-blue-deep);
  border-color: var(--ns-blue-deep);
  box-shadow: 0 8px 32px rgba(11, 20, 55, 0.25);
}

/* Secondaire — outline */
.ns-btn--outline {
  background: transparent;
  color: var(--ns-night);
  border-color: rgba(11, 20, 55, 0.2);
}

.ns-btn--outline:hover {
  background: var(--ns-mist);
  border-color: var(--ns-night);
}

/* Ghost sur fond sombre */
.ns-btn--ghost-light {
  background: transparent;
  color: var(--ns-white);
  border-color: rgba(255, 255, 255, 0.25);
}

.ns-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Blanc plein (sur fond sombre) */
.ns-btn--white {
  background: var(--ns-white);
  color: var(--ns-night);
  border-color: var(--ns-white);
}

.ns-btn--white:hover {
  background: var(--ns-pearl);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
}

/* Glace (sur fond sombre) */
.ns-btn--ice {
  background: var(--ns-ice);
  color: var(--ns-night);
  border-color: var(--ns-ice);
}

.ns-btn--ice:hover {
  background: var(--ns-ice-light);
  box-shadow: 0 8px 32px rgba(222, 230, 253, 0.3);
}

.ns-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--duration-fast) var(--ease-out);
}

.ns-btn:hover svg {
  transform: translateX(3px);
}

/* ── 7. Header & Navigation ──────────────────────────────────── */
.ns-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition:
    background-color var(--duration-mid) var(--ease-out),
    backdrop-filter var(--duration-mid) var(--ease-out),
    box-shadow var(--duration-mid) var(--ease-out);
}

.ns-header--transparent {
  background: transparent;
}

.ns-header--scrolled {
  background: rgba(11, 20, 55, 0.88);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(222, 230, 253, 0.1);
}

/* Header sur fond clair */
.ns-header--light-bg.ns-header--scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 var(--ns-border-light);
}

.ns-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: var(--container-pad);
  max-width: var(--container-xl);
  margin-inline: auto;
}

/* Logo */
.ns-header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.ns-header-brand img,
.ns-header-brand svg {
  height: 38px;
  width: auto;
}

/* Nav */
.ns-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.ns-nav-link {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(246, 248, 254, 0.85);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background-color var(--duration-fast);
  position: relative;
  text-decoration: none;
}

.ns-nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 24px);
  height: 1.5px;
  background: var(--ns-ice);
  border-radius: 2px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.ns-nav-link:hover {
  color: var(--ns-white);
  background: rgba(255, 255, 255, 0.06);
}

.ns-nav-link:hover::after,
.ns-nav-link[aria-current="page"]::after {
  transform: translateX(-50%) scaleX(1);
}

.ns-nav-link[aria-current="page"] {
  color: var(--ns-white);
}

/* Sur fond clair (pages internes) */
.ns-header--light .ns-nav-link {
  color: var(--ns-slate-dark);
}

.ns-header--light .ns-nav-link::after {
  background: var(--ns-night);
}

.ns-header--light .ns-nav-link:hover {
  color: var(--ns-night);
  background: var(--ns-mist);
}

.ns-header--light .ns-nav-link[aria-current="page"] {
  color: var(--ns-night);
}

/* Header tools */
.ns-header-tools {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* CTA header */
.ns-header-cta {
  padding: 10px 22px;
  font-size: 0.8125rem;
}

/* Burger */
.ns-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  color: var(--ns-white);
  transition: background-color var(--duration-fast);
}

.ns-burger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.ns-burger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--duration-mid) var(--ease-out), opacity var(--duration-fast);
  transform-origin: center;
}

.ns-burger[aria-expanded="true"] .ns-burger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.ns-burger[aria-expanded="true"] .ns-burger-line:nth-child(2) {
  opacity: 0;
}

.ns-burger[aria-expanded="true"] .ns-burger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Menu mobile */
.ns-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ns-night);
  display: flex;
  flex-direction: column;
  padding: var(--header-h) var(--container-pad) var(--space-12);
  transform: translateX(100%);
  transition: transform var(--duration-mid) var(--ease-out);
  overflow-y: auto;
}

.ns-mobile-menu.is-open {
  transform: translateX(0);
}

.ns-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-12);
  flex: 1;
}

.ns-mobile-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-size: var(--text-3xl);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ns-pearl);
  border-bottom: 1px solid var(--ns-border);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.ns-mobile-link .ns-num {
  color: var(--ns-slate);
  font-family: var(--font-body);
  font-size: var(--text-sm);
}

.ns-mobile-link:hover {
  color: var(--ns-white);
}

.ns-mobile-foot {
  margin-top: auto;
  padding-top: var(--space-8);
}

/* ── 8. Skip Link ──────────────────────────────────────────── */
.ns-skip {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 999;
  padding: var(--space-3) var(--space-6);
  background: var(--ns-white);
  color: var(--ns-night);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid var(--ns-night);
  text-decoration: none;
  transition: top var(--duration-fast);
}

.ns-skip:focus {
  top: var(--space-4);
}

/* ── 9. Hero ──────────────────────────────────────────────── */
.ns-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background-color: var(--ns-night);
  overflow: hidden;
}

/* Motif géométrique subtil — inspiré du symbole Nova */
.ns-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ns-hero-geo {
  position: absolute;
  right: -5vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(65vw, 900px);
  height: min(65vw, 900px);
  opacity: 0.035;
}

.ns-hero-glow {
  position: absolute;
  width: 80vw;
  height: 80vw;
  max-width: 1200px;
  max-height: 1200px;
  right: -20vw;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(30, 58, 138, 0.45) 0%,
    rgba(11, 20, 55, 0) 65%
  );
  pointer-events: none;
}

.ns-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.ns-hero-content {
  max-width: 760px;
  padding-block: clamp(7rem, 15vh, 10rem);
}

.ns-hero-location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ns-slate);
  margin-bottom: var(--space-8);
}

.ns-hero-location .ns-line {
  width: 24px;
  height: 1px;
  background: var(--ns-slate);
}

.ns-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-7xl);
  font-weight: 700;
  color: var(--ns-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-8);
}

.ns-hero-title em {
  font-style: italic;
  color: var(--ns-ice);
  font-weight: 400;
}

.ns-hero-sub {
  font-size: var(--text-lg);
  color: var(--ns-slate);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: var(--space-10);
}

.ns-hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Chips d'info flottantes */
.ns-hero-chips {
  position: absolute;
  bottom: clamp(2rem, 5vw, 4rem);
  right: var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 1;
}

.ns-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(222, 230, 253, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 180px;
}

.ns-chip-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ns-slate);
}

.ns-chip-value {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ns-white);
}

.ns-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
  animation: ns-pulse 2.5s infinite;
}

@keyframes ns-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); }
}

/* Scroll cue */
.ns-scroll-cue {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--ns-slate);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 1;
  animation: ns-float 3s ease-in-out infinite;
}

.ns-scroll-cue-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(222, 230, 253, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--duration-fast);
}

.ns-scroll-cue:hover .ns-scroll-cue-arrow {
  border-color: rgba(222, 230, 253, 0.5);
}

@keyframes ns-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-6px); }
}

/* ── 10. Marquee ────────────────────────────────────────────── */
.ns-marquee-section {
  border-block: 1px solid var(--ns-border-light);
  overflow: hidden;
  padding-block: var(--space-5);
  background: var(--ns-mist);
}

.ns-marquee-track {
  display: flex;
  gap: var(--space-8);
  animation: ns-marquee 30s linear infinite;
  width: max-content;
}

.ns-marquee-track:hover {
  animation-play-state: paused;
}

.ns-marquee-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ns-slate-dark);
  white-space: nowrap;
}

.ns-marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ns-ice);
  flex-shrink: 0;
}

@keyframes ns-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 11. Section Projets ────────────────────────────────────── */
.ns-projects-section {
  background: var(--ns-white);
}

.ns-projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.ns-projects-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  color: var(--ns-night);
  line-height: 1.1;
  max-width: 480px;
}

.ns-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ns-night);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 20, 55, 0.2);
  padding-bottom: 2px;
  transition:
    border-color var(--duration-fast),
    gap var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 6px;
}

.ns-link-arrow:hover {
  border-color: var(--ns-night);
  gap: var(--space-3);
}

.ns-link-arrow svg {
  width: 14px;
  height: 14px;
}

/* Grille projets homepage — asymétrique */
.ns-projects-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-6);
}

.ns-project-card {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--ns-mist);
  group: true;
}

/* Premier projet — grand (colonne 1, 2 lignes) */
.ns-project-card:first-child {
  grid-row: 1 / 3;
}

.ns-project-card-img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Ratio adaptatif */
.ns-project-card:first-child .ns-project-card-img-wrap {
  aspect-ratio: 4 / 5;
}

.ns-project-card:not(:first-child) .ns-project-card-img-wrap {
  aspect-ratio: 3 / 2;
}

.ns-project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.ns-project-card:hover .ns-project-card-img {
  transform: scale(1.04);
}

/* Overlay sur hover */
.ns-project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 20, 55, 0.7) 0%,
    rgba(11, 20, 55, 0.1) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity var(--duration-mid) var(--ease-out);
}

.ns-project-card:hover .ns-project-card-overlay {
  opacity: 1;
}

/* Flèche au survol */
.ns-project-card-arrow {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ns-night);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-8px);
  opacity: 0;
  transition:
    transform var(--duration-mid) var(--ease-out),
    opacity var(--duration-mid) var(--ease-out);
}

.ns-project-card:hover .ns-project-card-arrow {
  transform: translateY(0);
  opacity: 1;
}

.ns-project-card-arrow svg {
  width: 16px;
  height: 16px;
}

/* Badge année */
.ns-project-card-year {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: rgba(11, 20, 55, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ns-pearl);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
}

/* Infos sous l'image */
.ns-project-card-body {
  padding: var(--space-5) var(--space-6) var(--space-6);
}

.ns-project-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

.ns-project-card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ns-night);
  line-height: 1.3;
  margin-bottom: var(--space-1);
  transition: color var(--duration-fast);
}

.ns-project-card:hover .ns-project-card-title {
  color: var(--ns-blue-mid);
}

.ns-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--ns-mist);
  color: var(--ns-slate-dark);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 100px;
  border: 1px solid var(--ns-border-light);
}

/* Grille portfolio (toutes les réalisations) */
.ns-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.ns-portfolio-grid .ns-project-card-img-wrap {
  aspect-ratio: 4 / 3;
}

/* ── 12. Section Expertise ──────────────────────────────────── */
.ns-expertise-section {
  background: var(--ns-night);
  color: var(--ns-pearl);
  position: relative;
  overflow: hidden;
}

/* Motif géométrique de fond */
.ns-expertise-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(30, 58, 138, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(222, 230, 253, 0.04) 0%, transparent 45%);
  pointer-events: none;
}

.ns-expertise-header {
  margin-bottom: var(--space-20);
}

.ns-expertise-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  color: var(--ns-white);
  line-height: 1.1;
  max-width: 560px;
}

/* Services en accordéon/liste */
.ns-service-list {
  border-top: 1px solid var(--ns-border);
}

.ns-service-item {
  border-bottom: 1px solid var(--ns-border);
}

.ns-service-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: var(--space-8);
  padding-block: var(--space-8);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: color var(--duration-fast);
}

.ns-service-trigger:hover .ns-service-name {
  color: var(--ns-ice);
}

.ns-service-num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ns-slate);
}

.ns-service-name {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--ns-pearl);
  transition: color var(--duration-fast);
}

.ns-service-icon {
  width: 32px;
  height: 32px;
  color: var(--ns-slate);
  transition: transform var(--duration-mid) var(--ease-out), color var(--duration-fast);
  flex-shrink: 0;
}

.ns-service-item.is-open .ns-service-icon {
  transform: rotate(45deg);
  color: var(--ns-ice);
}

.ns-service-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-mid) var(--ease-out);
  padding-left: calc(3rem + var(--space-8));
}

.ns-service-item.is-open .ns-service-body {
  grid-template-rows: 1fr;
}

.ns-service-body-inner {
  overflow: hidden;
}

.ns-service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-10);
}

.ns-service-desc {
  font-size: var(--text-lg);
  color: var(--ns-slate);
  line-height: 1.7;
  max-width: 440px;
}

.ns-service-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ns-service-benefit {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ns-slate);
}

.ns-service-benefit::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--ns-ice);
  flex-shrink: 0;
}

/* ── 13. Section Processus ──────────────────────────────────── */
.ns-process-section {
  background: var(--ns-mist);
}

.ns-process-header {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.ns-process-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--ns-night);
  margin-top: var(--space-4);
}

.ns-process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}

.ns-process-grid::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--ns-border-light) 15%, var(--ns-border-light) 85%, transparent);
}

.ns-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-4);
  position: relative;
  z-index: 1;
}

.ns-process-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ns-white);
  border: 1px solid var(--ns-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ns-night);
  margin-bottom: var(--space-5);
  transition:
    background var(--duration-fast),
    border-color var(--duration-fast),
    color var(--duration-fast);
  box-shadow: var(--shadow-sm);
}

.ns-process-step:hover .ns-process-num {
  background: var(--ns-night);
  color: var(--ns-white);
  border-color: var(--ns-night);
}

.ns-process-step-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ns-night);
  margin-bottom: var(--space-2);
}

.ns-process-step-desc {
  font-size: var(--text-xs);
  color: var(--ns-slate-dark);
  line-height: 1.5;
}

/* ── 14. Section CTA Final ─────────────────────────────────── */
.ns-cta-section {
  background: var(--ns-night);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ns-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(30, 58, 138, 0.5) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.ns-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
}

.ns-cta-title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  color: var(--ns-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.ns-cta-title em {
  font-style: italic;
  color: var(--ns-ice);
  font-weight: 400;
}

.ns-cta-sub {
  font-size: var(--text-lg);
  color: var(--ns-slate);
  margin-bottom: var(--space-10);
  line-height: 1.65;
}

.ns-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ── 15. Footer ─────────────────────────────────────────────── */
.ns-footer {
  background: var(--ns-ink);
  color: var(--ns-slate);
  padding-top: var(--space-20);
  padding-bottom: var(--space-10);
}

.ns-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.ns-footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.ns-footer-tagline {
  font-size: var(--text-sm);
  color: var(--ns-slate);
  line-height: 1.6;
  max-width: 280px;
}

.ns-footer-heading {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ns-pearl);
  margin-bottom: var(--space-5);
}

.ns-footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.ns-footer-link {
  font-size: var(--text-sm);
  color: var(--ns-slate);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.ns-footer-link:hover {
  color: var(--ns-pearl);
}

.ns-footer-bottom {
  border-top: 1px solid var(--ns-border);
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.ns-footer-copy {
  font-size: var(--text-xs);
  color: var(--ns-slate);
}

.ns-footer-legal {
  display: flex;
  gap: var(--space-5);
}

.ns-footer-legal a {
  font-size: var(--text-xs);
  color: var(--ns-slate);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.ns-footer-legal a:hover {
  color: var(--ns-pearl);
}

/* ── 16. Hero pages internes ────────────────────────────────── */
.ns-page-hero {
  background: var(--ns-night);
  padding-top: calc(var(--header-h) + var(--space-20));
  padding-bottom: var(--space-20);
  position: relative;
  overflow: hidden;
}

.ns-page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--ns-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.ns-page-hero--light {
  background: var(--ns-mist);
}

.ns-page-hero--light::after {
  background: var(--ns-white);
}

.ns-page-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 700;
  color: var(--ns-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.ns-page-hero--light .ns-page-hero-title {
  color: var(--ns-night);
}

.ns-page-hero-sub {
  font-size: var(--text-xl);
  color: var(--ns-slate);
  margin-top: var(--space-6);
  max-width: 560px;
  line-height: 1.65;
}

/* ── 17. Breadcrumb ─────────────────────────────────────────── */
.ns-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.ns-breadcrumb-item {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ns-slate);
  text-decoration: none;
}

.ns-breadcrumb-item:hover {
  color: var(--ns-ice);
}

.ns-breadcrumb-sep {
  color: var(--ns-slate);
  opacity: 0.5;
  font-size: var(--text-xs);
}

/* ── 18. Filtres portfolio ─────────────────────────────────── */
.ns-filters {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.ns-filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--ns-border-light);
  border-radius: 100px;
  background: transparent;
  color: var(--ns-slate-dark);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color var(--duration-fast),
    border-color var(--duration-fast),
    color var(--duration-fast);
}

.ns-filter-btn:hover,
.ns-filter-btn.is-active {
  background: var(--ns-night);
  border-color: var(--ns-night);
  color: var(--ns-white);
}

/* ── 19. Case Study ─────────────────────────────────────────── */
.ns-case-hero {
  height: 65vh;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}

.ns-case-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-case-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 20, 55, 0.85) 0%,
    rgba(11, 20, 55, 0.4) 60%,
    transparent 100%
  );
}

.ns-case-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-16) var(--container-pad);
  max-width: var(--container-max);
  margin-inline: auto;
}

.ns-case-meta {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: var(--space-10);
  margin-bottom: var(--space-6);
}

.ns-case-meta-item {}

.ns-case-meta-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ns-slate);
  margin-bottom: var(--space-1);
}

.ns-case-meta-value {
  font-size: var(--text-base);
  color: var(--ns-white);
  font-weight: 500;
}

.ns-case-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  color: var(--ns-white);
  line-height: 1.05;
}

/* Corps case study */
.ns-case-body {
  padding-block: var(--space-20);
}

.ns-case-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-20);
  align-items: start;
}

.ns-case-section {
  margin-bottom: var(--space-12);
}

.ns-case-section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ns-slate-dark);
  margin-bottom: var(--space-4);
}

.ns-case-section-text {
  font-size: var(--text-lg);
  color: var(--ns-night);
  line-height: 1.75;
}

/* Sidebar résultats */
.ns-case-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--space-8));
}

.ns-case-results-box {
  background: var(--ns-night);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  color: var(--ns-pearl);
}

.ns-case-results-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ns-slate);
  margin-bottom: var(--space-6);
}

.ns-case-result-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--ns-border);
}

.ns-case-result-item:last-child {
  border-bottom: none;
}

.ns-case-result-num {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ns-slate);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  padding-top: 2px;
}

.ns-case-result-text {
  font-size: var(--text-sm);
  color: var(--ns-pearl);
  line-height: 1.5;
}

/* Services box */
.ns-services-box {
  background: var(--ns-mist);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-6);
}

.ns-services-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ns-services-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ns-slate-dark);
}

.ns-services-list li::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--ns-ice);
  flex-shrink: 0;
}

/* Galerie */
.ns-case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-12);
}

.ns-case-gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ── 20. Formulaire Contact ─────────────────────────────────── */
.ns-form-section {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-20);
  align-items: start;
}

.ns-form-aside {}

.ns-form-aside-item {
  display: flex;
  gap: var(--space-4);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--ns-border-light);
}

.ns-form-aside-item:first-child {
  border-top: 1px solid var(--ns-border-light);
}

.ns-form-aside-icon {
  width: 40px;
  height: 40px;
  background: var(--ns-mist);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ns-night);
}

.ns-form-aside-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ns-slate-dark);
  margin-bottom: var(--space-1);
}

.ns-form-aside-value {
  font-size: var(--text-base);
  color: var(--ns-night);
  font-weight: 500;
}

.ns-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.ns-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.ns-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ns-form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ns-night);
}

.ns-form-label .optional {
  font-weight: 400;
  color: var(--ns-slate-dark);
  font-size: var(--text-xs);
  margin-left: var(--space-1);
}

.ns-form-input,
.ns-form-textarea,
.ns-form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(14, 30, 80, 0.14);
  border-radius: var(--radius-md);
  background: var(--ns-white);
  color: var(--ns-night);
  font-size: var(--text-base);
  transition:
    border-color var(--duration-fast),
    box-shadow var(--duration-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.ns-form-input:focus,
.ns-form-textarea:focus,
.ns-form-select:focus {
  border-color: var(--ns-blue-mid);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.ns-form-input::placeholder,
.ns-form-textarea::placeholder {
  color: var(--ns-slate);
}

.ns-form-textarea {
  min-height: 160px;
  resize: vertical;
}

.ns-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B9CC4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.ns-form-error {
  font-size: var(--text-xs);
  color: #dc2626;
  font-weight: 500;
}

.ns-form-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: var(--text-base);
  border: none;
  cursor: pointer;
}

/* Messages de feedback */
.ns-alert {
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.ns-alert--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #166534;
}

.ns-alert--error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #991b1b;
}

.ns-privacy-note {
  font-size: var(--text-xs);
  color: var(--ns-slate-dark);
  line-height: 1.6;
}

.ns-privacy-note a {
  color: var(--ns-blue-mid);
  text-decoration: underline;
  text-decoration-color: rgba(30, 58, 138, 0.3);
}

/* ── 21. Pages légales ──────────────────────────────────────── */
.ns-legal-content {
  max-width: 720px;
  padding-block: var(--space-20);
}

.ns-legal-content h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--ns-night);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.ns-legal-content h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ns-night);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.ns-legal-content p {
  color: var(--ns-slate-dark);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.ns-legal-content ul {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.ns-legal-content li {
  color: var(--ns-slate-dark);
  line-height: 1.65;
  margin-bottom: var(--space-2);
}

.ns-placeholder-box {
  background: var(--ns-mist);
  border: 1px dashed rgba(14, 30, 80, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  color: var(--ns-slate-dark);
  font-style: italic;
  font-size: var(--text-sm);
  margin-block: var(--space-4);
}

/* ── 22. Page 404 ───────────────────────────────────────────── */
.ns-404 {
  min-height: 100dvh;
  background: var(--ns-night);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--container-pad);
}

.ns-404-num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 700;
  color: var(--ns-border);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: var(--space-6);
}

.ns-404-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--ns-white);
  margin-bottom: var(--space-4);
}

.ns-404-text {
  font-size: var(--text-lg);
  color: var(--ns-slate);
  margin-bottom: var(--space-10);
  max-width: 400px;
}

/* ── 23. Animations de révélation ───────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 100ms; }
[data-reveal-delay="2"] { transition-delay: 200ms; }
[data-reveal-delay="3"] { transition-delay: 300ms; }
[data-reveal-delay="4"] { transition-delay: 400ms; }
[data-reveal-delay="5"] { transition-delay: 500ms; }

[data-reveal-fade] {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

[data-reveal-fade].is-visible {
  opacity: 1;
}

/* ── 24. Accessibilité ──────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--ns-blue-mid);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Préférence de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal],
  [data-reveal-fade] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── 25. Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ns-process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ns-process-grid::before { display: none; }

  .ns-case-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .ns-case-sidebar {
    position: static;
  }

  .ns-form-section {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .ns-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .ns-nav {
    display: none;
  }

  .ns-burger {
    display: flex;
  }

  .ns-header-cta {
    display: none;
  }

  .ns-hero-chips {
    display: none;
  }

  .ns-scroll-cue {
    display: none;
  }

  .ns-projects-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ns-projects-grid {
    grid-template-columns: 1fr;
  }

  .ns-project-card:first-child {
    grid-row: auto;
  }

  .ns-project-card:first-child .ns-project-card-img-wrap {
    aspect-ratio: 3 / 2;
  }

  .ns-portfolio-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .ns-service-trigger {
    grid-template-columns: 2rem 1fr auto;
    gap: var(--space-4);
  }

  .ns-service-name {
    font-size: var(--text-3xl);
  }

  .ns-service-body {
    padding-left: calc(2rem + var(--space-4));
  }

  .ns-service-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .ns-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .ns-case-hero {
    height: 50vh;
    min-height: 360px;
  }

  .ns-case-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

  .ns-case-gallery {
    grid-template-columns: 1fr;
  }

  .ns-form-row {
    grid-template-columns: 1fr;
  }

  .ns-footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .ns-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .ns-expertise-section {
    padding-block: var(--section-pad-y);
  }
}

@media (max-width: 480px) {
  .ns-process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ns-case-meta {
    grid-template-columns: 1fr 1fr;
  }

  .ns-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ns-cta-actions .ns-btn {
    justify-content: center;
  }
}

/* ── 26. Utilitaires ────────────────────────────────────────── */
.text-night  { color: var(--ns-night); }
.text-slate  { color: var(--ns-slate); }
.text-white  { color: var(--ns-white); }
.text-ice    { color: var(--ns-ice); }

.bg-night { background-color: var(--ns-night); }
.bg-mist  { background-color: var(--ns-mist); }
.bg-white { background-color: var(--ns-white); }

.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: var(--space-4); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

.mt-auto { margin-top: auto; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.gap-3        { gap: var(--space-3); }
.gap-4        { gap: var(--space-4); }
