/* ========================================================================
   QLINT — Refonte 2026 — Maquette HTML/CSS — V2
   Design system : éditorial premium, fond cream/paper, 1 seule rupture dark
   ======================================================================== */

:root {
  --paper: #F4F1EA;          /* base — fond principal */
  --paper-soft: #ECE8DD;     /* nuance plus chaude */
  --paper-deep: #E3DED1;     /* lignes / surfaces */
  --ink: #060606;            /* texte principal — charte Qlint #060606 */
  --ink-soft: #2A2A2E;
  --accent: #1F3AED;         /* bleu électrique — charte Qlint */
  --accent-soft: #E4E8FE;    /* halo très doux du bleu */
  --navy: #181A40;           /* couleur secondaire — charte Qlint */
  --navy-deep: #121212;      /* fond cards */
  --periwinkle: #D5DAFC;     /* logo, titres clairs — charte Qlint */
  --mute: #6B6B70;           /* texte secondaire */
  --mute-light: #9A9A9F;
  --line: rgba(6, 6, 6, 0.10);
  --line-strong: rgba(6, 6, 6, 0.20);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max: 1320px;
  --gut: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ----- Reset léger ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ----- Base ----- */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  /* Manrope OpenType features pour la finesse */
  font-feature-settings: 'ss01' on, 'ss02' on, 'ss03' on, 'cv11' on;
}

::selection { background: var(--accent); color: var(--paper); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--paper); padding: 12px 16px; z-index: 1000; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }

/* ----- Container ----- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
  position: relative;
}

/* Section */
section { padding: clamp(80px, 10vh, 160px) 0; position: relative; }

/* Section dark (rupture rythmique — utilisée pour testimonial et CTA d'impact) */
section.invert { background: var(--ink); color: var(--paper); }
section.invert .pill { border-color: rgba(244, 241, 234, 0.15); }
section.invert .eyebrow::before { background: rgba(244, 241, 234, 0.6); }

/* ----- Typo ----- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--ink);
  opacity: 0.55;
}
section.invert .eyebrow { color: rgba(244, 241, 234, 0.7); }

h1, .h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(44px, 8.5vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0;
}
h1 em, .h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent);
}

h2 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
  font-family: var(--font-sans);
}
h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0;
  font-family: var(--font-sans);
}

p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--mute); max-width: 60ch; }
section.invert .lede { color: rgba(244, 241, 234, 0.75); }

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 250ms var(--ease), backdrop-filter 250ms, padding 250ms, border-color 250ms;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 14px 0;
}
.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}
.brand-dot { color: var(--accent); margin-left: 1px; }
.nav { display: flex; gap: 36px; align-items: center; }
.nav a:not(.btn) {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 200ms;
  position: relative;
}
.nav a:not(.btn):hover { opacity: 1; }
.nav a.has-sub::after {
  content: '↓';
  margin-left: 6px;
  font-size: 11px;
  opacity: 0.55;
}

.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); color: inherit; padding: 10px 14px; border-radius: 999px; font-size: 13px; font-family: var(--font-mono); cursor: pointer; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 210; }

  /* Menu mobile ouvert : panneau plein écran */
  .nav.open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    position: fixed;
    inset: 0;
    background: var(--paper);
    z-index: 200;
    padding: 96px 24px 32px;
    overflow-y: auto;
    animation: navFadeIn 220ms var(--ease, ease-out);
  }
  .nav.open a:not(.btn) {
    font-family: var(--font-serif);
    font-size: clamp(28px, 7vw, 40px);
    font-weight: 400;
    letter-spacing: -0.01em;
    opacity: 1;
    color: var(--ink);
  }
  .nav.open a.btn {
    margin-top: 12px;
    font-size: 15px;
  }
  @keyframes navFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 200ms var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
a.btn--primary,
button.btn--primary,
.btn.btn--primary,
.site-header a.btn--primary,
.nav a.btn--primary {
  background: var(--ink) !important;
  color: var(--paper) !important;
  border-color: var(--ink) !important;
  opacity: 1 !important;
}
a.btn--primary:hover,
button.btn--primary:hover,
.btn.btn--primary:hover,
.site-header a.btn--primary:hover,
.nav a.btn--primary:hover {
  background: var(--accent) !important;
  color: var(--paper) !important;
  border-color: var(--accent) !important;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
section.invert a.btn--primary,
section.invert .btn.btn--primary { background: var(--paper) !important; color: var(--ink) !important; border-color: var(--paper) !important; }
section.invert a.btn--primary:hover,
section.invert .btn.btn--primary:hover { background: var(--accent) !important; color: var(--paper) !important; box-shadow: 4px 4px 0 var(--paper); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); }
section.invert .btn--ghost { color: var(--paper); border-color: rgba(244, 241, 234, 0.25); }
section.invert .btn--ghost:hover { border-color: var(--paper); }

.btn .arr { font-size: 18px; transition: transform 200ms; line-height: 1; }
.btn:hover .arr { transform: translate(2px, -2px); }

/* ----- Hero ----- */
.hero {
  padding-top: 200px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 900px;
  height: 900px;
  top: 5%;
  right: -25%;
  background: radial-gradient(circle, rgba(224, 53, 34, 0.08), transparent 60%);
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 14ch; }
.hero p.lede { margin: 32px 0 40px; }
.hero .ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
@media (max-width: 700px) { .hero-meta { grid-template-columns: repeat(2, 1fr); } }
.hero-meta div { display: flex; flex-direction: column; gap: 6px; }
.hero-meta .label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mute); }
.hero-meta .val { font-size: 17px; font-weight: 500; }

/* ----- Logo strip / trust (marquee) ----- */
.logos { padding: 48px 0 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.logos .wrap { margin-bottom: 36px; }
.logos__label {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  text-transform: none;
  max-width: 24ch;
}
.logos__label em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.logos__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Fondu sur les bords pour un défilement élégant */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logos__marquee { --logos-speed: 25s; --logos-speed-mobile: 18s; }
.logos__track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: logos-scroll var(--logos-speed) linear infinite;
  will-change: transform;
}
.logos__marquee--pause-hover:hover .logos__track { animation-play-state: paused; }
.logos__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 56px;
}
.logos__item img {
  height: 100%;
  width: auto;
  max-height: 56px;
  object-fit: contain;
  /* logos en couleur */
  filter: none;
  opacity: 1;
  transition: transform 200ms var(--ease);
}
.logos__item:hover img { transform: translateY(-2px); }

@keyframes logos-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; }
  .logos__marquee { overflow-x: auto; }
}

@media (max-width: 700px) {
  .logos__track { gap: 48px; animation-duration: var(--logos-speed-mobile); }
  .logos__item { height: 44px; }
  .logos__item img { max-height: 44px; }
}

/* ----- Pillars band ----- */
.pillars { background: var(--paper-soft); padding: 100px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Auto-fit : 4 piliers sur une ligne en desktop, 2 sur tablette, 1 sur mobile.
   Chaque pilier garde au moins 220 px de large pour rester lisible. */
.pillars .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 3px solid var(--ink);
  padding-top: 22px;
  transition: transform 250ms var(--ease), border-color 250ms var(--ease);
}

/* Couleurs cyclées — palette officielle Qlint (charte graphique).
   Bleu électrique — Navy profond — Bleu électrique — Navy profond. */
.pillar:nth-child(4n+1) { border-top-color: var(--accent); }
.pillar:nth-child(4n+1) .num { color: var(--accent); }

.pillar:nth-child(4n+2) { border-top-color: var(--navy); }
.pillar:nth-child(4n+2) .num { color: var(--navy); }

.pillar:nth-child(4n+3) { border-top-color: var(--accent); }
.pillar:nth-child(4n+3) .num { color: var(--accent); }

.pillar:nth-child(4n+4) { border-top-color: var(--navy); }
.pillar:nth-child(4n+4) .num { color: var(--navy); }

.pillar:hover { transform: translateY(-4px); }

.pillar .num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.pillar h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-family: var(--font-sans);
  font-weight: 600;
}
.pillar h3 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.pillar p {
  color: var(--mute);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

/* ----- Section head (deux colonnes) ----- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 24px; align-items: start; } }
.section-head .right { color: var(--mute); max-width: 60ch; }
section.invert .section-head .right { color: rgba(244, 241, 234, 0.75); }

/* ----- Services ----- */
.services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.service-card {
  border: 1px solid var(--line);
  padding: 28px 24px 24px;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 300ms var(--ease);
  text-decoration: none;
  color: inherit;
  min-height: 280px;
  background: var(--paper);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.service-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px -10px rgba(6, 6, 6, 0.18);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.service-card .num::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.service-card h3 {
  margin-top: auto;
  padding-top: 32px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.service-card p { color: var(--mute); margin: 0; font-size: 14px; line-height: 1.5; }
.service-card .more {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 8px;
  font-weight: 500;
}

/* ----- Testimonial (UNIQUE rupture dark) ----- */
.testimonial.invert { padding: 160px 0; }
.testimonial .quote-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 200px;
  line-height: 0.5;
  color: var(--accent);
  margin-bottom: -40px;
  opacity: 0.95;
  display: block;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  /* Pas de contrainte de largeur — la citation utilise toute la largeur du container */
  max-width: none;
}
.testimonial cite {
  display: block;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 234, 0.65);
  font-style: normal;
}

/* ----- Cas clients ----- */
.cases .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .cases .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cases .grid { grid-template-columns: 1fr; } }
.case-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; }
.case-card .img {
  aspect-ratio: 4/5;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 400ms var(--ease);
}
.case-card:hover .img { transform: scale(1.02); }

/* Photo (image à la une) — remplit la card */
.case-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder data-driven — KPI géant sur fond coloré */
.case-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 28px 32px;
  color: var(--paper);
  isolation: isolate;
}
.case-card__placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 55%),
              radial-gradient(circle at 15% 85%, rgba(0, 0, 0, 0.25), transparent 50%);
  z-index: -1;
  pointer-events: none;
}
.case-card__sector {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(244, 241, 234, 0.85);
  border-top: 1px solid rgba(244, 241, 234, 0.4);
  padding-top: 12px;
  align-self: flex-start;
}
.case-card__kpi-big {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--paper);
  font-feature-settings: 'tnum' on, 'lnum' on;
}
.case-card__kpi-label {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(244, 241, 234, 0.85);
  font-weight: 500;
  margin-top: 8px;
}

/* Couleurs cyclées — palette officielle Qlint. */
.case-card--c1 .img { background: linear-gradient(155deg, #1F3AED 0%, #181A40 100%); } /* bleu → navy */
.case-card--c2 .img { background: linear-gradient(155deg, #181A40 0%, #060606 100%); } /* navy → off-black */
.case-card--c3 .img { background: linear-gradient(155deg, #2A4FF5 0%, #1F3AED 100%); } /* bleu vif */
.case-card--c4 .img { background: linear-gradient(155deg, #1D1F59 0%, #121212 100%); } /* navy profond → noir */
.case-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
}
.case-card h3 { font-size: 22px; }
.case-card .kpi-mini { font-family: var(--font-mono); font-size: 13px; color: var(--mute); }

/* ----- Pricing ----- */
.pricing .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pricing .grid { grid-template-columns: 1fr; } }
.price-card {
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--paper);
}
.price-card.featured {
  border-color: var(--ink);
  background: var(--paper);
  position: relative;
  transform: scale(1.02);
  box-shadow: 0 4px 0 var(--accent);
}
@media (max-width: 900px) { .price-card.featured { transform: none; } }
.price-card.featured::before {
  content: 'POPULAIRE';
  position: absolute;
  top: -11px;
  left: 32px;
  background: var(--accent);
  color: var(--paper);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  border-radius: 4px;
  font-weight: 600;
}
.price-card h3 { font-size: 24px; }
.price-card .desc { color: var(--mute); font-size: 14px; min-height: 40px; }
.price-card .price { font-size: clamp(36px, 4vw, 48px); font-weight: 600; letter-spacing: -0.025em; line-height: 1; }
.price-card .price small { font-size: 14px; color: var(--mute); font-weight: 400; }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.price-card li { display: flex; gap: 12px; align-items: start; color: var(--ink-soft); }
.price-card li::before {
  content: '+';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.price-card .btn { margin-top: auto; align-self: start; }
.price-card .placeholder-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
  background: var(--paper-deep);
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 8px;
}

/* ----- Footer ----- */
.site-footer { background: var(--ink); color: var(--paper); padding: 120px 0 32px; position: relative; overflow: hidden; }
.site-footer .top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
@media (max-width: 900px) { .site-footer .top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 500px) { .site-footer .top { grid-template-columns: 1fr; } }
.footer-pitch { max-width: 28ch; }
.footer-pitch h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.footer-pitch p { color: rgba(244, 241, 234, 0.6); font-size: 14px; }
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 234, 0.6);
  margin: 0 0 20px;
  font-weight: 500;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { text-decoration: none; font-size: 15px; opacity: 0.85; transition: color 200ms, opacity 200ms; color: var(--paper); }
.site-footer ul a:hover { opacity: 1; color: var(--accent); }
.site-footer .bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(244, 241, 234, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(244, 241, 234, 0.6);
}
.site-footer .bottom a { text-decoration: none; color: inherit; }
.mega-logo {
  font-family: var(--font-sans);
  font-size: clamp(80px, 18vw, 280px);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin: 60px 0 -20px;
  opacity: 0.06;
  user-select: none;
  text-align: center;
  color: var(--paper);
}
.mega-logo em { font-family: var(--font-display); font-style: italic; font-weight: 400; }

/* ----- Reveal on scroll ----- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ========================================================================
   PAGE SERVICE
   ======================================================================== */
.service-hero { padding: 200px 0 80px; }
.service-hero .meta {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  flex-wrap: wrap;
}
.service-hero .meta span:not(:last-child)::after {
  content: '/';
  margin-left: 24px;
  opacity: 0.4;
}
.service-hero h1 { font-size: clamp(40px, 6.5vw, 88px); max-width: 18ch; }

.service-content {
  padding: 80px 0 120px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
@media (max-width: 900px) { .service-content { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 80px; } }
.service-content aside { font-family: var(--font-mono); font-size: 13px; }
.service-content aside .label { color: var(--mute); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; }
.service-content aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 120px;
}
.service-content aside a { color: var(--mute); text-decoration: none; transition: color 200ms; }
.service-content aside a:hover, .service-content aside a.active { color: var(--accent); }
.service-content article h2 { margin-bottom: 28px; }
.service-content article h3 { margin: 56px 0 20px; }
.service-content article p { color: var(--ink-soft); max-width: 65ch; }
.service-content article ul.bullets { padding-left: 0; list-style: none; max-width: 65ch; }
.service-content article ul.bullets li {
  margin-bottom: 14px;
  padding-left: 28px;
  position: relative;
  color: var(--ink-soft);
}
.service-content article ul.bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.service-steps { padding: 120px 0; background: var(--paper-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-steps .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
@media (max-width: 900px) { .service-steps .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-steps .grid { grid-template-columns: 1fr; } }
.step { border-top: 1px solid var(--ink); padding-top: 24px; }
.step .num { font-family: var(--font-mono); font-size: 12px; color: var(--mute); letter-spacing: 0.1em; }
.step h3 { margin: 16px 0 8px; font-size: 22px; }
.step p { color: var(--mute); font-size: 14px; margin: 0; }

/* ========================================================================
   FAQ
   ======================================================================== */
.faq { padding: 120px 0; }
.faq .head { margin-bottom: 60px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  cursor: pointer;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.015em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--accent);
  transition: transform 250ms;
  flex-shrink: 0;
  font-size: 24px;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 16px 0 0;
  color: var(--mute);
  max-width: 70ch;
  font-size: 16px;
}

/* ========================================================================
   CTA BAND
   ======================================================================== */
.cta-band { padding: 160px 0; }
.cta-band__inner {
  border: 1px solid var(--ink);
  border-radius: 16px;
  padding: clamp(48px, 8vw, 96px);
  text-align: center;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta-band__inner::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(224, 53, 34, 0.10), transparent 60%);
  pointer-events: none;
}
.cta-band h2 { max-width: 16ch; margin: 0 auto 32px; position: relative; }
.cta-band .ctas { display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center; position: relative; }

/* ========================================================================
   PAGE CONTACT
   ======================================================================== */
.contact-hero { padding: 200px 0 80px; }
.contact-hero h1 { max-width: 18ch; margin-bottom: 32px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  padding: 0 0 160px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 60px; padding-bottom: 80px; } }

/* Anciennes règles .contact-form de la maquette HTML supprimées —
   le bloc Flexible utilise maintenant .qlint-form (cf. plus bas). */

.contact-info { display: flex; flex-direction: column; gap: 40px; }
.contact-info .block { padding-top: 24px; border-top: 1px solid var(--line); }
.contact-info h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  font-weight: 400;
  margin-bottom: 16px;
}
.contact-info .big {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.contact-info .big em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.contact-info p { color: var(--mute); font-size: 15px; margin: 0; }
.contact-info a { color: inherit; }

/* ========================================================================
   CITIES grid (local)
   ======================================================================== */
.cities { padding: 120px 0; background: var(--paper-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cities .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}
@media (max-width: 800px) { .cities .grid { grid-template-columns: repeat(2, 1fr); } }
.city {
  background: var(--paper-soft);
  padding: 40px 32px;
  text-decoration: none;
  color: inherit;
  transition: background 250ms, color 250ms;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
}
.city:hover { background: var(--ink); color: var(--paper); }
.city .num { font-family: var(--font-mono); font-size: 11px; color: var(--mute); }
.city:hover .num { color: var(--accent); }
.city h3 { font-size: 28px; font-family: var(--font-sans); margin-top: auto; }
.city .pres { font-family: var(--font-mono); font-size: 11px; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.1em; }

/* ========================================================================
   Pill / Tag / Placeholder
   ======================================================================== */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
}

/* Marqueur visuel des contenus à compléter par l'admin */
.todo {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px dashed var(--accent);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-style: normal;
  font-weight: 500;
}

/* ========================================================================
   PAGE AGENCE — Équipe & Manifeste
   ======================================================================== */
.manifesto { padding: 120px 0; }
.manifesto p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 28ch;
  margin: 0 0 32px;
}
.manifesto p:not(:first-of-type) { color: var(--mute); font-family: var(--font-sans); font-style: normal; font-size: clamp(17px, 1.5vw, 20px); max-width: 60ch; }

.team { padding: 120px 0; background: var(--paper-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}
@media (max-width: 900px) { .team .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team .grid { grid-template-columns: 1fr; } }
.team-card { display: flex; flex-direction: column; gap: 12px; }
.team-card .photo {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--paper-deep), var(--paper-soft));
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.team-card .photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(224, 53, 34, 0.06), transparent 60%);
}
.team-card .role { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mute); }
.team-card h3 { font-size: 20px; }
.team-card p { color: var(--mute); font-size: 14px; margin: 0; }
.team-card a { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); text-decoration: none; }

/* ========================================================================
   PAGE TARIFS — Comparison table + filter row
   ======================================================================== */
.compare {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 60px;
}
.compare th, .compare td {
  padding: 20px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.compare th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  font-weight: 500;
  vertical-align: bottom;
  padding-bottom: 24px;
}
.compare td:first-child { font-weight: 500; color: var(--ink); }
.compare td.check::before { content: '✓'; color: var(--accent); font-weight: 600; }
.compare td.cross::before { content: '—'; color: var(--mute); }
.compare th.featured, .compare td.featured { background: var(--paper-soft); position: relative; }

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 40px 0;
}
.filter-row .pill { cursor: pointer; transition: all 200ms; }
.filter-row .pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ========================================================================
   PAGE LOCALE — Map + ville hero
   ======================================================================== */
.local-hero { padding: 200px 0 80px; }
.local-hero .breadcrumb {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 24px;
}
.local-hero .breadcrumb a { text-decoration: none; color: inherit; }
.local-hero .breadcrumb span:not(:last-child)::after {
  content: '/';
  margin-left: 16px;
  opacity: 0.5;
}
.local-hero .city-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.map-block {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .map-block { grid-template-columns: 1fr; } }
.map-block .map {
  aspect-ratio: 4/3;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-block .map::after {
  content: '●';
  position: absolute;
  font-size: 24px;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(224, 53, 34, 0.4);
}

/* ========================================================================
   PAGE LÉGALE / SITEMAP — Layout sobre lecture longue
   ======================================================================== */
.legal-content {
  padding: 80px 0 160px;
  max-width: 720px;
  margin: 0 auto;
}
.legal-content h2 { font-size: clamp(24px, 2.5vw, 32px); margin: 48px 0 16px; }
.legal-content h3 { font-size: 18px; margin: 32px 0 12px; }
.legal-content p { color: var(--ink-soft); }
.legal-content a { color: var(--accent); }
.legal-content ul { color: var(--ink-soft); padding-left: 20px; }

.sitemap { padding: 80px 0 160px; }
.sitemap .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 60px; }
@media (max-width: 800px) { .sitemap .grid { grid-template-columns: 1fr; } }
.sitemap h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.sitemap ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sitemap a { color: inherit; text-decoration: none; font-size: 16px; }
.sitemap a:hover { color: var(--accent); }

/* ========================================================================
   Utilities
   ======================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.divider { height: 1px; background: var(--line); margin: 0; border: 0; }

/* ========================================================================
   FORMULAIRE DE CONTACT
   ======================================================================== */
.contact-form { padding: clamp(80px, 10vh, 140px) 0; }
.contact-form__head { max-width: 100%; margin-bottom: 56px; }
.contact-form__head .lede { color: var(--mute); margin-top: 24px; max-width: 64ch; }
.contact-form__head h2 { margin-top: 12px; max-width: 22ch; }

.contact-form__success {
  border: 1px solid var(--accent);
  border-left-width: 6px;
  background: var(--accent-soft);
  padding: 40px;
  border-radius: var(--radius);
  max-width: 720px;
}

.contact-form__alert {
  background: #FFE9E5;
  border: 1px solid #E03522;
  color: #8E1A0E;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  max-width: 800px;
  font-size: 15px;
}

.qlint-form { max-width: 100%; }
.qlint-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px clamp(24px, 3vw, 48px);
}
/* Sur grand écran, on tient bien à 2 colonnes ; au passage tablette → 1 col. */
@media (max-width: 720px) {
  .qlint-form__grid { grid-template-columns: 1fr; gap: 24px; }
}

.qlint-form .field { display: flex; flex-direction: column; gap: 8px; }
.qlint-form .field--wide { grid-column: 1 / -1; }
.qlint-form label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute);
  font-weight: 500;
}
.qlint-form .req { color: var(--accent); }
.qlint-form input[type="text"],
.qlint-form input[type="email"],
.qlint-form input[type="url"],
.qlint-form select,
.qlint-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
  font-feature-settings: 'ss01' on;
}
.qlint-form textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.qlint-form input:hover,
.qlint-form select:hover,
.qlint-form textarea:hover { border-color: var(--ink); }
.qlint-form input:focus,
.qlint-form select:focus,
.qlint-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 53, 34, 0.15);
}

.qlint-form .field--error input,
.qlint-form .field--error select,
.qlint-form .field--error textarea {
  border-color: #E03522;
  background: #FFFAF9;
}
.qlint-form .field__err {
  color: #8E1A0E;
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.qlint-form .field--check label.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--mute);
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
}
.qlint-form .field--check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: 2px;
  cursor: pointer;
}
.qlint-form .field--check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.qlint-form .field--check a:hover { color: var(--accent); }

.qlint-form .field--submit {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.qlint-form__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.05em;
}

/* Honeypot — invisible aux humains, visible aux bots. */
.qlint-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ========================================================================
   PAGE SEO — contenu long (prose + TOC + embeds)
   ======================================================================== */
.seo-page__hero { padding: clamp(120px, 18vh, 200px) 0 clamp(40px, 6vh, 80px); }
.seo-page__hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 22ch;
  margin: 16px 0 0;
}
.seo-page__intro {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--mute);
  max-width: 60ch;
  margin: 32px 0 0;
}
.seo-page__cover {
  margin: 60px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-soft);
}
.seo-page__cover img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 8; object-fit: cover; }

/* Body : 2 colonnes desktop (TOC + content) */
.seo-page__body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 80px;
  padding: 60px 0 clamp(80px, 10vh, 140px);
  align-items: start;
}
@media (max-width: 1024px) {
  .seo-page__body { grid-template-columns: 1fr; gap: 40px; }
}

/* TOC sticky */
.seo-page__toc { position: sticky; top: 100px; align-self: start; }
.seo-page__toc-inner { border-left: 1px solid var(--line); padding-left: 20px; }
.seo-page__toc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin: 0 0 16px;
}
.seo-page__toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.seo-page__toc-item a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  display: block;
  padding: 4px 0;
  transition: color 200ms var(--ease), transform 200ms var(--ease);
}
.seo-page__toc-item a:hover { color: var(--accent); transform: translateX(2px); }
.seo-page__toc-item--h3 { padding-left: 14px; }
.seo-page__toc-item--h3 a { color: var(--mute); font-size: 13px; }
.seo-page__toc-item--h3 a:hover { color: var(--accent); }
@media (max-width: 1024px) {
  .seo-page__toc { position: static; }
  .seo-page__toc-inner {
    background: var(--paper-soft);
    border: 1px solid var(--line);
    border-left: 6px solid var(--accent);
    padding: 24px;
    border-radius: var(--radius);
  }
}

/* Prose — typographie de lecture longue */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.4em; }
.prose p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}
.prose p strong { color: var(--ink); font-weight: 700; }
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 200ms var(--ease);
}
.prose a:hover { color: var(--accent); }

.prose h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  scroll-margin-top: 100px; /* pour les ancres TOC */
}
.prose h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 0.4em;
  scroll-margin-top: 100px;
}
.prose h4 { font-size: 19px; font-weight: 600; margin-top: 1.6em; }

.prose ul,
.prose ol {
  margin: 1.4em 0;
  padding-left: 1.4em;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.prose li + li { margin-top: 0.5em; }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--accent); font-family: var(--font-mono); font-weight: 600; }

.prose blockquote {
  margin: 2em 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--ink);
}
.prose blockquote p { font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; }
.prose blockquote cite { font-family: var(--font-mono); font-style: normal; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mute); display: block; margin-top: 16px; }

/* Code */
.prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--paper-deep);
  padding: 2px 6px;
  border-radius: 3px;
}
.prose pre {
  background: var(--ink);
  color: var(--paper);
  padding: 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
}
.prose pre code { background: transparent; padding: 0; color: inherit; }

/* Tables */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 16px;
}
.prose th, .prose td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}
.prose th {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  font-weight: 500;
}

/* Images Gutenberg natives */
.prose figure,
.prose .wp-block-image {
  margin: 2.4em 0;
}
.prose figure img,
.prose .wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.prose figcaption,
.prose .wp-block-image figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin-top: 12px;
  text-align: left;
}

/* Embeds vidéo (YouTube, Vimeo) — bloc Embed Gutenberg */
.prose .wp-block-embed,
.prose .wp-block-embed-youtube,
.prose .wp-block-embed-vimeo {
  margin: 2.4em 0;
}
.prose .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.prose .wp-block-embed__wrapper iframe,
.prose .wp-block-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Séparateur Gutenberg */
.prose hr,
.prose .wp-block-separator {
  border: none;
  border-top: 1px solid var(--line);
  margin: 3em 0;
}

/* Bloc CTA en bas */
.seo-page__cta { background: var(--paper-soft); }

/* ========================================================================
   AVIS GOOGLE — composant étoiles + nombre
   ======================================================================== */
.hero__reviews { margin-top: 32px; }

.g-reviews {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: rgba(244, 241, 234, 0.6);
  border-radius: 999px;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease), background 200ms var(--ease);
}
a.g-reviews:hover { border-color: var(--ink); transform: translateY(-2px); background: var(--paper); }

.g-reviews__stars {
  position: relative;
  display: inline-flex;
  line-height: 0;
  width: calc(20px * 5 + 2px * 4);
  height: 20px;
}
.g-reviews__stars-bg,
.g-reviews__stars-fg {
  display: inline-flex;
  gap: 2px;
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
}
.g-reviews__stars-bg { color: rgba(15, 15, 18, 0.18); width: 100%; }
.g-reviews__stars-fg { color: #F5A524; overflow: hidden; white-space: nowrap; }
.g-reviews__star { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }

.g-reviews__text {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.g-reviews__text strong { font-weight: 700; }
.g-reviews__sep { color: var(--mute); }

/* En section sombre */
section.invert .g-reviews { background: rgba(244, 241, 234, 0.08); border-color: rgba(244, 241, 234, 0.2); color: var(--paper); }
section.invert .g-reviews__text { color: var(--paper); }
section.invert .g-reviews__stars-bg { color: rgba(244, 241, 234, 0.25); }
section.invert a.g-reviews:hover { background: rgba(244, 241, 234, 0.12); border-color: var(--paper); }

@media (max-width: 600px) {
  .g-reviews { gap: 10px; padding: 8px 14px; }
  .g-reviews__stars { width: calc(16px * 5 + 2px * 4); height: 16px; }
  .g-reviews__star { width: 16px; height: 16px; }
  .g-reviews__text { font-size: 13px; }
}

/* ----- Contact direct (sous le titre du formulaire) ----- */
.contact-form__direct {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin-top: 28px;
}
.contact-form__direct a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.contact-form__direct a:hover { color: var(--accent); }

/* ----- Adresses bureaux footer ----- */
.site-footer .offices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 241, 234, 0.1);
}
.site-footer .offices__item h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 234, 0.55);
  margin: 0 0 8px;
  font-weight: 500;
}
.site-footer .offices__item p {
  margin: 0;
  font-size: 14px;
  color: rgba(244, 241, 234, 0.85);
  line-height: 1.5;
}

/* ========================================================================
   PHOTOS — humanisation
   ======================================================================== */

/* Hero avec portrait latéral — H1 pleine largeur en haut, split 2 cols dessous */
.hero--with-portrait { padding-top: 180px; padding-bottom: 100px; }

.hero__top {
  margin: 0 0 clamp(40px, 6vh, 80px);
  max-width: 100%;
}
.hero__top .eyebrow { margin-bottom: 24px; }

/* Le H1 garde sa taille pleine — il est désormais en pleine largeur, donc pas de raison de le réduire */
.hero--with-portrait h1 {
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  /* On laisse le H1 s'étaler dans le container — les retours à la ligne ne sont
     déclenchés que par les <br> que tu mets explicitement dans le BO. */
  max-width: 100%;
}

.hero--with-portrait .hero__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 980px) {
  .hero--with-portrait .hero__split { grid-template-columns: 1fr; }
}

.hero--with-portrait .lede {
  font-size: clamp(17px, 1.4vw, 21px);
  margin-top: 0;
}
.hero--with-portrait .ctas { margin-top: 32px; }

.hero__col-portrait { position: relative; }
.hero__portrait {
  margin: 0;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-soft);
  /* La photo prend toute la largeur de sa colonne et utilise sa proportion naturelle. */
  width: 100%;
  max-width: 100%;
  box-shadow: 0 24px 50px -28px rgba(15, 15, 18, 0.25);
}
.hero__portrait img {
  width: 100%;
  height: auto;
  display: block;
}
.hero__portrait figcaption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: rgba(15, 15, 18, 0.85);
  padding: 7px 12px;
  border-radius: 3px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (max-width: 980px) {
  .hero--with-portrait { padding-top: 130px; padding-bottom: 60px; }
  .hero--with-portrait h1 { font-size: clamp(40px, 8vw, 64px); max-width: 100%; }
  .hero__top { margin-bottom: 32px; }
  .hero__portrait { margin: 32px 0 0; }
}

/* Bloc Expert focus */
.expert-focus { padding: clamp(80px, 10vh, 140px) 0; }
.expert-focus__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 800px) {
  .expert-focus__inner { grid-template-columns: 1fr; gap: 40px; }
}
.expert-focus__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-soft);
  aspect-ratio: 4 / 5;
  max-width: 460px;
}
.expert-focus__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.expert-focus__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute);
}
.expert-focus__quote {
  margin: 12px 0 24px;
  padding: 0 0 0 24px;
  border-left: 3px solid var(--accent);
}
.expert-focus__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.expert-focus__sign {
  font-size: 16px;
  color: var(--mute);
  margin: 0 0 16px;
}
.expert-focus__sign strong { color: var(--ink); font-weight: 600; }
.expert-focus__linkedin {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
.expert-focus__linkedin:hover { color: var(--accent); }

/* Bloc Photo wide */
.photo-wide { padding: clamp(40px, 6vh, 80px) 0; }
.photo-wide__full { width: 100%; padding: 0; }
.photo-wide__figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.photo-wide--full .photo-wide__figure { border-radius: 0; }
.photo-wide__figure img { width: 100%; height: auto; display: block; }
.photo-wide__figure figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute);
  margin-top: 16px;
  padding: 0 var(--gut);
}
.photo-wide--contained .photo-wide__figure { max-width: 880px; margin-left: auto; margin-right: auto; }

/* ========================================================================
   PHOTOS — nouveaux blocs et options (v0.7.3)
   ======================================================================== */

/* ----- Photo split (50/50 image + texte) ----- */
.photo-split { padding: clamp(60px, 8vh, 120px) 0; }
.photo-split__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.photo-split--image-right .photo-split__media { order: 2; }
.photo-split--image-right .photo-split__body  { order: 1; }
@media (max-width: 800px) {
  .photo-split__inner { grid-template-columns: 1fr; gap: 32px; }
  .photo-split--image-right .photo-split__media,
  .photo-split--image-right .photo-split__body { order: initial; }
}

.photo-split__figure { margin: 0; position: relative; border-radius: 6px; overflow: hidden; background: var(--paper-soft); }
.photo-split__figure img { width: 100%; height: auto; display: block; }
.photo-split__figure figcaption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: rgba(15, 15, 18, 0.85);
  padding: 7px 12px;
  border-radius: 3px;
}

.photo-split__body h2 { margin: 12px 0 24px; }
.photo-split__text { color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.photo-split__text p { margin: 0 0 1em; }
.photo-split__text p:last-child { margin-bottom: 0; }
.photo-split__body .ctas { margin-top: 32px; }

/* ----- Galerie photos ----- */
.gallery { padding: clamp(60px, 8vh, 120px) 0; }
.gallery .section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.gallery .section-head .left { max-width: 520px; }
.gallery .section-head .right { max-width: 420px; color: var(--mute); }
.gallery .section-head h2 { margin-top: 12px; }

.gallery__grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}
.gallery--cols-2 .gallery__grid { grid-template-columns: repeat(2, 1fr); }
.gallery--cols-3 .gallery__grid { grid-template-columns: repeat(3, 1fr); }
.gallery--cols-4 .gallery__grid { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .gallery--cols-3 .gallery__grid,
  .gallery--cols-4 .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery__grid { grid-template-columns: 1fr !important; }
}

.gallery__item {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-soft);
  position: relative;
}
.gallery__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease);
}
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper);
  background: rgba(15, 15, 18, 0.78);
  padding: 6px 10px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

/* ----- CTA Band avec image d'arrière-plan ----- */
.cta-band--with-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--paper);
}
.cta-band--with-bg .cta-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient( rgba(15, 15, 18, 0.65), rgba(15, 15, 18, 0.78) );
  pointer-events: none;
}
.cta-band--with-bg .wrap { position: relative; z-index: 1; }
.cta-band--with-bg h2 { color: var(--paper); }
.cta-band--with-bg h2 em { color: var(--accent); }
.cta-band--with-bg .eyebrow { color: rgba(244, 241, 234, 0.8); }
.cta-band--with-bg .eyebrow::before { background: var(--paper); }
.cta-band--with-bg .btn--primary {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border-color: var(--paper) !important;
}
.cta-band--with-bg .btn--primary:hover {
  background: var(--accent) !important;
  color: var(--paper) !important;
  border-color: var(--accent) !important;
}

/* ----- Manifesto avec image latérale ----- */
.manifesto--with-image .manifesto__split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.manifesto--image-left .manifesto__body { order: 2; }
.manifesto--image-left .manifesto__image { order: 1; }
@media (max-width: 800px) {
  .manifesto--with-image .manifesto__split { grid-template-columns: 1fr; gap: 32px; }
  .manifesto--image-left .manifesto__body,
  .manifesto--image-left .manifesto__image { order: initial; }
}

.manifesto__image { margin: 0; border-radius: 6px; overflow: hidden; background: var(--paper-soft); }
.manifesto__image img { width: 100%; height: auto; display: block; }

/* ========================================================================
   STATS / Performances chiffrées
   ======================================================================== */
.stats { padding: clamp(60px, 8vh, 100px) 0; background: var(--paper-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__head { max-width: 720px; margin-bottom: 56px; }
.stats__head .eyebrow { margin-bottom: 16px; }
.stats__head h2 { font-size: clamp(28px, 3.4vw, 44px); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.stats__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 3px solid var(--ink);
  padding-top: 22px;
  transition: transform 250ms var(--ease);
}
.stats__item:hover { transform: translateY(-4px); }

/* Couleurs cyclées — palette officielle Qlint. */
.stats__item:nth-child(4n+1) { border-top-color: var(--accent); }
.stats__item:nth-child(4n+1) .stats__value { color: var(--accent); }

.stats__item:nth-child(4n+2) { border-top-color: var(--navy); }
.stats__item:nth-child(4n+2) .stats__value { color: var(--navy); }

.stats__item:nth-child(4n+3) { border-top-color: var(--accent); }
.stats__item:nth-child(4n+3) .stats__value { color: var(--accent); }

.stats__item:nth-child(4n+4) { border-top-color: var(--navy); }
.stats__item:nth-child(4n+4) .stats__value { color: var(--navy); }

.stats__value {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
  display: inline-block;
}
.stats__label {
  font-size: 15px;
  line-height: 1.5;
  color: var(--mute);
  max-width: 32ch;
}

/* Effet glow doux derrière le chiffre quand il entre dans le viewport */
.stats__item {
  position: relative;
}
.stats__item::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -8px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 800ms var(--ease);
}
.stats__item:nth-child(odd)::before { background: var(--accent); }
.stats__item:nth-child(even)::before { background: var(--navy); }
.stats__item.visible::before { opacity: 0.18; }
/* ============================================================
   GEO GUIDE SECTION — sitemap éditorial / hub thématique
   Format pensé pour les moteurs IA (paragraphes riches + ancres)
   ============================================================ */
.geo-section {
  padding: clamp(60px, 8vh, 120px) 0;
  border-top: 1px solid var(--line);
}
.geo-section:first-of-type { border-top: none; }

.geo-section__head {
  max-width: 720px;
  margin: 0 0 clamp(40px, 6vh, 80px);
}
.geo-section__head h2 {
  margin: 0 0 24px;
}
.geo-section__intro {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  max-width: 60ch;
}

.geo-section__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(40px, 5vh, 64px);
  counter-reset: geoitem;
}
.geo-section__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.geo-section__item:first-child { padding-top: 0; border-top: none; }

.geo-section__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mute);
  padding-top: 8px;
}

.geo-section__title {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
  max-width: 28ch;
}

.geo-section__desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 65ch;
}

.geo-section__cta {
  margin: 0;
}
.geo-section__cta a {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 200ms var(--ease);
}
.geo-section__cta a:hover {
  gap: 14px;
}
.geo-section__cta a span {
  transition: transform 200ms var(--ease);
}
.geo-section__cta a:hover span {
  transform: translateX(4px);
}

@media (max-width: 700px) {
  .geo-section__item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .geo-section__num {
    padding-top: 0;
  }
}
