/* N9ADLIK — identité complète (slice 7).
   Direction verrouillée docs/02 : canvas noir #0A0A0B, accent lime #C8FF00,
   grande typographie (display grotesque + Inter), motion GSAP.
   Propriétés logiques (margin-inline, inset-inline…) partout → le design survit au RTL (AR).
   Règle de marque : l'accent lime = max ~10% de la surface (CTA, hovers, soulignements). */

:root {
  /* Couleurs (docs/02) */
  --bg:         #0A0A0B;   /* noir profond */
  --surface:    #141416;   /* surfaces */
  --surface-2:  #1C1C20;   /* cards au survol / élévation */
  --ink:        #F5F5F2;   /* blanc cassé (texte) */
  --muted:      #8A8A93;   /* gris */
  --line:       rgba(245,245,242,0.12);
  --line-2:     rgba(245,245,242,0.22);
  --accent:     #C8FF00;   /* lime électrique */
  --accent-ink: #0A0A0B;   /* texte sur lime */
  --danger:     #ff6a5e;

  /* Typo */
  --font-display: "Space Grotesk", "Arial Black", "Helvetica Neue", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 14px;
  --maxw:   1200px;
  --gap:    clamp(1rem, 2vw, 1.5rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;               /* aucune barre horizontale, même en 360px */
}

a { color: inherit; text-decoration-color: var(--accent); }
img, svg { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; }

/* --- Skip link (accessibilité) --- */
.skip {
  position: absolute; inset-inline-start: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink); padding: 0.6rem 1rem; z-index: 100; font-weight: 700;
}
.skip:focus { inset-inline-start: 0; }

/* ===================================================================== */
/* Header / Footer                                                       */
/* ===================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: var(--maxw); margin-inline: auto;
  padding: 0.9rem var(--gap);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img, .brand svg { height: 26px; width: auto; }
.header-end { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.site-nav { display: flex; align-items: center; gap: 1.1rem; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; transition: color 0.15s ease; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a.is-active { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); }

main { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gap); }

.site-footer {
  max-width: var(--maxw); margin: 5rem auto 0; padding: 2.5rem var(--gap) 3rem;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem;
}
.footer-top { display: flex; gap: 1.5rem 2rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand img { height: 22px; }
.footer-links { display: flex; gap: 0.4rem 0.9rem; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-sep { color: var(--line-2); }
.footer-copy { margin: 1.4rem 0 0; color: var(--muted); font-size: 0.85rem; }
.footer-mail { color: var(--ink); text-decoration: none; }
.footer-mail:hover { color: var(--accent); }

/* ===================================================================== */
/* Boutons                                                               */
/* ===================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  text-align: center; text-decoration: none; cursor: pointer;
  padding: 0.85rem 1.4rem; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  will-change: transform;
}
.btn:hover { box-shadow: 0 10px 30px rgba(200,255,0,0.25); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.1rem; }

/* ===================================================================== */
/* Utilitaires de section + motion                                       */
/* ===================================================================== */

.section { padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); margin: 0 0 1rem;
}
.section-title { font-size: clamp(1.9rem, 5vw, 3rem); margin: 0 0 0.6rem; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 62ch; margin: 0 0 1.5rem; }

/* Reveal : on ne cache JAMAIS en CSS seul. La classe .anim n'est posée par
   site.js QUE si GSAP+ScrollTrigger sont chargés ET que l'utilisateur n'a pas
   demandé de réduire les animations. Sans JS / sans GSAP / reduced-motion →
   le contenu reste visible (aucun risque de page blanche). */
html.anim .reveal { opacity: 0; }

/* ===================================================================== */
/* HOME — utilitaires PARTAGÉS conservés (les styles home sont en v2 plus  */
/* bas). .band sert aussi à /work et /about, on n'y touche pas.            */
/* ===================================================================== */

/* Grilles génériques de cards */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* Bandeau (teaser /work + CTA /about) */
.band {
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: clamp(2rem, 5vw, 3.5rem); background:
    radial-gradient(120% 140% at 100% 0%, rgba(200,255,0,0.10), transparent 60%), var(--surface);
}
.band h2 { font-size: clamp(1.8rem, 5vw, 3rem); margin: 0 0 1rem; }
.band .lead { margin-bottom: 1.5rem; }

/* ===================================================================== */
/* HOME v2 — refonte (dark type-led + GSAP). Accent lime = 1 focal / vue. */
/* UNE easing (--ease), UN radius (--radius), UN rythme (--sp).           */
/* ===================================================================== */

:root {
  --ease: cubic-bezier(0.16, 1, 0.3, 1);         /* la seule easing */
  --sp:   clamp(4rem, 8vw, 8rem);                /* rythme vertical des sections */
}

/* Grain SVG (3-4%), calque fixe non bloquant (jamais sur un conteneur qui scrolle) */
.grain {
  position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

.section-v2 { padding-block: var(--sp); }

/* Grands titres de section : le titre EST le design */
.mega-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem, 1.3rem + 4vw, 4.75rem);
  line-height: 0.96; letter-spacing: -0.03em; margin: 0 0 clamp(1.75rem, 4vw, 3rem);
  max-width: 17ch;
}

/* --------------------------------- HERO --------------------------------- */
.hero-v2 {
  position: relative; isolation: isolate;
  min-height: min(86vh, 800px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2rem, 5vw, 3.5rem);
}
.hero-glow {
  position: absolute; z-index: -1; inset-block-start: -14%; inset-inline-start: -10%;
  width: 62vw; height: 62vw; max-width: 720px; max-height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.11), transparent 60%);
  filter: blur(24px); will-change: transform;
}
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 2rem + 7vw, 8.25rem);
  line-height: 0.92; letter-spacing: -0.035em;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); max-width: 14ch;
}
.hero-title .hw { display: inline-block; }
.hero-title .hw-accent { color: var(--accent); }
html.anim .hero-title .hw { opacity: 0; transform: translateY(0.42em); }
.hero-lead {
  color: var(--muted); max-width: 40ch; margin: 0 0 clamp(2rem, 4vw, 2.5rem);
  font-size: clamp(1.1rem, 0.95rem + 0.9vw, 1.5rem); line-height: 1.5;
}
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-cta .btn:active { transform: scale(0.97); }
.hero-check {
  position: absolute; z-index: -1; inset-block-start: clamp(0.5rem, 5vw, 2.5rem); inset-inline-end: 1%;
  width: clamp(58px, 9vw, 116px); height: auto; color: var(--line-2);
}
html.anim .hero-check .hc-tick { stroke-dasharray: 62; stroke-dashoffset: 62; }
html.anim .hero-check .hc-ring { stroke-dasharray: 190; stroke-dashoffset: 190; }

/* --------------------- RÉASSURANCE (marquee / 2×2 mobile) --------------------- */
.reassure-v2 { overflow: hidden; border-block: 1px solid var(--line); }
.reassure-track {
  display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); width: max-content;
  padding-block: 1.1rem; white-space: nowrap; will-change: transform;
  animation: ra-marq 28s linear infinite;
}
.reassure-v2:hover .reassure-track { animation-play-state: paused; }
@keyframes ra-marq { to { transform: translateX(-50%); } }
.ra-item {
  display: inline-flex; align-items: center; gap: 0.6rem; color: var(--muted);
  font-weight: 600; font-size: clamp(0.95rem, 0.9rem + 0.35vw, 1.15rem);
}
.ra-tick { width: 1em; height: 1em; flex: none; }

/* ------------------------- CATÉGORIES (bento inégal) ------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, 1fr); gap: var(--gap); }
.bento-lg { grid-column: span 3; grid-row: span 2; }
.bento-md { grid-column: span 3; }
.bento-sm { grid-column: span 2; }
.bento-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
  padding: clamp(1.25rem, 2vw, 1.9rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.bento-card::after {
  content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(120% 120% at 25% 0%, rgba(200, 255, 0, 0.16), transparent 55%);
  transition: opacity 0.4s var(--ease);
}
.bento-card:hover, .bento-card:focus-visible { border-color: var(--accent); transform: translateY(-4px); background: var(--surface-2); }
.bento-card:hover::after, .bento-card:focus-visible::after { opacity: 1; }
.bento-index { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.bento-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1rem + 0.9vw, 1.65rem); line-height: 1.04; letter-spacing: -0.02em; }
.bento-lg .bento-name { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3rem); }
.bento-desc { display: block; color: var(--muted); margin-top: 0.5rem; font-size: 0.97rem; max-width: 32ch; }
.bento-arrow { color: var(--accent); font-weight: 700; font-size: 1.3rem; align-self: flex-start; transition: transform 0.4s var(--ease); }
.bento-card:hover .bento-arrow { transform: translateX(0.35rem); }

/* --------------------- SERVICES VEDETTES (liste éditoriale) --------------------- */
.feat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.feat-head .mega-title { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--ink); text-decoration: none; font-family: var(--font-body); font-weight: 600; white-space: nowrap; transition: color 0.3s var(--ease); }
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover span { transform: translateX(0.35rem); }
.link-arrow.lg { font-size: clamp(1.1rem, 1rem + 0.7vw, 1.5rem); }

.feat-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feat-list li { border-bottom: 1px solid var(--line); }
.feat-row {
  position: relative; display: grid; align-items: center; gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto 1.2rem;
  padding-block: clamp(1.1rem, 2.2vw, 1.6rem); text-decoration: none; color: inherit;
  transition: padding-inline-start 0.4s var(--ease);
}
.feat-row::before { content: ""; position: absolute; inset-block: 0.35rem; inset-inline-start: 0; width: 0; border-radius: 3px; background: var(--accent); transition: width 0.4s var(--ease); }
.feat-row:hover { padding-inline-start: 1.25rem; }
.feat-row:hover::before { width: 3px; }
.feat-name { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.15rem, 0.9rem + 1vw, 1.7rem); line-height: 1.1; }
.feat-tag { color: var(--muted); font-size: 0.97rem; }
.feat-price { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: clamp(1rem, 0.9rem + 0.6vw, 1.35rem); transition: color 0.3s var(--ease); }
.feat-row:hover .feat-price { color: var(--accent); }
.feat-from { font-family: var(--font-body); font-weight: 600; font-size: 0.68em; color: var(--muted); text-transform: capitalize; margin-inline-end: 0.15rem; }
.feat-arrow { color: var(--accent); font-weight: 700; font-size: 1.15rem; opacity: 0; transform: translateX(-0.3rem); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.feat-row:hover .feat-arrow { opacity: 1; transform: translateX(0); }

/* ----------------------------- PROCESS (timeline) ----------------------------- */
.proc-track { position: relative; display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); }
.proc-line { position: absolute; inset-block-start: 1.2rem; inset-block-end: 1.2rem; inset-inline-start: 1.15rem; width: 2px; background: var(--accent); transform-origin: top center; }
html.anim .proc-line { transform: scaleY(0); }
.proc-step { position: relative; display: grid; grid-template-columns: 2.4rem 1fr; gap: clamp(1rem, 2.5vw, 2.25rem); align-items: start; }
.proc-node { position: relative; z-index: 1; align-self: start; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--muted); font-variant-numeric: tabular-nums; text-align: center; background: var(--bg); padding-block: 0.2rem; }
.proc-t { font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 1vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 0.4rem; }
.proc-d { color: var(--muted); margin: 0; max-width: 46ch; }

/* ------------------------- TEASER PORTFOLIO (grand type) ------------------------- */
.teaser-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 1.4rem + 6vw, 7rem); line-height: 0.95; letter-spacing: -0.035em; margin: 0 0 1.5rem; max-width: 13ch; }

/* ----------------------------- CTA FINAL (loud, lime) ----------------------------- */
.cta-loud {
  width: 100vw; margin-inline: calc(50% - 50vw); margin-block-start: var(--sp);
  background: var(--accent); color: var(--accent-ink);
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.cta-loud-inner { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gap); }
.cta-loud-title { font-family: var(--font-display); font-weight: 700; color: var(--accent-ink); font-size: clamp(2.5rem, 1.6rem + 5vw, 6rem); line-height: 0.95; letter-spacing: -0.035em; margin: 0 0 1rem; max-width: 15ch; }
.cta-loud-line { color: var(--accent-ink); font-size: clamp(1.15rem, 1rem + 1vw, 1.7rem); margin: 0 0 2rem; font-weight: 500; }
.cta-loud-line strong { font-weight: 700; }
.btn-dark { background: var(--bg); color: var(--ink); }
.btn-dark:hover { background: #000; box-shadow: 0 12px 34px rgba(10, 10, 11, 0.4); }
.btn-dark:active { transform: scale(0.97); }

/* -------------------------------- HOME v2 : mobile -------------------------------- */
@media (max-width: 780px) {
  /* Bento -> scroll horizontal avec peek */
  .bento {
    display: flex; grid-auto-rows: auto; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 1rem; margin-inline: calc(var(--gap) * -1); padding: 0 var(--gap) 1rem;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .bento::-webkit-scrollbar { display: none; }
  .bento-card { flex: 0 0 78%; scroll-snap-align: start; min-height: 172px; }
}
@media (max-width: 640px) {
  .hero-v2 { min-height: auto; padding-block: clamp(2rem, 12vw, 3.5rem) 2.5rem; }
  .hero-title { font-size: clamp(2.15rem, 1.3rem + 4.6vw, 3rem); max-width: 100%; }
  .hero-check { width: 52px; inset-block-start: 0.25rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  /* Réassurance -> 2×2 statique (pas de marquee) */
  .reassure-v2 { overflow: visible; }
  .reassure-track { animation: none; width: auto; white-space: normal; display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1rem; }
  .ra-item[aria-hidden="true"] { display: none; }

  /* Liste vedette -> nom + prix, tagline dessous */
  .feat-row { grid-template-columns: 1fr auto; grid-template-areas: "name price" "tag tag"; gap: 0.25rem 1rem; }
  .feat-name { grid-area: name; }
  .feat-price { grid-area: price; align-self: center; }
  .feat-tag { grid-area: tag; }
  .feat-arrow { display: none; }
}

/* prefers-reduced-motion : la timeline et le marquee restent visibles/immobiles */
@media (prefers-reduced-motion: reduce) {
  .reassure-track { animation: none !important; }
  html.anim .hero-title .hw { opacity: 1 !important; transform: none !important; }
  html.anim .proc-line { transform: scaleY(1) !important; }
  html.anim .hero-check .hc-tick, html.anim .hero-check .hc-ring { stroke-dashoffset: 0 !important; }
}

/* ===================================================================== */
/* /services (grille) + /services/{slug} (détail) — LANGAGE v2            */
/* Extension directe du home v2 : mêmes tokens, --ease, grain, glow lime. */
/* ===================================================================== */

/* Reveal en cascade des grilles de cartes (batch ScrollTrigger, cf. site.js) */
html.anim .stagger { opacity: 0; }

/* ---------------------------- /services : en-tête ---------------------------- */
.svc-hero { position: relative; isolation: isolate; padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 3vw, 2rem); }
.svc-hero-glow {
  position: absolute; z-index: -1; inset-block-start: -22%; inset-inline-start: -8%;
  width: 55vw; height: 55vw; max-width: 620px; max-height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.09), transparent 60%); filter: blur(24px);
}
.svc-hero-lead { color: var(--muted); max-width: 54ch; margin: 0; font-size: clamp(1.05rem, 0.95rem + 0.7vw, 1.35rem); line-height: 1.5; }

/* ------------------------ /services : sections catégories ------------------------ */
.svc-cat-section { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.svc-cat-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); letter-spacing: -0.02em; margin: 0 0 clamp(1.1rem, 2vw, 1.6rem); }
.svc-cat-title::after { content: ""; display: block; width: 2.4rem; height: 3px; margin-top: 0.55rem; background: var(--accent); border-radius: 3px; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--gap); }
.svc-card--lead { grid-column: span 2; }

.svc-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  min-height: 168px; padding: clamp(1.2rem, 1.8vw, 1.6rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.svc-card::after {
  content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(120% 120% at 20% 0%, rgba(200, 255, 0, 0.15), transparent 55%);
  transition: opacity 0.4s var(--ease);
}
.svc-card:hover, .svc-card:focus-visible { border-color: var(--accent); transform: translateY(-4px); background: var(--surface-2); }
.svc-card:hover::after, .svc-card:focus-visible::after { opacity: 1; }
.svc-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); line-height: 1.08; letter-spacing: -0.02em; }
.svc-card--lead .svc-name { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); }
.svc-tag { display: block; color: var(--muted); margin-top: 0.5rem; font-size: 0.96rem; max-width: 42ch; }
.svc-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.svc-price { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.4rem); transition: color 0.3s var(--ease); }
.svc-card:hover .svc-price { color: var(--accent); }
.svc-from { font-family: var(--font-body); font-weight: 600; font-size: 0.62em; color: var(--muted); text-transform: capitalize; margin-inline-end: 0.2rem; }
.svc-arrow { color: var(--accent); font-weight: 700; font-size: 1.25rem; transition: transform 0.4s var(--ease); }
.svc-card:hover .svc-arrow { transform: translateX(0.35rem); }

/* ------------------------------- /services/{slug} ------------------------------- */
.svc-detail { padding-bottom: clamp(2rem, 5vw, 4rem); }
.sd-crumb { padding-block: clamp(1.25rem, 3vw, 2rem) 0; color: var(--muted); font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.sd-crumb a { color: var(--muted); text-decoration: none; transition: color 0.3s var(--ease); }
.sd-crumb a:hover { color: var(--accent); }
.sd-crumb-sep { color: var(--line-2); }

.sd-head { position: relative; isolation: isolate; padding-block: clamp(0.75rem, 2vw, 1.25rem) clamp(2rem, 4vw, 3rem); }
.sd-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 1.5rem + 4.5vw, 5rem); line-height: 0.95; letter-spacing: -0.035em; margin: 0 0 clamp(0.75rem, 2vw, 1.25rem); max-width: 16ch; }
.sd-tagline { color: var(--ink); font-weight: 500; font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); margin: 0 0 1rem; max-width: 48ch; }
.sd-desc { color: var(--muted); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); line-height: 1.6; margin: 0 0 1.5rem; max-width: 62ch; }
.sd-head-from { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); color: var(--ink); margin: 0; }

/* Tiers : 3 toujours visibles, Standard mis en avant (Goldilocks) */
.sd-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; padding-block: clamp(1rem, 2vw, 1.5rem); }
.sd-tier {
  position: relative; display: flex; flex-direction: column; gap: 0.9rem;
  padding: clamp(1.5rem, 2.2vw, 2rem); border-radius: calc(var(--radius) + 2px);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.sd-tier--pop {
  border: 2px solid var(--accent);
  background: radial-gradient(120% 90% at 50% 0%, rgba(200, 255, 0, 0.07), transparent 62%), var(--surface);
}
@media (min-width: 781px) { .sd-tier--pop { transform: translateY(-8px); } }
.sd-tier-badge {
  position: absolute; inset-block-start: -0.8rem; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink); font-family: var(--font-body); font-weight: 700;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap;
  padding: 0.25rem 0.75rem; border-radius: 999px;
}
.sd-tier-name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 700; color: var(--muted); margin: 0; }
.sd-tier-price { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); line-height: 1; color: var(--ink); margin: 0; }
.sd-tier-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; color: var(--muted); font-size: 0.9rem; margin: 0; }
.sd-meta-dot { color: var(--line-2); }
.sd-tier-inc { list-style: none; margin: 0.4rem 0; padding: 0; display: grid; gap: 0.6rem; flex: 1; }
.sd-tier-inc li { position: relative; padding-inline-start: 1.6rem; color: var(--ink); font-size: 0.97rem; }
.sd-tier-inc li::before { content: "\2713"; position: absolute; inset-inline-start: 0; color: var(--accent); font-weight: 700; }
.sd-tier-btn { width: 100%; margin-top: auto; }

/* Bande de réassurance */
.sd-reassure {
  list-style: none; margin: clamp(1.5rem, 3vw, 2.5rem) 0; padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.3rem, 2.2vw, 1.9rem);
  display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 1rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.sd-reassure li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); font-weight: 600; font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1.05rem); }

/* FAQ (accordéon) */
.sd-faq { padding-block: clamp(2rem, 4vw, 3rem); max-width: 820px; }
.sd-faq-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -0.02em; margin: 0 0 clamp(0.75rem, 2vw, 1.25rem); }
.sd-faq-item { border-top: 1px solid var(--line); }
.sd-faq-list .sd-faq-item:last-child { border-bottom: 1px solid var(--line); }
.sd-faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(1rem, 2vw, 1.25rem) 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem); transition: color 0.3s var(--ease); }
.sd-faq-item summary:hover { color: var(--accent); }
.sd-faq-item summary::-webkit-details-marker { display: none; }
.sd-faq-item summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.sd-faq-item[open] summary::after { content: "\2212"; }
.sd-faq-item p { color: var(--muted); line-height: 1.6; margin: 0 0 clamp(1rem, 2vw, 1.25rem); max-width: 68ch; }

/* CTA final (Start répété, fond lime sur le bouton) */
.sd-cta {
  margin-block-start: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(2rem, 4vw, 3.25rem);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  background: radial-gradient(120% 140% at 100% 0%, rgba(200, 255, 0, 0.10), transparent 60%), var(--surface);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem;
}
.sd-cta-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 2.5vw, 3.2rem); letter-spacing: -0.02em; margin: 0; max-width: 18ch; }

/* Mobile : détail + grille */
@media (max-width: 780px) {
  .svc-card--lead { grid-column: auto; }
  .sd-tiers { grid-template-columns: 1fr; }
  .sd-reassure { grid-template-columns: 1fr 1fr; justify-content: start; }
}

/* ===================================================================== */
/* PAGE /work                                                            */
/* ===================================================================== */

.work-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.work-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.18s ease, border-color 0.18s ease; }
.work-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.work-thumb { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(135deg, #17171b, #0e0e11); border-bottom: 1px solid var(--line); }
.work-thumb .mark { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: rgba(245,245,242,0.22); }
.work-tag { position: absolute; inset-block-start: 0.8rem; inset-inline-start: 0.8rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 0.2rem 0.6rem; background: rgba(10,10,11,0.6); }
.work-body { padding: 1.2rem 1.3rem 1.4rem; }
.work-body h3 { font-size: 1.3rem; margin: 0 0 0.15rem; }
.work-cat { color: var(--accent); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.work-body p { color: var(--muted); margin: 0.5rem 0 0; font-size: 0.96rem; }
.work-deliverables { list-style: none; padding: 0; margin: 0.9rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.work-deliverables li { font-size: 0.78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.6rem; }

/* ===================================================================== */
/* PAGE /about                                                           */
/* ===================================================================== */

.about-hero h1 { font-size: clamp(2.5rem, 9vw, 5.5rem); margin: 0.5rem 0 1.25rem; }
.about-lead { font-size: clamp(1.1rem, 2.2vw, 1.4rem); max-width: 60ch; color: var(--ink); }
.about-lead strong { color: var(--accent); }
.beliefs { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.belief { border-inline-start: 3px solid var(--accent); padding: 0.25rem 0 0.25rem 1.25rem; padding-inline-start: 1.25rem; }
.belief h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }
.belief p { color: var(--muted); margin: 0; }

/* ===================================================================== */
/* Pages légales (/terms, /privacy)                                      */
/* ===================================================================== */

.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 0.75rem; }
.legal-meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 2rem; }
.legal-section { margin-block: 1.75rem; }
.legal-section h2 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.legal-section p { color: var(--muted); margin: 0; max-width: 68ch; }
.legal-contact { margin-block: 2.5rem 1.5rem; color: var(--muted); }

/* ===================================================================== */
/* 404                                                                   */
/* ===================================================================== */

.nf { text-align: center; padding-block: clamp(3rem, 12vw, 8rem); }
.nf .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 22vw, 12rem); line-height: 0.9; color: var(--surface-2); margin: 0; }
.nf p { font-size: clamp(1.2rem, 3vw, 1.6rem); max-width: 26ch; margin-inline: auto; }
.nf .accent { color: var(--accent); }

/* ===================================================================== */
/* Formulaire de brief (slice 2) — re-skin dark                          */
/* ===================================================================== */

[hidden] { display: none !important; }
.brief { padding-bottom: 3rem; }
.brief-form { max-width: 660px; }

.field { margin-block: 1.2rem; }
.field-label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.req { color: var(--accent); }
.field-help { margin: 0 0 0.45rem; color: var(--muted); font-size: 0.85rem; }

.field input[type="text"],
.field input[type="email"],
.field textarea,
.field select {
  width: 100%; padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-2); border-radius: 10px; font: inherit;
  color: var(--ink); background: var(--surface);
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.field select { appearance: none; }
.field--error input, .field--error textarea, .field--error select { border-color: var(--danger); }
.field-err { color: var(--danger); font-size: 0.85rem; margin: 0.35rem 0 0; }

.checks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.check { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 400; }
.check input { width: auto; accent-color: var(--accent); }

.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.steps-bar { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0; margin: 0 0 1.75rem; }
.steps-bar li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.9rem; }
.steps-bar .dot { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid var(--line-2); font-weight: 700; font-size: 0.8rem; }
.steps-bar li.is-current { color: var(--ink); font-weight: 600; }
.steps-bar li.is-current .dot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.steps-bar li.is-done .dot { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.step { border: 0; padding: 0; margin: 0 0 1rem; min-inline-size: 0; }
.step > legend { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; padding: 0; margin-bottom: 0.75rem; }

.review-list { display: grid; grid-template-columns: minmax(9rem, 15rem) 1fr; gap: 0.5rem 1rem; }
.review-list dt { font-weight: 600; color: var(--muted); }
.review-list dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.form-nav { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }

.banner { padding: 0.85rem 1.1rem; border-radius: 10px; margin: 0 0 1.25rem; }
.banner--error { background: rgba(255,106,94,0.12); color: #ffb4ab; border: 1px solid rgba(255,106,94,0.4); }

.thanks { max-width: 660px; }
.thanks h1 { font-size: clamp(2rem, 6vw, 3rem); }

/* ===================================================================== */
/* Accessibilité : focus visible                                         */
/* ===================================================================== */

a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}

/* ===================================================================== */
/* i18n + RTL (slice 3) — conservé                                       */
/* ===================================================================== */

.lang-switch { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; }
.lang-switch a { text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch .is-current { color: var(--accent); }

/* Nombres / prix : TOUJOURS LTR même dans un texte RTL ($49, jamais 94$) */
.ltr { direction: ltr; unicode-bidi: isolate; }

/* Icônes directionnelles : miroir horizontal en RTL (← / →) */
[dir="rtl"] .rtl-mirror { display: inline-block; transform: scaleX(-1); }

/* Typo arabe (docs/02) : IBM Plex Sans Arabic + interligne aéré. Latin inchangé. */
html[dir="rtl"] body { font-family: "IBM Plex Sans Arabic", var(--font-body); line-height: 1.9; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { font-family: "IBM Plex Sans Arabic", var(--font-display); }
html[dir="rtl"] .tier-name, html[dir="rtl"] .tier-meta dt, html[dir="rtl"] .eyebrow, html[dir="rtl"] .work-cat { letter-spacing: normal; }

/* ===================================================================== */
/* prefers-reduced-motion : on coupe tout mouvement                      */
/* ===================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.anim .reveal { opacity: 1 !important; }   /* jamais caché si motion réduit */
}

/* ===================================================================== */
/* Mobile fin (≤ 560px)                                                  */
/* ===================================================================== */

@media (max-width: 560px) {
  .site-nav { gap: 0.85rem; }
  .site-nav a { font-size: 0.9rem; }
  .hero-cta .btn { flex: 1 1 auto; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
