/* ============ Tokens ============ */
:root {
  --ink: #15120f;
  --ink-2: #221d18;
  --ink-3: #2f2822;
  --bone: #f6f2ec;
  --paper: #ece6dc;
  --line: #dcd3c6;
  --line-dark: rgba(246, 242, 236, 0.14);
  --text: #1d1915;
  --muted: #6a6158;
  --muted-light: #b6ab9d;
  --accent: #a8845a;
  --accent-soft: #d9c3a5;
  --wa: #25d366;
  --wa-ink: #0b6b35;

  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(21, 18, 15, 0.04), 0 12px 32px -12px rgba(21, 18, 15, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[lang='ar'] {
  --font-body: 'IBM Plex Sans Arabic', 'Manrope', system-ui, sans-serif;
  --font-display: 'IBM Plex Sans Arabic', 'Fraunces', serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang='ar'] body { font-size: 18px; line-height: 1.8; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; }
html[lang='ar'] h1, html[lang='ar'] h2, html[lang='ar'] h3 { font-weight: 600; letter-spacing: 0; line-height: 1.35; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--accent-soft); }
html[lang='ar'] em { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bone); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.i { width: 1.15em; height: 1.15em; flex: none; }
.i-check { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
html[lang='ar'] .eyebrow { letter-spacing: 0; font-size: 0.92rem; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 0.98rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 58px; padding: 14px 26px 14px 14px; font-size: 1.04rem; }
[dir='rtl'] .btn-lg { padding: 14px 14px 14px 26px; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: var(--bone); }
.btn-dark:hover { background: var(--ink-3); box-shadow: var(--shadow); }
.btn-light { background: var(--bone); color: var(--ink); }
.btn-light:hover { background: #fff; box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.5); }
.wa-dot { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--wa); color: #fff; flex: none; }
.wa-dot .i { width: 18px; height: 18px; }
.btn-lg .wa-dot { width: 36px; height: 36px; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--accent); }
.link--light { color: var(--bone); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(21, 18, 15, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  color: var(--bone);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.site-header.is-scrolled { border-color: var(--line-dark); background: rgba(21, 18, 15, 0.94); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: inherit; flex: none; }
.brand { gap: 12px; }
.brand-logo { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(217, 195, 165, 0.35); }
.footer .brand-logo { width: 96px; height: 96px; }
.footer .brand .wordmark { display: none; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-size: 1.45rem; letter-spacing: -0.01em; }
.wordmark-dots {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 1.1px, transparent 1.4px) 0 0 / 5px 5px;
  box-shadow: inset 0 0 0 1px rgba(217, 195, 165, 0.5);
}

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a:not(.btn) { padding: 8px 12px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; text-decoration: none; color: rgba(246, 242, 236, 0.78); transition: color 0.2s, background-color 0.2s; }
.nav a:not(.btn):hover { color: var(--bone); background: rgba(246, 242, 236, 0.08); }
.nav a[aria-current='page'] { color: var(--bone); background: rgba(246, 242, 236, 0.1); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { background: var(--bone); color: var(--ink); }
.header-cta:hover { background: #fff; }
.header-cta .i { color: var(--wa-ink); }

/* Language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 12px;
  background: transparent; color: var(--bone);
  border: 1px solid var(--line-dark); border-radius: 999px;
  font: 600 0.85rem/1 var(--font-body); letter-spacing: 0.04em; cursor: pointer;
}
.lang-btn:hover { background: rgba(246, 242, 236, 0.08); }
.lang-btn .i-chev { width: 14px; height: 14px; transition: transform 0.2s; }
.lang-btn[aria-expanded='true'] .i-chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px);
  min-width: 180px; margin: 0; padding: 6px; list-style: none;
  background: var(--bone); color: var(--ink);
  border-radius: 14px; box-shadow: 0 18px 48px -12px rgba(0, 0, 0, 0.45);
}
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 0.95rem; }
.lang-menu a:hover { background: var(--paper); }
.lang-menu a[aria-current] { background: var(--ink); color: var(--bone); }
.lang-code { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; width: 24px; font-family: 'Manrope', sans-serif; }
.lang-menu a[lang='ar'] { font-family: 'IBM Plex Sans Arabic', sans-serif; }

.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--bone); transition: transform 0.3s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1040px) {
  .menu-btn { display: block; }
  .header-actions { margin-inline-start: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px 20px 24px;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 8px; font-size: 1.05rem; border-radius: 10px; }
  .nav-cta { display: inline-flex; margin-top: 12px; background: var(--bone); color: var(--ink); }
  .nav-cta .i { color: var(--wa-ink); }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
}

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(168, 132, 90, 0.16), transparent 60%),
    var(--ink);
  color: var(--bone);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 300; margin-bottom: 24px; }
html[lang='ar'] .hero h1 { font-weight: 600; font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(246, 242, 236, 0.78); max-width: 34em; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 40px; }
.cta-note { margin: 0; font-size: 0.9rem; color: var(--muted-light); }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.trust li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px;
  font-size: 0.88rem; color: rgba(246, 242, 236, 0.9);
}
.trust .i-check { color: var(--accent-soft); }

.hero-visual { margin: 0; max-width: 500px; width: 100%; justify-self: center; }
.hero-visual figcaption { margin-top: 14px; text-align: center; font-size: 0.95rem; color: var(--bone); }
.client { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; font-weight: 600; }
.client .stars { color: #e4b660; letter-spacing: 1px; }
.compare-hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  background: rgba(21, 18, 15, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--bone); font-size: 0.75rem; pointer-events: none; transition: opacity 0.3s;
}
.compare.is-touched .compare-hint { opacity: 0; }

/* Comparateur avant / après */
.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: 24px; background: var(--ink-2);
  box-shadow: 0 0 0 1px var(--line-dark), 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-label {
  position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(21, 18, 15, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--bone); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  pointer-events: none; transition: opacity 0.2s;
}
html[lang='ar'] .compare-label { letter-spacing: 0; font-size: 0.85rem; }
.compare-label--before { left: 14px; }
.compare-label--after { right: 14px; }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--bone); box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}
.compare-handle:focus-visible { outline: none; }
.compare-handle:focus-visible .compare-knob { box-shadow: 0 0 0 3px var(--accent); }
.compare-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--bone); color: var(--ink); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease);
}
.compare-knob svg { width: 22px; height: 22px; }
.compare.is-dragging .compare-knob { transform: translate(-50%, -50%) scale(1.1); }

/* Mobile : accroche → solution → preuve (avant/après) → CTA WhatsApp */
@media (max-width: 959px) {
  .hero { padding: calc(var(--header-h) + 28px) 0 48px; }
  .hero-grid { gap: 0; justify-items: center; text-align: center; }
  .hero-copy { display: contents; }
  .hero h1 { order: 2; margin-bottom: 12px; font-size: clamp(2.2rem, 9.5vw, 2.9rem); }
  html[lang='ar'] .hero h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .hero .lead { order: 3; margin: 0 auto 6px; max-width: 26em; font-size: 1rem; line-height: 1.55; }
  .hero-visual { order: 4; max-width: min(300px, 78vw); margin: 14px 0 18px; }
  .hero-visual figcaption { margin-top: 10px; font-size: 0.9rem; }
  .compare { border-radius: 20px; }
  .compare-knob { width: 44px; height: 44px; }
  .hero-cta { order: 5; flex-direction: column; gap: 10px; width: 100%; margin-bottom: 24px; }
  .hero-cta .btn { width: 100%; max-width: 420px; justify-content: flex-start; }
  .hero-cta .btn span:last-child { flex: 1; text-align: center; }
  .trust { order: 6; justify-content: center; gap: 8px; }
  .trust li { padding: 6px 11px; font-size: 0.8rem; }
}

/* ============ Sections ============ */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--bone); }
.section--ink .section-lead, .section--ink p { color: rgba(246, 242, 236, 0.75); }
.section--ink .eyebrow { color: var(--accent-soft); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { margin-bottom: 16px; }
.section-lead { font-size: 1.08rem; color: var(--muted); margin: 0; }

.split { display: grid; gap: 20px; }
.split .section-head { margin-bottom: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } .split .section-head { margin: 0; } }
.prose p { color: var(--muted); font-size: 1.06rem; }
.checks { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks .i { margin-top: 0.25em; }

/* Services */
.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; background: var(--bone); border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section:not(.section--paper) .card { background: #fff; }
.card-num { font-family: 'Fraunces', serif; font-size: 0.95rem; color: var(--accent); margin-bottom: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--paper); font-size: 0.82rem; font-weight: 600; }

/* Pour qui ? (version courte de l'accueil) */
.section--compact { padding-block: clamp(48px, 6vw, 72px); }
.situations { display: grid; gap: 24px; }
.situations h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.situations .eyebrow { margin-bottom: 10px; }
.situations-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.situations-list li {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 10px 16px; border-radius: 999px; background: var(--bone); border: 1px solid var(--line);
  font-weight: 600; font-size: 0.95rem;
}
.situations-list small { font-size: 0.78rem; font-weight: 600; color: var(--accent); }
.situations > .link { justify-self: start; }
@media (min-width: 960px) {
  .situations { grid-template-columns: 0.7fr 1.3fr; gap: 24px 56px; align-items: center; }
  .situations > .link { grid-column: 2; }
}

/* Gallery */
.gallery { display: grid; gap: 20px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.ba-card {
  margin: 0; padding: 10px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(21, 18, 15, 0.04), 0 18px 40px -24px rgba(21, 18, 15, 0.35);
}
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba-side { position: relative; overflow: hidden; border-radius: 14px; background: var(--paper); }
.ba-side img, .ba-empty { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform 0.6s var(--ease); }
.ba-card:hover .ba-side img { transform: scale(1.03); }
.ba-tag {
  position: absolute; top: 10px; left: 10px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(21, 18, 15, 0.78);
  color: var(--bone); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
html[lang='ar'] .ba-tag { letter-spacing: 0; font-size: 0.8rem; }
.ba-tag--after { background: var(--bone); color: var(--ink); }
.ba-empty { display: grid; place-items: end start; padding: 14px; background: radial-gradient(circle, rgba(21, 18, 15, 0.14) 1px, transparent 1.5px) 0 0 / 9px 9px, var(--paper); }
.ba-empty span { font-size: 0.8rem; color: var(--muted); }
.ba-card figcaption { padding: 14px 8px 6px; }
.ba-card .client { display: flex; justify-content: space-between; width: 100%; }
.ba-card .client-name { font-size: 1rem; }
.ba-card { cursor: zoom-in; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.ba-card:hover { transform: translateY(-3px); }
.ba-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Pop-up avant / après */
/* On bloque le défilement via body (et non html) pour ne pas casser l'en-tête sticky */
html.lb-open body { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 16px; border: 0; background: transparent;
  display: none; place-items: center; overflow-y: auto;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(12, 10, 8, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lb-inner {
  position: relative; width: 100%;
  max-width: min(1040px, calc((100vh - 140px) * 2));
  padding: 12px; border-radius: 24px; background: #fff;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
}
.lb-body .ba { gap: 8px; }
.lb-body .ba-side { border-radius: 16px; }
.lb-body .ba-tag { top: 14px; left: 14px; font-size: 0.78rem; padding: 6px 12px; }
.lb-body figcaption { padding: 16px 8px 6px; }
.lb-body .client { display: flex; justify-content: space-between; font-size: 1.05rem; }
.lb-close {
  position: absolute; top: -14px; right: -14px; z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--ink); color: var(--bone); cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); transition: transform 0.2s var(--ease);
}
.lb-close:hover { transform: rotate(90deg); }
.lb-close svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .lightbox { padding: 24px 14px; }
  .lb-inner { max-width: min(100%, calc((100vh - 150px) / 2 + 24px)); padding: 10px; }
  .lb-body .ba { grid-template-columns: 1fr; }
  .lb-close { top: -12px; right: -6px; }
}

.lightbox[open] .lb-inner { animation: lb-in 0.4s var(--ease); }
.lightbox[open]::backdrop { animation: lb-fade 0.3s ease; }
.lightbox.is-closing .lb-inner { animation: lb-out 0.22s ease forwards; }
.lightbox.is-closing::backdrop { animation: lb-fade 0.22s ease reverse forwards; }
@keyframes lb-in { from { opacity: 0; transform: translateY(16px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes lb-out { to { opacity: 0; transform: translateY(10px) scale(0.96); } }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.center-link { text-align: center; margin: 36px 0 0; }

/* Process */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 28px; border-radius: var(--radius); background: var(--bone); border: 1px solid var(--line); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 24px;
  border-radius: 50%; background: var(--ink); color: var(--bone);
  font-family: 'Fraunces', serif; font-size: 1.1rem;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin: 40px 0 0; border-radius: var(--radius); overflow: hidden;
  background: var(--line); border: 1px solid var(--line);
}
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { padding: 24px; background: var(--bone); text-align: center; }
.facts dt { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; }
.facts dd { margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; }

/* About */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 0.85fr 1.15fr; gap: 80px; } }
.about-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(217, 195, 165, 0.35) 1px, transparent 1.5px) 0 0 / 8px 8px, var(--ink-2);
}
.photo-ph span { font-family: 'Fraunces', serif; font-size: 4rem; color: var(--accent-soft); }
.about-copy h2 { margin-bottom: 6px; }
.role { color: var(--accent); font-weight: 600; margin-bottom: 24px; }
.more-btn { display: none; }
@media (max-width: 899px) {
  .about-more { display: none; }
  .about-more.is-open { display: block; animation: fade-in 0.4s var(--ease); }
  .more-btn {
    display: inline-flex; align-items: center; gap: 6px; margin: 0 0 24px; padding: 0;
    background: none; border: 0; border-bottom: 1px solid currentColor;
    color: var(--text); font: 600 0.95rem/1.6 var(--font-body); cursor: pointer;
  }
  .more-btn .i-chev { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
  .more-btn[aria-expanded='true'] .i-chev { transform: rotate(180deg); }
}
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
blockquote {
  margin: 28px 0; padding-inline-start: 22px; border-inline-start: 2px solid var(--accent);
  font-family: var(--font-display); font-size: 1.22rem; line-height: 1.5; font-style: italic;
}
html[lang='ar'] blockquote { font-style: normal; font-weight: 500; }
blockquote cite { display: block; margin-top: 12px; font-family: var(--font-body); font-style: normal; font-size: 0.88rem; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.stats dt { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }
.stats dd { margin: 4px 0 0; color: var(--muted); font-size: 0.88rem; }

/* Quality */
.quality { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .quality { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .quality { grid-template-columns: repeat(4, 1fr); } }
.quality-item { padding: 32px 28px; background: var(--ink); }
.quality-icon {
  display: block; width: 44px; height: 44px; margin-bottom: 28px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 1.1px, transparent 1.5px) 0 0 / 6px 6px;
  box-shadow: inset 0 0 0 1px rgba(217, 195, 165, 0.4);
}
.quality-item h3 { margin-bottom: 10px; color: var(--bone); }
.quality-item p { margin: 0; font-size: 0.96rem; }

/* Pricing */
.plans { display: grid; gap: 20px; max-width: 960px; margin-inline: auto; }
@media (min-width: 800px) { .plans { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px; border-radius: 24px; background: var(--bone); border: 1px solid var(--line); }
.plan--main { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.plan--main .plan-note, .plan--main .checks li { color: rgba(246, 242, 236, 0.82); }
.plan--main .i-check { color: var(--accent-soft); }
.plan-badge { position: absolute; top: 20px; inset-inline-end: 20px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 0.78rem; font-weight: 700; }
.plan h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; padding-inline-end: 110px; }
.price { margin: 20px 0 6px; display: flex; align-items: baseline; gap: 8px; }
.amount { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4rem); line-height: 1; font-weight: 300; }
html[lang='ar'] .amount { font-weight: 600; }
.amount--text { font-size: clamp(2.2rem, 4vw, 2.8rem); }
.currency { font-size: 1.1rem; font-weight: 600; }
.plan-note { color: var(--muted); font-size: 0.95rem; }
.plan .checks { margin: 12px 0 32px; flex: 1; }
.plan .checks li { font-weight: 500; font-size: 0.97rem; }

/* Reviews */
.rating {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px;
  margin: 0; padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); color: var(--muted);
}
.rating .i-google { width: 22px; height: 22px; }
.rating-brand { font-family: 'Manrope', sans-serif; font-weight: 700; color: #3c4043; }
.rating strong { color: var(--text); font-size: 1.05rem; }
.stars { color: var(--accent); letter-spacing: 2px; }
.rating .stars { color: #fbbc04; }

/* Avis façon Google */
.reviews { display: grid; gap: 16px; align-items: start; }
@media (min-width: 720px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.review {
  margin: 0; padding: 20px 22px 22px; border-radius: 14px;
  background: #fff; color: #202124; border: 1px solid #e8eaed;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12), 0 2px 8px rgba(60, 64, 67, 0.08);
  font-family: 'Manrope', system-ui, sans-serif;
}
.review-head { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; color: #fff; font-weight: 600; font-size: 1.05rem; }
.review-who { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-meta { font-size: 0.8rem; color: #70757a; }
.review-head .i-google { width: 22px; height: 22px; }
.g-stars { display: block; margin: 12px 0 8px; color: #fbbc04; font-size: 1.05rem; letter-spacing: 1px; }
.review blockquote {
  margin: 0; padding: 0; border: 0;
  font-family: 'Manrope', system-ui, sans-serif; font-style: normal; font-weight: 400;
  font-size: 0.95rem; line-height: 1.6; color: #3c4043;
}
/* Ordinateur : avis à la même hauteur, texte long replié avec « Afficher plus » */
.review-toggle { display: none; }
@media (min-width: 720px) {
  .reviews { align-items: stretch; grid-auto-rows: 1fr; }
  .reviews:has(.is-open) { grid-auto-rows: auto; }
  .review { display: flex; flex-direction: column; }
  .review blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
  .review.is-open blockquote { display: block; -webkit-line-clamp: unset; line-clamp: unset; }
  .review.is-clamped .review-toggle {
    display: inline-flex; align-items: center; gap: 4px; align-self: flex-start;
    margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer;
    font: 600 0.88rem/1.4 'Manrope', system-ui, sans-serif; color: #1a73e8;
  }
  .review-toggle:hover { text-decoration: underline; }
  .review-toggle .i-chev { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
  .review.is-open .review-toggle .i-chev { transform: rotate(180deg); }
}
.review--empty { border-style: dashed; box-shadow: none; }
.review--empty blockquote { color: var(--muted); }

/* Carrousels (mobile) */
.dots { display: none; }
@media (max-width: 719px) {
  .carousel {
    display: flex; gap: 12px;
    margin-inline: -20px; padding: 4px 20px 8px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
    scrollbar-width: none;
  }
  .carousel::-webkit-scrollbar { display: none; }
  .carousel > * { flex: 0 0 86%; scroll-snap-align: start; }
  .carousel > .reveal { opacity: 1; transform: none; }
  .quality.carousel { background: none; border: 0; border-radius: 0; overflow-x: auto; }
  .quality.carousel .quality-item { border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2); }
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
    background: var(--line); cursor: pointer; transition: width 0.3s var(--ease), background-color 0.3s;
  }
  .dots button[aria-current='true'] { width: 22px; background: var(--ink); }
  .section--ink .dots button { background: var(--line-dark); }
  .section--ink .dots button[aria-current='true'] { background: var(--accent-soft); }
}


/* FAQ */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
}
.faq-more { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--bone); }
.faq-more p { font-weight: 600; margin-bottom: 14px; }
.section:not(.section--paper) .faq-more { background: var(--paper); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.06rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); transition: background-color 0.2s, transform 0.3s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s var(--ease); }
.faq-item[open] .faq-icon { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 0 24px; padding-inline-end: 52px; }
.faq-a p { margin: 0; color: var(--muted); }
.faq-list.is-collapsed .faq-item:nth-child(n + 7) { display: none; }
.faq-toggle {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; padding: 0;
  background: none; border: 0; border-bottom: 1px solid currentColor;
  color: var(--text); font: 600 0.98rem/1.6 var(--font-body); cursor: pointer;
}
.faq-toggle:hover { color: var(--accent); }
.faq-toggle .i-chev { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.faq-toggle[aria-expanded='true'] .i-chev { transform: rotate(180deg); }

/* Contact */
.contact { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1fr; gap: 72px; align-items: stretch; } }
.contact-copy h2 { margin-bottom: 16px; }
.contact-copy .section-lead { margin-bottom: 32px; }
.contact-info { display: grid; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
@media (min-width: 560px) { .contact-info { grid-template-columns: 1fr 1fr; } }
.contact-info h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 14px; }
html[lang='ar'] .contact-info h3 { letter-spacing: 0; font-size: 0.95rem; }
.contact-info h3:not(:first-child) { margin-top: 24px; }
.contact-info p { margin-bottom: 8px; }
.open-badge { padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: none; background: rgba(37, 211, 102, 0.16); color: #7ee2a6; }
.open-badge.is-closed { background: rgba(246, 242, 236, 0.1); color: var(--muted-light); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { padding: 6px 0; text-align: start; font-weight: 400; color: rgba(246, 242, 236, 0.72); }
.hours td { text-align: end; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--bone); font-weight: 700; }
.map { min-height: 360px; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(0.35) contrast(1.05); }

/* Footer */
.footer { background: var(--ink); color: var(--muted-light); padding: 48px 0 110px; border-top: 1px solid var(--line-dark); }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1fr auto; align-items: center; } }
.footer .brand { color: var(--bone); margin-bottom: 10px; }
.footer p { margin: 0; font-size: 0.92rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--bone); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent-soft); }
.footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.85rem !important; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 18px;
  border-radius: 999px; background: var(--wa); color: #fff;
  text-decoration: none; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 10px 30px -6px rgba(10, 80, 40, 0.55);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.wa-float .i { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float.is-hidden { opacity: 0; transform: translateY(24px); pointer-events: none; }
.wa-float::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--wa); opacity: 0.45;
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.45; } 70%, 100% { transform: scale(1.35, 1.6); opacity: 0; } }
@media (max-width: 640px) {
  .wa-float { width: 60px; padding: 0; justify-content: center; }
  .wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ============ Page « Qu'est-ce que la micropigmentation ? » ============ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i-arrow { transition: transform 0.25s var(--ease); }
[dir='rtl'] .i-arrow { transform: scaleX(-1); }
a:hover > .i-arrow { transform: translateX(3px); }
[dir='rtl'] a:hover > .i-arrow { transform: scaleX(-1) translateX(3px); }
.more-link { margin-top: 32px; }

.page-hero .hero-cta { margin-bottom: 0; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
html[lang='ar'] .page-hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 0.88rem; color: var(--muted-light); }
.crumbs a { color: rgba(246, 242, 236, 0.85); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.crumbs a:hover { color: var(--bone); border-color: currentColor; }
.page-visual img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: 0 0 0 1px var(--line-dark), 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.page-visual figcaption { color: var(--muted-light); font-size: 0.9rem; }
@media (max-width: 959px) {
  .crumbs { order: 1; justify-content: center; margin-bottom: 14px; }
  .page-hero .hero-cta { margin-bottom: 0; }
}

.media-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .media-split { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
.media { margin: 0; }
.media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.media figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
.media-split h2 { margin-bottom: 20px; }

.stages { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .stages { grid-template-columns: repeat(3, 1fr); } }
.stage { padding: 10px 10px 24px; border-radius: 22px; background: var(--bone); border: 1px solid var(--line); }
.stage-img { position: relative; overflow: hidden; border-radius: 14px; margin-bottom: 20px; background: var(--paper); }
.stage-img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.stage-num {
  position: absolute; top: 12px; inset-inline-start: 12px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--bone); font-family: 'Fraunces', serif; font-size: 1.05rem;
}
.stage h3, .stage p { padding-inline: 14px; }
.stage h3 { margin-bottom: 8px; }
.stage p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.versus { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .versus { grid-template-columns: 0.8fr 1.2fr; gap: 40px; } }
.depth { margin: 0; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.depth-svg { display: block; width: 100%; height: auto; font-family: var(--font-body); }
.depth-svg .l-epi { fill: #ecd6c3; }
.depth-svg .l-derm { fill: #f6e6d8; }
.depth-svg .l-top { stroke: #c9a88a; stroke-width: 2; }
.depth-svg .l-sep { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 4 4; }
.depth-svg .d-smp { fill: #3a2f27; }
.depth-svg .d-tat { fill: #34507a; opacity: 0.85; }
.depth-svg .t-head { font-size: 13px; font-weight: 700; fill: var(--text); }
.depth-svg .t-layer { font-size: 11px; fill: var(--muted); }
.depth figcaption { margin-top: 12px; font-size: 0.88rem; color: var(--muted); }
.table-wrap { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { background: var(--ink); color: var(--bone); font-weight: 600; font-size: 0.9rem; }
.compare-table thead th:nth-child(2) { color: var(--accent-soft); }
.compare-table tbody th { font-weight: 700; font-size: 0.85rem; color: var(--text); width: 22%; }
.compare-table td { color: var(--muted); }
.compare-table td:nth-child(2) { color: var(--text); font-weight: 500; background: rgba(168, 132, 90, 0.06); }
@media (max-width: 599px) {
  .compare-table thead { display: none; }
  .compare-table tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .compare-table tr:last-child { border-bottom: 0; }
  .compare-table tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 4px; border: 0; }
  .compare-table td { border: 0; padding-top: 4px; font-size: 0.9rem; }
  .compare-table td::before { content: attr(data-label); display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
  .compare-table td:nth-child(2) { background: none; }
}

.does { display: grid; gap: 20px; max-width: 960px; margin-inline: auto; }
@media (min-width: 760px) { .does { grid-template-columns: 1fr 1fr; } }
.does-col { padding: 32px 28px; border-radius: 24px; background: var(--ink); color: var(--bone); }
.does-col h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; letter-spacing: 0; }
.does-col .checks li { color: rgba(246, 242, 236, 0.85); }
.does-col .i-check { color: var(--accent-soft); }
.does-col--not { background: var(--paper); color: var(--text); }
.does-col--not .checks li { color: var(--text); }
.i-cross { color: #b0563f; }
.faq-all { margin: 24px 0 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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