/* ==========================================================================
   ARIBAZ — design system
   Inspiration : sobriété Apple, typographie système, grands espaces,
   cartes arrondies, gradients doux, mode sombre natif.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --bg: #ffffff;
  --bg-elevated: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-soft-2: #fbfbfd;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --ink-faint: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);

  --blue: #0071e3;
  --blue-hover: #0077ed;
  --green: #1db954;
  --indigo: #5e5ce6;
  --orange: #f56300;
  --purple: #af52de;
  --teal: #00a6a6;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 18px 40px -16px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.06), 0 40px 80px -30px rgba(0, 0, 0, 0.28);

  --nav-h: 48px;
  --max: 1120px;
  --max-narrow: 720px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-elevated: #1c1c1e;
    --bg-soft: #0b0b0d;
    --bg-soft-2: #101012;
    --ink: #f5f5f7;
    --ink-soft: #a1a1a6;
    --ink-faint: #86868b;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --blue: #2997ff;
    --blue-hover: #4aa9ff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 24px 50px -20px rgba(0, 0, 0, 0.8);
    --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  }
}

/* mode clair/sombre forcé par le bouton */
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="light"] {
  --bg: #ffffff; --bg-elevated: #ffffff; --bg-soft: #f5f5f7; --bg-soft-2: #fbfbfd;
  --ink: #1d1d1f; --ink-soft: #6e6e73; --ink-faint: #86868b;
  --line: rgba(0,0,0,0.08); --line-strong: rgba(0,0,0,0.14);
  --blue: #0071e3; --blue-hover: #0077ed;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 4px 14px rgba(0,0,0,0.04);
  --shadow: 0 2px 6px rgba(0,0,0,0.05), 0 18px 40px -16px rgba(0,0,0,0.18);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.06), 0 40px 80px -30px rgba(0,0,0,0.28);
}
:root[data-theme="dark"] {
  --bg: #000000; --bg-elevated: #1c1c1e; --bg-soft: #0b0b0d; --bg-soft-2: #101012;
  --ink: #f5f5f7; --ink-soft: #a1a1a6; --ink-faint: #86868b;
  --line: rgba(255,255,255,0.1); --line-strong: rgba(255,255,255,0.18);
  --blue: #2997ff; --blue-hover: #4aa9ff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
  --shadow: 0 2px 6px rgba(0,0,0,0.5), 0 24px 50px -20px rgba(0,0,0,0.8);
  --shadow-lg: 0 40px 90px -30px rgba(0,0,0,0.9);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(0, 113, 227, 0.22); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 16px;
  border-radius: 10px; font-size: 14px; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }
.wrap-narrow { max-width: var(--max-narrow); }
.section { padding-block: 88px; }
.section-tight { padding-block: 56px; }
.section-soft { background: var(--bg-soft); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--max); margin-inline: auto; padding-inline: 22px;
  height: 100%; display: flex; align-items: center; gap: 26px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ink); font-weight: 600; font-size: 16px;
  letter-spacing: -0.02em; text-decoration: none; flex: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: linear-gradient(145deg, #0a84ff, #5e5ce6 55%, #bf5af2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 2px 8px rgba(94,92,230,0.35);
  display: grid; place-items: center; color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: -0.04em;
}
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  color: var(--ink-soft); font-size: 13.5px; font-weight: 500;
  padding: 7px 11px; border-radius: 999px; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; background: transparent; color: var(--ink-soft);
  border-radius: 999px; transition: background 0.2s, color 0.2s;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--ink); }
.icon-btn svg { width: 17px; height: 17px; }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px 18px 20px; margin: 0;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 17px; padding: 12px 8px; border-radius: 10px; }
  .nav-toggle { display: grid; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  transition: transform 0.18s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 8px 24px -8px rgba(0,113,227,0.6); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink-faint); }
.btn-wa { background: #25d366; color: #06251a; font-weight: 600; }
.btn-wa:hover { background: #1ebe5b; box-shadow: 0 8px 24px -8px rgba(37,211,102,0.55); }
.btn svg { width: 16px; height: 16px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 500; color: var(--blue);
}
.link-arrow svg { width: 13px; height: 13px; transition: transform 0.2s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(56px, 9vw, 104px) clamp(48px, 7vw, 80px);
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 620px;
  background:
    radial-gradient(48% 60% at 22% 34%, rgba(10,132,255,0.20), transparent 70%),
    radial-gradient(42% 56% at 78% 24%, rgba(191,90,242,0.18), transparent 72%),
    radial-gradient(40% 50% at 52% 66%, rgba(48,209,88,0.12), transparent 72%);
  filter: blur(28px); pointer-events: none; z-index: -1;
}
@media (prefers-color-scheme: dark) {
  .hero::before { opacity: 0.85; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--ink-soft); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 10px; margin-bottom: 24px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px rgba(29,185,84,0.18);
}
h1.display {
  font-size: clamp(40px, 7.2vw, 78px);
  line-height: 1.03; letter-spacing: -0.035em;
  font-weight: 700; margin: 0 auto 22px; max-width: 15ch;
  text-wrap: balance;
}
.gradient-text {
  background: linear-gradient(100deg, #0a84ff 0%, #5e5ce6 48%, #bf5af2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lede {
  font-size: clamp(17px, 2vw, 21px); line-height: 1.5;
  color: var(--ink-soft); max-width: 34em; margin: 0 auto 36px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-bottom: 44px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
  color: var(--ink-faint); font-size: 13.5px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; opacity: 0.9; }

/* ---------- Section head ---------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; margin-bottom: 30px;
}
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -0.028em; line-height: 1.1; margin: 0 0 8px; font-weight: 700;
}
.section-head p { margin: 0; color: var(--ink-soft); font-size: 15.5px; max-width: 46ch; }
.section-head .link-arrow { padding-bottom: 6px; flex: none; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 940px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.post-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-elevated); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  color: inherit;
}
.post-card:hover {
  text-decoration: none; transform: translateY(-4px);
  box-shadow: var(--shadow); border-color: var(--line-strong);
}
.card-art {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--bg-soft); display: grid; place-items: center;
}
.card-art::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.5; mix-blend-mode: overlay;
}
.card-art svg {
  width: 46%; max-width: 132px; height: auto; position: relative; z-index: 1;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.16));
  transition: transform 0.5s var(--ease);
}
.post-card:hover .card-art svg { transform: scale(1.06) rotate(-2deg); }
.art-produ { background: linear-gradient(145deg, #e8f1ff, #cfe3ff 45%, #b9d4ff); }
.art-secu  { background: linear-gradient(145deg, #ecebff, #d9d7ff 45%, #c3c0ff); }
.art-filtre{ background: linear-gradient(145deg, #e6f9ec, #c9f0d8 45%, #aee8c4); }
.art-alter { background: linear-gradient(145deg, #fff2e2, #ffe1c2 45%, #ffd0a1); }
.art-mobile{ background: linear-gradient(145deg, #f8e9ff, #eed6ff 45%, #e2c1fb); }
.art-religion{ background: linear-gradient(145deg, #fcf5e0, #f6e6b8 45%, #ecd48e); }
@media (prefers-color-scheme: dark) {
  .art-produ { background: linear-gradient(145deg, #0b2a4a, #103a5e 55%, #0a1f36); }
  .art-secu  { background: linear-gradient(145deg, #1f1d4a, #2a2760 55%, #151336); }
  .art-filtre{ background: linear-gradient(145deg, #0b3020, #0f4229 55%, #06231a); }
  .art-alter { background: linear-gradient(145deg, #3a2410, #4d2f14 55%, #2b1a0b); }
  .art-mobile{ background: linear-gradient(145deg, #321a42, #43235a 55%, #24122f); }
  .art-religion{ background: linear-gradient(145deg, #3a2f12, #4d3e18 55%, #2b220c); }
}
:root[data-theme="light"] .art-produ { background: linear-gradient(145deg, #e8f1ff, #cfe3ff 45%, #b9d4ff); }
:root[data-theme="light"] .art-secu  { background: linear-gradient(145deg, #ecebff, #d9d7ff 45%, #c3c0ff); }
:root[data-theme="light"] .art-filtre{ background: linear-gradient(145deg, #e6f9ec, #c9f0d8 45%, #aee8c4); }
:root[data-theme="light"] .art-alter { background: linear-gradient(145deg, #fff2e2, #ffe1c2 45%, #ffd0a1); }
:root[data-theme="light"] .art-mobile{ background: linear-gradient(145deg, #f8e9ff, #eed6ff 45%, #e2c1fb); }
:root[data-theme="light"] .art-religion{ background: linear-gradient(145deg, #fcf5e0, #f6e6b8 45%, #ecd48e); }
:root[data-theme="dark"] .art-produ { background: linear-gradient(145deg, #0b2a4a, #103a5e 55%, #0a1f36); }
:root[data-theme="dark"] .art-secu  { background: linear-gradient(145deg, #1f1d4a, #2a2760 55%, #151336); }
:root[data-theme="dark"] .art-filtre{ background: linear-gradient(145deg, #0b3020, #0f4229 55%, #06231a); }
:root[data-theme="dark"] .art-alter { background: linear-gradient(145deg, #3a2410, #4d2f14 55%, #2b1a0b); }
:root[data-theme="dark"] .art-mobile{ background: linear-gradient(145deg, #321a42, #43235a 55%, #24122f); }
:root[data-theme="dark"] .art-religion{ background: linear-gradient(145deg, #3a2f12, #4d3e18 55%, #2b220c); }

.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-faint); margin-bottom: 10px;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.015em;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
  background: var(--bg-soft); color: var(--ink-soft); border: 1px solid var(--line);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill[data-cat="Productivité"] { color: #0071e3; }
.pill[data-cat="Sécurité"] { color: #5e5ce6; }
.pill[data-cat="Filtrage"] { color: #1a9e4b; }
.pill[data-cat="Alternatives"] { color: #d2680a; }
.pill[data-cat="Mobile"] { color: #a34fd4; }
.pill[data-cat="Religion"] { color: #a8801f; }
@media (prefers-color-scheme: dark) {
  .pill[data-cat="Productivité"] { color: #6cb8ff; }
  .pill[data-cat="Sécurité"] { color: #a5a3ff; }
  .pill[data-cat="Filtrage"] { color: #5fd98c; }
  .pill[data-cat="Alternatives"] { color: #ffb062; }
  .pill[data-cat="Mobile"] { color: #d79bf5; }
  .pill[data-cat="Religion"] { color: #e6c56e; }
}
.card-body h3 {
  font-size: 19px; line-height: 1.28; letter-spacing: -0.022em;
  margin: 0 0 8px; font-weight: 600; text-wrap: balance;
}
.card-body p {
  margin: 0 0 16px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--ink-faint);
}
.card-foot .go { color: var(--blue); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.card-foot .go svg { width: 12px; height: 12px; }

/* Carte vedette (plus grande) */
.featured {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-elevated);
  box-shadow: var(--shadow-sm); color: inherit;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  margin-bottom: 26px;
}
.featured:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.featured .card-art { aspect-ratio: auto; min-height: 320px; }
.featured .card-art svg { width: 34%; max-width: 190px; }
.featured-body { padding: clamp(26px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.featured-body h3 {
  font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.03em;
  margin: 12px 0 14px; font-weight: 700; text-wrap: balance;
}
.featured-body p { margin: 0 0 20px; color: var(--ink-soft); font-size: 16px; max-width: 44ch; }
@media (max-width: 820px) {
  .featured { grid-template-columns: 1fr; }
  .featured .card-art { min-height: 200px; aspect-ratio: 16/9; }
}

/* ---------- Barre de filtres ---------- */
.toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px; padding-bottom: 4px;
}
.search {
  position: relative; flex: 1 1 260px; max-width: 340px;
}
.search svg {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: var(--ink-faint); pointer-events: none;
}
.search input {
  width: 100%; padding: 10px 14px 10px 36px; font: inherit; font-size: 14.5px;
  color: var(--ink); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.search input::placeholder { color: var(--ink-faint); }
.search input:focus {
  outline: none; background: var(--bg-elevated);
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,0.15);
}
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 7px 14px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { color: var(--ink); background: var(--bg-soft); }
.chip[aria-pressed="true"] {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.result-count { font-size: 13px; color: var(--ink-faint); margin-left: auto; }
.empty-state {
  padding: 56px 20px; text-align: center; color: var(--ink-soft);
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  font-size: 15px;
}

/* ---------- Liste compacte ---------- */
.post-list { border-top: 1px solid var(--line); }
.post-row {
  display: grid; grid-template-columns: 108px 1fr auto; gap: 18px;
  align-items: baseline; padding: 18px 6px;
  border-bottom: 1px solid var(--line); color: inherit;
  transition: background 0.2s;
}
.post-row:hover { text-decoration: none; background: var(--bg-soft); }
.post-row time { font-size: 13px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.post-row h4 { margin: 0; font-size: 16.5px; font-weight: 500; letter-spacing: -0.015em; }
.post-row h4 span { color: var(--ink-faint); font-weight: 400; }
.post-row .tag { font-size: 12.5px; color: var(--ink-faint); }
@media (max-width: 620px) {
  .post-row { grid-template-columns: 1fr; gap: 4px; }
  .post-row .tag { display: none; }
}

/* ---------- Bandeau WhatsApp ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl); padding: clamp(30px, 5vw, 56px);
  background: linear-gradient(120deg, #0a2a1a 0%, #05301f 55%, #0a1f16 100%);
  color: #f2fff7; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 340px;
  background: radial-gradient(50% 60% at 50% 40%, rgba(37,211,102,0.28), transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(24px, 3.6vw, 40px); letter-spacing: -0.03em;
  line-height: 1.1; margin: 0 0 14px; font-weight: 700; text-wrap: balance;
}
.cta-band p { color: rgba(242,255,247,0.72); margin: 0 auto 28px; max-width: 46ch; font-size: 16px; }
.cta-band .btn-wa { background: #fff; color: #05301f; }
.cta-band .btn-wa:hover { background: #eafff2; box-shadow: 0 10px 30px -10px rgba(255,255,255,0.4); }
.cta-band .btn-ghost { color: #f2fff7; border-color: rgba(255,255,255,0.3); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

/* ---------- Article ---------- */
.article-hero { padding-block: 54px 30px; text-align: center; }
.article-hero .meta {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; font-size: 13px; color: var(--ink-faint); margin-bottom: 20px;
}
.article-hero h1 {
  font-size: clamp(30px, 5vw, 52px); line-height: 1.08;
  letter-spacing: -0.032em; font-weight: 700; margin: 0 auto 18px;
  max-width: 20ch; text-wrap: balance;
}
.article-hero .dek {
  font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft);
  max-width: 54ch; margin: 0 auto; text-wrap: pretty;
}
.article-art {
  margin: 34px auto 0; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 21 / 9; display: grid; place-items: center;
  border: 1px solid var(--line); max-width: 900px;
}
.article-art svg { width: 110px; height: 110px; }

.article-body {
  max-width: var(--max-narrow); margin-inline: auto;
  padding-block: 40px 20px; font-size: 18px; line-height: 1.68;
  color: var(--ink);
  letter-spacing: -0.008em;
}
.article-body > * + * { margin-top: 1.15em; }
.article-body h2 {
  font-size: clamp(22px, 3vw, 28px); line-height: 1.2;
  letter-spacing: -0.025em; margin-top: 1.9em; margin-bottom: 0.55em; font-weight: 700;
}
.article-body h3 {
  font-size: 19.5px; letter-spacing: -0.018em; margin-top: 1.6em; margin-bottom: 0.4em; font-weight: 600;
}
.article-body p { margin: 0; }
.article-body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { text-decoration-thickness: 2px; }
.article-body ul, .article-body ol { margin: 0; padding-left: 1.3em; }
.article-body li { margin: 0.45em 0; padding-left: 0.2em; }
.article-body li::marker { color: var(--ink-faint); }
.article-body strong { font-weight: 600; }
.article-body code {
  font-family: var(--font-mono); font-size: 0.86em;
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 2px 6px; border-radius: 6px;
}
.article-body blockquote {
  margin: 1.6em 0; padding: 20px 24px;
  background: var(--bg-soft); border-radius: var(--radius);
  border-left: 3px solid var(--blue); color: var(--ink);
  font-size: 16.5px;
}
.article-body blockquote p { margin: 0; }
.article-body blockquote p + p { margin-top: 0.8em; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.article-body img { border-radius: var(--radius); }
.article-body .lead { font-size: 20px; color: var(--ink-soft); line-height: 1.6; }

/* Illustration explicative insérée avant le premier titre */
.article-figure { margin: 2.3em 0 2.5em; }
.article-figure-zoom {
  position: relative; display: block; width: 100%; padding: 0;
  border: 0; background: none; border-radius: var(--radius-lg);
  cursor: zoom-in; color: inherit;
}
.article-figure-zoom img {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  background: var(--bg-soft);
}
.article-figure-zoom:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.zoom-hint {
  position: absolute; right: 12px; bottom: 12px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(10, 10, 14, 0.66); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.01em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(3px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
}
.article-figure-zoom:hover .zoom-hint,
.article-figure-zoom:focus-visible .zoom-hint { opacity: 1; transform: none; }
@media (hover: none) { .zoom-hint { opacity: 1; transform: none; } }
.article-figure figcaption {
  max-width: 60ch; margin: 11px auto 0; text-align: center;
  color: var(--ink-faint); font-size: 12.5px; line-height: 1.5;
}

/* Lightbox des illustrations */
.figure-dialog {
  width: auto; max-width: 96vw; max-height: 94vh;
  margin: auto; padding: 0; border: 0;
  background: transparent; color: #fff; overflow: visible;
}
.figure-dialog::backdrop {
  background: rgba(8, 8, 12, 0.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
body:has(.figure-dialog[open]) { overflow: hidden; }
.figure-dialog[open] { animation: dlgIn 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.figure-dialog img {
  width: min(94vw, 1600px); max-height: 82vh; height: auto;
  object-fit: contain; border-radius: 14px; background: #fff;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.7);
}
.figure-dialog-close {
  position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px;
  z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14); color: #fff;
  font-size: 17px; line-height: 1; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.figure-dialog-close:hover { background: rgba(255, 255, 255, 0.24); }
.figure-dialog-caption {
  max-width: 70ch; margin: 12px auto 0; text-align: center;
  color: rgba(255, 255, 255, 0.78); font-size: 13.5px; line-height: 1.5;
}

/* encart Pro-Tip */
.protip {
  margin: 2em 0; padding: 22px 24px;
  border-radius: var(--radius); border: 1px solid rgba(0,113,227,0.25);
  background: linear-gradient(180deg, rgba(0,113,227,0.06), rgba(94,92,230,0.05));
}
.protip .label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.protip p { margin: 0; font-size: 16.5px; }
.protip p + p { margin-top: 0.7em; }
@media (prefers-color-scheme: dark) {
  .protip { border-color: rgba(41,151,255,0.3); background: linear-gradient(180deg, rgba(41,151,255,0.1), rgba(94,92,230,0.08)); }
}

/* source / liens outils */
.source-box {
  max-width: var(--max-narrow); margin: 12px auto 0;
  padding: 22px 24px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.source-box .k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 4px; }
.source-box .v { font-size: 15.5px; font-weight: 500; }

/* partage + tags */
.article-footer {
  max-width: var(--max-narrow); margin: 34px auto 0; padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tags .tag {
  font-size: 12.5px; color: var(--ink-soft); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}
.share { display: flex; gap: 8px; align-items: center; }
.share .icon-btn {
  width: 34px; height: 34px; border: 1px solid var(--line); background: var(--bg-elevated);
}
.share .icon-btn:hover { border-color: var(--line-strong); }

/* navigation article précédent/suivant */
.post-nav {
  max-width: var(--max-narrow); margin: 46px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.post-nav a {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-elevated);
  color: inherit; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.post-nav a:hover { text-decoration: none; border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.post-nav .dir { font-size: 12px; color: var(--ink-faint); }
.post-nav .t { font-size: 16px; font-weight: 500; line-height: 1.3; }
.post-nav .next { text-align: right; align-items: flex-end; }
@media (max-width: 640px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; align-items: flex-start; }
}

/* barre de progression */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, #0a84ff, #bf5af2);
  z-index: 150; transition: width 0.1s linear;
}

/* ---------- Page à propos ---------- */
.page-hero { padding-block: 70px 30px; }
.page-hero h1 {
  font-size: clamp(34px, 6vw, 62px); line-height: 1.05;
  letter-spacing: -0.035em; margin: 0 0 18px; max-width: 18ch; font-weight: 700;
}
.prose { max-width: var(--max-narrow); font-size: 18px; line-height: 1.68; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 26px; letter-spacing: -0.025em; margin-top: 1.8em; }
.prose p { margin: 0; color: var(--ink); }
.prose .muted { color: var(--ink-soft); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
@media (max-width: 820px) { .value-grid { grid-template-columns: 1fr; } }
.value {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg-elevated); box-shadow: var(--shadow-sm);
}
.value .ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--bg-soft); margin-bottom: 16px; color: var(--blue);
}
.value .ico svg { width: 19px; height: 19px; }
.value h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.02em; }
.value p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line); margin-top: 20px;
  padding-block: 46px 34px; font-size: 13.5px; color: var(--ink-faint);
}
.footer-top {
  display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between;
  align-items: flex-start; padding-bottom: 30px;
}
.footer-brand { max-width: 300px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { margin: 0; line-height: 1.55; color: var(--ink-soft); }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-faint); margin: 0 0 12px; font-weight: 600;
}
.footer-col a { display: block; color: var(--ink-soft); padding: 4px 0; font-size: 13.5px; }
.footer-col a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px;
}
.footer-bottom a { color: var(--ink-faint); }

/* ---------- Animations ---------- */
/* Les tuiles entrent au défilement avec un vrai petit rebond : on anime
   `translate` et `scale` (pas `transform`) pour ne pas gêner le tilt 3D
   des cartes au survol. */
.reveal { opacity: 0; translate: 0 34px; scale: 0.95; }
.reveal.is-in { animation: tileBounce 1s cubic-bezier(0.22, 0.72, 0.28, 1) both; }
@keyframes tileBounce {
  0%   { opacity: 0; translate: 0 34px; scale: 0.95; }
  34%  { opacity: 1; translate: 0 -7px; scale: 1.012; }
  52%  { translate: 0 3px; scale: 0.998; }
  68%  { translate: 0 -2px; scale: 1.003; }
  84%  { translate: 0 1px; scale: 1; }
  100% { opacity: 1; translate: 0 0; scale: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; scale: none; animation: none !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Divers ---------- */
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack-lg > * + * { margin-top: 18px; }

/* ---------- Correctifs de détail ---------- */
.nav-links a.nav-cta {
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap; margin-left: 4px;
}
svg.ico-inline { width: 12px; height: 12px; flex: none; }
.nav-links > a > svg { width: 12px; height: 12px; }

/* ---------- Logo image ---------- */
.brand img { height: 24px; width: auto; }
.footer-brand .brand img { height: 30px; }
@media (max-width: 480px) { .brand img { height: 21px; } }

/* ---------- Teinte des visuels ---------- */
.art-produ { color: #0b64c7; }
.art-secu { color: #4a47c4; }
.art-filtre { color: #14854a; }
.art-alter { color: #b8560a; }
.art-mobile { color: #8c35c0; }
.art-religion { color: #8a6a1f; }
.card-art svg { stroke-width: 1.5; opacity: 0.92; }
@media (prefers-color-scheme: dark) {
  .art-produ { color: #7cc0ff; }
  .art-secu { color: #b3b1ff; }
  .art-filtre { color: #6fe39b; }
  .art-alter { color: #ffb06b; }
  .art-mobile { color: #dda6f7; }
  .art-religion { color: #e6c56e; }
}
:root[data-theme="light"] .art-produ { color: #0b64c7; }
:root[data-theme="light"] .art-secu { color: #4a47c4; }
:root[data-theme="light"] .art-filtre { color: #14854a; }
:root[data-theme="light"] .art-alter { color: #b8560a; }
:root[data-theme="light"] .art-mobile { color: #8c35c0; }
:root[data-theme="light"] .art-religion { color: #8a6a1f; }
:root[data-theme="dark"] .art-produ { color: #7cc0ff; }
:root[data-theme="dark"] .art-secu { color: #b3b1ff; }
:root[data-theme="dark"] .art-filtre { color: #6fe39b; }
:root[data-theme="dark"] .art-alter { color: #ffb06b; }
:root[data-theme="dark"] .art-mobile { color: #dda6f7; }
:root[data-theme="dark"] .art-religion { color: #e6c56e; }
.brand img { height: 26px; }

/* ==========================================================================
   V2 — couche dynamique
   ========================================================================== */

/* Transitions entre pages (Chrome/Edge, dégradation silencieuse ailleurs) */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.42s;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
::view-transition-old(root) { animation-name: vtOut; }
::view-transition-new(root) { animation-name: vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px) scale(0.994); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px) scale(1.003); } }

/* Grain global très discret */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
}

/* ---------- Hero cinétique ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(64px, 9vw, 118px) clamp(40px, 6vw, 68px);
  text-align: center;
}
.hero::before { display: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 26%), rgba(10, 132, 255, 0.10), transparent 68%);
  transition: background 0.2s linear;
}
.hero-bg {
  position: absolute; inset: -180px -10% auto -10%; height: 900px; z-index: -2;
  pointer-events: none; overflow: hidden;
}
.blob {
  position: absolute; width: 52vmax; height: 52vmax; border-radius: 50%;
  filter: blur(78px); opacity: 0.55; will-change: transform;
  animation: drift 26s ease-in-out infinite alternate;
}
.blob.b1 { background: radial-gradient(circle at 40% 40%, #8fd0ff 0%, #4a9dff 42%, transparent 68%); left: -16%; top: -14%; }
.blob.b2 { background: radial-gradient(circle at 50% 50%, #d3b8ff 0%, #a78bfa 45%, transparent 70%); right: -18%; top: -20%; animation-delay: -7s; animation-duration: 31s; }
.blob.b3 { background: radial-gradient(circle at 50% 50%, #b6f5cf 0%, #5fd98c 45%, transparent 72%); left: 26%; top: 18%; opacity: 0.38; animation-delay: -13s; animation-duration: 37s; }
@media (prefers-color-scheme: dark) {
  .blob { opacity: 0.32; mix-blend-mode: screen; filter: blur(90px); }
  .hero::after { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 26%), rgba(41, 151, 255, 0.16), transparent 66%); }
}
:root[data-theme="light"] .blob { opacity: 0.55; mix-blend-mode: normal; }
:root[data-theme="dark"] .blob { opacity: 0.32; mix-blend-mode: screen; }

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  33%  { transform: translate3d(4%, 5%, 0) scale(1.08); }
  66%  { transform: translate3d(-3%, 2%, 0) scale(0.96); }
  100% { transform: translate3d(2%, -4%, 0) scale(1.04); }
}

/* Titre ligne par ligne */
.display .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.display .line > span { display: block; transform: translateY(112%); animation: lineUp 1.15s cubic-bezier(0.22, 0.9, 0.28, 1) forwards; }
.display .line:nth-of-type(2) > span { animation-delay: 0.13s; }
@keyframes lineUp {
  0%   { transform: translateY(112%); }
  58%  { transform: translateY(-5.5%); }
  76%  { transform: translateY(2%); }
  89%  { transform: translateY(-0.8%); }
  100% { transform: translateY(0); }
}

/* Petit « ping » sur le badge */
.eyebrow .dot { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(29, 185, 84, 0.05); }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; border-block: 1px solid var(--line);
  background: var(--bg-soft-2); padding-block: 15px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 30px; width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint); white-space: nowrap;
}
.marquee-track .sep { color: var(--blue); font-size: 10px; letter-spacing: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cartes : tilt + halo ---------- */
.card-grid { perspective: 1200px; }
.post-card { position: relative; will-change: transform; }
.post-card:hover { transform: none; }
.post-card.is-tilting {
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  box-shadow: var(--shadow-lg);
}
.post-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.5), transparent 62%);
  opacity: 0; transition: opacity 0.35s var(--ease); mix-blend-mode: soft-light;
}
.post-card:hover::after { opacity: 1; }

/* Boutons : balayage lumineux */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: -120%; left: -60%; width: 40%; height: 340%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(18deg); opacity: 0; transition: none;
}
.btn:hover::after { animation: sweep 0.85s ease; }
@keyframes sweep {
  0% { left: -60%; opacity: 0.9; }
  100% { left: 130%; opacity: 0; }
}
.btn-primary:hover { box-shadow: 0 12px 32px -12px rgba(0, 113, 227, 0.7); }

/* Compteur */
.hero-meta b { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }

/* ---------- Sections : accents ---------- */
.section-soft {
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(10, 132, 255, 0.05), transparent 70%),
    radial-gradient(50% 50% at 88% 10%, rgba(191, 90, 242, 0.05), transparent 70%),
    var(--bg-soft);
}
.section-head h2 .accent { background: linear-gradient(100deg, #0a84ff, #bf5af2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Page services ---------- */
.page-intro { max-width: 720px; }
.family { margin-top: 64px; }
.family:first-of-type { margin-top: 0; }
.family-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.family-num {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--blue);
  text-transform: uppercase;
}
.family-head h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.028em; margin: 0; }
.family > p { color: var(--ink-soft); margin: 0 0 24px; max-width: 62ch; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  position: relative; display: flex; flex-direction: column;
  padding: 24px; border-radius: 22px; border: 1px solid var(--line);
  background: var(--bg-elevated); box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.svc .ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--blue); margin-bottom: 16px;
}
.svc .ico svg { width: 20px; height: 20px; }
.svc h3 { margin: 0 0 8px; font-size: 17.5px; letter-spacing: -0.02em; }
.svc p { margin: 0 0 14px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.svc ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 7px; }
.svc li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--ink-soft); }
.svc li::before {
  content: ""; position: absolute; left: 2px; top: 0.55em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--blue); opacity: 0.55;
}
.svc .svc-foot {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-faint); display: flex; justify-content: space-between; align-items: center;
}
.svc .svc-foot strong { color: var(--ink); font-weight: 600; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 24px; border-radius: 20px; background: var(--bg-elevated); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--blue);
}
.step h3 { margin: 10px 0 6px; font-size: 16.5px; letter-spacing: -0.02em; }
.step p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* Ce que je ne fais pas */
.dont { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; margin-top: 26px; }
@media (max-width: 640px) { .dont { grid-template-columns: 1fr; } }
.dont li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.dont li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--ink-faint); }
.dont li b { color: var(--ink); font-weight: 600; }

/* ---------- Page à propos ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 46px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 30px; } }
.fact-list { display: grid; gap: 12px; }
.fact {
  display: flex; gap: 14px; align-items: baseline; padding: 16px 18px;
  border-radius: 16px; border: 1px solid var(--line); background: var(--bg-elevated);
}
.fact .n { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; min-width: 2.4ch; font-variant-numeric: tabular-nums; }
.fact .l { font-size: 13.5px; color: var(--ink-soft); }
.quote-block {
  margin: 40px 0; padding: 34px 36px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.08), rgba(191, 90, 242, 0.07));
  border: 1px solid var(--line);
  font-size: clamp(19px, 2.4vw, 25px); line-height: 1.45; letter-spacing: -0.025em; font-weight: 500;
}
.quote-block span { color: var(--ink-faint); }

/* ---------- Contact / CTA ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  padding: 28px; border-radius: 24px; border: 1px solid var(--line);
  background: var(--bg-elevated); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 10px;
}
.contact-card h3 { margin: 0; font-size: 19px; letter-spacing: -0.02em; }
.contact-card p { margin: 0 0 8px; color: var(--ink-soft); font-size: 14.5px; }
.contact-card .btn { align-self: flex-start; margin-top: auto; }
.contact-card.wa { background: linear-gradient(150deg, #0c2f1e, #05261a); color: #eafff3; border-color: rgba(37, 211, 102, 0.35); }
.contact-card.wa p { color: rgba(234, 255, 243, 0.72); }

/* ---------- Footer logo géant ---------- */
.footer-word {
  margin-top: 26px; font-size: clamp(64px, 17vw, 220px); line-height: 0.82;
  font-weight: 700; letter-spacing: -0.05em; text-align: center;
  background: linear-gradient(180deg, var(--line-strong), transparent 82%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  user-select: none; pointer-events: none;
}

/* ---------- Réglages de mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  .blob, .marquee-track, .display .line > span, .eyebrow .dot { animation: none !important; }
  .display .line > span { transform: none; }
  .post-card.is-tilting { transform: none !important; }
}

/* ---------- Badge « Nouvelle actu » cliquable ---------- */
a.eyebrow { color: var(--ink-soft); text-decoration: none; transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; }
a.eyebrow:hover {
  background: var(--bg-elevated); border-color: var(--line-strong);
  transform: translateY(-1px); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none;
}
.eyebrow-arrow { width: 13px; height: 13px; margin-left: 2px; opacity: 0.65; transition: transform 0.25s var(--ease), opacity 0.25s; }
a.eyebrow:hover .eyebrow-arrow { transform: translate(2px, -2px); opacity: 1; }

/* ---------- Ajustements accueil-journal ---------- */
#journal .section-head { align-items: flex-end; }
#journal .result-count { font-size: 13px; color: var(--ink-faint); white-space: nowrap; padding-bottom: 6px; }
#journal .toolbar { margin-top: 4px; }
.section-head .result-count { font-size: 13px; color: var(--ink-faint); }

/* équilibrage du hero : le vert reste en périphérie */
.blob.b3 { opacity: 0.26; left: 8%; top: 42%; }
@media (prefers-color-scheme: dark) { .blob.b3 { opacity: 0.18; } }

/* espacement des paragraphes (les règles p{margin:0} écrasaient le rythme) */
.article-body > p + p,
.article-body > * + p,
.prose > p + p,
.prose > * + p { margin-top: 1.15em; }

/* ---------- Vrais logos dans les visuels ---------- */
.card-art { position: relative; }
.card-art::before {
  content: ""; position: absolute; inset: 12% 18%; z-index: 0;
  background: radial-gradient(closest-side, rgba(255,255,255,0.55), transparent 72%);
  filter: blur(6px);
}
.app-tile {
  position: relative; z-index: 1;
  width: 40%; max-width: 118px; aspect-ratio: 1;
  background: #fff; border-radius: 26%;
  display: grid; place-items: center;
  box-shadow: 0 22px 44px -18px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.8) inset, 0 0 0 1px rgba(0,0,0,0.05);
  transition: transform 0.5s cubic-bezier(0.22,0.61,0.36,1);
}
.app-tile img { width: 62%; height: 62%; object-fit: contain; }
.app-tile.full { background: transparent; box-shadow: none; border-radius: 26%; }
.app-tile.full img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 26%;
  box-shadow: 0 24px 48px -18px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.06);
}
.post-card:hover .app-tile { transform: scale(1.06) translateY(-2px); }
.featured .app-tile { width: 26%; max-width: 150px; }
.article-art .app-tile { width: 118px; max-width: 118px; }
@media (max-width: 620px) {
  .app-tile { width: 34%; }
  .featured .app-tile { width: 24%; }
}
@media (prefers-color-scheme: dark) {
  .app-tile { background: #f2f2f4; }
  .app-tile.full { background: transparent; }
}
:root[data-theme="light"] .app-tile { background: #fff; }
:root[data-theme="dark"] .app-tile { background: #f2f2f4; }
:root[data-theme="dark"] .app-tile.full { background: transparent; }

/* ---------- Formulaire de contact ---------- */
.contact-form {
  padding: clamp(22px, 3vw, 32px); border-radius: 24px;
  border: 1px solid var(--line); background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}
.field { display: block; margin-bottom: 14px; }
.field > span {
  display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink-soft); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--bg-elevated); border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.form-hint {
  margin: 14px 0 0; font-size: 13.5px; color: var(--ink-soft);
  padding: 10px 14px; border-radius: 10px; background: var(--bg-soft);
  border: 1px solid var(--line);
}
.contact-card h3 { display: flex; align-items: center; gap: 8px; }
.contact-card h3 svg { width: 18px; height: 18px; flex: none; }
.svc .svc-foot svg { width: 14px; height: 14px; }

/* ==========================================================================
   V3 — titres interactifs : les lettres bougent autour du curseur / du doigt
   ========================================================================== */
[data-title-fx] {
  position: relative;
  isolation: isolate;
  touch-action: pan-y;
  cursor: default;
}
[data-title-fx]::before {
  content: "";
  position: absolute;
  inset: -14% -8%;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  background: radial-gradient(
    280px circle at var(--fx-x, 50%) var(--fx-y, 50%),
    rgba(10, 132, 255, 0.14),
    rgba(191, 90, 242, 0.10) 38%,
    transparent 66%
  );
}
[data-title-fx].is-hover::before { opacity: 1; }

.fx-word { display: inline-block; white-space: nowrap; }
.fx-char {
  display: inline-block;
  transform: translate3d(0, 0, 0);
  transform-origin: 50% 78%;
  transition: text-shadow 0.35s ease;
  backface-visibility: hidden;
  will-change: transform;
}
[data-title-fx].is-hover .fx-char {
  text-shadow: 0 6px 22px rgba(191, 90, 242, 0.16), 0 0 14px rgba(10, 132, 255, 0.12);
}
/* le dégradé reste appliqué au bloc, on ne découpe pas dedans */
.fx-char.fx-block { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  .fx-char { transition: none !important; }
  [data-title-fx]::before { display: none; }
}

/* ---------- Bouton menu mobile bien visible ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.nav-toggle:hover { background: var(--bg-elevated); border-color: var(--ink-faint); }
.nav-toggle:active { transform: scale(0.96); }
.nav-toggle svg { width: 18px; height: 18px; flex: none; }
.nav-toggle .i-close { display: none; }
.nav-toggle .l-close { display: none; }
.nav-toggle[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-toggle[aria-expanded="true"] .l-open { display: none; }
.nav-toggle[aria-expanded="true"] .l-close { display: inline; }

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  /* on libère de la place : le RSS reste accessible depuis le menu */
  .nav-actions > a.icon-btn[href="/feed.xml"] { display: none; }
}
@media (max-width: 360px) {
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 0 10px; }
}

/* ---------- Ajustements mobile ---------- */
@media (max-width: 780px) {
  .nav-actions { margin-left: auto; }
  h1.display { max-width: 100%; font-size: clamp(34px, 9.4vw, 54px); }
  .article-hero h1, .page-hero h1 { max-width: 100%; }
  .hero-meta { gap: 8px 18px; }
  .lede { max-width: 100%; }
}

/* ---------- Bouton menu à gauche sur mobile ---------- */
@media (max-width: 780px) {
  .nav-inner { gap: 10px; }
  .nav-toggle { margin-right: 2px; }
  .brand { margin-right: auto; }
  .nav-actions { margin-left: 0; }
}

/* ---------- Plateformes ---------- */
.platforms { display: inline-flex; align-items: center; gap: 5px; }
.plat { display: inline-grid; place-items: center; width: 17px; height: 17px; }
.plat svg { width: 100%; height: 100%; display: block; }
.plat-mac { color: #8e8e93; }
.plat-win { color: #0078d4; }
.plat-android { color: #2fc46a; }
.plat-ios { color: #1d1d1f; }
.plat-chrome { color: #4285f4; }
.plat-web { color: #0071e3; }
:root[data-theme="dark"] .plat-ios { color: #f5f5f7; }
:root[data-theme="dark"] .plat-mac { color: #b8b8bd; }

.card-end { display: inline-flex; align-items: center; gap: 12px; }
.card-foot .platforms { opacity: 0.9; }
.card-foot .platforms .plat { width: 15px; height: 15px; }

.article-plats {
  max-width: var(--max-narrow); margin: 26px auto 0;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-soft);
}
.article-plats .k {
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 11.5px; font-weight: 600; color: var(--ink-faint);
}
.article-plats .plat { width: 19px; height: 19px; }
@media (max-width: 620px) {
  .card-foot { flex-wrap: wrap; gap: 8px; }
  .card-end { gap: 8px; }
}

/* lisibilité des pictos plateformes */
.card-foot .platforms .plat { width: 16px; height: 16px; }
.card-end .platforms { gap: 4px; }

/* icônes dans les libellés d'encart : taille fixe */
.protip .label svg { width: 15px; height: 15px; flex: none; }

.article-plats { gap: 14px; }
.article-plats .plat { width: 22px; height: 22px; }

/* ---------- La tuile « dossier du moment » réagit aussi au pointeur ---------- */
.featured { position: relative; }
.featured::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.55), transparent 62%);
  opacity: 0; transition: opacity 0.35s var(--ease); mix-blend-mode: soft-light;
}
.featured:hover::after { opacity: 1; }
.featured:hover {
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

/* ---------- Pied de la tuile à la une ---------- */
.featured-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-top: 4px;
}
.featured-foot .platforms { gap: 6px; }
.featured-foot .plat { width: 20px; height: 20px; }
@media (max-width: 620px) { .featured-foot .plat { width: 18px; height: 18px; } }

/* ---------- Correctif : l'attribut hidden doit gagner contre display:flex ---------- */
[hidden] { display: none !important; }

/* ---------- Visuel d'article généré ---------- */
.article-art { aspect-ratio: 16 / 9; padding: 0; display: block; background: var(--bg-soft); }
.article-art img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
@media (max-width: 620px) { .article-art { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   V4 — les détails
   ========================================================================== */

/* 1. Filet lumineux qui suit le curseur sur les cartes */
.post-card::before,
.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px; opacity: 0; transition: opacity 0.35s var(--ease); z-index: 2;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(10, 132, 255, 0.85), rgba(191, 90, 242, 0.55) 38%, transparent 68%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.post-card:hover::before,
.featured:hover::before { opacity: 1; }

/* 2. Reflet qui balaie le visuel au survol */
.art-shine {
  position: absolute; inset: -50% -20%; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 43%, rgba(255, 255, 255, 0.30) 50%, transparent 57%);
  transform: translate3d(-70%, 0, 0) rotate(2deg);
  opacity: 0;
  transition: transform 1.1s var(--ease), opacity 0.5s var(--ease);
}
.post-card:hover .art-shine,
.featured:hover .art-shine { transform: translate3d(70%, 0, 0) rotate(2deg); opacity: 0.6; }

/* 3. Lettrine éditoriale sur le chapô */
.article-body > p.lead::first-letter {
  float: left;
  font-size: 3.05em;
  line-height: 0.82;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0.06em 0.10em 0 0;
  background: linear-gradient(160deg, #0a84ff, #bf5af2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 4. Filets dégradés */
.article-body hr {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.article-footer { position: relative; }
.article-footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 30%, var(--line-strong) 70%, transparent);
}

/* 5. Soulignement animé du lien actif */
.nav-links a { position: relative; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0a84ff, #bf5af2);
  transform-origin: left;
  animation: navUnderline 0.5s var(--ease) both;
}
@keyframes navUnderline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 6. Indicateur de scroll dans le hero */
.scroll-cue {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 44px; margin-top: 30px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--ink-faint); text-decoration: none;
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.scroll-cue:hover { border-color: var(--ink-faint); color: var(--ink); transform: translateY(2px); }
.scroll-cue span {
  width: 3px; height: 8px; border-radius: 2px; background: currentColor;
  animation: cueDrop 1.9s var(--ease) infinite;
}
@keyframes cueDrop {
  0%, 100% { transform: translateY(-5px); opacity: 0.2; }
  45% { transform: translateY(4px); opacity: 1; }
}

/* 7. Retour en haut avec anneau de progression */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  color: var(--ink-soft); cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(10px) scale(0.9); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.2s, border-color 0.2s;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--ink); border-color: var(--line-strong); }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring { fill: none; stroke: url(#toTopGrad); stroke-width: 2.4; stroke-linecap: round; }
.to-top .arrow { position: relative; width: 16px; height: 16px; }

/* 8. Signature géante en pied de page */
.footer-word {
  display: block; text-align: center; line-height: 0.78;
  font-size: clamp(72px, 19vw, 260px);
  font-weight: 700; letter-spacing: -0.055em;
  margin: 18px 0 -0.08em;
  background: linear-gradient(180deg, var(--line-strong) 0%, transparent 88%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none; pointer-events: none;
}

/* 9. Barre de défilement discrète */
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--ink-faint) 35%, transparent);
    border-radius: 99px; border: 3px solid transparent; background-clip: content-box;
  }
  ::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--ink-faint) 60%, transparent); background-clip: content-box; }
}

/* 10. Apparition de l'image d'article */
.article-art img { animation: artIn 1.1s var(--ease) both; }
@keyframes artIn { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .art-shine, .to-top, .scroll-cue span, .article-art img { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   V5 — maisons ARIBAZ + fiches service
   ========================================================================== */
.family-head { align-items: center; gap: 14px; }
.family-head .brand-dot {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--brand, var(--blue));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand, #0a84ff) 18%, transparent);
}
.family-num { display: block; color: var(--brand, var(--blue)); line-height: 1.2; }
.family-head h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.03em; margin: 0; }
.family > p strong { color: var(--ink); font-weight: 600; }
.family { scroll-margin-top: calc(var(--nav-h) + 20px); }

.svc-more {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: none; padding: 0; cursor: pointer;
  color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 600;
  transition: color 0.2s;
}
.svc-more svg { width: 12px; height: 12px; transition: transform 0.2s var(--ease); }
.svc-more:hover { color: var(--blue); }
.svc-more:hover svg { transform: translateX(3px); }

/* Fiche service */
.svc-dialog {
  width: min(560px, calc(100% - 28px));
  max-height: calc(100vh - 60px);
  border: 0; padding: 0; border-radius: 26px;
  background: var(--bg-elevated); color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.svc-dialog::backdrop { background: rgba(10, 10, 14, 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.svc-dialog[open] { animation: dlgIn 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.svc-dialog-inner { position: relative; padding: clamp(24px, 4vw, 34px); }
.dlg-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--bg-soft);
  color: var(--ink-soft); font-size: 13px; line-height: 1; cursor: pointer;
}
.dlg-close:hover { color: var(--ink); border-color: var(--line-strong); }
.dlg-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.svc-dialog h3 { margin: 8px 0 12px; font-size: clamp(20px, 2.6vw, 25px); letter-spacing: -0.025em; }
.dlg-detail { margin: 0 0 20px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.svc-dialog h4 {
  margin: 0 0 10px; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 700;
}
.dlg-list { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 9px; }
.dlg-list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-soft); }
.dlg-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--brand, var(--blue)); font-weight: 700;
}
.dlg-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px;
  padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-faint);
}
.dlg-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dlg-meta svg { width: 15px; height: 15px; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dlg-link {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px;
  font-size: 14px; font-weight: 600;
}
.dlg-link svg { width: 12px; height: 12px; }

/* ==========================================================================
   V5 — page Invitation
   ========================================================================== */
.inv-hero { padding-block: clamp(48px, 7vw, 92px) clamp(30px, 5vw, 60px); }
.inv-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center;
}
@media (max-width: 900px) { .inv-hero-grid { grid-template-columns: 1fr; gap: 34px; } }
.inv-hero h1 {
  font-size: clamp(36px, 5.6vw, 62px); line-height: 1.04;
  letter-spacing: -0.035em; margin: 0 0 20px; max-width: 14ch; font-weight: 700;
}
.inv-hero .lede { margin: 0 0 28px; max-width: 46ch; }
.inv-mock {
  position: relative; border-radius: 26px; overflow: hidden;
  aspect-ratio: 4 / 5; max-width: 360px; margin-inline: auto;
  background: linear-gradient(165deg, #fbf7ee, #f3e9d7 55%, #e9d9bd);
  border: 1px solid rgba(160, 130, 80, 0.25);
  box-shadow: 0 30px 70px -30px rgba(90, 60, 20, 0.45), 0 2px 0 rgba(255,255,255,.7) inset;
  display: grid; place-items: center; text-align: center; padding: 30px;
  color: #3b2f1e;
  font-family: "Didot", "Bodoni 72", "Playfair Display", Georgia, serif;
}
.inv-mock::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(150, 120, 70, 0.35); border-radius: 16px;
  pointer-events: none;
}
.inv-mock .m-kicker { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.7; }
.inv-mock .m-names { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin: 14px 0 6px; }
.inv-mock .m-names em { font-style: italic; opacity: 0.7; }
.inv-mock .m-rule { width: 46px; height: 1px; background: rgba(120, 90, 50, 0.5); margin: 16px auto; }
.inv-mock .m-date { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.inv-mock .m-place { font-size: 12px; opacity: 0.6; margin-top: 6px; }

.inv-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .inv-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .inv-features { grid-template-columns: 1fr; } }
.inv-feature {
  padding: 24px; border-radius: 20px; border: 1px solid var(--line);
  background: var(--bg-elevated); box-shadow: var(--shadow-sm);
}
.inv-feature .ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(191, 90, 242, 0.14), rgba(10, 132, 255, 0.12));
  color: #9b4fd0; margin-bottom: 14px;
}
.inv-feature .ico svg { width: 19px; height: 19px; }
.inv-feature h3 { margin: 0 0 6px; font-size: 16.5px; letter-spacing: -0.02em; }
.inv-feature p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

.inv-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .inv-price-grid { grid-template-columns: 1fr; } }
.inv-price {
  display: flex; flex-direction: column; padding: 28px; border-radius: 24px;
  border: 1px solid var(--line); background: var(--bg-elevated); box-shadow: var(--shadow-sm);
}
.inv-price.is-main { border-color: rgba(155, 79, 208, 0.45); box-shadow: 0 20px 50px -30px rgba(155, 79, 208, 0.6); }
.inv-price .tag-main {
  align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #9b4fd0; background: rgba(191, 90, 242, 0.12);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.inv-price h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.02em; }
.inv-price .p-desc { margin: 0 0 18px; font-size: 13.5px; color: var(--ink-soft); }
.inv-price ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.inv-price li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--ink-soft); }
.inv-price li::before { content: "✓"; position: absolute; left: 0; color: #9b4fd0; font-weight: 700; }
.inv-price .p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.inv-price .p-price { font-size: 14px; font-weight: 600; }

.inv-faq { display: grid; gap: 10px; max-width: 760px; }
.inv-faq details {
  border: 1px solid var(--line); border-radius: 16px; background: var(--bg-elevated);
  padding: 16px 20px;
}
.inv-faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.inv-faq summary::-webkit-details-marker { display: none; }
.inv-faq summary::after { content: "+"; color: var(--ink-faint); font-weight: 400; transition: transform 0.2s; }
.inv-faq details[open] summary::after { transform: rotate(45deg); }
.inv-faq p { margin: 12px 0 0; color: var(--ink-soft); font-size: 14.5px; }

/* ==========================================================================
   V5 — invitation de démonstration
   ========================================================================== */
.invite {
  --ivory: #fbf7ef; --ink-ivory: #33291c; --gold: #b08d57;
  background:
    radial-gradient(70% 50% at 50% 0%, #fff9ef, transparent 70%),
    var(--ivory);
  color: var(--ink-ivory);
  min-height: 100vh;
  font-family: "Didot", "Bodoni 72", "Playfair Display", Georgia, "Times New Roman", serif;
}
:root[data-theme="dark"] .invite { background: #12100c; color: #f3ead9; }
.invite a { color: inherit; }
.invite-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; font-family: var(--font-sans); font-size: 12.5px;
}
.invite-top a { text-decoration: none; opacity: 0.7; }
.invite-top a:hover { opacity: 1; }
.invite-top .tag { letter-spacing: 0.16em; text-transform: uppercase; font-size: 10px; opacity: 0.5; }

.invite-hero { text-align: center; padding: clamp(40px, 8vw, 96px) 22px clamp(30px, 5vw, 60px); }
.invite-kicker { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; }
.invite-names { font-size: clamp(42px, 9vw, 96px); line-height: 1; margin: 0; font-weight: 400; letter-spacing: -0.02em; }
.invite-names em { font-style: italic; color: var(--gold); }
.invite-sub { margin: 18px 0 0; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.65; }
.invite-countdown {
  display: flex; justify-content: center; gap: clamp(14px, 4vw, 34px);
  margin: 40px 0 8px; font-family: var(--font-sans);
}
.invite-countdown div { text-align: center; }
.invite-countdown b { display: block; font-size: clamp(22px, 4vw, 30px); font-weight: 500; font-variant-numeric: tabular-nums; }
.invite-countdown span { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.5; }
.invite-hero .btn { margin-top: 34px; font-family: var(--font-sans); }

.invite-section { max-width: 720px; margin: 0 auto; padding: clamp(34px, 6vw, 64px) 22px; text-align: center; }
.invite-section h2 {
  font-size: clamp(24px, 3.4vw, 34px); font-weight: 400; margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.invite-section h2::after { content: ""; display: block; width: 44px; height: 1px; background: var(--gold); opacity: 0.6; margin: 16px auto 0; }
.invite-section p { font-family: var(--font-sans); font-size: 15.5px; line-height: 1.7; color: color-mix(in srgb, var(--ink-ivory) 75%, transparent); margin: 0 auto; max-width: 56ch; }
:root[data-theme="dark"] .invite-section p { color: rgba(243, 234, 217, 0.75); }

.invite-program { display: grid; gap: 26px; margin-top: 34px; text-align: left; }
.invite-program .step-row { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: baseline; }
.invite-program .h { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.14em; color: var(--gold); }
.invite-program h3 { margin: 0 0 4px; font-size: 18px; font-weight: 500; font-family: var(--font-sans); }
.invite-program p { margin: 0; font-size: 14px; text-align: left; }

.invite-venue { margin-top: 26px; display: grid; gap: 10px; justify-items: center; }
.invite-venue .addr { font-family: var(--font-sans); font-size: 14px; opacity: 0.75; }
.invite-venue .maps { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

.invite-rsvp { max-width: 560px; margin: 0 auto; text-align: left; }
.invite-rsvp .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .invite-rsvp .row { grid-template-columns: 1fr; } }
.invite-rsvp label { display: block; margin-bottom: 12px; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.06em; }
.invite-rsvp input, .invite-rsvp select, .invite-rsvp textarea {
  width: 100%; margin-top: 6px; padding: 11px 14px; font: inherit;
  font-family: var(--font-sans); font-size: 14.5px;
  background: rgba(255,255,255,0.7); color: inherit;
  border: 1px solid rgba(150, 120, 70, 0.28); border-radius: 10px;
}
:root[data-theme="dark"] .invite-rsvp input,
:root[data-theme="dark"] .invite-rsvp select,
:root[data-theme="dark"] .invite-rsvp textarea { background: rgba(255,255,255,0.06); }
.invite-rsvp input:focus, .invite-rsvp select:focus, .invite-rsvp textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.18);
}
.invite-rsvp .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.invite-foot { text-align: center; padding: 40px 22px 60px; font-family: var(--font-sans); font-size: 12px; opacity: 0.6; }
.invite-foot a { color: var(--gold); }

/* ---------- Tuiles services façon accueil ---------- */
.svc {
  padding: 0; overflow: hidden; border-radius: 24px;
  display: flex; flex-direction: column; position: relative;
}
.svc-art {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center;
  background:
    radial-gradient(80% 90% at 20% 0%, rgba(255,255,255,0.85), transparent 60%),
    linear-gradient(150deg,
      color-mix(in srgb, var(--brand, #0a84ff) 16%, white),
      color-mix(in srgb, var(--brand, #0a84ff) 34%, white));
}
:root[data-theme="dark"] .svc-art {
  background:
    radial-gradient(80% 90% at 20% 0%, color-mix(in srgb, var(--brand, #0a84ff) 26%, transparent), transparent 62%),
    linear-gradient(150deg, #15161c, #0d0e12);
}
.svc-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.35) 1px, transparent 1px);
  background-size: 20px 20px; opacity: 0.45; mix-blend-mode: overlay;
}
.svc-tile {
  position: relative; z-index: 1;
  width: 74px; height: 74px; border-radius: 22px;
  display: grid; place-items: center;
  background: #fff; color: var(--brand, var(--blue));
  box-shadow: 0 18px 34px -16px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,0,0,0.04);
  transition: transform 0.5s var(--ease);
}
.svc-tile svg { width: 32px; height: 32px; }
.svc:hover .svc-tile { transform: translateY(-3px) scale(1.04) rotate(-2deg); }
.svc-mini {
  position: absolute; width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.9); color: var(--brand, var(--blue));
  box-shadow: 0 8px 18px -8px rgba(0,0,0,0.35);
  pointer-events: none;
}
.svc-mini svg { width: 15px; height: 15px; }
.svc-mini.mini-a { top: 16%; right: 14%; transform: rotate(8deg); }
.svc-mini.mini-b { bottom: 14%; left: 12%; transform: rotate(-7deg); }
.svc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-brand {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand, var(--blue)); margin-bottom: 8px;
}
.svc-body h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.28; letter-spacing: -0.022em; }
.svc-body p { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.svc .svc-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.svc::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px; opacity: 0; transition: opacity 0.35s var(--ease); z-index: 2;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--brand, #0a84ff) 85%, white), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.svc:hover::before { opacity: 1; }

/* ---------- Retouches invitation ---------- */
.invite .btn-primary { background: #b08d57; color: #fff; }
.invite .btn-primary:hover { background: #9c7a45; box-shadow: 0 10px 26px -10px rgba(176, 141, 87, 0.7); }
.invite .btn-ghost { border-color: rgba(150, 120, 70, 0.35); color: inherit; }
.invite .btn-ghost:hover { border-color: #b08d57; background: rgba(176, 141, 87, 0.08); }

.inv-mock { padding: 38px 26px; }
.inv-mock .m-names { font-size: clamp(28px, 3.6vw, 38px); margin: 12px 0 4px; }
.inv-mock .m-rule { margin: 12px auto; }
.inv-mock .m-place { margin-top: 4px; font-size: 11.5px; }
.inv-mock .m-date { font-size: 12px; }
.inv-mock { aspect-ratio: 4 / 5.2; padding: 46px 26px; }
.inv-mock .m-kicker { margin-bottom: 8px; }

/* ==========================================================================
   V6 — versions EN / HE
   ========================================================================== */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
}
.lang-switch a, .lang-switch span {
  padding: 4px 8px; border-radius: 7px; color: var(--ink-faint); text-decoration: none;
}
.lang-switch a:hover { color: var(--ink); background: var(--bg-soft); }
.lang-switch span[aria-current] { background: var(--ink); color: var(--bg); }
.article-hero .meta { row-gap: 10px; }

.lang-page { min-height: 100vh; background: var(--bg); }
.lang-top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}
.lang-top .brand img { height: 24px; }
.lang-article { max-width: 760px; margin: 0 auto; padding: 36px 22px 80px; }
.lang-article > h1 {
  font-size: clamp(28px, 4.6vw, 44px); line-height: 1.12;
  letter-spacing: -0.03em; margin: 16px 0 14px; font-weight: 700;
}
.lang-article .dek { margin: 0 0 28px; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.lang-hero { width: 100%; height: auto; border-radius: 20px; margin-bottom: 32px; }
.lang-article .article-body { padding-block: 0; font-size: 17px; }
.lang-article .article-body > p.lead { font-size: 18px; color: var(--ink); }
.lang-article .article-body > p.lead::first-letter {
  float: none; font-size: 1em; margin: 0; padding: 0;
  background: none; -webkit-text-fill-color: currentColor; color: inherit;
  letter-spacing: inherit; line-height: inherit; font-weight: inherit;
}
.lang-foot {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line);
}
[dir="rtl"] .lang-article { text-align: right; }
[dir="rtl"] .lang-article .article-body ul,
[dir="rtl"] .lang-article .article-body ol { padding-left: 0; padding-right: 1.3em; }
[dir="rtl"] .lang-article .article-body blockquote,
[dir="rtl"] .lang-article .protip { border-left: 0; border-right: 3px solid var(--blue); }
[dir="rtl"] .lang-article .article-body code { direction: ltr; unicode-bidi: embed; }
[dir="rtl"] .lang-article .article-body h1 { font-family: var(--font-sans); }
[dir="rtl"] .lang-foot, [dir="rtl"] .source-box { flex-direction: row-reverse; }

/* Grille 2×2 (4 cartes) — fiche Aribaz Filter */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Tuile de service = lien vers sa page (zone cliquable étirée) ---------- */
.svc .svc-more.svc-open { position: static; z-index: auto; }
.svc .svc-more.svc-open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc:has(.svc-open:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.svc .svc-open:focus-visible { outline: none; }

/* ---------- Services : carte entièrement cliquable + reflet comme l'accueil ---------- */
.svc { cursor: pointer; }
.svc .svc-more[data-service]::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc a.svc-more { position: relative; z-index: 3; }
.svc .svc-more[data-service]:focus-visible { outline: none; }
.svc:has(.svc-more[data-service]:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.svc-art { overflow: hidden; }
.svc-art::before {
  content: ""; position: absolute; inset: -50% -20%; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 43%, rgba(255, 255, 255, 0.30) 50%, transparent 57%);
  transform: translate3d(-70%, 0, 0) rotate(2deg); opacity: 0;
  transition: transform 1.1s var(--ease), opacity 0.5s var(--ease);
}
.svc:hover .svc-art::before { transform: translate3d(70%, 0, 0) rotate(2deg); opacity: 0.6; }

/* ---------- Services : visuels plus riches (au niveau de l'accueil) ---------- */
.svc-art {
  background:
    radial-gradient(70% 80% at 18% 0%, rgba(255,255,255,0.9), transparent 58%),
    radial-gradient(60% 70% at 90% 100%, color-mix(in srgb, var(--brand, #0a84ff) 40%, white), transparent 70%),
    linear-gradient(150deg,
      color-mix(in srgb, var(--brand, #0a84ff) 20%, white),
      color-mix(in srgb, var(--brand, #0a84ff) 46%, white));
}
:root[data-theme="dark"] .svc-art {
  background:
    radial-gradient(70% 80% at 18% 0%, color-mix(in srgb, var(--brand, #0a84ff) 34%, transparent), transparent 62%),
    radial-gradient(60% 70% at 90% 100%, color-mix(in srgb, var(--brand, #0a84ff) 22%, transparent), transparent 70%),
    linear-gradient(150deg, #15161c, #0d0e12);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .svc-art {
    background:
      radial-gradient(70% 80% at 18% 0%, color-mix(in srgb, var(--brand, #0a84ff) 34%, transparent), transparent 62%),
      radial-gradient(60% 70% at 90% 100%, color-mix(in srgb, var(--brand, #0a84ff) 22%, transparent), transparent 70%),
      linear-gradient(150deg, #15161c, #0d0e12);
  }
}
.svc-mini { display: none; }
.svc-tile {
  width: 104px; height: 104px; border-radius: 28px;
  background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--brand, #0a84ff) 8%, white));
  box-shadow: 0 26px 46px -18px color-mix(in srgb, var(--brand, #0a84ff) 55%, rgba(0,0,0,0.5)), 0 0 0 1px rgba(0,0,0,0.05);
}
.svc-tile svg { width: 48px; height: 48px; stroke-width: 1.5; }
.svc-tile::before, .svc-tile::after {
  content: ""; position: absolute; inset: -22px; border-radius: 44px; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--brand, #0a84ff) 28%, transparent);
}
.svc-tile::after { inset: -46px; border-radius: 62px; border-color: color-mix(in srgb, var(--brand, #0a84ff) 15%, transparent); }
.svc:hover .svc-tile { transform: translateY(-4px) scale(1.06) rotate(-2deg); }

/* ---------- Produit phare (accueil) ---------- */
.pf {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 28px; align-items: center;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line); border-radius: 28px;
  background: var(--bg-elevated); box-shadow: var(--shadow-sm);
}
.pf::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, #ff9f0a 16%, transparent), transparent 70%);
}
.pf-body, .pf-art { position: relative; }
.pf h2 { margin: 8px 0 4px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.pf-tag { margin: 0 0 10px; font-weight: 600; color: var(--ink); }
.pf p { color: var(--ink-soft); max-width: 54ch; }
.pf .pf-tag { color: var(--ink); }
.pf-badges { display: flex; gap: 8px; align-items: center; }
.pf-new {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green);
}
.pf-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 22px; }
.pf-chips li {
  font-size: 12.5px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-soft); background: var(--bg-soft);
}
.pf-art {
  justify-self: center; width: min(220px, 40vw); aspect-ratio: 1; border-radius: 34%;
  display: grid; place-items: center; color: #c26a00;
  background: linear-gradient(150deg, color-mix(in srgb, #ff9f0a 26%, var(--bg-elevated)), color-mix(in srgb, #ff9f0a 52%, var(--bg-elevated)));
  box-shadow: 0 30px 60px -24px rgba(194, 106, 0, 0.5);
}
.pf-art svg { width: 46%; height: 46%; stroke-width: 1.4; }
@media (max-width: 760px) { .pf { grid-template-columns: 1fr; } .pf-art { display: none; } }

/* ---------- Bouton WhatsApp fixe (mobile) ---------- */
.wa-fab {
  position: fixed; inset-inline-start: 14px; bottom: 14px; z-index: 60; display: none;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45);
}
@media (max-width: 820px) {
  .wa-fab { display: inline-flex; }
  .footer { padding-bottom: 76px; }
}

/* ---------- Langues : sélecteur dans le menu + sens de lecture (hébreu) ---------- */
.nav-actions .lang-switch { margin-inline-end: 4px; }
[dir="rtl"] svg.arr { transform: scaleX(-1); }
[dir="rtl"] .svc-more:hover svg.arr,
[dir="rtl"] .link-arrow:hover svg.arr,
[dir="rtl"] .btn:hover svg.arr { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .quote-block { border-left: 0; border-right: 3px solid var(--blue); }
[dir="rtl"] .eyebrow, [dir="rtl"] .hero-meta span { direction: rtl; }
/* Carte d'invitation d'exemple : les prénoms hébreux tiennent sur une ligne. */
[dir="rtl"] .inv-mock .m-names { line-height: 1.2; }
[dir="rtl"] .inv-mock .m-names br { display: none; }
[dir="rtl"] .inv-mock .m-names em { margin-inline: 0.3em; }


/* Page Contact : deux colonnes sur grand écran, une seule sur mobile (le style direct l'empêchait). */
.contact-grid-wide { grid-template-columns: 1fr 1.15fr; }
@media (max-width: 760px) { .contact-grid-wide { grid-template-columns: 1fr; } }

/* Accueil traduit : quatre « maisons » en 2 × 2 (une colonne sur mobile). */
.value-grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .value-grid-4 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Animations & logos (dans le style existant)
   ========================================================================== */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ringPulse { 0% { transform: scale(0.92); opacity: 0.9; } 100% { transform: scale(1.28); opacity: 0; } }
@keyframes logoScroll { to { transform: translateX(-50%); } }

/* Pastilles flottantes dans le hero (grands écrans) */
.hero-float {
  position: absolute; z-index: 1; display: none; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-soft);
  background: color-mix(in srgb, var(--bg-elevated) 78%, transparent);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: floaty 7s ease-in-out infinite;
}
.hero-float svg { width: 16px; height: 16px; color: var(--blue); }
.hero-float.f1 { inset-inline-start: 4%; top: 34%; }
.hero-float.f2 { inset-inline-end: 4%; top: 26%; animation-delay: -2.4s; }
.hero-float.f3 { inset-inline-end: 7%; top: 62%; animation-delay: -4.8s; }
@media (min-width: 1180px) { .hero-float { display: inline-flex; } }

/* Bandeau de logos : les outils testés ici */
.logos-label {
  text-align: center; margin: 0 0 16px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint);
}
.logo-marquee {
  direction: ltr; position: relative; overflow: hidden; padding-block: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track { display: flex; gap: 18px; width: max-content; animation: logoScroll 48s linear infinite; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.logo-tile {
  flex: none; width: 64px; height: 64px; border-radius: 18px; background: #fff;
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  filter: grayscale(1) opacity(0.72);
  transition: filter 0.3s, transform 0.3s var(--ease);
}
.logo-tile img { width: 62%; height: 62%; object-fit: contain; }
.logo-tile.full img { width: 100%; height: 100%; object-fit: cover; }
.logo-tile:hover, .logo-tile:focus-visible { filter: none; transform: translateY(-4px) scale(1.07); }

/* Produit phare : le visuel flotte, des ondes pulsent derrière */
.pf-art { animation: floaty 8s ease-in-out infinite; }
.pf-art::before, .pf-art::after {
  content: ""; position: absolute; inset: -12%; border-radius: inherit; pointer-events: none;
  border: 1px solid color-mix(in srgb, #ff9f0a 38%, transparent);
  animation: ringPulse 3.6s ease-out infinite;
}
.pf-art::after { animation-delay: 1.8s; }

/* Matériel du quotidien (page À propos) */
.gear-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.spec-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding-top: 8px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft);
}
.spec-list b { color: var(--ink); font-weight: 600; text-align: end; }

/* Portrait cartoon sur la page À propos */
.about-hero { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 5vw, 64px); align-items: center; }
.about-photo { position: relative; width: min(300px, 34vw); aspect-ratio: 1; flex: none; animation: floaty 9s ease-in-out infinite; }
.about-photo img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 30px 60px -26px rgba(94, 28, 130, 0.55); }
.about-photo::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%; z-index: 0;
  background: conic-gradient(from 0deg, #f0551a, #c02f72, #8a2fc0, #0a84ff, #f0551a);
  animation: spinSlow 14s linear infinite; opacity: 0.9;
}
.about-pill {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  background: color-mix(in srgb, var(--bg-elevated) 86%, transparent); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap;
}
.about-pill svg { width: 14px; height: 14px; color: var(--blue); }
.about-pill.p1 { inset-inline-start: -14px; top: 12%; }
.about-pill.p2 { inset-inline-end: -10px; bottom: 8%; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-photo { width: 200px; order: -1; }
}
@media (prefers-reduced-motion: reduce) { .about-photo, .about-photo::before { animation: none !important; } }

/* Étiquettes de technologies sous chaque maison de services */
.family .pf-chips { margin: -6px 0 22px; }

@media (prefers-reduced-motion: reduce) {
  .hero-float, .logo-track, .pf-art, .pf-art::before, .pf-art::after { animation: none !important; }
}

/* ---------- Menu de langue : un seul bouton globe ---------- */
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; cursor: pointer; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu[open] > summary { background: var(--bg-soft); color: var(--ink); }
.lang-pop {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 90; min-width: 150px;
  display: grid; gap: 2px; padding: 6px;
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.lang-pop a, .lang-pop .is-current {
  display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--ink); text-decoration: none;
}
.lang-pop a:hover, .lang-pop a:focus-visible { background: var(--bg-soft); }
.lang-pop .is-current { font-weight: 700; background: var(--bg-soft); }
