/* =====================================================================
   ZEMIDJAN — Site vitrine
   Base claire ivoire, accent or, charcoal réservé aux respirations.

   TOUTES les couleurs viennent du dashboard : elles sont injectées en
   variables CSS dans le <head> par resources/views/site/partials/theme.blade.php.
   Les valeurs ci-dessous ne servent que de secours si la base est vide.

   Les teintes intermédiaires sont dérivées avec color-mix() : changer une
   couleur dans le dashboard recolore tout le site de façon cohérente.
   Une valeur rgba() de repli précède chaque color-mix() pour les vieux
   navigateurs Android.
   ===================================================================== */

/* ---------------------------------------------------------------
   01. Tokens
   --------------------------------------------------------------- */
:root {
  --bg:          #FAF7F0;
  --surface:     #FFFFFF;
  --surface-2:   #F2ECDF;
  --accent:      #F5C542;
  --accent-deep: #B8860B;
  --secondary:   #15453B;
  --ink:         #14130F;

  --radius:       18px;
  --fs:           .92;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, Menlo, monospace;

  /* dérivés */
  --text:      var(--ink);
  --text-mute: rgba(20, 19, 15, .62);
  --text-mute: color-mix(in srgb, var(--ink) 62%, transparent);
  --line:      rgba(20, 19, 15, .10);
  --line:      color-mix(in srgb, var(--ink) 10%, transparent);
  --line-2:    rgba(20, 19, 15, .16);
  --line-2:    color-mix(in srgb, var(--ink) 16%, transparent);

  --on-ink:      #F7F3E9;
  --on-ink-mute: rgba(247, 243, 233, .62);
  --ink-line:    rgba(247, 243, 233, .13);

  --tint:      #EFF4F1;
  --tint:      color-mix(in srgb, var(--secondary) 7%, var(--bg));
  --gold-wash: color-mix(in srgb, var(--accent) 16%, var(--bg));

  --wrap:    1200px;
  --gutter:  clamp(20px, 5vw, 52px);
  --section: clamp(64px, 7.5vw, 108px);
  --ease:    cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------------
   02. Reset
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  font-size: calc(16px * var(--fs));
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: 5px; }

.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 999; background: var(--ink); color: var(--accent); padding: 12px 20px; border-radius: 10px; }
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------
   03. Typographie — échelle réduite, plus minimaliste
   --------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.t-hero    { font-size: clamp(2.1rem, 5vw, 3.9rem); }
.t-section { font-size: clamp(1.65rem, 3.2vw, 2.6rem); }
.t-sub     { font-size: clamp(1.14rem, 1.9vw, 1.5rem); line-height: 1.2; }
.t-card    { font-size: 1.08rem; line-height: 1.25; letter-spacing: -.018em; }

.lead {
  font-size: clamp(.98rem, 1.3vw, 1.1rem);
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 60ch;
}
.on-dark .lead, .bg-ink .lead { color: var(--on-ink-mute); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .68rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .5; }
.on-dark .eyebrow, .bg-ink .eyebrow { color: var(--accent); }

.underline-gold { position: relative; white-space: nowrap; }
.underline-gold::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.04em;
  height: .11em; border-radius: 99px; background: var(--accent);
}

/* ---------------------------------------------------------------
   04. Layout
   --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 800px; }

.section { padding-block: var(--section); position: relative; }
.section-sm { padding-block: clamp(44px, 5vw, 72px); }

.bg-cream   { background: var(--bg); }
.bg-cream-2 { background: var(--surface-2); }
.bg-tint    { background: var(--tint); }
.bg-wash    { background: var(--gold-wash); }
.bg-ink     { background: var(--ink); color: var(--on-ink); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--on-ink); }
.bg-ink::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image: radial-gradient(rgba(247,243,233,.05) 1px, transparent 1px);
  background-size: 3px 3px;
}
.bg-ink > * { position: relative; z-index: 1; }

.grid { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(30px, 4.5vw, 68px); align-items: center; }
.split-top { align-items: start; }

.head { max-width: 720px; margin-bottom: clamp(30px, 3.6vw, 54px); }
.head .t-section { margin-top: 14px; }
.head .lead { margin-top: 16px; }
.head-center { margin-inline: auto; text-align: center; }
.head-center .lead { margin-inline: auto; }
.head-center .eyebrow::before { display: none; }

.row { display: flex; flex-wrap: wrap; gap: 12px; }
.row-between { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-end; justify-content: space-between; }
.mt-l { margin-top: clamp(28px, 3.4vw, 48px); }
.mt-m { margin-top: 22px; }

/* ---------------------------------------------------------------
   05. Boutons
   --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--on-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .92rem; letter-spacing: -.01em; cursor: pointer;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background .24s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(20,19,15,.55); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-gold  { --btn-bg: var(--accent); --btn-fg: var(--ink); }
.btn-cream { --btn-bg: var(--surface); --btn-fg: var(--ink); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { --btn-bg: color-mix(in srgb, var(--ink) 5%, transparent); }
.on-dark .btn-ghost, .bg-ink .btn-ghost { --btn-fg: var(--on-ink); border-color: var(--ink-line); }
.on-dark .btn-ghost:hover, .bg-ink .btn-ghost:hover { --btn-bg: rgba(247,243,233,.08); }
.btn-lg { padding: 16px 30px; font-size: .98rem; }
.btn-block { width: 100%; }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px 11px 16px; border-radius: 13px;
  background: var(--ink); color: var(--on-ink); border: 1px solid transparent;
  transition: transform .24s var(--ease), border-color .24s var(--ease);
}
.store-btn:hover { transform: translateY(-3px); border-color: var(--accent); }
.store-btn svg { width: 24px; height: 24px; flex: none; }
.store-btn small { display: block; font-size: .63rem; letter-spacing: .13em; text-transform: uppercase; opacity: .6; font-family: var(--font-mono); }
.store-btn strong { display: block; font-size: .97rem; font-weight: 700; line-height: 1.25; }
.store-btn.is-disabled { opacity: .42; pointer-events: none; }

/* ---------------------------------------------------------------
   06. Pastilles
   --------------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 15px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: .82rem; font-weight: 600;
}
.on-dark .pill, .bg-ink .pill { border-color: var(--ink-line); background: rgba(247,243,233,.05); color: var(--on-ink); }
.pill .num {
  font-family: var(--font-mono); font-size: .69rem; font-weight: 600;
  background: var(--accent); color: var(--ink); padding: 3px 9px; border-radius: 999px;
}

.tag {
  display: inline-block; font-family: var(--font-mono);
  font-size: .65rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; font-weight: 600;
  background: var(--accent); color: var(--ink);
}
.tag-soft    { background: var(--surface-2); color: var(--text); }
.tag-green   { background: color-mix(in srgb, var(--secondary) 12%, transparent); color: var(--secondary); }
.tag-outline { background: transparent; color: var(--on-ink-mute); border: 1px solid var(--ink-line); }

/* ---------------------------------------------------------------
   07. Signature : le tracé d'itinéraire
   --------------------------------------------------------------- */
.route { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.route svg { position: absolute; width: 100%; height: 100%; }
.route path {
  fill: none; stroke: var(--accent); stroke-width: 2;
  stroke-dasharray: 9 11; stroke-linecap: round; opacity: .5;
}
.route .pin { fill: var(--accent); }
.route-draw path { animation: dash 60s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -800; } }

/* Étapes numérotées */
.timeline { position: relative; display: grid; }
.timeline::before {
  content: ""; position: absolute; left: 24px; top: 22px; bottom: 22px; width: 2px;
  background-image: linear-gradient(var(--accent) 55%, transparent 0);
  background-size: 2px 14px; opacity: .55;
}
.step { display: grid; grid-template-columns: 50px 1fr; gap: clamp(16px, 2.2vw, 28px); padding-block: clamp(20px, 2.6vw, 30px); position: relative; }
.step + .step { border-top: 1px solid var(--line); }
.bg-ink .step + .step { border-top-color: var(--ink-line); }
.step-num {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--ink);
  font-family: var(--font-mono); font-weight: 600; font-size: .88rem;
  position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--bg);
}
.bg-cream-2 .step-num { box-shadow: 0 0 0 8px var(--surface-2); }
.bg-tint .step-num    { box-shadow: 0 0 0 8px var(--tint); }
.bg-ink .step-num     { box-shadow: 0 0 0 8px var(--ink); }
.step h3 { margin-bottom: 7px; }
.step p { color: var(--text-mute); max-width: 58ch; }
.bg-ink .step p { color: var(--on-ink-mute); }

/* ---------------------------------------------------------------
   08. Préchargement
   --------------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .5s var(--ease), visibility .5s;
}
body.loaded .preloader { opacity: 0; visibility: hidden; }
.preloader-inner { display: grid; justify-items: center; gap: 16px; text-align: center; }
.preloader svg.mark { width: 52px; height: 52px; border-radius: 15px; }
.preloader img.mark { height: 48px; width: auto; max-width: 240px; object-fit: contain; }
.preloader p { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); }
.preloader .trace { width: 180px; height: 3px; border-radius: 99px; background: var(--line); overflow: hidden; }
.preloader .trace i { display: block; height: 100%; width: 38%; border-radius: 99px; background: var(--accent); animation: trace 1.15s var(--ease) infinite; }
@keyframes trace { 0% { transform: translateX(-100%); } 100% { transform: translateX(360%); } }
.preloader.style-pulse .mark { animation: pulse 1.1s var(--ease) infinite; }
@keyframes pulse { 50% { transform: scale(1.12); } }

/* ---------------------------------------------------------------
   09. En-tête
   --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }

/* Marque vectorielle de secours : carrée. Logo envoyé depuis le dashboard :
   hauteur fixe et largeur libre, pour ne jamais déformer un logo horizontal. */
svg.logo-mark { width: 36px; height: 36px; border-radius: 10px; flex: none; }
img.logo-mark {
  height: 34px; width: auto; max-width: 200px;
  object-fit: contain; border-radius: 0; flex: none;
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 9px 13px; border-radius: 999px; font-size: .89rem; font-weight: 600;
  white-space: nowrap;
  opacity: .72; transition: opacity .2s, background .2s;
}
.nav-links a:hover { opacity: 1; background: color-mix(in srgb, var(--ink) 5%, transparent); }
.nav-links a.is-active { opacity: 1; }
.nav-links a.is-active::after { content: ""; display: block; height: 2px; border-radius: 2px; background: var(--accent); margin-top: 3px; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2);
  border-radius: 12px; background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: background .2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .3s var(--ease), top .2s;
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after  { top: 0; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 72px 0 0 0; z-index: 99;
  background: var(--ink); color: var(--on-ink);
  padding: 28px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-10px); opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  overflow-y: auto;
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer a { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; padding: 12px 0; border-bottom: 1px solid var(--ink-line); }
.drawer a.is-active { color: var(--accent); }
.drawer .drawer-cta { margin-top: 22px; display: grid; gap: 10px; }
.drawer .drawer-cta a { border: 0; font-size: .94rem; }

/* Bandeau d'annonce */
.announce { background: var(--ink); color: var(--on-ink); font-size: .82rem; padding: 9px 0; text-align: center; }
.announce a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------
   10. Hero clair
   --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; background: var(--bg);
  padding-top: clamp(40px, 5.5vw, 76px);
  padding-bottom: clamp(40px, 5.5vw, 76px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 380px at 84% 4%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 62%),
    radial-gradient(560px 360px at 2% 96%, color-mix(in srgb, var(--secondary) 12%, transparent), transparent 62%);
}
.hero > * { position: relative; z-index: 2; }
.hero .route { z-index: 1; }
.hero .route path { opacity: .4; }

.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(28px, 4vw, 58px); align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 20px; font-size: .85rem; color: var(--text-mute); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.stars { color: var(--accent-deep); letter-spacing: 2px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: clamp(38px, 5vw, 64px);
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.hero-stats .stat { background: var(--surface); padding: 22px 20px; }
.bg-ink .hero-stats { background: var(--ink-line); border-color: var(--ink-line); }
.bg-ink .hero-stats .stat { background: var(--ink); }
.stat .stat-value {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.04em; line-height: 1;
  color: var(--accent-deep);
}
.bg-ink .stat .stat-value { color: var(--accent); }
.stat .stat-label { margin-top: 8px; font-weight: 600; font-size: .92rem; }
.stat .stat-note { font-size: .78rem; color: var(--text-mute); margin-top: 2px; }
.bg-ink .stat .stat-note { color: var(--on-ink-mute); }

/* Maquette téléphone */
.phone {
  position: relative; width: min(280px, 76%); margin-inline: auto;
  aspect-ratio: 9 / 19; border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #2A2822, #0F0E0C);
  box-shadow: 0 40px 70px -34px rgba(20,19,15,.6), 0 0 0 1px rgba(20,19,15,.08);
}
.phone::before {
  content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 20px; border-radius: 99px; background: #0B0A08; z-index: 3;
}
.phone-screen { width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.mock-map {
  flex: 1; position: relative; background-color: var(--surface-2);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(20,19,15,.06) 25px 26px),
    repeating-linear-gradient(90deg, transparent 0 29px, rgba(20,19,15,.06) 29px 30px);
}
.mock-map::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 46%, var(--accent) 46%, var(--accent) 48.4%, transparent 48.4%),
    linear-gradient(20deg, transparent 62%, rgba(20,19,15,.12) 62%, rgba(20,19,15,.12) 63.4%, transparent 63.4%);
}
.mock-card { background: #fff; border-top: 1px solid var(--line); padding: 15px 15px 18px; display: grid; gap: 11px; }
.mock-row { display: flex; align-items: center; gap: 10px; }
.mock-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); flex: none; }
.mock-line { height: 8px; border-radius: 99px; background: var(--surface-2); }
.mock-price { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: -.03em; }
.mock-btn { background: var(--ink); color: var(--accent); border-radius: 11px; text-align: center; padding: 10px; font-size: .78rem; font-weight: 700; }

.phone-float {
  position: absolute; z-index: 4; background: var(--surface); color: var(--ink);
  border-radius: 13px; padding: 10px 14px;
  box-shadow: 0 18px 34px -18px rgba(20,19,15,.45);
  border: 1px solid var(--line);
  font-size: .77rem; font-weight: 700; line-height: 1.3;
  display: flex; align-items: center; gap: 9px;
}
.phone-float small { display: block; font-weight: 500; opacity: .6; font-size: .69rem; }
.phone-float.f1 { top: 16%; left: -6%; }
.phone-float.f2 { bottom: 15%; right: -8%; background: var(--accent); border-color: transparent; }
.phone-dot { width: 8px; height: 8px; border-radius: 50%; background: #17A34A; flex: none; }

/* ---------------------------------------------------------------
   11. Cartes
   --------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(20px, 2.3vw, 28px);
  position: relative; overflow: hidden;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -34px rgba(20,19,15,.45); border-color: var(--line-2); }
.card p { color: var(--text-mute); margin-top: 9px; font-size: .93rem; }
.card .t-card { margin-top: 16px; }
.bg-ink .card { background: color-mix(in srgb, var(--on-ink) 6%, var(--ink)); border-color: var(--ink-line); }
.bg-ink .card p { color: var(--on-ink-mute); }
.bg-ink .card:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); box-shadow: none; }

.card-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--accent); color: var(--ink); }
.card-icon svg { width: 21px; height: 21px; }
.card-num { position: absolute; top: 16px; right: 20px; font-family: var(--font-mono); font-size: .7rem; color: var(--text-mute); letter-spacing: .1em; }
.bg-ink .card-num { color: rgba(247,243,233,.35); }

.card-gold  { background: var(--accent); border-color: transparent; color: var(--ink); }
.card-gold p { color: rgba(20,19,15,.7); }
.card-gold .card-icon { background: var(--ink); color: var(--accent); }
.card-green { background: var(--secondary); border-color: transparent; color: var(--on-ink); }
.card-green p { color: rgba(247,243,233,.68); }
.card-green .card-icon { background: var(--accent); color: var(--ink); }
.card-green .t-card, .card-green h3 { color: var(--on-ink); }

.feature-panel {
  background: var(--surface); color: var(--text);
  border-radius: calc(var(--radius) + 8px); overflow: hidden;
  border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3.5vw, 52px); align-items: center;
  padding: clamp(24px, 3.5vw, 50px);
}
.feature-panel.is-ink { background: var(--ink); color: var(--on-ink); border-color: transparent; }
.feature-panel.is-ink h2 { color: var(--on-ink); }
.feature-panel.is-cream { background: var(--surface-2); }

.checks { display: grid; gap: 11px; margin-top: 22px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .95rem; }
.checks li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: destination-out;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

/* Zones d'image travaillées */
.figure {
  position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  background: var(--surface-2); aspect-ratio: 4 / 3;
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure.is-tall { aspect-ratio: 3 / 4; }
.figure figcaption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: color-mix(in srgb, var(--ink) 82%, transparent); color: var(--on-ink);
  padding: 8px 14px; border-radius: 999px; font-size: .78rem; font-weight: 600;
}
.figure .ph {
  position: absolute; inset: 0; display: grid; place-items: center; gap: 10px;
  color: var(--text-mute); font-size: .8rem; text-align: center; padding: 20px;
  background-image: repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in srgb, var(--ink) 4%, transparent) 12px 24px);
}
.figure-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.figure-stack .figure:first-child { grid-row: span 2; aspect-ratio: auto; }

/* ---------------------------------------------------------------
   12. Bandeau défilant
   --------------------------------------------------------------- */
.marquee {
  overflow: hidden; position: relative; padding-block: 18px;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.bg-ink .marquee { border-block-color: var(--ink-line); }
.marquee-track { display: flex; align-items: center; gap: 50px; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: .97rem; color: var(--text-mute); white-space: nowrap; }
.bg-ink .marquee-item { color: var(--on-ink-mute); }
.marquee-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------
   13. Accordéon
   --------------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.bg-ink .acc { border-top-color: var(--ink-line); }
.acc-item { border-bottom: 1px solid var(--line); }
.bg-ink .acc-item { border-bottom-color: var(--ink-line); }
.acc-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 21px 0; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(.98rem, 1.5vw, 1.1rem);
}
.acc-q .sign { width: 30px; height: 30px; border-radius: 50%; flex: none; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s var(--ease); }
.bg-ink .acc-q .sign { border-color: var(--ink-line); }
.acc-item.is-open .acc-q .sign { transform: rotate(45deg); background: var(--accent); color: var(--ink); border-color: transparent; }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--ease); }
.acc-item.is-open .acc-a { grid-template-rows: 1fr; }
.acc-a > div { overflow: hidden; }
.acc-a p { color: var(--text-mute); padding-bottom: 24px; max-width: 72ch; }
.bg-ink .acc-a p { color: var(--on-ink-mute); }

/* ---------------------------------------------------------------
   14. Témoignages
   --------------------------------------------------------------- */
.quotes {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 min(390px, 82vw); scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
}
.bg-ink .quote { background: color-mix(in srgb, var(--on-ink) 6%, var(--ink)); border-color: var(--ink-line); }
.quote .mark { font-family: var(--font-display); font-size: 2.3rem; line-height: .6; color: var(--accent-deep); }
.bg-ink .quote .mark { color: var(--accent); }
.quote p { font-size: .98rem; line-height: 1.55; flex: 1; }
.quote footer { display: flex; align-items: center; gap: 11px; }
.quote .avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .9rem; }
.quote .who strong { display: block; font-size: .92rem; }
.quote .who span { font-size: .79rem; color: var(--text-mute); }
.bg-ink .quote .who span { color: var(--on-ink-mute); }

/* ---------------------------------------------------------------
   15. Tarifs, zones, carte
   --------------------------------------------------------------- */
.price-card { display: flex; flex-direction: column; }
.price-card .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; letter-spacing: -.045em; line-height: 1; }
.price-card .amount span { font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.price-rows { margin-top: 20px; border-top: 1px solid var(--line); }
.price-rows li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.price-rows li span:first-child { color: var(--text-mute); }
.price-rows li span:last-child { font-weight: 700; font-family: var(--font-mono); font-size: .86rem; }
.bg-ink .price-rows, .bg-ink .price-rows li { border-color: var(--ink-line); }
.bg-ink .price-rows li span:first-child { color: var(--on-ink-mute); }

.zone-list { display: grid; border-top: 1px solid var(--line); }
.zone-row { display: grid; grid-template-columns: minmax(140px, 190px) 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.zone-row h3 { font-size: 1.18rem; }
.zone-row p { color: var(--text-mute); font-size: .9rem; }
.dot-live, .dot-soon { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; }
.dot-live::before, .dot-soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #17A34A; }
.dot-live::before { box-shadow: 0 0 0 4px rgba(23,163,74,.16); }
.dot-soon { color: var(--text-mute); }
.dot-soon::before { background: var(--line-2); }

.map-shell {
  position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  background: var(--ink); border: 1px solid var(--line); min-height: 360px; height: 100%;
}
.map-shell iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }
.map-grid { position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, transparent 0 36px, rgba(247,243,233,.06) 36px 37px), repeating-linear-gradient(90deg, transparent 0 42px, rgba(247,243,233,.06) 42px 43px); }
.map-pin { position: absolute; transform: translate(-50%, -100%); display: grid; place-items: center; gap: 4px; }
.map-pin i { width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); display: block; }
.zone-cities { gap: 14px; }
.zone-cities strong { display: block; line-height: 1.4; }
.zone-cities span { display: block; margin-top: 2px; font-size: .88rem; line-height: 1.55; color: var(--text-mute); text-wrap: pretty; }
.zone-soon { margin-top: 16px; font-size: .86rem; color: var(--text-mute); }
.map-pin b { font-size: .75rem; font-weight: 700; color: var(--on-ink); background: rgba(20,19,15,.8); padding: 3px 9px; border-radius: 99px; white-space: nowrap; }

/* ---------------------------------------------------------------
   16. Formulaires
   --------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .84rem; font-weight: 700; }
.field .hint { font-size: .78rem; color: var(--text-mute); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 11px; font-size: .94rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 26%, transparent);
}
.bg-ink .field input, .bg-ink .field select, .bg-ink .field textarea {
  background: color-mix(in srgb, var(--on-ink) 8%, var(--ink)); border-color: var(--ink-line); color: var(--on-ink);
}
.field .error { color: #C0392B; font-size: .8rem; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 13px; background: rgba(23,163,74,.11); border: 1px solid rgba(23,163,74,.32); font-size: .92rem; font-weight: 600; }

/* Newsletter */
.newsletter {
  background: var(--secondary); color: var(--on-ink);
  border-radius: calc(var(--radius) + 8px); padding: clamp(26px, 4vw, 52px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3.5vw, 46px); align-items: center;
}
.newsletter h2 { color: var(--on-ink); }
.newsletter p { color: rgba(247,243,233,.72); }
.newsletter .field input { background: rgba(247,243,233,.1); border-color: rgba(247,243,233,.22); color: var(--on-ink); }
.newsletter .field input::placeholder { color: rgba(247,243,233,.5); }
.newsletter .field label { color: var(--on-ink); }

/* ---------------------------------------------------------------
   17. Bloc de conversion
   --------------------------------------------------------------- */
.download-band {
  background: var(--accent); color: var(--ink);
  border-radius: calc(var(--radius) + 8px); padding: clamp(26px, 4.5vw, 56px);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(22px, 3.5vw, 46px); align-items: center;
}
.download-band .route path { stroke: var(--ink); opacity: .18; }
.download-band h2 { color: var(--ink); }
.download-band p { color: rgba(20,19,15,.72); }
.qr-box { background: var(--ink); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; justify-items: center; text-align: center; color: var(--on-ink); }
.qr-box .qr { width: 124px; height: 124px; background: #fff; border-radius: 11px; padding: 7px; }
.qr-box small { color: var(--on-ink-mute); font-size: .77rem; }

/* ---------------------------------------------------------------
   18. Bandeau de page & fil d'Ariane
   --------------------------------------------------------------- */
.page-head {
  background: var(--surface-2); color: var(--text);
  padding-top: clamp(40px, 5vw, 74px); padding-bottom: clamp(40px, 5vw, 74px);
  position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(640px 320px at 84% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 66%);
}
.page-head > * { position: relative; z-index: 2; }
.page-head h1 { margin: 16px 0 18px; }
.page-head .route path { opacity: .35; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; color: var(--text-mute); text-transform: uppercase; }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs span[aria-hidden] { opacity: .4; }

/* ---------------------------------------------------------------
   19. Blog & contenu rédactionnel
   --------------------------------------------------------------- */
.post-card { display: flex; flex-direction: column; gap: 12px; }
.post-card time { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--text-mute); text-transform: uppercase; }
.post-card .more { margin-top: auto; font-weight: 700; font-size: .89rem; display: inline-flex; align-items: center; gap: 7px; }
.post-card:hover .more { color: var(--accent-deep); }
.post-cover { margin: -28px -28px 0; aspect-ratio: 16/9; background: var(--surface-2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }

.prose h2 { font-size: 1.45rem; margin: 36px 0 12px; }
.prose h3 { font-size: 1.12rem; margin: 26px 0 9px; }
.prose p, .prose li { color: var(--text-mute); margin-bottom: 13px; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 18px; }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------
   20. Pied de page
   --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-ink); padding-top: clamp(50px, 6vw, 80px); }
.site-footer.is-light { background: var(--surface-2); color: var(--text); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(26px, 3vw, 46px); padding-bottom: 48px; border-bottom: 1px solid var(--ink-line); }
.site-footer.is-light .footer-top { border-bottom-color: var(--line); }
.footer-top h4 { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.site-footer.is-light .footer-top h4 { color: var(--accent-deep); }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-links li { font-size: .91rem; color: var(--on-ink-mute); transition: color .2s; }
.site-footer.is-light .footer-links a, .site-footer.is-light .footer-links li { color: var(--text-mute); }
.footer-links a:hover { color: var(--on-ink); }
.site-footer.is-light .footer-links a:hover { color: var(--text); }
.footer-brand p { color: var(--on-ink-mute); font-size: .91rem; margin: 16px 0 20px; max-width: 34ch; }
.site-footer.is-light .footer-brand p { color: var(--text-mute); }
.socials { display: flex; gap: 9px; }
.socials a { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--ink-line); display: grid; place-items: center; transition: background .2s, transform .2s; }
.site-footer.is-light .socials a { border-color: var(--line); }
.socials a:hover { background: var(--accent); color: var(--ink); border-color: transparent; transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-block: 24px; font-size: .82rem; color: var(--on-ink-mute); }
.site-footer.is-light .footer-bottom { color: var(--text-mute); }
.footer-bottom a:hover { color: var(--accent); }
.made-by { font-family: var(--font-mono); font-size: .73rem; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 28px -12px rgba(37,211,102,.75);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------
   21. Apparition au scroll
   --------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .21s; }
.reveal[data-delay="4"] { transition-delay: .28s; }
.reveal[data-delay="5"] { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------
   22. Responsive
   --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .nav-actions .btn-desktop { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .split, .feature-panel, .download-band, .newsletter { grid-template-columns: 1fr; }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .zone-row { grid-template-columns: 1fr auto; }
  .zone-row p { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { width: 100%; }
  .phone { width: min(250px, 74%); }
  .phone-float.f1 { left: -2%; }
  .phone-float.f2 { right: -2%; }
  .step { grid-template-columns: 42px 1fr; }
  .step-num { width: 42px; height: 42px; font-size: .8rem; }
  .timeline::before { left: 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .quote { flex-basis: 84vw; }
  .figure-stack { grid-template-columns: 1fr; }
  .figure-stack .figure:first-child { grid-row: auto; aspect-ratio: 4/3; }
}

/* =====================================================================
   LOT 2 — Diaporama, services, équipe, galerie, popup
   ===================================================================== */

/* ---------------------------------------------------------------
   23. Diaporama d'accueil
   --------------------------------------------------------------- */
.slider { position: relative; overflow: hidden; background: var(--bg); }
/* Le tracé passe derrière le texte, comme dans le bandeau statique (.hero .route) */
.slider .route { z-index: 1; }
.slider .route path { opacity: .38; }

/* Toutes les diapositives occupent la MÊME cellule de grille : elles se
   superposent sans positionnement absolu. Le conteneur prend donc la hauteur
   de la plus grande, et aucune diapositive ne peut décaler les autres. */
.slides { display: grid; }
.slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  display: grid; align-items: center;
  background-size: cover; background-position: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slide-inner {
  position: relative; z-index: 2;
  padding-block: clamp(56px, 9vw, 132px);
}
.slide-copy { min-width: 0; }
.slide-inner .lead { text-wrap: pretty; }

/* Diapositive « split » : texte à gauche, maquette de l'app à droite */
.slide-inner.is-split {
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(28px, 4vw, 58px);
  align-items: center; align-content: center;
  min-height: clamp(560px, 46vw, 640px);
  padding-block: clamp(44px, 4.5vw, 64px) clamp(84px, 7vw, 100px);
}
.slider-visual {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  display: grid; align-items: stretch;
  opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease), visibility .7s;
}
.slider[data-layout="split"] .slider-visual { opacity: 1; visibility: visible; }
.slider-visual .phone { width: min(236px, 70%); }
.slide.has-image .slide-inner { min-height: clamp(340px, 42vw, 520px); display: grid; align-content: center; }
.slide-inner .pill { margin-bottom: 18px; }
.slide-inner h1 { margin-bottom: 18px; }
.slide-inner .lead { max-width: 54ch; }
.slide.align-center .slide-inner { text-align: center; }
.slide.align-center .slide-inner .lead { margin-inline: auto; }
.slide.align-center .hero-cta { justify-content: center; }

/* Diapositive avec photo : voile sombre + texte clair */
.slide.has-image { color: var(--on-ink); }
.slide.has-image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    color-mix(in srgb, var(--ink) 88%, transparent) 0%,
    color-mix(in srgb, var(--ink) 62%, transparent) 45%,
    color-mix(in srgb, var(--ink) 22%, transparent) 100%);
}
.slide.align-center.has-image::before { background: color-mix(in srgb, var(--ink) 66%, transparent); }
.slide.has-image h1 { color: var(--on-ink); }
.slide.has-image .lead { color: rgba(247, 243, 233, .78); }
.slide.has-image .pill { border-color: var(--ink-line); background: rgba(247,243,233,.08); color: var(--on-ink); }
.slide.has-image .btn-ghost { --btn-fg: var(--on-ink); border-color: rgba(247,243,233,.32); }
.slide.has-image .btn-ghost:hover { --btn-bg: rgba(247,243,233,.1); }

/* Diapositive sans photo : dégradé de marque */
.slide:not(.has-image)::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 380px at 84% 4%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 62%),
    radial-gradient(560px 360px at 2% 96%, color-mix(in srgb, var(--secondary) 12%, transparent), transparent 62%);
}

.slider-controls {
  position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vw, 34px); z-index: 5;
  display: flex; align-items: center; gap: 14px;
}
.slide.align-center ~ .slider-controls,
.slider-controls { justify-content: flex-start; }
.slider-arrow {
  width: 42px; height: 42px; border-radius: 50%; flex: none; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.slider-arrow:hover { background: var(--accent); border-color: transparent; transform: translateY(-2px); }
.slider-arrow svg { width: 17px; height: 17px; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 99px; cursor: pointer;
  border: 0; background: var(--line-2); transition: width .3s var(--ease), background .3s;
}
.slider-dots button.is-active { width: 28px; background: var(--accent); }

/* ---------------------------------------------------------------
   24. Cartes avec visuel
   --------------------------------------------------------------- */
.card-media {
  margin: calc(clamp(20px, 2.3vw, 28px) * -1) calc(clamp(20px, 2.3vw, 28px) * -1) 20px;
  aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }

.figure.is-first { order: -1; }
.partner-logo { height: 30px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.marquee-item:hover .partner-logo { filter: none; opacity: 1; }

/* ---------------------------------------------------------------
   25. Équipe
   --------------------------------------------------------------- */
.team-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 18px 22px;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.team-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -34px rgba(20,19,15,.45); }
.team-photo {
  aspect-ratio: 1; border-radius: calc(var(--radius) - 4px); overflow: hidden;
  background: var(--surface-2); margin-bottom: 16px;
  display: grid; place-items: center;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials {
  font-family: var(--font-display); font-weight: 800; font-size: 2rem;
  letter-spacing: -.03em; color: var(--ink);
  width: 74px; height: 74px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center;
}
.team-role { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin-top: 6px; }
.team-card p { font-size: .9rem; color: var(--text-mute); margin-top: 10px; }
.team-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: .84rem; font-weight: 700; }
.team-link svg { width: 15px; height: 15px; }
.team-link:hover { color: var(--accent-deep); }

/* ---------------------------------------------------------------
   26. Galerie & visionneuse
   --------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 16px); }
.gallery-item {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--surface-2);
  cursor: zoom-in;
}
.gallery-item:nth-child(6n + 1) { grid-column: span 2; aspect-ratio: 8 / 5; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  background: color-mix(in srgb, var(--ink) 80%, transparent); color: var(--on-ink);
  padding: 7px 13px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  display: grid; place-items: center; padding: clamp(16px, 4vw, 56px);
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1100px, 92vw); max-height: 84vh; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: 76vh; border-radius: var(--radius); object-fit: contain; }
.lightbox figcaption { color: var(--on-ink-mute); font-size: .88rem; text-align: center; }
.lightbox-close, .lightbox-nav {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(247,243,233,.22); background: rgba(247,243,233,.08); color: var(--on-ink);
  display: grid; place-items: center; transition: background .2s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--accent); color: var(--ink); border-color: transparent; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-close svg, .lightbox-nav svg { width: 19px; height: 19px; }
.lightbox-nav.prev { left: clamp(10px, 3vw, 34px); }
.lightbox-nav.next { right: clamp(10px, 3vw, 34px); }

/* ---------------------------------------------------------------
   27. Fenêtre promotionnelle
   --------------------------------------------------------------- */
.popup {
  position: fixed; z-index: 300; right: 20px; bottom: 84px;
  width: min(330px, calc(100vw - 40px));
  background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(20,19,15,.5);
  animation: popup-in .45s var(--ease);
}
.popup[hidden] { display: none; }
@keyframes popup-in { from { opacity: 0; transform: translateY(16px); } }
.popup-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.popup-body { padding: 20px; display: grid; gap: 10px; }
.popup-body p { font-size: .88rem; color: var(--text-mute); }
.popup-body .btn { margin-top: 6px; }
.popup-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  border: 0; background: color-mix(in srgb, var(--ink) 74%, transparent); color: var(--on-ink);
  display: grid; place-items: center;
}
.popup-close svg { width: 15px; height: 15px; }

@media (max-width: 960px) {
  .slide-inner.is-split { grid-template-columns: 1fr; min-height: 0; padding-block: clamp(56px, 9vw, 132px) 96px; }
  .slider-visual { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(6n + 1) { grid-column: span 2; }
  .figure.is-first { order: 0; }
}

@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:nth-child(6n + 1) { grid-column: span 1; aspect-ratio: 4/3; }
  .slider-controls { justify-content: center; }
  .popup { right: 12px; left: 12px; bottom: 84px; width: auto; }
}

/* =====================================================================
   LOT 3 — Blog, recrutement, partenaires flotte
   ===================================================================== */

/* ---------------------------------------------------------------
   28. Filtres par catégorie
   --------------------------------------------------------------- */
.chips-line { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: clamp(26px, 3vw, 40px); }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: .87rem; font-weight: 600;
  transition: background .2s, border-color .2s, transform .2s;
}
.chip:hover { transform: translateY(-1px); border-color: var(--line-2); }
.chip.is-active { background: var(--ink); color: var(--on-ink); border-color: transparent; }
.chip span {
  font-family: var(--font-mono); font-size: .68rem;
  padding: 1px 7px; border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.chip.is-active span { background: rgba(247,243,233,.18); }

/* ---------------------------------------------------------------
   29. Cartes d'article
   --------------------------------------------------------------- */
.post-cover {
  display: block; position: relative;
  margin: calc(clamp(20px, 2.3vw, 28px) * -1) calc(clamp(20px, 2.3vw, 28px) * -1) 18px;
  aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden;
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .post-cover img { transform: scale(1.04); }
.post-cover .ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; letter-spacing: .1em;
  color: color-mix(in srgb, var(--ink) 22%, transparent); font-size: 1.1rem;
  background-image: repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in srgb, var(--ink) 4%, transparent) 12px 24px);
}
.post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-meta time { font-family: var(--font-mono); font-size: .71rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.post-card h2 a, .post-card h3 a { transition: color .2s; }
.post-card:hover h2 a, .post-card:hover h3 a { color: var(--accent-deep); }

.post-byline {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 20px; font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute);
}
.share { border-top: 1px solid var(--line); padding-top: 24px; }

.pagination-wrap nav { display: flex; justify-content: center; }
.pagination-wrap svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------------
   30. Offres d'emploi
   --------------------------------------------------------------- */
.job-list { border-top: 1px solid var(--line); }
.job-row {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 26px);
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.job-row:hover { padding-left: 12px; }
.job-row .grow { flex: 1; min-width: 0; }
.job-row h3 { transition: color .2s; }
.job-row:hover h3 { color: var(--accent-deep); }
.job-row p { color: var(--text-mute); font-size: .92rem; margin-top: 5px; }
.job-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex: none; }
.job-loc { font-family: var(--font-mono); font-size: .71rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }
.job-arrow {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  transition: background .25s var(--ease), border-color .25s, transform .25s;
}
.job-row:hover .job-arrow { background: var(--accent); border-color: transparent; transform: translateX(3px); }
.job-arrow svg { width: 16px; height: 16px; }

@media (max-width: 780px) {
  .job-row { flex-wrap: wrap; }
  .job-row .grow { flex-basis: 100%; }
  .job-arrow { margin-left: auto; }
}

/* Pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.pager-btn {
  display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
  font-size: .89rem; font-weight: 700; transition: background .2s, transform .2s;
}
.pager-btn:hover { background: var(--accent); border-color: transparent; transform: translateY(-1px); }
.pager-btn.is-off { opacity: .4; pointer-events: none; }
.pager-count { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }

/* ---------------------------------------------------------------
   31. Fiche de référence (extraction par les moteurs génératifs)
   --------------------------------------------------------------- */
.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.fact { background: var(--surface); padding: 18px 22px; }
.fact dt {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 7px;
}
.fact dd { font-size: .96rem; line-height: 1.5; font-weight: 600; }
.facts-note { margin-top: 16px; font-size: .8rem; color: var(--text-mute); }

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