/* ============================================================
   HMI Solutions — Atelier
   Lane: Warm paper background, restrained violet (≤20%),
         asymmetric, no glassmorphism, no gradient text.
   Type: Bricolage Grotesque (display, variable) + Manrope (body).
   ============================================================ */

:root {
  /* Colors — OKLCH, tinted neutrals toward violet hue (290°) */
  --paper:        oklch(0.96 0.006 300);
  --paper-2:      oklch(0.92 0.010 300);
  --paper-warm:   oklch(0.88 0.015 60);   /* secondary warm tint */
  --ink:          oklch(0.20 0.020 290);
  --ink-2:        oklch(0.35 0.015 290);
  --ink-soft:     oklch(0.42 0.018 290); /* WCAG AA ≥ 4.5:1 on paper */

  --violet:       oklch(0.55 0.20 290);
  --violet-2:     oklch(0.66 0.15 290);
  --violet-deep:  oklch(0.38 0.18 285);
  --violet-tint:  oklch(0.92 0.04 290);

  /* Alert / danger (form invalid, urgent, error states) */
  --danger:        oklch(0.55 0.18 25);
  --danger-strong: oklch(0.45 0.18 25);
  --danger-border: oklch(0.62 0.18 25);
  --danger-tint:   oklch(0.96 0.04 25);

  --line:         oklch(0.84 0.012 290);
  --line-soft:    oklch(0.88 0.010 290);

  /* Typography */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-7: 32px; --s-8: 40px; --s-9: 48px; --s-10: 64px;
  --s-11: 80px; --s-12: 96px; --s-13: 128px;

  /* Radii — varied for rhythm */
  --r-2: 2px; --r-4: 4px; --r-8: 8px; --r-12: 12px; --r-20: 20px; --r-pill: 999px;

  /* Layout */
  --container: 1240px;
  --margin: 32px;

  /* Shadows (tokenised) */
  --shadow-sm: 0 1px 0 oklch(0.30 0.05 290 / 0.04);
  --shadow-md: 0 12px 28px -16px oklch(0.30 0.05 290 / 0.22);
  --shadow-lg: 0 30px 80px -30px oklch(0.30 0.05 290 / 0.28);
  --shadow-card: 0 1px 0 oklch(0.30 0.05 290 / 0.04), 0 18px 40px -22px oklch(0.30 0.05 290 / 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);       /* expo, signature */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1); /* smooth */
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 400ms;
  --t-entrance: 700ms;
}

/* Enable smooth interpolation between auto and length values (Chrome 129+) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html, body { max-width: 100vw; }

/* Subtle paper grain (no noise mess) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(at 18% 12%, oklch(0.93 0.04 290 / 0.55), transparent 45%),
    radial-gradient(at 85% 80%, oklch(0.90 0.05 60 / 0.35), transparent 50%);
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--violet); color: var(--paper); }

/* ============================================================
   Skip link (keyboard a11y)
   ============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--r-pill);
  z-index: 1000;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

/* ============================================================
   Scroll progress
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--violet);
  z-index: 200;
  transition: width 100ms linear;
}

/* ============================================================
   Container
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--ink);
  transition: transform 250ms var(--ease-out), background 200ms, border-color 200ms, color 200ms;
  min-height: 48px;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--violet);
  border-color: var(--violet);
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.btn-violet {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--paper);
}
.btn-violet:hover { background: var(--violet-deep); border-color: var(--violet-deep); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding: var(--s-4) var(--s-6);
  max-width: var(--container);
  margin: 0 auto;
  background: oklch(0.96 0.006 300 / 0.85);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms, background 250ms, padding 250ms;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  padding: 12px var(--s-6);
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.logo-mark {
  display: inline-block;
  width: 40px;
  height: 30px;
  color: var(--ink);
  flex-shrink: 0;
  transition: color var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.nav-logo:hover .logo-mark {
  color: var(--violet);
  transform: rotate(-3deg) scale(1.04);
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  transition: color 200ms, background 200ms;
  min-height: 40px;
  display: inline-flex; align-items: center;
}
.nav-links a:hover { color: var(--ink); background: var(--violet-tint); }
.nav-actions { display: flex; align-items: center; gap: var(--s-3); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 250ms, opacity 200ms, top 250ms;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 76px; left: var(--s-4); right: var(--s-4);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: var(--s-3);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-20);
    box-shadow: 0 20px 60px -20px oklch(0.30 0.05 290 / 0.25);
    transform-origin: top right;
    transform: scale(0.95) translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 250ms var(--ease-out), opacity 200ms;
  }
  .nav-links.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px var(--s-4); font-size: 16px; min-height: 44px; }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ============================================================
   HERO — asymmetric, left-aligned, with hand-drawn marks
   ============================================================ */
.hero {
  padding: var(--s-12) 0 var(--s-11);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-10);
  align-items: center;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  position: relative;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  align-self: flex-start;
}
.kicker-mark {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--ink-2);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0;
  font-variation-settings: "wdth" 100;
}
.hero-title .accent {
  color: var(--violet);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "wdth" 90;
}
.hero-title .struck {
  position: relative;
  display: inline-block;
  color: var(--ink-soft);
  font-weight: 500;
}
.hero-title .struck::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 52%;
  height: 4px;
  background: var(--violet);
  transform: rotate(-2deg);
  border-radius: 2px;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 52ch;
}
.hero-sub strong { color: var(--ink); font-weight: 700; }
.hero-cta {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: var(--s-2);
}
.hero-signature {
  display: flex; align-items: center; gap: var(--s-4);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  max-width: 480px;
}
.signature-pic {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--violet-tint);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--violet-deep);
  font-size: 18px;
  flex-shrink: 0;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line);
}
.signature-pic.duo { margin-left: -22px; background: var(--paper-warm); color: var(--ink); }
.signature-pics { display: flex; }
.signature-text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}
.signature-text strong { color: var(--ink); font-weight: 700; }

/* Hero right — asymmetric stacked card */
.hero-right {
  position: relative;
}
.atelier-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-20);
  padding: var(--s-5);
  position: relative;
  box-shadow: 0 30px 80px -30px oklch(0.30 0.05 290 / 0.28);
  transform: rotate(1.5deg);
  opacity: 0;
  animation: cardDropIn 900ms var(--ease-out) 500ms forwards;
}
.atelier-card-2 {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-20);
  padding: var(--s-4);
  position: absolute;
  top: -32px; right: -28px;
  width: 220px;
  transform: rotate(-3deg);
  box-shadow: 0 20px 40px -20px oklch(0.30 0.05 290 / 0.2);
  z-index: -1;
  opacity: 0;
  animation: cardDropIn2 900ms var(--ease-out) 700ms forwards;
}
@keyframes cardDropIn {
  0%   { opacity: 0; transform: rotate(0deg) scale(0.93) translateY(-26px); }
  100% { opacity: 1; transform: rotate(1.5deg) scale(1) translateY(0); }
}
@keyframes cardDropIn2 {
  0%   { opacity: 0; transform: rotate(0deg) scale(0.92) translateY(-32px); }
  100% { opacity: 1; transform: rotate(-3deg) scale(1) translateY(0); }
}
.atelier-tape {
  position: absolute;
  width: 80px; height: 22px;
  background: oklch(0.85 0.13 65 / 0.85);
  top: -10px; left: 30%;
  transform: rotate(-4deg);
  box-shadow: 0 2px 4px oklch(0.30 0.05 290 / 0.1);
  opacity: 0;
  animation: tapeApply 400ms var(--ease-out-quart) 1300ms forwards;
}
.atelier-card-2 .atelier-tape {
  background: var(--violet-tint);
  top: -8px; left: 40%;
  animation-delay: 1400ms;
}
@keyframes tapeApply {
  from { opacity: 0; transform: rotate(-4deg) scaleX(0.6) translateY(-6px); }
  to   { opacity: 0.92; }
}
.atelier-card-2 .atelier-tape {
  animation-name: tapeApply2;
}
@keyframes tapeApply2 {
  from { opacity: 0; transform: rotate(2deg) scaleX(0.6) translateY(-6px); }
  to   { opacity: 0.92; }
}
.atelier-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.atelier-sketch {
  height: 200px;
  position: relative;
}
.atelier-sketch svg { width: 100%; height: 100%; }
.atelier-card-2 .atelier-sketch { height: 100px; }
.atelier-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
}
.atelier-foot strong { font-family: var(--font-display); color: var(--ink); font-weight: 700; font-size: 14px; }

/* Hand-drawn squiggle/arrow accents */
.squiggle {
  position: absolute;
  pointer-events: none;
}
.squiggle path { fill: none; stroke: var(--violet); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.squiggle.s-hero { top: -10px; left: 38%; width: 80px; height: 60px; opacity: 0.6; }

/* ============================================================
   Section structure (no .eyebrow grammar)
   ============================================================ */
.section {
  padding: var(--s-12) 0;
  position: relative;
}
/* Vary section rhythm — manifesto sits closer to the testimonials/bento */
#manifesto.section { padding-top: var(--s-10); padding-bottom: var(--s-10); }
#process.section { padding-top: var(--s-11); }
#contact.section { padding-top: var(--s-10); padding-bottom: var(--s-12); }
.section-header {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--s-8);
  align-items: baseline;
  margin-bottom: var(--s-10);
  max-width: 920px;
}
.section-number {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--violet);
  letter-spacing: -0.01em;
  font-feature-settings: "tnum";
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-number::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 var(--s-4);
  color: var(--ink);
  max-width: 22ch;
}
.section-title .accent { color: var(--violet); font-style: italic; font-weight: 500; }
.section-intro {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
}

/* ============================================================
   Services — Carte de l'atelier (editorial menu, leader dots)
   ============================================================ */
.carte {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
}
.carte-row {
  display: grid;
  grid-template-columns: clamp(48px, 6vw, 88px) 1fr;
  column-gap: clamp(16px, 2.4vw, 36px);
  padding: clamp(28px, 4.2vw, 52px) 0 clamp(26px, 3.8vw, 44px);
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
  position: relative;
  transition: background-color var(--t-base) var(--ease-out);
}
.carte-row::before {
  content: "";
  position: absolute;
  left: -16px; right: -16px;
  top: 0; bottom: 0;
  border-radius: 6px;
  background: var(--violet-tint);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--t-base) var(--ease-out);
}
.carte-row:hover::before { opacity: 0.55; }

.carte-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 56px);
  color: var(--violet);
  line-height: 1;
  letter-spacing: -0.03em;
  align-self: start;
  padding-top: 0.06em;
  font-feature-settings: "ss01";
}

.carte-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}
.carte-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
  flex-shrink: 0;
}
.carte-lead {
  flex: 1 1 auto;
  align-self: end;
  margin-bottom: 0.5em;
  height: 0;
  border-bottom: 1.5px dotted oklch(0.35 0.015 290 / 0.4);
  min-width: 28px;
}
.carte-meta {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  font-feature-settings: "tnum";
  letter-spacing: 0.005em;
}
.carte-desc {
  grid-column: 2 / -1;
  max-width: 62ch;
  margin: 14px 0 0;
  font-size: clamp(15px, 1.05vw, 16.5px);
  color: var(--ink-2);
  line-height: 1.6;
}

.carte-cta {
  margin-top: clamp(32px, 4.5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 24px);
  flex-wrap: wrap;
}
.carte-cta-note {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.carte-cta .btn svg { transition: transform var(--t-base) var(--ease-out); }
.carte-cta .btn:hover svg { transform: translateX(3px); }

@media (max-width: 720px) {
  .carte-row {
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    padding: 24px 0 22px;
  }
  .carte-row::before { left: -10px; right: -10px; }
  .carte-head {
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 4px;
  }
  .carte-lead { display: none; }
  .carte-meta {
    flex-basis: 100%;
    white-space: normal;
  }
  .carte-cta { justify-content: flex-start; }
}

/* ============================================================
   About — large image card + text right
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-10);
  align-items: start;
}
.about-portrait {
  position: relative;
  padding: var(--s-6) var(--s-3);
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: var(--s-7);
}

/* Two business "ID cards" tossed on the desk, slightly rotated */
.id-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: var(--s-5) var(--s-5) var(--s-4);
  box-shadow:
    0 1px 0 oklch(0.30 0.05 290 / 0.04),
    0 12px 28px -16px oklch(0.30 0.05 290 / 0.22),
    0 24px 60px -30px oklch(0.30 0.05 290 / 0.18);
  width: 86%;
  max-width: 360px;
}
.id-card-1 {
  transform: rotate(-2deg) translateX(-12px);
  justify-self: start;
  z-index: 2;
}
.id-card-2 {
  transform: rotate(1.5deg) translateX(28px) translateY(-12px);
  justify-self: end;
  background: oklch(0.94 0.012 65); /* warm tinted paper */
  z-index: 1;
}
.id-tape {
  position: absolute;
  top: -8px;
  left: 28%;
  width: 60px;
  height: 18px;
  background: oklch(0.85 0.10 65 / 0.7);
  transform: rotate(-3deg);
  border-radius: 1px;
}
.id-card-2 .id-tape {
  background: oklch(0.78 0.14 290 / 0.55);
  left: 45%;
  transform: rotate(2deg);
}
.id-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.id-num {
  display: inline-block;
  padding: 3px 8px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 3px;
  font-feature-settings: "tnum";
}
.id-card-2 .id-num { background: var(--violet); }
.id-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  line-height: 0.95;
}
.id-role {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 4px 0 var(--s-4);
}
.id-sig {
  height: 30px;
  color: var(--violet);
  opacity: 0.85;
  border-top: 1px dashed var(--line);
  padding-top: var(--s-2);
}
.id-card-2 .id-sig { color: var(--violet-deep); }
.id-sig svg { width: 100%; height: 100%; }

/* Stamp mark below cards */
.atelier-stamp {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin: var(--s-5) 0 0 var(--s-4);
  color: var(--violet-deep);
  font-size: 13.5px;
  line-height: 1.45;
  font-style: italic;
}
.atelier-stamp strong {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}
.atelier-stamp svg {
  flex-shrink: 0;
  transform: rotate(-8deg);
  color: var(--violet-deep);
}

/* Pull quote inside the about text column — typography-only, no side-stripe */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: var(--s-6) 0;
  padding: 0;
  max-width: 30ch;
  position: relative;
}
.pull-quote::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--violet);
  margin-bottom: var(--s-3);
  border-radius: 1px;
}

.about-text {
  display: flex; flex-direction: column; gap: var(--s-5);
  padding-top: var(--s-3);
}
.about-text p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}
.about-text p strong { color: var(--ink); font-weight: 700; }
.about-text p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
}
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-3);
  list-style: none;
  padding: 0;
}
.about-points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}
.about-points svg { color: var(--violet); flex-shrink: 0; margin-top: 4px; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .about-portrait { min-height: auto; padding: var(--s-4) 0; }
  .id-card { width: 92%; max-width: 320px; padding: var(--s-4) var(--s-4) var(--s-3); }
  .id-card-1 { transform: rotate(-1.5deg); }
  .id-card-2 { transform: rotate(1deg) translateX(12px) translateY(-8px); }
  .id-name { font-size: 1.7rem; }
  .about-points { grid-template-columns: 1fr; }
  .atelier-stamp { margin-left: var(--s-2); }
}

/* ============================================================
   Manifesto — violet drench, single-column letter
   ============================================================ */
.manifesto {
  position: relative;
  isolation: isolate;
  background: var(--violet-deep);
  color: oklch(0.96 0.015 290);
  border-radius: var(--r-20);
  padding: clamp(44px, 5.5vw, 80px) clamp(28px, 4.5vw, 72px) clamp(44px, 5.5vw, 72px);
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(at 92% 8%, oklch(0.58 0.20 290 / 0.6), transparent 55%),
    radial-gradient(at 6% 96%, oklch(0.22 0.10 285 / 0.65), transparent 60%);
}
.manifesto::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(oklch(0.96 0.015 290 / 0.05) 1px, transparent 1.5px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
  opacity: 0.7;
}

.manifesto-edge {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* Two-column shell — head/sign left, principles right */
.manifesto-cols {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: stretch;
}
.manifesto-col-head {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 44px);
}
.manifesto-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.02em;
  color: oklch(0.92 0.06 290);
  line-height: 1;
}
.manifesto-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.80 0.08 290);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.manifesto-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: oklch(0.80 0.08 290 / 0.55);
  display: inline-block;
}

.manifesto-head { margin: 0; }
.manifesto-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: oklch(0.97 0.015 290);
  margin: 0;
}
.manifesto-title-em {
  display: block;
  margin-top: 0.08em;
  font-style: italic;
  font-weight: 500;
  color: oklch(0.86 0.11 290);
}
.manifesto-lede {
  margin: clamp(24px, 3vw, 36px) 0 0;
  max-width: 44ch;
  font-size: clamp(15px, 1.1vw, 17.5px);
  line-height: 1.65;
  color: oklch(0.86 0.04 290);
}

.manifesto-letter {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  counter-reset: mf;
  align-self: start;
}
.mf-art {
  display: grid;
  grid-template-columns: clamp(44px, 5.5vw, 72px) 1fr;
  column-gap: clamp(16px, 2.2vw, 32px);
  row-gap: 10px;
  border-top: 1px solid oklch(0.96 0.015 290 / 0.18);
  padding-top: clamp(20px, 2.4vw, 32px);
}
.mf-roman {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  color: oklch(0.82 0.10 290);
  letter-spacing: -0.02em;
  line-height: 1.1;
  align-self: start;
}
.mf-claim {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.7vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: oklch(0.97 0.015 290);
}
.mf-claim em {
  font-style: italic;
  font-weight: 500;
  color: oklch(0.86 0.11 290);
}
.mf-body {
  grid-column: 2 / -1;
  margin: 0;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: oklch(0.86 0.04 290);
  max-width: 58ch;
}

.manifesto-sign {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-top: auto;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid oklch(0.96 0.015 290 / 0.14);
}
.manifesto-squiggle {
  width: clamp(96px, 13vw, 152px);
  height: auto;
  color: oklch(0.88 0.13 290);
  flex-shrink: 0;
}
.manifesto-signer {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(15px, 1.3vw, 18px);
  letter-spacing: -0.015em;
  color: oklch(0.94 0.04 290);
  text-align: left;
}
.manifesto-signer-mute {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.78 0.08 290);
  margin-top: 3px;
}

@media (max-width: 920px) {
  .manifesto-cols { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); }
  .manifesto-sign { margin-top: 0; }
}
@media (max-width: 720px) {
  .manifesto { padding: 48px 24px 56px; border-radius: var(--r-12); }
  .manifesto-edge { flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
  .manifesto-eyebrow::before { display: none; }
  .mf-art { grid-template-columns: 36px 1fr; column-gap: 14px; }
  .manifesto-sign { flex-wrap: wrap; gap: 14px; }
}

/* ============================================================
   Why — structured 2-col manifesto grid
   ============================================================ */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--s-9);
  row-gap: 0;
  border-top: 1px solid var(--ink);
}
.why-item {
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
/* Vertical separator between the two columns */
.why-item:nth-child(odd) {
  padding-right: var(--s-7);
  border-right: 1px solid var(--line);
}
.why-item:nth-child(even) {
  padding-left: var(--s-7);
}
/* Bottom row keeps darker line to close the block */
.why-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--ink); }

.why-mark {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  color: var(--violet);
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
}
.why-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  max-width: 22ch;
}
.why-statement em {
  color: var(--violet);
  font-style: italic;
  font-weight: 500;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  padding-bottom: 0.05em;
  transition: background-size var(--t-slow) var(--ease-out);
}
.why-item:hover .why-statement em {
  background-size: 100% 2px;
}
.why-support {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 48ch;
}

@media (max-width: 768px) {
  .why-list { grid-template-columns: 1fr; }
  .why-item {
    padding: var(--s-5) 0 !important;
    border-right: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .why-statement { font-size: clamp(1.4rem, 6vw, 1.8rem); }
}

/* ============================================================
   Process — handcrafted vertical track
   ============================================================ */
.process-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-left: var(--s-4);
  padding-left: var(--s-7);
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background-image: linear-gradient(to bottom, var(--line) 50%, transparent 50%);
  background-size: 1px 8px;
  background-repeat: repeat-y;
}
.process-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-6);
  align-items: baseline;
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.process-step:last-child { border-bottom: 0; }
.process-step::before {
  content: "";
  position: absolute;
  left: calc(var(--s-7) * -1 - 2px);
  top: var(--s-7);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--violet);
  transform: translateX(-50%);
}
.process-step.is-now::before { background: var(--violet); }
.process-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--violet);
  font-feature-settings: "tnum";
  width: 56px;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 var(--s-2);
  line-height: 1.05;
}
.process-step p {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  max-width: 50ch;
}
.process-duration {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .process-track { margin-left: var(--s-3); padding-left: var(--s-5); }
  .process-step {
    grid-template-columns: 1fr;
    gap: var(--s-3);
  }
  .process-num { font-size: 1.1rem; }
  .process-step h3 { font-size: 1.4rem; }
  .process-duration { order: 3; }
}

/* ============================================================
   Testimonials — uneven sizing, no stars cliché
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s-4);
}
.testi {
  padding: var(--s-6);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-20);
  display: flex; flex-direction: column;
  gap: var(--s-4);
}
.testi.featured { background: var(--paper-2); padding: var(--s-7); }
.testi-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}
.testi.featured .testi-quote { font-size: 1.5rem; line-height: 1.3; }
.testi-author {
  display: flex; align-items: center; gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.testi-author .signature-pic { width: 40px; height: 40px; font-size: 14px; }
.testi-name { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.testi-role { font-size: 13px; color: var(--ink-soft); }

@media (max-width: 960px) { .testi-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Tarifs — atelier "feuille de prix", liste éditoriale
   (not a SaaS tier grid)
   ============================================================ */
.tarifs-sheet {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-7);
  border-top: 1px solid var(--ink);
}
.tarif {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  column-gap: var(--s-6);
  row-gap: var(--s-3);
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--line);
  transition: background 200ms;
}
.tarif:last-child { border-bottom: 1px solid var(--ink); }
.tarif:hover { background: oklch(0.94 0.012 290); }
.tarif-num {
  grid-column: 1;
  grid-row: 1 / 3;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  color: var(--violet);
  line-height: 1;
  padding-top: 6px;
}
.tarif-name {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
  color: var(--ink);
  align-self: center;
}
.tarif-desc {
  grid-column: 2;
  grid-row: 2;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 50ch;
}
.tarif-meta {
  grid-column: 3;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: var(--s-2);
  white-space: nowrap;
}
.tarif-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.tarif-from {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
}
.tarif-amount {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: color var(--t-base) var(--ease-out);
}
.tarif:hover .tarif-amount { color: var(--violet); }
.tarif-duration {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--violet);
  font-weight: 500;
}

/* "Toujours inclus" — inline editorial note, not a callout */
.tarifs-included {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 76ch;
  margin: 0;
  padding: var(--s-4) 0 0;
}
.tarifs-included strong { color: var(--ink); font-weight: 700; font-family: var(--font-display); letter-spacing: -0.01em; }
.tarifs-included-mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 0.5;
  color: var(--violet);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .tarif {
    grid-template-columns: 40px 1fr;
    padding: var(--s-5) 0;
    row-gap: var(--s-2);
  }
  .tarif-num { grid-row: 1; grid-column: 1; font-size: 1.1rem; padding-top: 4px; }
  .tarif-name { grid-column: 2; font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .tarif-desc { grid-column: 1 / -1; grid-row: 3; padding-top: var(--s-2); }
  .tarif-meta {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: var(--s-4);
    padding-left: 40px;
  }
  .tarif-price { gap: 6px; }
  .tarif-amount { font-size: 1.5rem; }
}

/* ============================================================
   FAQ — native details/summary, atelier
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 200ms;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--violet); }
.faq-q {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  flex: 1;
}
.faq-toggle {
  flex-shrink: 0;
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  transition: background 200ms, border-color 200ms, transform 250ms var(--ease-out);
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 250ms var(--ease-out);
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--paper);
}
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item[open] summary { color: var(--violet); }

/* Smooth open/close — modern browsers via ::details-content + interpolate-size */
@supports (interpolate-size: allow-keywords) {
  .faq-item::details-content {
    block-size: 0;
    opacity: 0;
    overflow: clip;
    transition:
      block-size var(--t-slow) var(--ease-out),
      opacity var(--t-base) var(--ease-out),
      content-visibility var(--t-slow) allow-discrete;
  }
  .faq-item[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}

.faq-a {
  padding: 0 0 var(--s-5);
  max-width: 70ch;
}
.faq-a p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 var(--s-2);
}
.faq-a p:last-child { margin-bottom: 0; }
.faq-a em { font-style: italic; color: var(--ink); }

@media (max-width: 768px) {
  .faq-q { font-size: 1.05rem; }
  .faq-item summary { padding: var(--s-4) 0; gap: var(--s-3); }
  .faq-toggle { width: 28px; height: 28px; }
}

/* ============================================================
   CTA — atelier, asymmetric, no flat violet panel
   ============================================================ */
.cta {
  padding: var(--s-7) 0 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-10);
  align-items: start;
  position: relative;
}
.cta-content {
  padding-top: var(--s-3);
}
.cta .section-number {
  color: var(--violet);
  margin-bottom: var(--s-5);
  display: flex;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0 0 var(--s-5);
  color: var(--ink);
  max-width: 14ch;
}
.cta-title .accent {
  color: var(--violet);
  font-style: italic;
  font-weight: 500;
}
.cta-intro {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 42ch;
  margin: 0 0 var(--s-7);
}
.cta-direct {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 500px;
}
.cta-arrow {
  width: 56px;
  height: 22px;
  color: var(--violet);
  flex-shrink: 0;
  transition: transform var(--t-slow) var(--ease-out);
}
.cta-direct:hover .cta-arrow {
  transform: translateX(8px);
}
.cta-email {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--violet);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 200ms, text-decoration-color 200ms;
}
.cta-email:hover {
  color: var(--violet);
  text-decoration-color: var(--violet);
}
.cta-aside {
  width: 100%;
  font-size: 13px;
  color: var(--ink-2);
  font-style: italic;
  margin-top: 4px;
}
.cta-form {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-20);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  box-shadow:
    0 1px 0 oklch(0.30 0.05 290 / 0.04),
    0 18px 40px -22px oklch(0.30 0.05 290 / 0.18);
  /* Subtle "form-like" header strip via a tab */
}
.cta-form::before {
  content: "Demande de contact";
  position: absolute;
  top: -1px;
  left: var(--s-4);
  transform: translateY(-100%);
  padding: 4px 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px 4px 0 0;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}
.field input, .field textarea {
  padding: 12px 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-8);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 200ms, background 200ms;
  min-height: 46px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); }
.field input:focus, .field textarea:focus {
  border-color: var(--violet);
  background: var(--paper);
}
.field textarea { resize: vertical; min-height: 88px; }
.field .req { color: var(--violet); font-style: normal; font-weight: 700; margin-left: 2px; }
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: var(--danger);
  background: var(--danger-tint);
}
.field input:invalid:not(:placeholder-shown):focus,
.field textarea:invalid:not(:placeholder-shown):focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px oklch(0.55 0.18 25 / 0.15);
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-legal {
  grid-column: 1 / -1;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 4px 0 0;
}
.form-legal a { color: var(--violet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.form-status {
  grid-column: 1 / -1;
  font-size: 14px;
  margin: 6px 0 0;
  min-height: 1.5em;
  font-weight: 500;
}
.form-status.is-success { color: oklch(0.45 0.15 145); }
.form-status.is-error   { color: var(--danger-strong); }
.cta-form .btn { grid-column: 1 / -1; justify-content: center; margin-top: var(--s-1); }
.cta-form .btn-violet { background: var(--violet); border-color: var(--violet); }
.cta-form .btn-violet:hover { background: var(--violet-deep); border-color: var(--violet-deep); }
.cta-form .btn[disabled] { opacity: 0.7; cursor: not-allowed; transform: none !important; }

@media (max-width: 960px) {
  .cta { grid-template-columns: 1fr; padding: var(--s-5) 0 0; gap: var(--s-7); }
  .cta-form { padding: var(--s-5); }
  .cta-content { padding-top: 0; }
}
@media (max-width: 600px) {
  .cta-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .cta-direct { gap: var(--s-2); }
  .cta-email { font-size: 1.05rem; }
  .cta-form { padding: var(--s-4); padding-top: var(--s-5); grid-template-columns: 1fr; }
  .cta-form::before { left: var(--s-3); font-size: 10px; padding: 3px 10px; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  margin-top: var(--s-11);
  padding-top: var(--s-9);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: var(--s-9);
  padding-bottom: var(--s-9);
}
.footer-brand p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin: var(--s-3) 0 0;
  max-width: 36ch;
}
.footer-legal-bits {
  font-size: 12.5px !important;
  color: var(--ink-soft) !important;
  margin-top: var(--s-2) !important;
}
.footer-legal-bits [data-fill] {
  color: var(--violet-deep);
  font-weight: 600;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.footer-cols h4 {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--violet);
  margin: 0 0 var(--s-3);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Noscript notice (form fallback) */
.noscript-notice {
  margin: var(--s-3) 0 0;
  padding: var(--s-4) var(--s-5);
  background: var(--violet-tint);
  border: 1px solid oklch(0.55 0.20 290 / 0.18);
  border-radius: var(--r-12);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}
.noscript-notice strong { font-weight: 700; }
.noscript-notice a { color: var(--violet); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.footer-cols a, .footer-cols span {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-2);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 200ms;
}
.footer-cols a:hover { color: var(--violet); }
.footer-bottom {
  padding: var(--s-4) 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  flex-wrap: wrap;
}
.footer-meta { display: flex; gap: var(--s-5); }
.footer-meta a { color: var(--ink-soft); }
.footer-meta a:hover { color: var(--violet); }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; } }

/* ============================================================
   Thanks page (merci.html)
   ============================================================ */
.thanks-page {
  padding: var(--s-11) 0 var(--s-12);
}
.thanks {
  max-width: 680px;
  margin: 0 auto;
}
.thanks-mark {
  color: var(--violet);
  margin-bottom: var(--s-5);
  display: inline-block;
  animation: drawIn 800ms var(--ease-out) both;
}
@keyframes drawIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
.thanks .kicker { margin-bottom: var(--s-3); }
.thanks h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0 0 var(--s-4);
}
.thanks-lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 var(--s-8);
  max-width: 56ch;
}
.thanks-lead a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--violet);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.thanks-steps {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-20);
  padding: var(--s-6) var(--s-7);
  margin: 0 0 var(--s-7);
}
.thanks-steps h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-5);
}
.thanks-steps ol {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: var(--s-5);
}
.thanks-steps li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-5);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.thanks-steps li strong { color: var(--ink); font-weight: 700; }
.thanks-step-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--violet);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid; place-items: center;
  border: 1.5px solid var(--violet);
  border-radius: 50%;
  font-feature-settings: "tnum";
}
.thanks-aside {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
  border-top: 1px dashed var(--line);
  padding-top: var(--s-4);
  margin: 0 0 var(--s-7);
}
.thanks-aside a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
.thanks-cta { margin-top: var(--s-5); }

/* ============================================================
   404 page
   ============================================================ */
.error-page {
  padding: var(--s-11) 0 var(--s-12);
}
.error {
  max-width: 680px;
  margin: 0 auto;
}
.error-number {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  margin-bottom: var(--s-6);
  color: var(--violet);
}
.error-number .four {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}
.error-number .zero {
  display: inline-block;
  width: clamp(4rem, 11vw, 7rem);
  height: clamp(4rem, 11vw, 7rem);
  transform: rotate(-4deg);
}
.error .kicker { margin-bottom: var(--s-3); }
.error h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 var(--s-4);
  max-width: 20ch;
}
.error h1 .accent { color: var(--violet); font-style: italic; font-weight: 500; }
.error-lead {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 var(--s-7);
  max-width: 56ch;
}
.error-links {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-7);
  display: flex; flex-direction: column;
  gap: var(--s-2);
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
}
.error-links li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.error-links li a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--violet);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 200ms;
}
.error-links li a:hover { color: var(--violet); }
.error-cta { margin-top: var(--s-3); }

@media (max-width: 768px) {
  .thanks-page, .error-page { padding: var(--s-8) 0 var(--s-9); }
  .thanks-steps { padding: var(--s-5); }
  .thanks-steps li { gap: var(--s-3); }
  .thanks-step-num { width: 32px; height: 32px; font-size: 0.9rem; }
  .error-number { gap: 4px; }
}

/* ============================================================
   Legal pages
   ============================================================ */
.legal-page {
  padding: var(--s-10) 0 var(--s-11);
}
.legal {
  max-width: 760px;
  margin: 0 auto;
}
.legal .kicker { margin-bottom: var(--s-4); }
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 var(--s-5);
}
.legal-intro {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 var(--s-9);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--s-7);
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: var(--s-8) 0 var(--s-3);
  color: var(--ink);
}
.legal h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-3);
  color: var(--ink);
}
.legal p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 var(--s-4);
  max-width: 68ch;
}
.legal p strong { color: var(--ink); font-weight: 700; }
.legal a {
  color: var(--violet);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 200ms;
}
.legal a:hover { color: var(--violet-deep); }
.legal-note {
  background: var(--violet-tint);
  border: 1px solid oklch(0.55 0.20 290 / 0.18);
  border-radius: var(--r-12);
  padding: var(--s-4) var(--s-5);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 var(--s-5);
  max-width: 68ch;
}
.legal-note strong { font-weight: 700; }

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  display: flex; flex-direction: column;
  gap: 8px;
}
.legal-list li {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
  padding-left: var(--s-4);
  position: relative;
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 1.5px;
  background: var(--violet);
  border-radius: 1px;
}
.legal-list li strong { color: var(--ink); font-weight: 600; }
.legal-list a { color: var(--violet); }
.legal [data-fill] {
  display: inline-block;
  padding: 2px 8px;
  background: oklch(0.92 0.10 65 / 0.6);
  border: 1px dashed oklch(0.55 0.18 65 / 0.6);
  border-radius: var(--r-4);
  font-size: 0.92em;
  font-weight: 600;
  color: oklch(0.30 0.10 50);
  font-family: var(--font-body);
}
.legal-summary {
  background: var(--violet-tint);
  border: 1px solid oklch(0.55 0.20 290 / 0.18);
  border-radius: var(--r-20);
  padding: var(--s-6);
  margin: 0 0 var(--s-8);
}
.legal-summary h3 {
  color: var(--violet-deep);
  margin-bottom: var(--s-4);
}
.legal-checks {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: var(--s-2);
}
.legal-checks li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
  padding-left: 24px;
  position: relative;
}
.legal-checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 16px; height: 16px;
  background: var(--violet);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m3 8 4 4 6-9'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70%;
}
.legal-updated {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  border-top: 1px dashed var(--line);
  padding-top: var(--s-5);
  margin-top: var(--s-9);
}
.legal-back { margin-top: var(--s-7); }

@media (max-width: 768px) {
  .legal-page { padding: var(--s-7) 0 var(--s-9); }
  .legal h2 { margin-top: var(--s-7); }
  .legal-summary { padding: var(--s-5); }
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--delay, 0) * 1ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   Mobile — hero asymmetric → stack
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-9); }
  .hero-right { display: flex; justify-content: center; margin-top: var(--s-7); }
  .atelier-card { transform: rotate(0); max-width: 360px; width: 100%; }
  .atelier-card-2 { display: none; }
}

@media (max-width: 768px) {
  :root { --s-12: 64px; --s-11: 56px; --s-10: 48px; }
  .container { padding: 0 var(--s-4); }
  .hero { padding: var(--s-9) 0 var(--s-8); }
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.6rem); }
  .hero-cta { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .section-header { grid-template-columns: 60px 1fr; gap: var(--s-4); margin-bottom: var(--s-7); }
  .section-number { font-size: 14px; }
  .section-title { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .nav { padding: 12px var(--s-4); gap: var(--s-3); }
  .nav-logo { font-size: 17px; }
  .testi.featured { padding: var(--s-5); }
  .testi.featured .testi-quote { font-size: 1.25rem; }
  .testi-quote { font-size: 1.05rem; }
  .about-portrait { padding: var(--s-5) 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--s-3); }
  .nav { padding: 10px 14px; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-primary { padding: 10px 16px; font-size: 13.5px; }
  .hero-signature { gap: var(--s-3); }
  .signature-pic { width: 40px; height: 40px; font-size: 15px; }
  .signature-pic.duo { margin-left: -16px; }
  .bento-card { padding: var(--s-5); }
  .bento-card.tall h3 { font-size: 1.4rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  /* Reset entrance animations: cards visible immediately at final state */
  .atelier-card { opacity: 1; transform: rotate(1.5deg); }
  .atelier-card-2 { opacity: 1; transform: rotate(-3deg); }
  .atelier-tape { opacity: 0.92; }
  /* Cancel hover-grow underline & arrow translation */
  .why-statement em { background-size: 0 2px !important; }
}

/* ============================================================
   Focus
   ============================================================ */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   MOBILE ADAPT — final polish
   Following impeccable/adapt + responsive-design references
   ============================================================ */

/* iOS safe-area insets for sticky nav + edge content */
@supports (padding: env(safe-area-inset-top)) {
  .nav {
    padding-left: max(var(--s-6), env(safe-area-inset-left));
    padding-right: max(var(--s-6), env(safe-area-inset-right));
  }
  .container,
  .footer-bottom .container {
    padding-left: max(var(--s-6), env(safe-area-inset-left));
    padding-right: max(var(--s-6), env(safe-area-inset-right));
  }
  @media (max-width: 768px) {
    .nav,
    .container,
    .footer-bottom .container {
      padding-left: max(var(--s-4), env(safe-area-inset-left));
      padding-right: max(var(--s-4), env(safe-area-inset-right));
    }
  }
}

/* Hover effects only on devices that hover (mouse/trackpad).
   Touch devices get :active states instead. */
@media (hover: none) {
  .testi:hover,
  .tarif:hover,
  .timeline-step:hover,
  .price:hover,
  .id-card:hover,
  .btn-primary:hover,
  .btn-violet:hover,
  .btn-ghost:hover {
    transform: none !important;
  }
  .carte-row:hover::before { opacity: 0 !important; }
  .why-item:hover .why-statement em { background-size: 0 2px !important; }
  .cta-direct:hover .cta-arrow { transform: none; }
  .nav-logo:hover .logo-mark { transform: none; background: var(--ink); }
}

/* Coarse pointer (touch): enforce 44x44 touch targets */
@media (pointer: coarse) {
  .card-link,
  .footer-cols a,
  .footer-meta a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .nav-links a { min-height: 48px; }
  .faq-toggle { width: 36px; height: 36px; }
  .faq-item summary { padding-top: 18px; padding-bottom: 18px; }
  .card-link svg { width: 14px; height: 14px; }
}

/* Atelier cards mobile (≤ 960px): no rotation, simple fade-in */
@media (max-width: 960px) {
  .atelier-card {
    animation: cardFadeIn 600ms var(--ease-out) 400ms both !important;
    transform: none !important;
  }
  .atelier-card-2 { display: none; }
  .atelier-tape {
    animation: none !important;
    opacity: 0.92 !important;
    transform: rotate(-4deg) !important;
  }
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Section-header column adjustments (avoid overly-narrow first col) */
@media (max-width: 768px) {
  .section-header { grid-template-columns: 52px 1fr; gap: var(--s-4); }
  /* Hero stats removed earlier, this is for kicker readability */
  .kicker { font-size: 12.5px; }
}

/* iOS no-zoom: ensure every input is 16px on mobile */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select { font-size: 16px !important; }
}

/* Why-list 1-col fix: ensure overrides cleanly */
@media (max-width: 768px) {
  .why-list { row-gap: var(--s-7); }
  .why-item:nth-child(odd),
  .why-item:nth-child(even) {
    border-right: none;
    padding-right: 0;
    padding-left: 0;
    padding-top: var(--s-5);
    padding-bottom: var(--s-5);
  }
}

/* Tarif row: ensure no overflow on small screens */
@media (max-width: 768px) {
  .tarif-name { line-height: 1; }
  .tarif-meta { padding-left: 44px; gap: var(--s-3); }
}

/* Process timeline mobile: align dots with stacked content */
@media (max-width: 768px) {
  .process-track { padding-left: var(--s-5); margin-left: var(--s-3); }
  .process-step { padding: var(--s-5) 0; }
  .process-step::before {
    left: calc(var(--s-5) * -1);
    top: var(--s-5);
    width: 18px;
    height: 18px;
  }
  .process-duration {
    font-size: 12px;
    color: var(--violet);
  }
}

/* CTA mobile: form tab label fits */
@media (max-width: 600px) {
  .cta-form { padding-top: var(--s-6); }
  .cta-form::before {
    font-size: 10px;
    letter-spacing: 0.06em;
    padding: 3px 10px;
  }
  .cta-direct { padding: var(--s-3) 0; }
}

/* Thanks page: stack steps tighter on small screens */
@media (max-width: 600px) {
  .thanks-page { padding: var(--s-7) 0 var(--s-8); }
  .thanks-steps { padding: var(--s-4) var(--s-5); }
  .thanks-steps li { gap: var(--s-3); }
  .thanks-step-num { width: 30px; height: 30px; font-size: 0.85rem; }
  .thanks-lead { font-size: 1.05rem; }
}

/* 404 page: number tighter on small screens */
@media (max-width: 560px) {
  .error-page { padding: var(--s-7) 0 var(--s-8); }
  .error-number { gap: 4px; }
  .error-number .four { font-size: 4.5rem; }
  .error-number .zero { width: 4rem; height: 4rem; }
  .error-lead { font-size: 1rem; }
  .error-links li { font-size: 0.95rem; }
}

/* Footer compact on very narrow screens */
@media (max-width: 480px) {
  .footer-bottom .container {
    gap: var(--s-2);
    text-align: left;
  }
  .footer-bottom span { font-size: 12.5px; }
  .footer-meta { flex-wrap: wrap; gap: var(--s-3); }
  .footer-meta a { font-size: 12.5px; }
  .footer-legal-bits { font-size: 12px !important; }
}

/* Very small phones (≤ 380px) — last-mile tightening */
@media (max-width: 380px) {
  .hero-title { font-size: clamp(1.9rem, 9vw, 2.2rem); line-height: 1.02; }
  .section-title { font-size: clamp(1.6rem, 7vw, 1.9rem); }
  .cta-title { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .id-card { width: 100%; }
  .id-card-1 { transform: rotate(-1deg); }
  .id-card-2 { transform: rotate(0.5deg) translateX(6px) translateY(-4px); }
  .id-name { font-size: 1.5rem; }
  .tarif-amount { font-size: 1.4rem; }
  .tarif-name { font-size: clamp(1.4rem, 7vw, 1.7rem); }
  .why-statement { font-size: clamp(1.3rem, 6vw, 1.6rem); }
  .pull-quote { font-size: 1.3rem; }
  .portrait-name { font-size: 1.6rem; }
  .legal h1 { font-size: clamp(1.8rem, 8vw, 2.2rem); }
}

/* Landscape phone: prioritize content over hero visual */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { padding: var(--s-5) 0 var(--s-6); }
  .hero-title { font-size: clamp(1.6rem, 5vw, 2rem); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .hero-right { display: none; }
  .nav { padding: 8px var(--s-3); }
  .section { padding: var(--s-7) 0; }
}

/* ============================================================
   /requests — client modification request page
   Standalone surface that reuses the atelier vocabulary:
   Roman numeral fieldsets, leader-dotted rhythm,
   hand-drawn SVG icons, paper-warm post-it.
   ============================================================ */

/* Minimal nav (logo + back link) ---------------------------- */
.nav-minimal {
  justify-content: space-between;
}
.nav-minimal .nav-logo { font-weight: 700; }
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 11px 16px;
  min-height: 44px;
  border-radius: var(--r-pill);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-back svg { transition: transform var(--t-base) var(--ease-out); }
.nav-back:hover { color: var(--ink); background: var(--violet-tint); }
.nav-back:hover svg { transform: translateX(-3px); }

/* Body-level paper grain tweak for the page ------------------ */
body.requests-page::before {
  background-image:
    radial-gradient(at 12% 8%, oklch(0.92 0.05 290 / 0.45), transparent 50%),
    radial-gradient(at 88% 92%, oklch(0.90 0.05 60 / 0.30), transparent 55%);
}

/* HERO ------------------------------------------------------- */
.requests-hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(36px, 5vw, 72px);
  position: relative;
  overflow-x: clip;
}
.requests-edge {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.requests-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(15px, 1.3vw, 18px);
  letter-spacing: -0.015em;
  color: var(--violet-deep);
}
.requests-aside {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.requests-aside::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ink-soft);
  opacity: 0.55;
  display: inline-block;
}

.requests-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.2vw, 84px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  margin: 0;
  max-width: 14ch;
}
.requests-title-em {
  display: inline-block;
  margin-left: clamp(12px, 2vw, 28px);
  font-style: italic;
  font-weight: 500;
  color: var(--violet);
}
.requests-intro {
  margin: clamp(20px, 2.5vw, 32px) 0 0;
  max-width: 56ch;
  font-size: clamp(15.5px, 1.1vw, 17.5px);
  line-height: 1.6;
  color: var(--ink-2);
}

/* Post-it / paper note (escape hatch for non-clients) -------- */
.requests-note {
  position: relative;
  display: inline-block;
  margin-top: clamp(28px, 3.5vw, 48px);
  padding: 18px 24px 20px;
  background: oklch(0.94 0.025 70);
  border: 1px solid oklch(0.85 0.04 70);
  border-radius: 3px;
  transform: rotate(-1.3deg);
  box-shadow:
    0 1px 0 oklch(0.30 0.05 290 / 0.05),
    0 14px 28px -16px oklch(0.30 0.05 290 / 0.22);
  max-width: 320px;
}
.requests-note p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.requests-note a {
  color: var(--violet-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-style: normal;
  font-weight: 600;
}
.requests-note a:hover { color: var(--violet); }
.rq-note-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 70px;
  height: 16px;
  background: oklch(0.78 0.14 290 / 0.55);
  border-radius: 1px;
}

/* FORM ------------------------------------------------------- */
.requests-form-section {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.requests-form {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
}

/* Fieldset (step) ------------------------------------------- */
.rq-step {
  border: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
}
.rq-legend {
  display: grid;
  grid-template-columns: clamp(40px, 5vw, 64px) 1fr auto;
  align-items: baseline;
  column-gap: clamp(14px, 2vw, 24px);
  width: 100%;
  padding: 0 0 clamp(14px, 1.8vw, 20px);
  border-bottom: 1.5px solid var(--ink);
  margin-bottom: 0;
}
.rq-step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.03em;
  color: var(--violet);
  line-height: 1;
  padding-top: 0.04em;
}
.rq-step-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}
.rq-step-hint {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(13.5px, 1.05vw, 15.5px);
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  text-align: right;
}

/* Field grids inside fieldsets ------------------------------ */
.rq-fields {
  display: grid;
  gap: clamp(16px, 1.6vw, 22px);
}
.rq-grid-2 { grid-template-columns: 1fr 1fr; }
.rq-grid-1 { grid-template-columns: 1fr; }

.field .opt {
  font-weight: 400;
  font-size: 11.5px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-left: 4px;
}
.field-hint {
  display: block;
  margin: 8px 2px 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  font-style: italic;
}

/* Project picker (single-select pill row) ------------------- */
.project-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.project-chip {
  position: relative;
  cursor: pointer;
}
.project-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.project-chip span {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  min-height: 44px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
  user-select: none;
}
.project-chip:hover span { border-color: var(--ink); color: var(--ink); }
.project-chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.project-chip input:focus-visible + span {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

/* Change-type SVG grid -------------------------------------- */
.change-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}
.change-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  padding: 22px 22px 20px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-12);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-base) var(--ease-out);
  min-height: 168px;
}
.change-card input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.change-icon {
  width: 44px;
  height: 44px;
  color: var(--ink);
  transition: color var(--t-fast), transform var(--t-base) var(--ease-out);
}
.change-icon svg { width: 100%; height: 100%; }
.change-label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.change-sub {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.45;
}
.change-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.change-card:hover .change-icon { color: var(--violet); transform: rotate(-3deg); }
.change-card:focus-within {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
.change-card input:checked ~ .change-icon,
.change-card:has(input:checked) .change-icon { color: var(--violet-deep); }
.change-card:has(input:checked) {
  background: var(--violet-tint);
  border-color: var(--violet);
  border-width: 1.5px;
}

/* Check mark badge (top-right) — appears on selected --------- */
.change-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--paper);
  display: grid;
  place-items: center;
  transform: scale(0.4) rotate(-12deg);
  opacity: 0;
  transition: transform 250ms var(--ease-out), opacity 200ms;
  pointer-events: none;
}
.change-check svg { width: 14px; height: 11px; }
.change-card:has(input:checked) .change-check {
  transform: scale(1) rotate(0);
  opacity: 1;
}

.change-error {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--danger-strong);
  font-weight: 600;
  min-height: 1.4em;
}

/* Urgency picker ------------------------------------------- */
.urgency-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}
.urgency-chip {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-12);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.urgency-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.urgency-chip .u-label {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.urgency-chip .u-sub {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.4;
}
.urgency-chip:hover { border-color: var(--ink); }
.urgency-chip:has(input:checked) {
  background: var(--violet-tint);
  border-color: var(--violet);
}
.urgency-chip:has(input:checked) .u-label { color: var(--violet-deep); }
.urgency-chip-alert:has(input:checked) {
  background: var(--danger-tint);
  border-color: var(--danger-border);
}
.urgency-chip-alert:has(input:checked) .u-label { color: var(--danger-strong); }
.urgency-chip input:focus-visible ~ .u-label,
.urgency-chip:focus-within {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

/* File upload (custom-styled native input) ------------------ */
.field-file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--paper-2);
  border: 1.5px dashed var(--line);
  border-radius: var(--r-8);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  min-height: 56px;
}
.field-file:hover { border-color: var(--ink); background: var(--paper); }
.field-file:focus-within {
  border-color: var(--violet);
  background: var(--paper);
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}
.field-file input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.field-file-icon {
  width: 28px;
  height: 28px;
  color: var(--violet);
  flex-shrink: 0;
}
.field-file-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.3;
  min-width: 0;
}
.field-file-text small {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}
.field-file.has-file {
  background: var(--violet-tint);
  border-style: solid;
  border-color: var(--violet);
}
.field-file.has-file .field-file-text { color: var(--violet-deep); }

/* Suivi inclus reassurance + RGPD consent ------------------- */
.rq-reassurance {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  background: var(--violet-tint);
  border-radius: var(--r-8);
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.rq-reassurance svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--violet-deep);
  margin-top: 1px;
}
.rq-reassurance strong { font-weight: 700; color: var(--ink); }

.rq-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  cursor: pointer;
}
.rq-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--violet);
  cursor: pointer;
  flex-shrink: 0;
}
.rq-consent a {
  color: var(--violet-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.rq-consent a:hover { color: var(--violet); }
.rq-consent .req { color: var(--violet); font-weight: 700; }

/* Submit ---------------------------------------------------- */
.rq-submit {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 1.8vw, 22px);
  padding-top: clamp(22px, 2.8vw, 36px);
  border-top: 1px solid var(--line-soft);
  margin-top: clamp(8px, 1vw, 16px);
}
.rq-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 24px);
  flex-wrap: wrap;
}
.rq-draft-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--t-base), transform var(--t-base) var(--ease-out);
}
.rq-draft-badge.is-visible { opacity: 1; transform: translateX(0); }
.rq-draft-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}
.rq-submit .form-legal { margin: 0; max-width: 56ch; font-size: 12px; }
.rq-submit .form-status { margin: 0; }

/* Signoff at end of page ------------------------------------ */
.requests-signoff {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line-soft);
}
.rq-squiggle {
  width: clamp(96px, 12vw, 140px);
  height: auto;
  color: var(--violet);
  flex-shrink: 0;
}
.requests-signoff p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(15px, 1.3vw, 17px);
  letter-spacing: -0.015em;
  color: var(--ink);
  text-align: right;
}
.rq-signoff-mute {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}

/* Minimal footer (client page) ----------------------------- */
.footer-minimal {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: var(--s-7);
  padding-bottom: var(--s-7);
  border-top: 1px solid var(--line);
}
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.footer-bottom-row p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer-bottom-row a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-bottom-row a:hover { color: var(--violet); }
.footer-bottom-row span[aria-hidden] { margin: 0 8px; color: var(--ink-soft); }

/* Responsive ------------------------------------------------ */
@media (max-width: 900px) {
  .urgency-picker { grid-template-columns: 1fr; }
  .rq-submit-row { flex-direction: column; align-items: stretch; }
  .rq-submit-row .btn-violet { width: 100%; justify-content: center; }
  .rq-draft-badge { order: 2; }
}
@media (max-width: 720px) {
  .rq-grid-2 { grid-template-columns: 1fr; }
  .rq-legend {
    grid-template-columns: 36px 1fr;
    row-gap: 6px;
  }
  .rq-step-hint {
    grid-column: 2 / -1;
    text-align: left;
  }
  .requests-title-em { display: block; margin-left: 0; }
  .requests-note { transform: rotate(-1deg); max-width: none; display: block; }
  .change-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .change-grid { grid-template-columns: 1fr; }
  .change-card { min-height: auto; }
  .nav-back span { display: none; }
  .nav-back { padding: 8px 10px; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ============================================================
   Home → /agency teaser banner inside the Tarifs section
   ============================================================ */
.tarifs-agency {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  margin: clamp(28px, 4vw, 44px) 0 clamp(20px, 2.4vw, 28px);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-12);
  text-decoration: none;
  transition: background var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.tarifs-agency::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(at 85% 30%, oklch(0.55 0.20 290 / 0.6), transparent 55%);
  z-index: -1;
  transition: opacity var(--t-base);
}
.tarifs-agency:hover { background: var(--violet-deep); transform: translateY(-2px); }
.tarifs-agency:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
.tarifs-agency-kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--violet-2);
}
.tarifs-agency-title {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--paper);
  line-height: 1.1;
}
.tarifs-agency-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--violet-2);
}
.tarifs-agency-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: oklch(0.86 0.04 290);
  max-width: 62ch;
}
.tarifs-agency-desc strong { color: var(--paper); font-weight: 700; }
.tarifs-agency-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--paper);
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease-out), background var(--t-base);
}
.tarifs-agency:hover .tarifs-agency-arrow { transform: translateX(4px); background: var(--paper); color: var(--ink); }
@media (max-width: 640px) {
  .tarifs-agency { grid-template-columns: 1fr; }
  .tarifs-agency-arrow { justify-self: end; width: 40px; height: 40px; }
}

/* ============================================================
   /agency — B2B page for staffing agencies
   ============================================================ */

/* Reused kicker style across hero + cta */
.agency-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: -0.01em;
  color: var(--violet-deep);
  margin-bottom: clamp(14px, 1.6vw, 20px);
}
.agency-kicker::before {
  content: "·  ";
  color: var(--violet);
  font-style: normal;
  margin-right: 4px;
}

/* HERO ----------------------------------------------------- */
.agency-hero {
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.agency-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.agency-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  margin: 0;
}
.agency-hero-title em {
  display: block;
  margin-top: 0.1em;
  font-style: italic;
  font-weight: 500;
  color: var(--violet);
}
.agency-hero-intro {
  margin: clamp(20px, 2.5vw, 32px) 0 0;
  max-width: 56ch;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--ink-2);
}
.agency-hero-actions {
  display: flex;
  gap: clamp(12px, 1.4vw, 18px);
  flex-wrap: wrap;
  margin: clamp(28px, 3.5vw, 40px) 0 clamp(24px, 3vw, 36px);
}
.agency-hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.agency-hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.agency-hero-bullets svg { color: var(--violet); flex-shrink: 0; }

/* Hero mockup card (mini calendar) */
.agency-hero-card {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  padding: 14px 18px 22px;
  transform: rotate(0.8deg);
  box-shadow:
    0 1px 0 oklch(0.30 0.05 290 / 0.04),
    0 24px 60px -28px oklch(0.30 0.05 290 / 0.30);
  isolation: isolate;
  overflow: hidden;
}
.agency-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(at 100% 0%, oklch(0.45 0.18 285 / 0.6), transparent 50%);
}
.agency-card-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 70px;
  height: 16px;
  background: oklch(0.85 0.12 65 / 0.7);
  border-radius: 1px;
}
.agency-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid oklch(0.96 0.015 290 / 0.12);
}
.agency-card-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: oklch(0.96 0.015 290 / 0.25);
}
.agency-card-title {
  margin-left: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: oklch(0.86 0.04 290);
  letter-spacing: 0.01em;
}
.agency-card-body { padding: 14px 0 4px; }
.agency-mini-cal {
  display: grid;
  gap: 6px;
}
.agency-mini-row {
  display: grid;
  grid-template-columns: 60px repeat(5, 1fr);
  gap: 5px;
  align-items: center;
}
.agency-mini-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: oklch(0.94 0.04 290);
  letter-spacing: -0.01em;
}
.agency-mini-cell {
  height: 24px;
  border-radius: 4px;
  background: oklch(0.96 0.015 290 / 0.06);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  display: grid;
  place-items: center;
  color: oklch(0.86 0.04 290 / 0.5);
}
/* color variants for cells based on --c custom prop (0/1/2) */
.agency-mini-cell.is-on { color: var(--paper); }
.agency-mini-cell.is-on[style*="--c:0"] { background: oklch(0.55 0.20 290 / 0.75); }
.agency-mini-cell.is-on[style*="--c:1"] { background: oklch(0.60 0.15 200 / 0.7); }
.agency-mini-cell.is-on[style*="--c:2"] { background: oklch(0.65 0.15 50 / 0.7); }
.agency-mini-foot {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid oklch(0.96 0.015 290 / 0.12);
}
.agency-mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: oklch(0.86 0.04 290);
  letter-spacing: 0.005em;
}
.agency-mini-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.agency-mini-bullet[style*="--c:0"] { background: oklch(0.55 0.20 290); }
.agency-mini-bullet[style*="--c:1"] { background: oklch(0.60 0.15 200); }
.agency-mini-bullet[style*="--c:2"] { background: oklch(0.65 0.15 50); }
.agency-card-caption {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 11.5px;
  color: oklch(0.78 0.06 290);
  letter-spacing: -0.005em;
}

/* SECTIONS shared spacing */
.agency-section { padding: clamp(56px, 7vw, 104px) 0; }

/* WHY 3-numbered list ------------------------------------- */
.agency-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.6vw, 56px);
  margin-top: clamp(28px, 4vw, 48px);
}
.agency-why-item {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  border-top: 1.5px solid var(--ink);
}
.agency-why-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  color: var(--violet);
  line-height: 1;
}
.agency-why-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
}
.agency-why-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* FEATURES grid 3x2 --------------------------------------- */
.agency-features {
  list-style: none;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}
.agency-feature {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-12);
  transition: border-color var(--t-fast), transform var(--t-base) var(--ease-out);
}
.agency-feature:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}
.agency-feature-icon {
  width: 48px;
  height: 48px;
  color: var(--ink);
  transition: color var(--t-fast), transform var(--t-base) var(--ease-out);
}
.agency-feature-icon svg { width: 100%; height: 100%; }
.agency-feature:hover .agency-feature-icon { color: var(--violet); transform: rotate(-3deg); }
.agency-feature-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.agency-feature-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* PRICING 2-card asymmetric ------------------------------- */
.agency-pricing {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
  margin-top: clamp(28px, 4vw, 48px);
}
.agency-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 28px);
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-20);
  transition: border-color var(--t-fast), transform var(--t-base) var(--ease-out);
}
.agency-price-card:hover { transform: translateY(-3px); }
.agency-price-card.is-featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  isolation: isolate;
  overflow: hidden;
}
.agency-price-card.is-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(at 100% 0%, oklch(0.45 0.18 285 / 0.65), transparent 55%);
}
.agency-price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 12px;
  background: var(--violet);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
}
.agency-price-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
}
.agency-price-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  color: var(--violet);
  line-height: 1;
}
.agency-price-card.is-featured .agency-price-num { color: var(--violet-2); }
.agency-price-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: inherit;
}
.agency-price-tag {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.agency-price-card.is-featured .agency-price-tag { color: oklch(0.86 0.04 290); }
.agency-price-tag em { font-style: italic; font-weight: 500; color: var(--violet); }
.agency-price-card.is-featured .agency-price-tag em { color: var(--violet-2); }
.agency-price-meta {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2vw, 24px);
  flex-wrap: wrap;
  padding-bottom: clamp(18px, 2vw, 24px);
  border-bottom: 1px solid var(--line-soft);
}
.agency-price-card.is-featured .agency-price-meta { border-color: oklch(0.96 0.015 290 / 0.18); }
.agency-price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.agency-from {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-soft);
}
.agency-price-card.is-featured .agency-from { color: oklch(0.78 0.06 290); }
.agency-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.agency-price-card.is-featured .agency-num { color: var(--paper); }
.agency-price-duration {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.agency-price-card.is-featured .agency-price-duration { color: oklch(0.86 0.04 290); }
.agency-price-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.agency-price-features li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.agency-price-card.is-featured .agency-price-features li { color: oklch(0.92 0.025 290); }
.agency-price-features li strong { color: var(--ink); }
.agency-price-card.is-featured .agency-price-features li strong { color: var(--paper); }
.agency-price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
}
.agency-price-card.is-featured .agency-price-features li::before { background: var(--violet-2); }
.agency-price-note {
  margin: 0;
  padding: 12px 14px;
  background: oklch(0.96 0.015 290 / 0.08);
  border-radius: var(--r-8);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.5;
  color: oklch(0.86 0.04 290);
  letter-spacing: -0.005em;
}
.agency-price-cta {
  margin-top: auto;
  justify-content: center;
}
.agency-price-cta svg { transition: transform var(--t-base) var(--ease-out); }
.agency-price-cta:hover svg { transform: translateX(3px); }

.agency-pricing-foot {
  margin: clamp(28px, 3.5vw, 40px) 0 0;
  padding: 16px 20px;
  background: var(--violet-tint);
  border-radius: var(--r-8);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  text-align: center;
}
.agency-pricing-foot strong { color: var(--ink); }

/* PROCESS steps ------------------------------------------- */
.agency-process {
  list-style: none;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
}
.agency-step {
  display: grid;
  grid-template-columns: clamp(60px, 8vw, 96px) 1fr;
  gap: clamp(20px, 2.4vw, 36px);
  padding: clamp(20px, 2.4vw, 32px) 0;
  border-bottom: 1px solid var(--line-soft);
}
.agency-step:last-child { border-bottom: none; }
.agency-step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.03em;
  color: var(--violet);
  line-height: 1;
  font-feature-settings: "tnum";
}
.agency-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.15;
}
.agency-step p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 68ch;
}
.agency-step-when {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13.5px;
  color: var(--violet-deep);
  letter-spacing: -0.005em;
}

/* INCLUDED checklist -------------------------------------- */
.agency-included {
  padding: clamp(32px, 4vw, 56px) clamp(28px, 3.5vw, 48px);
  background: var(--paper-2);
  border-radius: var(--r-20);
  border: 1px solid var(--line-soft);
}
.agency-included-title {
  margin: 0 0 clamp(20px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.agency-included-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}
.agency-included-grid li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.agency-included-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--violet);
}
.agency-included-grid li strong { color: var(--ink); font-weight: 700; }

/* CTA + FORM ---------------------------------------------- */
.agency-cta {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.agency-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.agency-cta-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
}
.agency-cta-title em {
  display: block;
  margin-top: 0.08em;
  font-style: italic;
  font-weight: 500;
  color: var(--violet);
}
.agency-cta-intro {
  margin: clamp(20px, 2.4vw, 28px) 0 clamp(24px, 3vw, 36px);
  max-width: 50ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.agency-cta-direct {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid var(--line-soft);
}
.agency-cta-email {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--violet-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.agency-cta-email:hover { color: var(--violet); }
.agency-cta-aside {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.agency-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.4vw, 20px);
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-12);
}
.agency-form .field.full { grid-column: 1 / -1; }
.agency-size {
  grid-column: 1 / -1;
  border: none;
  margin: 0;
  padding: 0;
}
.agency-size legend {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  padding: 0;
  margin: 0 0 10px;
}
.agency-size legend .req { color: var(--violet); font-weight: 700; }
.agency-size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.agency-size-chip {
  position: relative;
  cursor: pointer;
}
.agency-size-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.agency-size-chip span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 10px;
  background: var(--paper-2);
  border: 1.5px solid var(--line);
  border-radius: var(--r-8);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.agency-size-chip:hover span { border-color: var(--ink); color: var(--ink); }
.agency-size-chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.agency-size-chip input:focus-visible + span {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
.agency-form .btn-violet {
  grid-column: 1 / -1;
  justify-content: center;
}
.agency-form .form-status { grid-column: 1 / -1; margin: 4px 0 0; }
.agency-form .form-legal { grid-column: 1 / -1; margin: 4px 0 0; }

/* Responsive ---------------------------------------------- */
@media (max-width: 1024px) {
  .agency-hero-grid { grid-template-columns: 1fr; }
  .agency-hero-card { max-width: 480px; margin: 0 auto; }
  .agency-pricing { grid-template-columns: 1fr; }
  .agency-cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .agency-why-list { grid-template-columns: 1fr; }
  .agency-features { grid-template-columns: 1fr 1fr; }
  .agency-included-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .agency-features { grid-template-columns: 1fr; }
  .agency-form { grid-template-columns: 1fr; padding: 24px; }
  .agency-size-grid { grid-template-columns: 1fr 1fr; }
  .agency-step { grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 0; }
  .agency-step-num { font-size: 36px; }
  .agency-included { padding: 28px 22px; }
}
@media (max-width: 480px) {
  .agency-hero-bullets { flex-direction: column; gap: 10px; }
  .agency-price-badge { top: 14px; right: 14px; font-size: 10px; padding: 4px 9px; }
  .agency-mini-row { grid-template-columns: 52px repeat(5, 1fr); gap: 4px; }
  .agency-mini-cell { height: 22px; font-size: 9.5px; }
}
