/* ============================================================
   interprete-lsf-machut.fr — v.2026.05.0002
   dark technical · Switzer / IBM Plex Mono
   (swap font-display to PP Neue Montreal once licensed)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

:root {
  --bg:         #0A0C10;
  --bg-soft:    #0E1117;
  --surface:    #12161D;
  --surface-2:  #161B23;

  --ink:        #ECEEF1;
  --ink-soft:   #B8BDC4;
  --ink-mute:   #767C85;
  --ink-dim:    #4C5159;

  --line:        rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);
  --line-hi:     rgba(255, 255, 255, 0.22);

  --accent:      #7DD3FC;
  --accent-soft: #BAE6FD;
  --accent-dim:  rgba(125, 211, 252, 0.16);
  --status:      #34D399;
  --status-soft: rgba(52, 211, 153, 0.35);

  /* Type stack — Switzer = stand-in for PP Neue Montreal.
     To swap: replace "Switzer" by "PP Neue Montreal" once font files in /fonts.  */
  --font-display: "Switzer", "PP Neue Montreal", system-ui, sans-serif;
  --font-body:    "Switzer", "PP Neue Montreal", system-ui, -apple-system, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max-width: 1280px;
  --rail:      clamp(20px, 5vw, 64px);
  --header-h:  64px;

  --fs-mono-xs: 11px;
  --fs-mono-sm: 12px;
  --fs-mono-md: 13px;
  --fs-body:    16px;
  --fs-lead:    clamp(18px, 1.5vw, 21px);

  --ease: cubic-bezier(.2,.7,.3,1);
}

html, body { background: var(--bg); }

body {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- BG atmosphere ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 75%);
}
.bg-glow {
  position: fixed;
  top: -20vh; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    rgba(125, 211, 252, 0.10) 0%,
    rgba(125, 211, 252, 0.02) 35%,
    transparent 70%);
  filter: blur(40px);
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--rail);
}

main > section {
  padding: clamp(72px, 9vw, 144px) 0;
  position: relative;
}
main > section + section {
  border-top: 1px solid var(--line);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--rail);
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 500; font-size: 14px;
  letter-spacing: -0.01em; color: var(--ink);
}
.brand-mark {
  display: inline-flex; align-items: center;
  width: 22px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }

.site-nav {
  justify-self: center;
  display: flex; gap: clamp(16px, 2.4vw, 28px);
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.site-nav a { position: relative; padding: 4px 0; transition: color .25s var(--ease); }
.site-nav a::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.site-nav a:hover { color: var(--accent); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: 0.04em; color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.header-cta:hover { border-color: var(--accent); background: var(--accent-dim); }
.header-cta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--status);
  box-shadow: 0 0 0 0 var(--status-soft);
  animation: pulse 2.2s var(--ease) infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--status-soft); }
  70%  { box-shadow: 0 0 0 6px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- Nav toggle (mobile burger) ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav-toggle:hover { border-color: var(--accent); background: var(--accent-dim); }
.nav-toggle span {
  display: block;
  width: 14px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), background .25s var(--ease);
}
.nav-toggle:hover span { background: var(--accent); }
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

body.nav-open { overflow: hidden; }

/* Mobile-nav (overlay) — hors du header pour éviter le containing-block
   créé par le backdrop-filter du .site-header. Cachée sur desktop. */
.mobile-nav { display: none; }

/* ---------- Section meta + titles ---------- */
.section-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-meta .section-num { color: var(--accent); }
.section-meta::before {
  content: ""; display: block;
  width: 24px; height: 1px;
  background: var(--line-hi);
  margin-right: 4px;
}

.section-title, .page-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: clamp(40px, 5vw, 72px);
  max-width: 22ch;
  text-wrap: balance;
}
.section-title .hl, .page-title .hl, .hero-title .hl, .cta-title .hl {
  color: var(--accent);
}

/* Lead paragraph under a section title */
.section-title:has(+ .section-lead) { margin-bottom: clamp(16px, 1.6vw, 24px); }
.section-lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 clamp(40px, 5vw, 64px);
}
.section-lead a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.section-lead a:hover { border-bottom-color: currentColor; }

/* ---------- Hero (homepage) ---------- */
.hero {
  padding-top: clamp(80px, 10vw, 144px) !important;
  padding-bottom: clamp(80px, 10vw, 144px) !important;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7.6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: clamp(24px, 3vw, 36px);
  max-width: 13ch;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: clamp(36px, 4vw, 48px);
}

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* ---------- Video banner (home) ---------- */
.hero-banner {
  /* min-height + padding : le contenu ne peut jamais être rogné */
  padding: clamp(72px, 12vh, 128px) var(--rail) clamp(48px, 8vh, 88px) !important;
  position: relative;
  min-height: clamp(380px, 70vh, 620px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg);
}
.hero-banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* cadrage remonté : garde le haut du visage (yeux) visible quand le
     format rogne verticalement (écrans larges / mobile) */
  object-position: center top;
  z-index: 0;
  /* léger ajustement colorimétrique pour rester dans la charte */
  filter: saturate(0.9) contrast(1.03) brightness(0.92);
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* overlay léger : assombrit sans masquer la vidéo */
  background:
    linear-gradient(180deg,
      rgba(10, 12, 16, 0.52) 0%,
      rgba(10, 12, 16, 0.30) 40%,
      rgba(10, 12, 16, 0.48) 100%);
}
.hero-banner-overlay::after {
  /* léger grain de grille pour raccorder au reste du site */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
}
.hero-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 1.8vw, 22px);
  max-width: 30ch;
}
.hero-banner-mark {
  display: inline-flex;
  width: clamp(40px, 4.4vw, 54px);
  height: auto;
  color: var(--accent);
  filter: drop-shadow(0 2px 18px rgba(10, 12, 16, 0.6));
}
.hero-banner-mark svg { width: 100%; height: auto; }
.hero-banner-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(10, 12, 16, 0.55);
}
.hero-banner-title .hl { color: var(--accent); }
.hero-banner-tagline {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-md);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-shadow: 0 1px 16px rgba(10, 12, 16, 0.6);
}
@media (max-width: 640px) {
  .hero-banner {
    min-height: 64vh;
    padding-top: clamp(56px, 16vw, 88px) !important;
  }
  .hero-banner-inner { max-width: 18ch; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-banner-media { display: none; }
  .hero-banner {
    background:
      linear-gradient(180deg, rgba(10,12,16,0.5), rgba(10,12,16,0.5)),
      var(--bg-soft) center / cover no-repeat;
  }
}

/* ---------- Photo placeholder ---------- */
.hero-photo, .about-photo {
  width: 100%;
  display: flex;
  justify-content: center;
}
.photo-frame {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg,
      var(--surface) 0%,
      var(--bg-soft) 50%,
      var(--surface-2) 100%);
  position: relative;
  overflow: hidden;
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.photo-frame::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.photo-frame.portrait { max-width: 320px; }

.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
  filter: saturate(0.82) contrast(1.05) brightness(0.96) hue-rotate(-4deg);
}

.photo-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-dim);
}
.photo-overlay-tl, .photo-overlay-br {
  position: absolute;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  padding: 8px 12px;
}
.photo-overlay-tl { top: 4px; left: 4px; color: var(--accent); }
.photo-overlay-br { bottom: 4px; right: 4px; }

.photo-svg {
  width: 60%; height: auto;
  color: var(--ink-mute);
  opacity: 0.5;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-md);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  border-radius: 999px;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--bg);
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  box-shadow: 0 8px 32px -8px rgba(125, 211, 252, 0.45);
}
.btn-primary .arrow { transition: transform .35s var(--ease); font-size: 14px; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  color: var(--ink); background: transparent;
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }

/* ---------- Services cards (homepage) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cards.cards-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1080px;
}
.card {
  position: relative;
  padding: clamp(24px, 2.4vw, 32px);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--surface) 75%, transparent) 0%,
    color-mix(in srgb, var(--bg-soft) 75%, transparent) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 320px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute;
  top: 0; left: 16px; right: 16px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-hi), transparent);
}
.card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong));
  transform: translateY(-2px);
}
.card-num {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  font-weight: 500; color: var(--accent);
  letter-spacing: 0.14em;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.card-text {
  font-size: 15px; line-height: 1.6;
  color: var(--ink-soft); flex-grow: 1;
}
.card-link {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: 0.05em; color: var(--accent);
  margin-top: auto;
  display: inline-flex; align-items: baseline; gap: 6px;
  transition: gap .3s var(--ease);
  border-bottom: 1px solid transparent;
  align-self: flex-start; padding-bottom: 2px;
}
.card-link:hover { gap: 12px; border-bottom-color: currentColor; }

/* Cartes enrichies (services home : description + points clés) */
.card.is-rich .card-text { flex-grow: 0; }
.card.is-rich .bullet-list { flex-grow: 1; margin-top: 2px; }
.card.is-rich .bullet-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- Understand (typographique) ---------- */
.understand-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-hi);
}
.understand-item {
  display: grid;
  grid-template-columns: minmax(80px, 140px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.understand-num {
  font-family: var(--font-mono);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.understand-body { display: flex; flex-direction: column; gap: 10px; }
.understand-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  text-transform: lowercase;
}
.understand-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.understand-text {
  font-size: 16px; line-height: 1.65;
  color: var(--ink-soft); max-width: 60ch;
  margin: 0;
}

/* ---------- Engagements ---------- */
.engagements { background: var(--bg-soft); }
.principles {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.principle {
  padding: clamp(28px, 3.2vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.principle-key {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.principle-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 12px;
}
.principle-text {
  font-size: 15px; line-height: 1.6;
  color: var(--ink-soft); max-width: 42ch;
}

/* ---------- Timeline (modalités) ---------- */
.timeline {
  position: relative;
  padding-left: clamp(36px, 4vw, 56px);
  max-width: 760px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px; bottom: 8px;
  left: clamp(8px, 1vw, 12px);
  width: 1px;
  background: linear-gradient(to bottom,
    var(--accent) 0%,
    var(--accent) 70%,
    var(--accent-dim) 100%);
  opacity: 0.7;
}
.timeline-item {
  position: relative;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  top: 8px;
  left: calc(-1 * clamp(36px, 4vw, 56px) + clamp(8px, 1vw, 12px) - 5.5px);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  /* Anneau coloré pour faire ressortir la station sur la ligne */
  outline: 4px solid var(--bg);
}
.timeline-header {
  display: flex; align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.timeline-num { color: var(--accent); }
.timeline-time {
  color: var(--ink-mute);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 4px;
}
.timeline-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.timeline-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--surface) 75%, transparent) 0%,
    color-mix(in srgb, var(--bg-soft) 75%, transparent) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq-item:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--line-strong)); }
.faq-item[open] { border-color: color-mix(in srgb, var(--accent) 55%, var(--line-strong)); }

.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  padding: clamp(20px, 2.2vw, 26px) clamp(20px, 2.2vw, 28px);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--accent); }

.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: ""; position: absolute;
  top: 50%; left: 50%;
  background: var(--ink-soft);
  transition: background .25s var(--ease), transform .35s var(--ease);
}
.faq-icon::before {
  width: 11px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1.5px; height: 11px;
  transform: translate(-50%, -50%);
}
.faq-q:hover .faq-icon {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.faq-q:hover .faq-icon::before,
.faq-q:hover .faq-icon::after { background: var(--accent); }
.faq-item[open] .faq-icon {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.faq-item[open] .faq-icon::before { background: var(--accent); }
.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  background: var(--accent);
}

.faq-a {
  padding: 0 clamp(20px, 2.2vw, 28px) clamp(20px, 2.2vw, 26px);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 78ch;
}
.faq-a p { margin: 0; }

/* ---------- CTA Final ---------- */
.cta-final {
  padding-top: clamp(80px, 10vw, 128px) !important;
  padding-bottom: clamp(80px, 10vw, 128px) !important;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: clamp(36px, 5vw, 56px);
  max-width: 14ch;
}
.contact-block { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.contact-mail {
  display: inline-flex; flex-direction: column; gap: 8px;
  padding: 20px 28px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.contact-mail:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--surface) 70%, var(--accent-dim));
  transform: translateY(-2px);
}
.contact-mail-label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.contact-mail-addr {
  font-family: var(--font-mono);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500; color: var(--ink);
  letter-spacing: -0.005em;
}
.contact-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.contact-meta-key { color: var(--accent); }

/* ============================================================
   PAGE COMMUNE — À propos / Services
   ============================================================ */
.page-hero {
  padding-top: clamp(72px, 9vw, 128px) !important;
  padding-bottom: clamp(40px, 5vw, 64px) !important;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7.6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: clamp(24px, 3vw, 36px);
  max-width: 14ch;
}
.page-lead {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- À propos ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-intro { display: flex; flex-direction: column; gap: 24px; }

.about-body { padding-top: clamp(40px, 5vw, 64px) !important; }
.about-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 96px);
  margin-bottom: clamp(56px, 7vw, 96px);
}
.about-col p + p { margin-top: 12px; }
.col-title {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 16px;
}
.col-title::after {
  content: ""; position: absolute;
  left: 0; bottom: 0; width: 32px; height: 1px;
  background: var(--accent);
}
.about-col p, .about-col li {
  font-size: 16px; line-height: 1.65;
  color: var(--ink-soft);
}
.bullet-list { display: flex; flex-direction: column; gap: 8px; }
.bullet-list li {
  padding-left: 18px; position: relative;
}
.bullet-list li::before {
  content: "—";
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1;
  position: absolute;
  left: 0;
  top: 0.08em;
  color: var(--ink-mute);
}
.bullet-list.mono li {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-md);
  color: var(--ink);
}

.about-cta { padding-top: 32px; border-top: 1px solid var(--line); }

/* ---------- Services page ---------- */
.page-toc {
  display: flex; flex-wrap: wrap;
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  color: var(--ink-mute);
}
.page-toc a {
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .25s ease, border-color .25s ease;
}
.page-toc a:hover {
  color: var(--accent);
  border-bottom-color: currentColor;
}

.service-block {
  padding: clamp(72px, 8vw, 120px) 0 !important;
  border-top: 1px solid var(--line);
}
.service-block.alt { background: var(--bg-soft); }

.service-head { margin-bottom: clamp(40px, 5vw, 64px); }
.service-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 24px;
  padding-left: 28px;
  position: relative;
}
.service-tag::before {
  content: ""; position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 1px;
  background: var(--accent);
}
.service-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 22ch;
}
.service-lead {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
}

.service-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.service-cols:has(.service-col:nth-child(3)) {
  grid-template-columns: repeat(3, 1fr);
}
.service-col p + p { margin-top: 12px; }
.sub-title {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-bottom: 16px;
}
.service-col p, .service-col li {
  font-size: 16px; line-height: 1.65;
  color: var(--ink-soft);
}
.service-col em { color: var(--accent); font-style: normal; }

.service-foot {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  max-width: 60ch;
}
.service-foot .card-link { margin-top: 16px; }

/* ---------- Media grid (photos + video tiles) ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.media-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg,
      var(--surface) 0%,
      var(--bg-soft) 50%,
      var(--surface-2) 100%);
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.media-tile::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.media-tile.landscape { aspect-ratio: 16 / 10; }
.media-tile.video { aspect-ratio: 16 / 9; cursor: pointer; }
.media-tile:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line-strong));
  transform: translateY(-2px);
}
.media-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.06em;
  color: var(--accent);
}
.media-caption {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.05em;
  color: var(--ink-mute);
}
.media-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 25%, transparent);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  backdrop-filter: blur(8px);
  transition: background .3s var(--ease);
}
.media-tile.video:hover .media-play {
  background: var(--accent); color: var(--bg);
}

/* ---------- Video facade (lecteur YouTube custom, lazy) ---------- */
.video-facade-wrap {
  margin: clamp(32px, 4vw, 48px) auto 0;
  max-width: 920px;
}
.video-facade {
  /* Reset des styles natifs du <button> qui écrasent background/border
     sur certains browsers (Safari iOS, Chrome Android, etc.) */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;

  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding: 0 0 56.25% 0;  /* ratio 16:9 = 9/16 = 56.25% (universel) */
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
  font: inherit; color: inherit;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.video-facade:hover { border-color: var(--accent); transform: translateY(-2px); }
.video-facade::before {
  content: ""; position: absolute;
  top: 0; left: 16px; right: 16px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
  z-index: 3;
}
.video-facade img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.video-facade:hover img { transform: scale(1.025); }
.video-facade-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg,
    rgba(10, 12, 16, 0.20) 0%,
    rgba(10, 12, 16, 0.55) 100%);
  transition: background .3s var(--ease);
}
.video-facade:hover .video-facade-overlay {
  background: linear-gradient(180deg,
    rgba(10, 12, 16, 0.30) 0%,
    rgba(10, 12, 16, 0.65) 100%);
}
.video-facade-play {
  position: relative;
  width: clamp(64px, 9vw, 84px);
  height: clamp(64px, 9vw, 84px);
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: inline-flex;
  align-items: center; justify-content: center;
  transition: transform .35s var(--ease), background .3s var(--ease);
}
.video-facade-play::before {
  content: ""; position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  pointer-events: none;
  transition: inset .35s var(--ease), border-color .3s var(--ease);
}
.video-facade:hover .video-facade-play {
  transform: scale(1.06);
  background: var(--accent-soft);
}
.video-facade:hover .video-facade-play::before {
  inset: -12px;
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
}
.video-facade-play svg {
  width: 38%; height: 38%;
  transform: translateX(2px);
}
.video-facade-caption {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-align: center;
}
.video-facade.is-loaded {
  cursor: default;
  border-color: var(--line);
  transform: none;
}
.video-facade.is-loaded::before { display: none; }
.video-facade.is-loaded iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* ============================================================
   Blog : page article — refonte 2026.05.27
   ============================================================ */

/* Container resserré sur les pages article : tout l'article est
   centré sur la page dans un block ~760px (proche d'une largeur
   de lecture confortable). Les autres pages (services, à propos,
   home) gardent leur container 1280px. */
main > article .page-hero .container,
main > article .article-body-section .container {
  max-width: 760px;
}

/* Bouton retour blog en pill */
.article-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  color: var(--ink-soft);
  margin-bottom: clamp(32px, 4vw, 48px);
  letter-spacing: 0.04em;
  padding: 7px 14px 7px 11px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.article-back:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* Meta en bandeau pill (catégorie · date · durée) */
.article-meta {
  display: inline-flex; flex-wrap: wrap;
  align-items: center; gap: 6px 12px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: clamp(28px, 3.5vw, 40px);
  text-transform: lowercase;
}
.article-meta .article-cat { color: var(--accent); }
.article-meta .article-sep { color: var(--ink-dim); }
.article-meta time { color: var(--ink-soft); }

/* Hero article — page-title déjà global, on resserre juste le sub */
.page-hero .page-lead {
  max-width: 60ch;
}

/* Corps de l'article */
.article-body-section {
  padding-top: clamp(32px, 4vw, 56px) !important;
  padding-bottom: clamp(64px, 8vw, 104px) !important;
}
.article-body {
  max-width: 100%;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.article-body > * + * { margin-top: 22px; }

/* Texte justifié + césure automatique française. lang="fr" sur <html>
   permet à hyphens d'utiliser le dictionnaire français. */
.article-body p,
.article-body li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
/* Le lead, les titres et les sous-titres restent alignés à gauche
   (justifier sur des blocs courts crée des trous moches). */
.article-body p.lead,
.article-body h2,
.article-body h3 {
  text-align: left;
  hyphens: manual;
}

/* Lead paragraph (intro de l'article) — distingué visuellement */
.article-body p.lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.85vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 24px;
  margin-top: 0 !important;
  margin-bottom: clamp(48px, 6vw, 64px) !important;
  max-width: 56ch;
}

/* H2 avec marqueur cyan vertical à gauche — signature visuelle forte */
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: clamp(56px, 6.5vw, 88px) !important;
  margin-bottom: clamp(18px, 2vw, 24px);
  padding-left: 22px;
  position: relative;
}
.article-body h2::before {
  content: "";
  position: absolute;
  left: 0; top: 0.32em; bottom: 0.32em;
  width: 3px;
  background: var(--accent);
}

/* H3 secondaire */
.article-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.3;
  color: var(--ink);
  margin-top: clamp(32px, 3.5vw, 44px) !important;
  margin-bottom: 12px;
}

/* Paragraphes */
.article-body p { margin: 0; }

/* Listes — markers cyan en tiret cadré, pas underflow */
.article-body ul {
  margin-top: 12px !important;
  margin-bottom: 12px;
  padding-left: 0;
  list-style: none;
}
.article-body ul > * + * { margin-top: 12px; }
.article-body ul li {
  position: relative;
  padding-left: 24px;
  line-height: 1.65;
  margin-top: 0 !important;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 1.5px;
  background: var(--accent);
}

/* Emphase */
.article-body strong, .article-body b {
  color: var(--ink);
  font-weight: 600;
}
.article-body em, .article-body i {
  color: var(--ink);
  font-style: italic;
}

/* Liens internes — souligné cyan dim → cyan plein au hover */
.article-body a:not(.article-back) {
  color: var(--accent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  transition: border-color .25s var(--ease), color .25s var(--ease);
  text-decoration: none;
}
.article-body a:not(.article-back):hover {
  color: var(--accent-soft);
  border-bottom-color: var(--accent-soft);
}

/* Section sources & références — en bas de chaque article */
.article-sources {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.6;
}
.article-sources .article-sources-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-size: var(--fs-mono-xs);
}
.article-sources ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.article-sources li {
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
  text-align: left;
}
.article-sources li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink-dim);
}
.article-sources a {
  color: var(--ink-soft);
  border-bottom: 1px dotted var(--line-hi);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.article-sources a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Section "à lire aussi" — cards qui ressortent vraiment */
.article-related {
  margin-top: clamp(80px, 10vw, 128px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-strong);
}
.article-related-label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: clamp(24px, 3vw, 32px);
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) {
  .article-related-grid { grid-template-columns: 1fr; }
}
.article-related-card {
  display: block;
  padding: clamp(26px, 3vw, 36px) clamp(26px, 3vw, 36px) clamp(52px, 5vw, 60px);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--surface) 75%, transparent) 0%,
    color-mix(in srgb, var(--bg-soft) 75%, transparent) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.article-related-card::before {
  content: ""; position: absolute;
  top: 0; left: 16px; right: 16px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
}
.article-related-card::after {
  content: "→";
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 18px;
  position: absolute;
  bottom: clamp(20px, 2.4vw, 28px);
  right: clamp(20px, 2.4vw, 28px);
  transition: transform .3s var(--ease);
}
.article-related-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong));
  transform: translateY(-3px);
}
.article-related-card:hover::after {
  transform: translateX(4px);
}
.article-related-card .cat {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.article-related-card .ttl {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(48px, 6vw, 72px) 0 28px;
  border-top: 1px solid var(--line-strong);
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
  margin-bottom: clamp(40px, 5vw, 56px);
}
.footer-label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.footer-grid p {
  font-size: 14px; color: var(--ink-soft);
  margin-bottom: 4px;
}
.footer-grid a {
  transition: color .25s ease;
  border-bottom: 1px solid transparent;
}
.footer-grid a:hover {
  color: var(--accent);
  border-bottom-color: currentColor;
}
/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { order: -1; max-width: 320px; margin: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { order: -1; max-width: 280px; margin-left: 0; }
  .cards { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; gap: 40px; }
  .service-cols, .service-cols:has(.service-col:nth-child(3)) { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 56px; }
  .header-inner { grid-template-columns: 1fr auto auto; gap: 10px; }
  .nav-toggle { display: flex; }
  .site-nav { display: none; }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--bg);
    padding: 8px var(--rail) 32px;
    z-index: 40;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .25s linear;
  }
  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear;
  }
  .mobile-nav a {
    font-family: var(--font-mono);
    font-size: 17px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    letter-spacing: 0.04em;
    transition: color .25s var(--ease);
  }
  .mobile-nav a:hover, .mobile-nav a:focus { color: var(--accent); }
  .mobile-nav-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 18px !important;
    border: 1px solid var(--line-strong) !important;
    border-radius: 999px;
    align-self: flex-start;
    color: var(--ink) !important;
    border-bottom-color: var(--line-strong) !important;
  }
  .mobile-nav-cta .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--status);
    box-shadow: 0 0 0 0 var(--status-soft);
    animation: pulse 2.2s var(--ease) infinite;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .photo-frame { max-width: 280px; }
  .understand-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: clamp(32px, 6vw, 48px) 0;
  }
  .understand-num { font-size: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
  }
  html { scroll-behavior: auto; }
}


/* ============================================================
   Contact — formulaire + alternatives (homepage #contact)
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  position: relative;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  outline: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-dim);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--bg-soft) 70%, var(--accent-dim));
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237DD3FC'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.form-submit {
  align-self: flex-start;
  margin-top: 8px;
}

.form-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}

/* Alternatives (email + whatsapp) */
.contact-alts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.alts-label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 4px;
}

.alt-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.alt-tile:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--bg-soft) 70%, var(--accent-dim));
  transform: translateY(-2px);
}
.alt-tile-label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.alt-tile-value {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.alts-meta {
  margin-top: 8px;
  padding: 14px 16px;
  border-left: 2px solid var(--accent);
  background: var(--accent-dim);
  border-radius: 4px;
}
.alts-meta p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}


/* ============================================================
   Blog — index et articles
   Refonte 28 mai 2026 : passage en grille 2 colonnes avec
   cartes individuelles, hover micro-interactif, hiérarchie typo
   resserrée pour densité visuelle.
   ============================================================ */
.blog-list {
  padding-top: clamp(40px, 5vw, 64px) !important;
  padding-bottom: clamp(40px, 5vw, 64px) !important;
}
.blog-list .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.post-card {
  position: relative;
  padding: clamp(26px, 2.5vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32%;
  height: 1px;
  background: var(--accent);
  opacity: 0.45;
  transition: width .5s var(--ease), opacity .35s var(--ease);
}
.post-card:hover {
  background: var(--surface-2);
  border-color: var(--line-hi);
  transform: translateY(-3px);
}
.post-card:hover::before {
  width: 100%;
  opacity: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}
.post-meta time {
  color: var(--ink-soft);
}
.post-tag {
  padding: 4px 10px;
  background: var(--accent-dim);
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.post-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: none;
}
.post-title a {
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.post-title a:hover {
  color: var(--accent);
  border-bottom-color: currentColor;
}

.post-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-link {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: 0.05em;
  color: var(--accent);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.post-link:hover {
  gap: 12px;
  border-bottom-color: currentColor;
}

/* Responsive : 1 colonne en dessous de 1024px */
@media (max-width: 1024px) {
  .blog-list .container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .post-card {
    padding: 24px;
  }
  .post-title {
    font-size: 22px;
  }
}
