/* ══════════════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-black);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  min-height: 100vh;
}
ul  { list-style: none; }
a   { text-decoration: none; color: inherit; }
img { display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ══════════════════════════════════════════════════════════
   DESIGN SYSTEM — TOKENS
   Source: Figma Design System node 2184:799
══════════════════════════════════════════════════════════ */
:root {
  /* ── Colors ── */
  --color-white:         #FFFFFF;
  --color-black:         #121212;
  --color-text:          #4C4C4C;
  --color-lighter-grey:  #EFEFEF;
  --color-light-grey:    #E5E5E5;
  --color-grey:          #B5B5B5;
  --color-dark-grey:     #2F2F2F;
  --color-accent:        #2F5DFF;
  --color-accent-hover:  #2040B3;
  --color-accent-click:  #14286F;
  --color-error:         #E50000;
  --color-success:       #008000;
  --color-bg:            #FAFAFA;   /* Page background (from homepage design) */

  /* ── Spacing ── */
  --s-4:   4px;
  --s-8:   8px;
  --s-16:  16px;
  --s-24:  24px;
  --s-32:  32px;
  --s-48:  48px;
  --s-64:  64px;
  --s-96:  96px;
  --s-128: 128px;

  /* ── Radius ── */
  --r-6:   6px;
  --r-8:   8px;
  --r-12:  12px;
  --r-16:  16px;
  --r-32:  32px;   /* used in cards / sections */
  --r-100: 100px;  /* pill / avatar */

  /* ── Shadows ── */
  --shadow:       0px 2px 4px rgba(0, 0, 0, 0.04), 0px 6px 16px rgba(0, 0, 0, 0.08), 0px 16px 40px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0px 4px 16px rgba(0, 0, 0, 0.15);

  /* ── Glass effect ── */
  /* Figma: Light -45° 80%, Refraction 80, Depth 20, Frost 10, Dispersion 50, Splay 0 */
  --glass-bg:     rgba(255, 255, 255, 0.50);
  --glass-bg-dark: rgba(76, 76, 76, 0.50);
  --glass-blur:   blur(10px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.20);

  /* ── Grid ── */
  /* Desktop : 12 col, margin 120px, gutter 24px */
  /* Tablet  : 8 col,  margin 32px,  gutter 16px  (≤ 1280px) */
  /* Mobile  : 4 col,  margin 16px,  gutter 16px  (≤ 768px)  */
  --grid-margin-desktop: 120px;
  --grid-margin-tablet:   32px;
  --grid-margin-mobile:   16px;
  --grid-gutter-desktop:  24px;
  --grid-gutter-mobile:   16px;
}

/* Dark mode overrides */
body.dark {
  --color-bg:           #121212;
  --color-white:        #1A1A1A;
  --color-black:        #FFFFFF;
  --color-text:         #B5B5B5;
  --color-lighter-grey: #2F2F2F;
  --color-light-grey:   #2F2F2F;
}

/* ══════════════════════════════════════════════════════════
   DESIGN SYSTEM — TYPOGRAPHY
   All values match the Figma design system exactly
══════════════════════════════════════════════════════════ */

/* H1 — Inter Semibold 48px / 110% / LS -1% (-0.48px) */
.ds-h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.48px;
}

/* H2 — Inter Semibold 32px / 120% / LS -0.5% (-0.16px) */
.ds-h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.16px;
}

/* H3 — Inter Medium 24px / 130% / LS 0% */
.ds-h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
}

/* H4 — Inter Medium 18px / 140% / LS 0% */
.ds-h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0;
}

/* Text — Inter Regular 16px / 150% / LS 0% */
.ds-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

/* Text Semibold — Inter Semibold 16px / 150% / LS 0% */
.ds-text-semibold {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

/* Button — Inter Medium 16px / Auto / LS 0% */
.ds-button {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
}

/* Text Small — Inter Regular 14px / 140% / LS 0% */
.ds-text-small {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
}

/* Nav — Inter Medium 14px / Auto / LS 0% */
.ds-nav {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
}

/* Text Very Small — Inter Regular 12px / Auto / LS 0% */
.ds-text-xs {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
}

/* Tags — Inter Medium UPPERCASE 10px / Auto / LS 2% (0.2px) */
.ds-tag {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

/* Convenience alias */
.text-center { text-align: center; }

/* ══════════════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════════════ */
.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 120px;
}

/* ══════════════════════════════════════════════════════════
   BUTTONS — Design system states
   Default → Hover (#2040B3) → Active/Click (#14286F)
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Typography: ds-button */
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  border-radius: var(--r-16);
  padding: var(--s-16) var(--s-32);
  transition: background-color 0.3s ease-in-out,
              color 0.3s ease-in-out,
              border-color 0.3s ease-in-out,
              padding 0.3s ease-in-out;
}

/* Primary button */
.btn-primary {
  background-color: var(--color-accent);
  color: #FFFFFF;
  border: none;
}
.btn-primary:hover  { background-color: var(--color-accent-hover); }
.btn-primary:active {
  background-color: var(--color-accent-click);
  padding: 14px 28px;
}

/* Outline (secondary) button */
.btn-outline {
  background-color: transparent;
  color: var(--color-black);
  border: 1.5px solid var(--color-black);
}
.btn-outline:hover {
  background-color: var(--color-black);
  color: #FFFFFF;
}
.btn-outline:active {
  background-color: var(--color-black);
  color: #FFFFFF;
  padding: 14px 28px;
}

/* Small button variant (Nav / Footer) — ds-nav */
.btn-sm {
  padding: var(--s-8) var(--s-16);
  border-radius: var(--r-8);
  font-size: 14px;
  font-weight: 500;
}
/* Reset onclick shrink for small buttons */
.btn-sm:active { padding: var(--s-8) var(--s-16); }

/* ══════════════════════════════════════════════════════════
   TOP BAR (fixed wrapper containing all nav elements)
══════════════════════════════════════════════════════════ */
.top-bar {
  position: fixed;
  top: 25px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  padding: 0 120px;
}

/* ── Theme toggle (left) ── */
.theme-toggle {
  position: absolute;
  left: 120px;
  top: 16px;
  display: flex;
  gap: var(--s-8);
  align-items: center;
  pointer-events: all;
}

.theme-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--r-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease-in-out;
}

.theme-btn.active {
  background-color: var(--color-black);
  color: var(--color-bg);
}

.theme-btn:not(.active) {
  background: transparent;
  border: 1.5px solid var(--color-black);
  color: var(--color-black);
}

/* Filtres icônes theme-btn */
.theme-btn.active img       { filter: brightness(0) invert(1); }    /* icône blanche sur fond noir */
.theme-btn:not(.active) img { filter: brightness(0); }               /* icône noire sur fond transparent */

body.dark .theme-btn.active img       { filter: brightness(0); }           /* icône noire sur fond blanc */
body.dark .theme-btn:not(.active) img { filter: brightness(0) invert(1); } /* icône blanche sur fond sombre */

/* Mobile controls row (theme toggle + lang switcher) */
.mobile-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.mobile-theme-toggle {
  display: flex;
  gap: var(--s-8);
}

.mobile-contact {
  width: 100%;
  justify-content: center;
}

/* ── Floating navbar pill (center) ── */
.navbar {
  display: flex;
  align-items: center;
  gap: var(--s-96);
  background: transparent;
  border: 1.5px solid var(--color-light-grey);
  padding: var(--s-16) var(--s-32);
  border-radius: var(--r-16);
  pointer-events: all;
  position: relative;
  transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

/* Scrolled state → glass effect */
.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-color: transparent;
  box-shadow: var(--shadow);
}

body.dark .navbar.scrolled {
  background: var(--glass-bg-dark);
  border-color: transparent;
}

/* ── Dark mode navbar overrides ── */
body.dark .navbar {
  border-color: #4C4C4C;
}

/* Dark mode — fermé : fond blanc → icône noire */
body.dark .hamburger-btn {
  background: #FFFFFF;
}
body.dark .hamburger-btn .hamburger-icon img { filter: brightness(0); }

/* Dark mode — ouvert : fond dark grey → icône blanche */
body.dark .hamburger-btn.open {
  background: #2F2F2F;
}
body.dark .hamburger-btn.open .close-icon img { filter: brightness(0) invert(1); }

body.dark .mobile-menu {
  background: var(--color-dark-grey);
}

/* ── Dark mode — sections & composants ── */
body.dark .philosophy {
  background: var(--color-dark-grey);
}

body.dark .philosophy-card {
  border-color: #121212;
}

body.dark .phil-separator {
  background-color: #121212;
}

body.dark .phil-text-yes {
  color: #FFFFFF;
}

body.dark .tag {
  background-color: var(--color-bg);
  color: var(--color-grey);
}


body.dark .project-title {
  color: #FFFFFF;
}

body.dark .step-number {
  color: #4C4C4C; /* intentionnel Figma — même valeur qu'en light mode */
}

body.dark .btn-outline {
  color: #FFFFFF;
  border-color: #FFFFFF;
}
body.dark .btn-outline:hover {
  background-color: #FFFFFF;
  color: #121212;
}

body.dark .lang-btn {
  background-color: var(--color-dark-grey);
}

body.dark .footer {
  background-color: #000000;
}


/* ── Hamburger button (mobile only) ── */
.navbar-logo-group {
  display: flex;
  align-items: center;
}

.navbar-logo-group .mobile-theme-toggle {
  display: none;
}

.navbar-mobile-end {
  display: none;
}

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-100);
  background: #121212;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.18s;
}

.hamburger-btn .close-icon { display: none; }
.hamburger-btn .hamburger-icon { display: flex; }

/* Light mode — fermé : fond noir → icône blanche */
.hamburger-btn .hamburger-icon img { filter: brightness(0) invert(1); }
/* Light mode — ouvert : fond gris clair → icône noire */
.hamburger-btn .close-icon img { filter: brightness(0); }

.hamburger-btn.open {
  background: #E5E5E5;
}
.hamburger-btn.open .hamburger-icon { display: none; }
.hamburger-btn.open .close-icon { display: flex; }

/* ── Mobile dropdown menu ── */
.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + var(--s-8));
  right: 0;
  background: var(--color-white);
  border-radius: var(--r-16);
  box-shadow: var(--shadow);
  padding: var(--s-16);
  flex-direction: column;
  gap: var(--s-24);
  align-items: flex-start;
  pointer-events: all;
  z-index: 10;
  width: 200px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
}

.mobile-menu-links a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-black);
  padding: var(--s-8);
  border-radius: var(--r-6);
  transition: background-color 0.3s ease-in-out;
}
.mobile-menu-links a:hover  { background-color: var(--color-lighter-grey); }
.mobile-menu-links a:active { background-color: var(--color-text); }

.navbar-logo img {
  width: 24px;
  height: auto;
}

/* Nav links — ds-nav */
.navbar-links {
  display: flex;
  gap: var(--s-32);
  align-items: center;
}

.navbar-links a {
  /* ds-nav */
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-black);
  padding: var(--s-8);
  border-radius: var(--r-6);
  transition: background-color 0.3s ease-in-out;
}
.navbar-links a:hover  { background-color: var(--color-lighter-grey); }
.navbar-links a:active { background-color: var(--color-text); }

.navbar-actions {
  display: flex;
  gap: var(--s-16);
  align-items: center;
}

/* LinkedIn icon */
.linkedin-icon {
  display: flex;
  align-items: center;
  color: var(--color-black);
  transition: color 0.3s ease-in-out;
}
.linkedin-icon:hover { color: var(--color-accent); }

/* ── Language switcher (right) ── */
.lang-switcher {
  position: absolute;
  right: 120px;
  top: 16px;
  pointer-events: all;
}

.lang-btn {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  background-color: var(--color-light-grey);
  border-radius: var(--r-6);
  padding: var(--s-4) var(--s-8);
  height: 32px;
  overflow: hidden;
  cursor: pointer;
}

/* Slot coulissant des drapeaux */
.lang-flags-track {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

/* UK actif → fait glisser vers le haut de 28px (24px flag + 4px gap) */
.lang-btn.lang-en .lang-flags-track {
  transform: translateY(-28px);
}

.lang-flag {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.lang-arrows {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  align-self: center;
}

.lang-arrows svg { color: var(--color-black); }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  padding-top: 186px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-96);
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-32);
  width: 588px;
  max-width: 100%;
  text-align: center;
}

.hero-heading-block {
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
  width: 100%;
}

/* Hero title uses ds-h2 */
.hero-title {
  /* ds-h2 */
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.16px;
  color: var(--color-black);
}

/* Hero subtitle uses ds-h4 */
.hero-subtitle {
  /* ds-h4 */
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--color-text);
}

.hero-buttons {
  display: flex;
  gap: var(--s-16);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Projects grid ── */
.projects-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--s-24);
  width: 100%;
}

.project-card-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(50% - 12px);
  max-width: calc(50% - 12px);
  gap: var(--s-16);
  background-color: var(--color-lighter-grey);
  border-radius: var(--r-32);
  padding: var(--s-24);
  text-decoration: none;
  transition: transform 0.3s ease-in-out;
}
.project-card-wrapper:hover {
  transform: translateY(-4px);
}

.project-img-block {
  aspect-ratio: 3 / 2;
  border-radius: var(--r-16);
  overflow: hidden;
  width: 100%;
  flex-shrink: 0;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}

.project-title {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: #121212;
}

.project-tags {
  display: flex;
  gap: var(--s-8);
  flex-wrap: wrap;
}

.tag {
  background-color: #FFFFFF;
  color: var(--color-text);
  font-weight: 500;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  padding: var(--s-4) var(--s-8);
  border-radius: var(--r-6);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════
   CLIENTS STRIP
══════════════════════════════════════════════════════════ */
.clients-strip {
  width: 100%;
  overflow: hidden;
  padding: var(--s-48) 0;
  margin: var(--s-128) 0;
}

.clients-track-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.clients-track {
  display: flex;
  width: max-content;
  animation: clients-marquee 22s linear infinite;
  will-change: transform;
}

.clients-group {
  display: flex;
  align-items: center;
  gap: var(--s-96);
  flex-shrink: 0;
  padding-right: var(--s-96);
}

.clients-track-wrapper:hover .clients-track {
  animation-play-state: paused;
}

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

.client-logo {
  max-height: 28px;
  max-width: 140px;
  width: auto;
  height: auto;
  flex-shrink: 0;
  filter: brightness(0) opacity(0.35);
  transition: filter 0.3s ease-in-out;
}

.client-logo:hover {
  filter: none;
}

body.dark .client-logo {
  filter: brightness(0) invert(1) opacity(0.45);
}

body.dark .client-logo:hover {
  filter: brightness(0) invert(1) opacity(0.85);
}

/* ══════════════════════════════════════════════════════════
   METHOD
══════════════════════════════════════════════════════════ */
.method {
  padding: 0 0 var(--s-128) 0;
}

.method > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-48);
}

/* Method title uses ds-h3 */
.method-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--color-black);
}

.method-steps {
  display: flex;
  align-items: stretch;
  gap: var(--s-24);
  width: 100%;
  justify-content: center;
}

.method-step {
  display: flex;
  gap: var(--s-16);
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Step number — Inter ExtraLight 56px (not in design system, kept from Figma homepage) */
.step-number {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.56px;
  color: var(--color-grey);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
}

/* Step title uses ds-h4 */
.step-title {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--color-black);
}

/* Step desc uses ds-text */
.step-desc {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-text);
}

.step-separator {
  width: 2px;
  align-self: stretch;
  background-color: var(--color-light-grey);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   PHILOSOPHY
══════════════════════════════════════════════════════════ */
.philosophy {
  max-width: 792px;
  margin: 0 auto;
  border-radius: var(--r-16);
  background: #121212;
  padding: var(--s-48) var(--s-32);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-32);
}

.philosophy-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
  color: #FFFFFF;
  text-align: center;
}

/* Philosophy desc uses ds-text */
.philosophy-desc {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-grey);
  text-align: center;
}

.philosophy-card {
  display: flex;
  gap: var(--s-24);
  align-items: center;
  border: 1px solid var(--color-text);
  border-radius: var(--r-12);
  padding: var(--s-24);
}

.phil-col {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}

.phil-item {
  display: flex;
  gap: var(--s-16);
  align-items: center;
}

.icon-close,
.icon-check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.icon-close img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(92%) saturate(6822%) hue-rotate(359deg) brightness(92%) contrast(115%);
}

.icon-check img {
  filter: brightness(0) saturate(100%) invert(26%) sepia(93%) saturate(364%) hue-rotate(94deg) brightness(95%) contrast(107%);
}

/* Phil text uses ds-text */
.phil-text-no {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-grey);
  white-space: nowrap;
}

.phil-text-yes {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-white);
  white-space: nowrap;
}

.phil-separator {
  width: 1px;
  align-self: stretch;
  background-color: var(--color-text);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */
.about {
  padding: var(--s-128) 0;
}

.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-48);
}

/* About title uses ds-h3 */
.about-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--color-black);
}

.about-content {
  display: flex;
  gap: var(--s-64);
  align-items: center;
  width: 792px;
  max-width: 100%;
}

.about-logo {
  flex-shrink: 0;
}

.about-logo img {
  width: 67px;
  height: auto;
}

/* About text uses ds-text + ds-text-semibold for bold */
.about-text {
  flex: 1;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-text);
}

.about-text strong {
  font-weight: 600;
  color: var(--color-black);
}

/* ══════════════════════════════════════════════════════════
   CASE STUDY PAGE
══════════════════════════════════════════════════════════ */
.case-study-page {
  padding-top: 172px; /* navbar fixe (76px) + gap 96px */
  padding-bottom: var(--s-128);
}

.case-study-content {
  max-width: 996px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-128);
}

/* Hero */
.case-hero {
  display: flex;
  gap: var(--s-64);
  align-items: center;
  width: 100%;
}

.case-hero-left {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
}

.case-title-block {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}

.case-client-logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.case-client-logo {
  height: auto;
  width: auto;
  object-fit: contain;
}

.logo-dark { display: none; }
body.dark .logo-dark { display: block; }
body.dark .logo-light { display: none; }

.case-main-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.48px;
  color: var(--color-black);
}

.case-main-subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-black);
}

.case-divider {
  height: 1px;
  background: var(--color-light-grey);
  width: 100%;
}

.case-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
}

.case-meta {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  flex-wrap: wrap;
}

.case-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-grey);
}

.case-meta-label {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text);
  white-space: nowrap;
}

.case-meta-sep {
  width: 1px;
  height: 12px;
  background: var(--color-grey);
  flex-shrink: 0;
}

.case-hero-img-wrap {
  width: 588px;
  max-width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.45s ease;
}

.case-hero-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

@media (hover: hover) {
  .case-hero-img-wrap:hover,
  .case-img-wrap.is-visible:hover {
    transform: scale(1.03);
    transition-duration: 0.45s;
    transition-timing-function: ease;
  }
}

/* Contexte */
.case-contexte {
  width: 792px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: var(--color-lighter-grey);
  border-radius: var(--r-16);
  padding: var(--s-48);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-24);
  text-align: left;
}

.case-contexte-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  width: 100%;
}

.case-contexte-body p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
}

/* Sections */
.case-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-48);
  width: 100%;
}

.case-section--row {
  flex-direction: row-reverse;
  align-items: center;
  gap: var(--s-64);
}

.case-section--row .case-section-header {
  flex: 1;
  align-items: flex-start;
  text-align: left;
  max-width: none;
}

.case-section--row .case-section-desc {
  max-width: 100%;
}

.case-section--row .case-img--single {
  flex-shrink: 0;
}

.case-section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-24);
  text-align: left;
  width: 100%;
  max-width: 690px;
}

.case-section-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-black);
}

.case-section-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
  max-width: 100%;
}

.case-section-desc p + p {
  margin-top: var(--s-16);
}

/* Images */
.case-img {
  object-fit: cover;
  display: block;
  width: 100%;
}

.case-img-wrap {
  display: block;
}

.case-img--single {
  width: 100%;
  max-width: 588px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.case-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-24);
  width: 100%;
  align-items: start;
}

.case-imgs--ui {
  grid-template-columns: 1fr;
  max-width: 792px;
  margin: 0 auto;
}

.case-results {
  display: flex;
  gap: var(--s-24);
  width: 100%;
}

.case-result-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  padding: var(--s-24);
  border: 1.5px solid var(--color-light-grey);
  border-radius: var(--r-16);
}

.case-result-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.4;
}

.case-result-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.5;
}

body.dark .case-result-item { border-color: #2F2F2F; }

/* ── Navigation projet précédent / suivant ── */
.case-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--s-16);
  width: 100%;
}

.case-imgs .case-img-wrap {
  width: 100%;
}

.case-imgs .case-img {
  width: 100%;
  height: auto;
}

/* Dark mode */
body.dark .case-contexte {
  background: var(--color-dark-grey);
}

body.dark .case-divider {
  background: var(--color-dark-grey);
}

body.dark .case-meta-item {
  color: #FFFFFF;
}

body.dark .case-meta-label {
  color: #FFFFFF;
}

body.dark .case-meta-sep {
  background: #4C4C4C;
}



/* ── Responsive tablette ── */
@media (max-width: 1024px) {
  .case-study-page .container {
    padding: 0 var(--s-32);
  }

  /* Image passe en premier (au-dessus du texte) */
  .case-hero {
    flex-direction: column;
    gap: var(--s-48);
  }

  .case-hero-img-wrap {
    order: -1;
    width: 100%;
    height: auto;
  }

  .case-hero-left {
    flex: none;
    width: 100%;
  }

  .case-main-title {
    font-size: 44px;
  }

  .case-section--row {
    flex-direction: column;
  }

  .case-section--row .case-section-header {
    flex: none;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  /* Textes sections : pleine largeur */
  .case-section-desc {
    max-width: 100%;
  }

  .case-contexte-body {
    max-width: 100%;
  }

  .case-img--single {
    max-width: 100%;
  }

  .case-imgs .case-img-wrap,
  .case-imgs .case-img {
    height: auto;
  }
}

/* ── Responsive mobile ── */
@media (max-width: 768px) {
  .case-study-page .container {
    padding: 0 var(--s-16);
  }

  .case-study-content {
    gap: var(--s-96);
  }

  .case-main-title {
    font-size: 36px;
  }

  .case-section-title {
    font-size: 20px;
  }

  /* Texte ferré à gauche */
  .case-section-header {
    text-align: left;
    align-items: flex-start;
  }

  .case-contexte {
    padding: var(--s-32) var(--s-24);
  }

  /* Images empilées verticalement */
  .case-imgs {
    grid-template-columns: 1fr;
    gap: var(--s-16);
  }

  .case-imgs .case-img-wrap,
  .case-imgs .case-img {
    width: 100%;
    height: auto;
  }

  .case-results {
    flex-direction: column;
  }
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background-color: var(--color-white);
  padding: var(--s-32) var(--s-64);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-24);
}

.footer-logo {
  width: 30px;
  height: auto;
}

.footer-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-24);
  width: 100%;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-32);
  flex-wrap: wrap;
}

/* Footer nav uses ds-text-xs */
.footer-links {
  display: flex;
  gap: var(--s-16);
  align-items: center;
}

.footer-links a {
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-text);
  transition: color 0.3s ease-in-out;
}
.footer-links a:hover { color: var(--color-accent); }

.footer-actions {
  display: flex;
  gap: var(--s-16);
  align-items: center;
}

.footer-actions .btn-outline {
  border-width: 1px;
  font-size: 12px;
  font-weight: 400;
  padding: var(--s-8) var(--s-16);
  border-radius: var(--r-8);
}

/* Email uses ds-text-small */
.footer-email {
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-black);
}

/* Copyright uses ds-text-xs */
.footer-copy {
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-text);
  text-align: center;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */

/* ── ≤ 1280px : ajustements grands écrans ── */
@media (max-width: 1280px) {
  .container     { padding: 0 var(--s-48); }
  .top-bar       { padding: 0 var(--s-48); }
  .theme-toggle  { left: var(--s-48); }
  .lang-switcher { right: var(--s-48); }
}

/* ── ≤ 1024px : tablette ── */
@media (max-width: 1024px) {
  .container     { padding: 0 var(--s-32); }
  .top-bar       { padding: 0 var(--s-32); }
  .theme-toggle  { display: none; }
  .lang-switcher { display: none; }

  /* Typographie tablette */
  .hero-title { font-size: 44px; line-height: 1.1; letter-spacing: -0.44px; }

  /* Navbar → hamburger + toggle */
  .navbar-links        { display: none; }
  .navbar-actions      { display: none; }
  .hamburger-btn       { display: flex; }
  .navbar-mobile-end   { display: flex; }
  .navbar-logo-group   { gap: var(--s-24); }
  .navbar-logo-group .mobile-theme-toggle { display: flex; }
  .navbar {
    width: 100%;
    justify-content: space-between;
    gap: 0;
    padding: var(--s-16);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-color: transparent;
  }
  body.dark .navbar { background: var(--glass-bg-dark); }

  /* Cartes projets → colonne */
  .projects-grid { flex-direction: column; }
  .project-card-wrapper { flex: 1 1 100%; max-width: 100%; }

  /* Méthode → vertical avec séparateurs horizontaux */
  .method-steps   { flex-direction: column; gap: var(--s-24); }
  .step-separator { width: 100%; height: 1px; align-self: auto; }
  .method-step    { align-self: auto; white-space: normal; }
}

/* ── ≤ 768px : mobile ── */
@media (max-width: 768px) {
  .container     { padding: 0 var(--s-16); }
  .philosophy    { margin: 0 var(--s-16); padding: var(--s-48) var(--s-24); gap: 26px; }
  .top-bar       { padding: 0 var(--s-16); }

  /* Typographie mobile */
  /* H1 */
  .hero-title { font-size: 36px; line-height: 1.1; letter-spacing: -0.36px; }
  /* H2 */
  .method-title, .about-title, .philosophy-title, .projects-page-title {
    font-size: 28px; line-height: 1.2; letter-spacing: -0.14px;
  }
  /* H3 */
  .cta-title { font-size: 20px; line-height: 1.3; }

  /* Boutons → full width */
  main .btn, .footer .btn { display: flex; width: 100%; text-align: center; }

  /* Hero */
  .hero-text    { width: 100%; }
  .hero-buttons { flex-direction: column; align-items: stretch; }

  /* Cartes projets → colonne pleine largeur, image réduite */
  .projects-grid { flex-direction: column; gap: var(--s-16); }
  .project-card-wrapper { flex: 1 1 100%; max-width: 100%; padding: var(--s-16); gap: var(--s-16); border-radius: var(--r-16); }
  .project-img-block { border-radius: var(--r-12); }

  /* À propos → empilé, logo au-dessus */
  .about-content { flex-direction: column; align-items: center; gap: var(--s-48); width: 100%; text-align: center; }

  /* Philosophy card → empilée */
  .phil-separator  { width: 100%; height: 1px; }
  .philosophy-card { flex-direction: column; }

  /* Footer */
  .footer       { padding: var(--s-32) var(--s-24); }
  .footer-top   { flex-direction: column; gap: var(--s-24); }
  .footer-actions { flex-direction: column; align-items: center; }
  .footer-links   { flex-wrap: wrap; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════
   PAGE PROJETS
══════════════════════════════════════════════════════════ */

.projects-page {
  padding-top: 172px; /* navbar fixe (76px) + gap Figma 96px */
  padding-bottom: var(--s-128);
}

.projects-page-content {
  max-width: 996px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-128);
}

.projects-page-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-96);
}

.projects-page-header {
  max-width: 588px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
}

.projects-page-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.16px;
  color: var(--color-black);
}

.projects-page-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
}


/* ── CTA block ── */
.cta-block {
  background-color: var(--color-lighter-grey);
  border-radius: var(--r-16);
  padding: var(--s-32);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-24);
  text-align: center;
  width: 792px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}

.cta-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-black);
}

.cta-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
}

/* ── Responsive projets ── */
@media (max-width: 1024px) {
  .projects-page { padding-top: 140px; }
  .projects-page-content { max-width: 100%; }
  .projects-page-header { max-width: none; }
}

@media (max-width: 768px) {
  .projects-page { padding-top: 140px; padding-bottom: var(--s-96); }
  .projects-page-content { gap: var(--s-64); }
  .projects-page-intro { gap: var(--s-32); }
  .projects-page-title { font-size: 24px; }
  .cta-block { padding: var(--s-24); }
}

/* ══════════════════════════════════════════════════════════
   PAGE SERVICES
══════════════════════════════════════════════════════════ */

.services-page {
  padding-top: 172px; /* navbar fixe (76px) + gap Figma 96px */
  padding-bottom: var(--s-128);
}

.services-page-content {
  display: flex;
  flex-direction: column;
  gap: var(--s-128);
}

.services-page-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-96);
}

.services-page-header {
  max-width: 588px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
}

.services-page-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.16px;
  color: var(--color-black);
}

.services-page-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
}

/* ── Cards de services ── */
.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-24);
  width: 100%;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 2px;
  border-radius: var(--r-16);
  position: relative;
}

.service-card-body {
  background: var(--color-white);
  border-radius: var(--r-16);
  box-shadow: var(--shadow);
  padding: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
  width: 100%;
  flex: 1;
  margin-bottom: -2px;
}

body.dark .service-card-body {
  background: var(--color-dark-grey);
}

body.dark .service-card-sep {
  border-top-color: #121212;
}

body.dark .cta-block {
  background-color: var(--color-dark-grey);
}

.service-card-header {
  display: flex;
  gap: var(--s-16);
  align-items: center;
  width: 100%;
}

.service-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-black);
  flex: 1;
}

.service-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
}

.service-pill {
  width: 150px;
  height: 4px;
  background-color: var(--color-grey);
  border-radius: 100px;
  margin-bottom: -2px;
  flex-shrink: 0;
  transition: background-color 0.25s ease;
}

.service-card.is-hovered .service-pill {
  background-color: var(--color-accent);
}


.service-card-details {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  width: 100%;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease-in-out, opacity 0.3s ease-in-out;
}

.service-card.is-hovered .service-card-details {
  max-height: 220px;
  opacity: 1;
}

.service-card-sep {
  border: none;
  border-top: 1px solid var(--color-light-grey);
  margin: 0;
}

.service-card-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.service-card-list p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
}

/* ── Affordance indicator (card hover hint) ── */
.card-hint {
  position: absolute;
  bottom: var(--s-16);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  color: var(--color-black);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.zigzag-card-main .card-hint {
  position: static;
  transform: none;
  align-self: center;
  margin-top: calc(var(--s-16) - var(--s-24));
}

.zigzag-card--left .card-hint svg {
  animation: card-hint-nudge-right 2s ease-in-out infinite;
}

.zigzag-card--right .card-hint svg {
  animation: card-hint-nudge-left 2s ease-in-out infinite;
}

.service-card .card-hint svg {
  animation: card-hint-nudge-down 2s ease-in-out infinite;
}

@keyframes card-hint-nudge-right {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(4px); }
}

@keyframes card-hint-nudge-left {
  0%, 100% { transform: rotate(180deg) translateX(0); }
  50%       { transform: rotate(180deg) translateX(4px); }
}

@keyframes card-hint-nudge-down {
  0%, 100% { transform: rotate(90deg) translateX(0); }
  50%       { transform: rotate(90deg) translateX(4px); }
}

.zigzag-card:hover .card-hint,
.zigzag-card.is-open .card-hint,
.service-card.is-hovered .card-hint {
  opacity: 0;
}

.zigzag-card:hover .card-hint svg,
.zigzag-card.is-open .card-hint svg,
.service-card.is-hovered .card-hint svg {
  animation-play-state: paused;
}

/* ── Teaser méthode ── */
.methode-teaser {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-24);
  padding: var(--s-32);
  border: 1.5px solid var(--color-light-grey);
  border-radius: var(--r-16);
  width: 792px;
  max-width: 100%;
  align-self: center;
}

.methode-teaser-title,
.methode-teaser-desc {
  max-width: 588px;
}

.methode-teaser-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-black);
  text-align: center;
  width: 100%;
}

.methode-teaser-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
  text-align: center;
  width: 100%;
}

/* ── Responsive services ── */
@media (max-width: 1024px) {
  .services-page { padding-top: 140px; }
  .services-page-content { gap: var(--s-96); }
  .services-page-intro { gap: var(--s-48); }
  .services-page-header { max-width: none; }
  .services-cards { grid-template-columns: 1fr; }
  .methode-teaser { padding: var(--s-24); }
}

@media (max-width: 768px) {
  .services-page { padding-top: 140px; padding-bottom: var(--s-96); }
  .services-page-content { gap: var(--s-64); }
  .services-page-intro { gap: var(--s-32); }
  .services-page-title { font-size: 28px; letter-spacing: -0.14px; }
  .services-cards { grid-template-columns: 1fr; }
  .service-title { font-size: 20px; }
  .process-grid { gap: 0; }
  .process-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .process-sep { display: none; }
  .process-step { border-top: 1px solid var(--color-light-grey); padding: var(--s-24) 0; }
  .process-row:first-child > .process-step:first-child { border-top: none; padding-top: 0; }
  .process-number { font-size: 40px; min-width: 52px; }
  .process-section-title { font-size: 20px; }
}

/* ══════════════════════════════════════════════════════════
   PAGE MÉTHODE
══════════════════════════════════════════════════════════ */

.methode-page {
  padding-top: 172px;
  padding-bottom: var(--s-128);
}

.methode-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-128);
}

/* ── Intro : header + principes ── */
.methode-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-96);
  width: 100%;
}

.methode-header {
  max-width: 588px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
}

.methode-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.16px;
  color: var(--color-black);
}

.methode-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
}

/* ── Principes (carte sombre) ── */
.principes-block {
  background: #121212;
  border-radius: var(--r-16);
  padding: var(--s-48) var(--s-64);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-32);
  max-width: 792px;
  width: 100%;
}

body.dark .principes-block {
  background: #2F2F2F;
}

.principes-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: #FFFFFF;
  text-align: center;
}

.principes-cols {
  display: flex;
  gap: var(--s-24);
  align-items: flex-start;
  width: 100%;
}

.principe-col {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}

.principe-name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #FFFFFF;
}

.principe-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-grey);
}

.principe-sep {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* ── Zigzag process ── */
.zigzag-process {
  display: flex;
  flex-direction: column;
  max-width: 496px;
  width: 100%;
}

.zigzag-card-row {
  display: flex;
  width: 100%;
}

.zigzag-left  { justify-content: flex-start; }
.zigzag-right { justify-content: flex-end; }

/* ── Carte : conteneur flex row ── */
.zigzag-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-shrink: 0;
  border-radius: var(--r-16);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.3s ease-in-out;
}

.zigzag-card--right {
  flex-direction: row-reverse;
}

.zigzag-card:hover {
  box-shadow: var(--shadow-hover);
}

/* ── Section principale (toujours visible) ── */
.zigzag-card-main {
  width: 282px;
  min-width: 282px;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
  padding-bottom: var(--s-24);
  position: relative;
}

body.dark .zigzag-card-main {
  background: var(--color-dark-grey);
}

/* Badge "Étape N" */
.zigzag-badge {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #FFFFFF;
  background: #121212;
  padding: var(--s-8) var(--s-16);
  align-self: flex-start;
  white-space: nowrap;
}

body.dark .zigzag-badge {
  background: #FFFFFF;
  color: #121212;
}

/* Left card : badge arrondi haut-gauche + bas-droite */
.badge-tl-br {
  border-radius: 0 0 var(--r-16) 0;
  border-top-left-radius: var(--r-16);
}

/* Right card : badge arrondi haut-droite + bas-gauche */
.badge-tr-bl {
  align-self: flex-end;
  border-radius: 0 0 0 var(--r-16);
  border-top-right-radius: var(--r-16);
}

.zigzag-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  padding: 0 var(--s-24);
}

.zigzag-card-header {
  display: flex;
  gap: var(--s-16);
  align-items: center;
}

.zigzag-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark .zigzag-icon img {
  filter: brightness(0) invert(1);
}

.zigzag-card-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-black);
  flex: 1;
}

.zigzag-card-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
}

/* ── Panneau expand (sibling flex, clippé par overflow:hidden du parent) ── */
.zigzag-expand {
  width: 0;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.zigzag-card:hover .zigzag-expand {
  width: 320px;
}

/* Inner : taille fixe, pleine hauteur */
.zigzag-expand-inner {
  width: 320px;
  min-width: 320px;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Carte gauche : expand à droite — blanc (côté carte) → noir */
.zigzag-card--left .zigzag-expand-inner {
  padding: 0 24px 0 96px;
  background: linear-gradient(90deg, #FFFFFF 0%, #B3B3B3 17%, #6D6D6D 43%, #121212 85%);
}

/* Carte droite : expand à gauche (row-reverse) — noir (côté externe) → blanc (côté carte) */
.zigzag-card--right .zigzag-expand-inner {
  padding: 0 96px 0 24px;
  background: linear-gradient(90deg, #121212 0%, #6D6D6D 57%, #B3B3B3 83%, #FFFFFF 100%);
}

/* Dark mode expand gradients */
body.dark .zigzag-card--left .zigzag-expand-inner {
  background: linear-gradient(90deg, #2F2F2F 0%, #4C4C4C 17%, #666666 43%, #9A9A9A 85%);
}

body.dark .zigzag-card--right .zigzag-expand-inner {
  background: linear-gradient(90deg, #9A9A9A 0%, #666666 57%, #4C4C4C 83%, #2F2F2F 100%);
}

.zigzag-expand-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  color: #E5E5E5;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}

/* ── Connecteurs images ── */
/* Principe : image centrée sous la carte (padding = (card - img) / 2)
   La fin de la ligne aligne le bord gauche de la carte opposée.
   container = card + (card - img) / 2 + img_end_x = 282 + 67 + 146.5 ≈ 496px */
.zigzag-connector {
  width: 100%;
  height: 154px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
}

.zigzag-connector--left {
  justify-content: flex-start;
  padding-left: 67px; /* (282 - 148) / 2 */
}

.zigzag-connector--right {
  justify-content: flex-end;
  padding-right: 67px; /* (282 - 148) / 2 */
}

.connector-curve {
  width: 148px;
  height: 154px;
  flex-shrink: 0;
}
.connector-straight { display: none; }

body.dark .connector-curve {
  filter: brightness(0) saturate(0) invert(30%);
}

/* ── Responsive méthode ── */
@media (max-width: 1280px) {
  .principes-block { padding: var(--s-48) var(--s-32); }
}

@media (max-width: 1024px) {
  .methode-page { padding-top: 140px; }
  .methode-header { max-width: 100%; }
  .principes-block { padding: var(--s-32); }
}

@media (max-width: 768px) {
  .methode-page { padding-top: 140px; padding-bottom: var(--s-96); }
  .methode-title { font-size: 28px; letter-spacing: -0.14px; }

  /* Principes : 3 colonnes → empilement vertical */
  .principes-cols { flex-direction: column; gap: var(--s-24); }
  .principe-sep { width: 100%; height: 1px; background: rgba(255, 255, 255, 0.10); }

  /* Zigzag : cartes full width, gap 24px entre cartes + connecteurs */
  .zigzag-process { max-width: 100%; gap: var(--s-24); }
  .zigzag-card-row { justify-content: flex-start; }

  /* Connecteurs : ligne droite à la place des courbes SVG */
  .zigzag-connector {
    height: 80px;
    width: 100%;
    padding: 0;
    justify-content: center;
    align-items: center;
  }
  .connector-curve { display: none; }
  .connector-straight { display: block; }
  body.dark .connector-straight { filter: brightness(0.42); }

  /* Cartes : colonne, full width */
  .zigzag-card,
  .zigzag-card--right {
    flex-direction: column;
    width: 100%;
  }
  .zigzag-card-main { width: 100%; min-width: 0; }

  /* Icônes : préserve la couleur identique au desktop */
  .zigzag-icon img { filter: none !important; }
  body.dark .zigzag-icon img { filter: brightness(0) invert(1) !important; }

  /* Badge des cartes droites : repositionné en haut-gauche comme les cartes gauches */
  .badge-tr-bl {
    align-self: flex-start;
    border-radius: 0 0 var(--r-16) 0;
    border-top-left-radius: var(--r-16);
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  /* Expand : passe en max-height vertical */
  .zigzag-expand {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .zigzag-card:hover .zigzag-expand,
  .zigzag-card.is-open .zigzag-expand {
    width: 100%;
    max-height: 168px;
  }
  /* Écrase les gradients horizontaux desktop (spécificité 0,2,0) */
  .zigzag-card--left .zigzag-expand-inner,
  .zigzag-card--right .zigzag-expand-inner {
    width: 100%;
    min-width: 0;
    height: 168px;
    align-items: center;
    padding: 48px var(--s-24) var(--s-24);
    background: linear-gradient(180deg, #FFFFFF 0%, #B3B3B3 30%, #6D6D6D 60%, #121212 100%);
  }
  body.dark .zigzag-card--left .zigzag-expand-inner,
  body.dark .zigzag-card--right .zigzag-expand-inner {
    background: linear-gradient(180deg, #2F2F2F 0%, #4C4C4C 30%, #666666 60%, #9A9A9A 100%);
  }

  /* Flèche hint : pointe vers le bas car l'expand s'ouvre verticalement */
  .zigzag-card--left .card-hint svg,
  .zigzag-card--right .card-hint svg {
    animation: card-hint-nudge-down 2s ease-in-out infinite;
  }
}

/* ══════════════════════════════════════════════════════════
   PAGE À PROPOS
══════════════════════════════════════════════════════════ */

.apropos-page {
  padding-top: 172px;
  padding-bottom: var(--s-128);
}

.apropos-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-128);
  max-width: 996px;
  width: 100%;
  margin: 0 auto;
}

/* ── Intro : hero + tags ── */
.apropos-intro {
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
  width: 792px;
  max-width: 100%;
}

.apropos-hero {
  display: flex;
  align-items: center;
  gap: var(--s-64);
  width: 100%;
}

.apropos-hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
}

.apropos-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.16px;
  color: var(--color-black);
}

.apropos-hero-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
}

.apropos-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--color-lighter-grey);
  flex-shrink: 0;
  overflow: hidden;
}

.apropos-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 20%;
  transform: scale(1.7);
  transform-origin: 40% 60%;
}

.apropos-sep {
  border: none;
  border-top: 1.5px solid var(--color-light-grey);
  width: 100%;
  margin: 0;
}

.apropos-tags-block {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  align-items: center;
  width: 100%;
}

.apropos-tags-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-black);
  text-align: center;
}

.apropos-tags-row {
  display: flex;
  align-items: center;
  gap: var(--s-16);
  justify-content: center;
  flex-wrap: nowrap;
}

/* Sur desktop/tablette, les paires sont invisibles — leurs enfants participent directement au flex parent */
.apropos-tags-pair {
  display: contents;
}

.apropos-tag {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
  white-space: nowrap;
}

.apropos-tag-sep {
  width: 1.5px;
  height: 16px;
  background-color: var(--color-light-grey);
  flex-shrink: 0;
}

/* ── Objectif ── */
.apropos-objectif {
  background: #121212;
  border-radius: var(--r-16);
  padding: var(--s-48);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-24);
  width: 792px;
  max-width: 100%;
  text-align: center;
}

.apropos-objectif-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: #FFFFFF;
  text-align: center;
}

.apropos-objectif-body {
  width: 588px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #E5E5E5;
}

/* ── Expériences (Timeline) ── */
.apropos-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--s-32);
  width: 100%;
  max-width: 100%;
}

.apropos-timeline-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-black);
  text-align: center;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: var(--s-16);
  align-items: stretch;
  width: 100%;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--color-light-grey);
  z-index: 0;
}

.timeline-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-16);
  position: relative;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--color-grey);
  align-self: center;
  position: relative;
  z-index: 1;
}

.timeline-dot--active {
  background: var(--color-success);
}

.timeline-card {
  flex: 1;
  background: var(--color-lighter-grey);
  border-radius: var(--r-16);
  padding: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-16);
}

.timeline-header-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline-company {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.3;
}

.timeline-role {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.4;
}

.timeline-badge {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--r-100);
  background: var(--color-light-grey);
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}

.timeline-badge--active {
  background: rgba(0, 128, 0, 0.12);
  color: var(--color-success);
}

body.dark .timeline-badge {
  background: rgba(255, 255, 255, 0.08);
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  flex-wrap: wrap;
}

.timeline-period,
.timeline-location,
.timeline-type {
  font-size: 13px;
  color: var(--color-grey);
  line-height: 1.4;
}

.timeline-sep {
  font-size: 13px;
  color: var(--color-grey);
  opacity: 0.4;
}

/* ── Disponibilité ── */
.apropos-dispo {
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
  padding: var(--s-32);
  border: 1.5px solid var(--color-light-grey);
  border-radius: var(--r-16);
  width: 792px;
  max-width: 100%;
}

.apropos-dispo-status {
  display: flex;
  align-items: center;
  gap: var(--s-16);
}

.dispo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
}

.dispo-status-label {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-success);
}

.apropos-dispo-items {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}

.dispo-item {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.5;
}

.dispo-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-grey);
}

body.dark .apropos-dispo { border-color: var(--color-dark-grey); }

/* ── NomiSign ── */
.apropos-nomisign {
  width: 588px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-32);
}

.about-logo img {
  display: block;
}

.apropos-nomisign-text {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
  width: 100%;
}

/* ── Dark mode À propos ── */
body.dark .apropos-objectif {
  background: var(--color-dark-grey);
}

body.dark .apropos-objectif-body {
  color: var(--color-grey);
}

/* ── Responsive À propos ── */
@media (max-width: 1024px) {
  .apropos-page { padding-top: 140px; }
  .apropos-content { gap: var(--s-96); }

  .apropos-intro { width: 100%; }

  .apropos-objectif {
    width: 100%;
    padding: var(--s-48) var(--s-32);
  }
  .apropos-objectif-body { width: 100%; }

  .apropos-nomisign { width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   PAGE CONTACT
══════════════════════════════════════════════════════════ */

.contact-page {
  padding-top: 172px;
  padding-bottom: var(--s-128);
}

.contact-wrapper {
  max-width: 792px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-96);
}

/* ── En-tête ── */
.contact-header {
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
  align-items: center;
  text-align: center;
  max-width: 588px;
  margin: 0 auto;
}

.contact-title { color: var(--color-black); }

.contact-desc {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.5;
}

.contact-desc p + p { margin-top: 1.5em; }

/* ── Carte formulaire ── */
.contact-form-card {
  background: var(--color-white);
  border-radius: var(--r-16);
  padding: var(--s-32);
  display: flex;
  flex-direction: column;
  gap: var(--s-32);
  box-shadow: inset 4px 4px 24px rgba(0, 0, 0, 0.10);
  border: none;
}

.contact-form-cols {
  display: flex;
  gap: var(--s-24);
  align-items: flex-start;
}

.contact-col-left {
  width: 347px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
}

.contact-col-right {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
}

.contact-field-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}

.contact-field-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-black);
}

/* ── Inputs + floating label ── */
.input-wrapper {
  position: relative;
}

.input-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text);
  pointer-events: none;
  padding: 0 var(--s-4);
  background: transparent;
  white-space: nowrap;
  transition: top 0.15s ease, transform 0.15s ease, font-size 0.15s ease,
              color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

/* Label flottant : champ focus ou rempli */
.contact-input:focus ~ .input-label,
.contact-input:not(:placeholder-shown) ~ .input-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--color-grey);
  background: var(--color-white);
}

/* Textarea : label caché par défaut, visible au focus/rempli */
.input-wrapper--textarea .input-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--color-grey);
  background: transparent;
  opacity: 0;
}

.input-wrapper--textarea .contact-input:focus ~ .input-label,
.input-wrapper--textarea .contact-input:not(:placeholder-shown) ~ .input-label {
  opacity: 1;
  background: var(--color-white);
}

/* Placeholder textarea : disparaît au focus */
.contact-textarea::placeholder { transition: opacity 0.15s ease; }
.contact-textarea:focus::placeholder { opacity: 0; }

/* Dark mode : fond label = fond de la carte */
body.dark .contact-input:focus ~ .input-label,
body.dark .contact-input:not(:placeholder-shown) ~ .input-label,
body.dark .input-wrapper--textarea .contact-input:focus ~ .input-label,
body.dark .input-wrapper--textarea .contact-input:not(:placeholder-shown) ~ .input-label {
  background: var(--color-dark-grey);
}

.contact-input {
  width: 100%;
  border: 1px solid var(--color-grey);
  border-radius: var(--r-12);
  padding: var(--s-16);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-black);
  background: transparent;
  outline: none;
  transition: border 0.15s ease;
  appearance: none;
}

.contact-input::placeholder { color: var(--color-text); }

.contact-input:focus {
  border: 1.5px solid var(--color-black);
}

.input-wrapper--error .contact-input {
  border-color: #D94F4F;
}
.input-wrapper--error .input-label {
  color: #D94F4F;
}
.input-error-msg {
  display: none;
  font-size: 12px;
  font-weight: 400;
  color: #D94F4F;
  margin-top: 4px;
  padding-left: 4px;
}
.input-wrapper--error .input-error-msg {
  display: block;
}

.contact-submit--success {
  background-color: #2D8A4E !important;
  border-color: #2D8A4E !important;
  cursor: default;
}
.contact-submit--error {
  background-color: #D94F4F !important;
  border-color: #D94F4F !important;
}

.contact-textarea {
  height: 172px;
  resize: none;
  vertical-align: top;
}

/* ── Chips ── */
.contact-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8);
}

/* Light Base */
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  background: #EFEFEF;
  border-radius: var(--r-8);
  padding: var(--s-8) var(--s-16);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #4C4C4C;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Light Active */
.contact-chip.active {
  background: #121212;
  color: #E5E5E5;
}

/* Dark Base */
body.dark .contact-chip {
  background: #4C4C4C;
  color: #FFFFFF;
}

/* Dark Active */
body.dark .contact-chip.active {
  background: #EFEFEF;
  color: #4C4C4C;
}

/* ── Cercle radio ── */
.chip-radio {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #B5B5B5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

/* Point intérieur */
.chip-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease;
}

/* Light Active : point #E5E5E5 */
.contact-chip.active .chip-radio {
  border-color: #E5E5E5;
}
.contact-chip.active .chip-radio::after {
  background: #E5E5E5;
}

/* Dark Base : bordure blanche */
body.dark .contact-chip .chip-radio {
  border-color: #FFFFFF;
}

/* Dark Active : point #4C4C4C */
body.dark .contact-chip.active .chip-radio {
  border-color: #4C4C4C;
}
body.dark .contact-chip.active .chip-radio::after {
  background: #4C4C4C;
}

/* ── Pied de formulaire ── */
.contact-form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-16);
}

.contact-form-note {
  text-align: center;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.4;
  max-width: 432px;
}

/* ── Infos de contact ── */
.contact-info-row {
  display: flex;
  gap: var(--s-32);
  align-items: center;
  justify-content: center;
}

.contact-email-link {
  display: flex;
  align-items: center;
  gap: var(--s-8);
}

.contact-email-link img { flex-shrink: 0; }

.contact-email-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-black);
}

.contact-info-sep {
  width: 1px;
  height: 24px;
  background-color: var(--color-light-grey);
  flex-shrink: 0;
}

/* ── Dark mode ── */
body.dark .contact-form-card { background: var(--color-dark-grey); }

/* ── Responsive Contact ── */
@media (max-width: 1024px) {
  .contact-page { padding-top: 140px; }
  .contact-col-left { width: auto; flex: 1 0 0; }
}

@media (max-width: 768px) {
  .contact-page { padding-top: 140px; padding-bottom: var(--s-96); }
  .contact-wrapper { gap: var(--s-32); }
  .contact-header { max-width: 100%; }
  .contact-title { font-size: 28px; }
  .contact-form-card { padding: var(--s-24) var(--s-16); gap: var(--s-24); }
  .contact-form-cols { flex-direction: column; }
  .contact-col-left { width: 100%; flex-shrink: unset; }
}

@media (max-width: 768px) {
  .apropos-page { padding-top: 140px; padding-bottom: var(--s-96); }
  .apropos-content { gap: var(--s-96); }
  .apropos-intro { gap: var(--s-24); }

  /* Hero : photo en haut, texte centré en dessous */
  .apropos-hero {
    flex-direction: column-reverse;
    align-items: center;
    gap: var(--s-24);
  }
  .apropos-hero-text {
    align-items: center;
    text-align: center;
  }
  .apropos-title { font-size: 28px; letter-spacing: -0.14px; }

  /* Tags : 2 lignes de 2 colonnes */
  .apropos-tags-row {
    flex-direction: column;
    gap: var(--s-16);
    flex-wrap: nowrap;
  }
  .apropos-tags-pair {
    display: flex;
    gap: var(--s-16);
    align-items: flex-start;
    justify-content: center;
    width: 100%;
  }
  .apropos-tag {
    flex: 1 0 0;
    text-align: left;
    white-space: normal;
  }
  .apropos-tag--left { text-align: right; }
  .apropos-tag-sep { height: 20px; }
  .apropos-tag-sep--between { display: none; }

  /* Objectif */
  .apropos-objectif {
    width: 100%;
    padding: var(--s-32) var(--s-24);
  }
  .apropos-objectif-title { font-size: 20px; }
  .apropos-objectif-body { width: 100%; }

  /* Expériences */
  .apropos-timeline-title { font-size: 20px; }

  .timeline {
    flex-direction: column;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 4px;
    right: auto;
    width: 1.5px;
    height: auto;
  }

  .timeline-item {
    flex-direction: row;
    align-items: flex-start;
  }

  .timeline-dot {
    align-self: auto;
    margin-top: 26px;
    flex-shrink: 0;
  }

  .apropos-nomisign { width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease-in-out, transform 0.65s ease-in-out;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Case study images reveal ── */
.case-img-wrap {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.case-img-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .case-img-wrap { opacity: 1; transform: none; transition: none; }
}
