/* ============================================================
   Farsem 2026 — Thème commun (Bootstrap 5 + surcouche maison)
   Charte reprise du thème "modern" du CRM : indigo -> violet
   ============================================================ */

:root {
  --fs-primary: #667eea;
  --fs-primary-2: #764ba2;
  --fs-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --fs-gradient-soft: linear-gradient(135deg, rgba(102,126,234,.10) 0%, rgba(118,75,162,.10) 100%);
  --fs-dark: #2d3748;
  --fs-body: #4a5568;
  --fs-muted: #718096;
  --fs-line: #e2e8f0;
  --fs-bg: #f7f8fc;
  --fs-radius: 16px;
  --fs-shadow: 0 18px 50px rgba(45, 55, 72, .12);
  --fs-shadow-sm: 0 6px 20px rgba(45, 55, 72, .08);
}

* { scroll-behavior: smooth; }

html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--fs-body);
  background: var(--fs-bg);
  line-height: 1.65;
}

h1, h2, h3, h4, h5 { color: var(--fs-dark); font-weight: 700; letter-spacing: -.02em; }

a { color: var(--fs-primary); text-decoration: none; }
a:hover { color: var(--fs-primary-2); }

.text-gradient {
  background: var(--fs-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Boutons ---------- */
.btn-fs {
  background: var(--fs-gradient);
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: .8rem 2rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(102,126,234,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-fs:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(102,126,234,.45); }

.btn-fs-outline {
  background: #fff;
  color: var(--fs-primary);
  border: 2px solid var(--fs-line);
  border-radius: 50px;
  padding: .75rem 1.9rem;
  font-weight: 600;
  transition: all .2s ease;
}
.btn-fs-outline:hover { border-color: var(--fs-primary); color: var(--fs-primary-2); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.navbar-fs {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 rgba(45,55,72,.06);
  transition: box-shadow .3s ease;
}
.navbar-fs.scrolled { box-shadow: var(--fs-shadow-sm); }
.navbar-fs .navbar-brand img { height: 50px; }
@media (max-width: 575px) { .navbar-fs .navbar-brand img { height: 42px; } }
.navbar-fs .nav-link { color: var(--fs-dark); font-weight: 500; margin: 0 .35rem; }
.navbar-fs .nav-link:hover, .navbar-fs .nav-link.active { color: var(--fs-primary); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 9rem 0 6rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(247,248,252,.92) 0%, rgba(240,242,251,.86) 100%),
    url('../img/hero-network.jpg') center center / cover no-repeat,
    var(--fs-gradient-soft);
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.12; }
.hero .lead { font-size: 1.2rem; color: var(--fs-body); }
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .4; z-index: 0;
}
.hero-blob.b1 { width: 420px; height: 420px; background: #667eea; top: -120px; right: -80px; }
.hero-blob.b2 { width: 360px; height: 360px; background: #764ba2; bottom: -140px; left: -100px; }
.hero > .container { position: relative; z-index: 1; }
.hero-card-img {
  border-radius: 20px; box-shadow: var(--fs-shadow);
  border: 1px solid rgba(255,255,255,.6);
}

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
  font-size: .8rem; color: var(--fs-primary);
}
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .5rem; }

/* ---------- Cartes feature ---------- */
.feature-card {
  background: #fff; border: 1px solid var(--fs-line);
  border-radius: var(--fs-radius); padding: 2rem;
  height: 100%; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card .feature-btn {
  margin-top: auto; align-self: flex-start;
  padding: .55rem 1.2rem; font-size: .9rem;
}
.feature-card .feature-btn i { transition: transform .2s ease; margin-inline-start: .5rem; }
.feature-card:hover .feature-btn i { transform: translateX(4px); }
[dir="rtl"] .feature-card:hover .feature-btn i { transform: translateX(-4px); }
/* sur mobile : bouton pleine largeur pour un vrai call-to-action */
@media (max-width: 575px) { .feature-card .feature-btn { width: 100%; justify-content: center; display: flex; align-items: center; } }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--fs-shadow); border-color: transparent; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.4rem; color: #fff;
  background: var(--fs-gradient); margin-bottom: 1.1rem;
  box-shadow: 0 8px 20px rgba(102,126,234,.35);
}

/* ---------- Étapes (illustrées) ---------- */
.step-illu {
  position: relative; width: 130px; height: 130px; margin: 0 auto 1.4rem;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--fs-gradient-soft); border: 1px solid var(--fs-line);
}
.step-illu .step-icon {
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.9rem; color: #fff;
  background: var(--fs-gradient); box-shadow: 0 10px 26px rgba(102,126,234,.4);
}
.step-illu .step-num {
  position: absolute; top: -6px; right: 8px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: var(--fs-primary);
  background: #fff; border: 2px solid var(--fs-primary); font-size: .9rem;
}
[dir="rtl"] .step-illu .step-num { right: auto; left: 8px; }
.step-arrow { color: var(--fs-line); font-size: 1.4rem; }

/* ---------- Pricing ---------- */
.price-card {
  background: #fff; border: 1px solid var(--fs-line);
  border-radius: var(--fs-radius); padding: 2.4rem 2rem; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card.popular { border: 2px solid var(--fs-primary); box-shadow: var(--fs-shadow); transform: scale(1.03); }
.price-card .price { font-size: 2.6rem; font-weight: 800; color: var(--fs-dark); }
.price-badge {
  background: var(--fs-gradient); color: #fff; font-size: .72rem;
  padding: .3rem .9rem; border-radius: 50px; font-weight: 700; letter-spacing: .05em;
}

/* ---------- Packs de crédits ---------- */
.pack-card {
  position: relative; background: #fff; border: 1px solid var(--fs-line);
  border-radius: var(--fs-radius); padding: 1.6rem 1.3rem; height: 100%; text-align: center;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pack-card .btn-block { margin-top: auto; }
.pack-card:hover { transform: translateY(-6px); box-shadow: var(--fs-shadow); border-color: var(--fs-primary); }
.pack-card.is-free { background: var(--fs-gradient); border-color: transparent; color: #fff; }
.pack-card.is-free .pack-name, .pack-card.is-free .pack-price, .pack-card.is-free .pack-credits strong { color: #fff; }
.pack-card.is-free .pack-sub { color: rgba(255,255,255,.85); }
.pack-card.popular { border: 2px solid var(--fs-primary); box-shadow: var(--fs-shadow); }
.pack-name { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fs-muted); }
.pack-price { font-size: 2rem; font-weight: 800; color: var(--fs-dark); margin: .5rem 0; }
.pack-price .cur { font-size: 1.1rem; font-weight: 700; }
.pack-credits { font-size: .95rem; margin-bottom: .2rem; }
.pack-credits strong { color: var(--fs-primary); }
.pack-sub { font-size: .78rem; color: var(--fs-muted); margin-bottom: 1rem; }
.pack-discount { display: inline-block; background: #fef3e2; color: #c05621; font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 50px; margin-bottom: .6rem; }
.pack-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); }

/* ---------- Témoignages ---------- */
.testimonial { background: #fff; border-radius: var(--fs-radius); padding: 2rem; border: 1px solid var(--fs-line); height: 100%; display: flex; flex-direction: column; }
.testimonial .stars { color: #f6ad55; }
.testimonial .author { margin-top: auto; padding-top: .6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--fs-dark); color: #cbd5e0; padding: 4rem 0 1.5rem; }
.footer h6 { color: #fff; margin-bottom: 1.1rem; }
.footer a { color: #cbd5e0; }
.footer a:hover { color: #fff; }
.footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; margin-top: 2.5rem; color: #a0aec0; }
.footer .footer-logo { background: #fff; padding: .45rem .8rem; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }

/* ============================================================
   AUTH (login / register) — façon CRM split-screen
   ============================================================ */
.auth-wrapper { min-height: 100vh; display: flex; }
.auth-aside {
  flex: 1 1 45%;
  background: var(--fs-gradient);
  color: #fff; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 3.5rem;
}
.auth-aside .shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,.10); }
.auth-aside .shape.s1 { width: 280px; height: 280px; top: -90px; right: -70px; }
.auth-aside .shape.s2 { width: 200px; height: 200px; bottom: -60px; left: -50px; background: rgba(255,255,255,.08); }
.auth-aside .aside-content { position: relative; z-index: 1; max-width: 420px; }
.auth-aside h2 { color: #fff; font-size: 2rem; }
.auth-aside ul { list-style: none; padding: 0; margin-top: 1.5rem; }
.auth-aside ul li { padding: .5rem 0; display: flex; gap: .7rem; align-items: center; }
.auth-aside ul li i { color: #fff; }

.auth-main {
  flex: 1 1 55%; display: flex; align-items: center; justify-content: center;
  padding: 2.5rem; background: var(--fs-bg);
}
.auth-card { width: 100%; max-width: 420px; }
.auth-card .logo-image { height: 54px; margin-bottom: 1.5rem; }
.auth-card h1 { font-size: 1.7rem; }
.auth-card .subtitle { color: var(--fs-muted); margin-bottom: 2rem; }

.fs-form-group { margin-bottom: 1.2rem; }
.fs-label { font-weight: 600; color: var(--fs-dark); font-size: .9rem; margin-bottom: .4rem; display: block; }
.fs-input {
  width: 100%; border: 1px solid var(--fs-line); border-radius: 12px;
  padding: .85rem 1rem; font-size: .95rem; background: #fff; transition: all .2s ease;
}
.fs-input:focus { outline: none; border-color: var(--fs-primary); box-shadow: 0 0 0 4px rgba(102,126,234,.12); }
.btn-block { width: 100%; }

/* Captcha anti-spam */
.captcha-box { background: var(--fs-bg); border: 1px solid var(--fs-line); border-radius: 12px; padding: .55rem .8rem; }
.captcha-box label { white-space: nowrap; }
.captcha-input { max-width: 92px; padding: .5rem .6rem; text-align: center; appearance: auto; -moz-appearance: number-input; }
/* flèches du champ nombre toujours visibles (sinon masquées hors survol sur Chrome/Safari) */
.captcha-input::-webkit-outer-spin-button,
.captcha-input::-webkit-inner-spin-button { -webkit-appearance: inner-spin-button; opacity: 1; height: 28px; }
@media (max-width: 991px) { .captcha-box { width: 100%; justify-content: space-between; } }

@media (max-width: 991px) {
  .auth-aside { display: none; }
  .auth-main { flex: 1 1 100%; }
}

/* ============================================================
   Aperçu (captures d'écran)
   ============================================================ */
.shot {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--fs-line);
  box-shadow: var(--fs-shadow); background: #fff;
}
.shot .shot-bar { background: #f1f2f9; padding: .55rem .8rem; display: flex; gap: .35rem; align-items: center; }
.shot .shot-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.shot .shot-bar .dot.r { background: #fc8181; } .shot .shot-bar .dot.y { background: #f6c177; } .shot .shot-bar .dot.g { background: #68d391; }
.shot img { display: block; width: 100%; height: auto; }
.apercu-row { padding: 2.2rem 0; }
.apercu-step-badge {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--fs-gradient); color: #fff; font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(102,126,234,.35); margin-bottom: 1rem;
}

/* ============================================================
   Blog
   ============================================================ */
.blog-card {
  display: flex; flex-direction: column; height: 100%; background: #fff;
  border: 1px solid var(--fs-line); border-radius: var(--fs-radius); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--fs-shadow); }
.blog-card .blog-thumb { height: 190px; background: var(--fs-gradient) center/cover no-repeat; }
.blog-card .blog-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.blog-card .blog-date { font-size: .78rem; color: var(--fs-muted); text-transform: uppercase; letter-spacing: .05em; }
.blog-card h3 { font-size: 1.15rem; margin: .4rem 0 .6rem; }
.blog-card h3 a { color: var(--fs-dark); }
.blog-card h3 a:hover { color: var(--fs-primary); }
.blog-card .blog-excerpt { font-size: .9rem; color: var(--fs-body); }
.blog-card .blog-more { margin-top: auto; padding-top: 1rem; font-weight: 600; color: var(--fs-primary); display: inline-flex; align-items: center; gap: .4rem; }

/* Article */
.article-hero { padding: 8rem 0 2.5rem; background: var(--fs-gradient-soft); position: relative; overflow: hidden; }
.article-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--fs-radius); box-shadow: var(--fs-shadow); }
.article-body { font-size: 1.05rem; color: var(--fs-body); }
.article-body h2 { font-size: 1.6rem; margin: 2rem 0 .8rem; }
.article-body h3 { font-size: 1.3rem; margin: 1.6rem 0 .6rem; }
.article-body p { margin-bottom: 1.1rem; }
.article-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 1rem 0; }
.article-body a { color: var(--fs-primary); font-weight: 500; }
.article-body ul, .article-body ol { margin-bottom: 1.1rem; }
/* items "à puce" en cartes (gras + cardbox) */
.article-body .blog-item {
  background: #fff; border: 1px solid var(--fs-line); border-inline-start: 4px solid var(--fs-primary);
  border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1rem; box-shadow: var(--fs-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-body .blog-item:hover { transform: translateY(-2px); box-shadow: var(--fs-shadow); }
.article-body .blog-item .bi-title { font-weight: 700; color: var(--fs-dark); }
.article-body .blog-item .bi-title a { color: var(--fs-primary); }
.article-body .blog-item .bi-desc { margin-top: .35rem; color: var(--fs-body); font-weight: 400; }
.article-body .blog-item .bi-desc + .bi-desc { margin-top: .6rem; }
/* carte Farsem mise en avant */
.article-body .blog-item-farsem {
  border: 1px solid rgba(246,173,85,.5); border-inline-start: 4px solid #f6ad55;
  background: linear-gradient(135deg, rgba(246,173,85,.10) 0%, rgba(102,126,234,.08) 100%);
  box-shadow: 0 10px 30px rgba(246,173,85,.18);
}
.article-body .blog-item-farsem .bi-title { color: var(--fs-primary-2); font-size: 1.08rem; }
.article-body .blog-item-farsem .bi-star { color: #f6ad55; }

/* ============================================================
   Lightbox / zoom des images (Aperçu + articles)
   ============================================================ */
.shot img, .article-body img, .article-cover { cursor: zoom-in; }
.fs-lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center; padding: 4vw;
  background: rgba(20, 24, 48, .88); cursor: zoom-out;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.fs-lightbox.open { display: flex; animation: fsFade .2s ease; }
@keyframes fsFade { from { opacity: 0; } to { opacity: 1; } }
.fs-lightbox img {
  max-width: 94vw; max-height: 88vh; width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,.55); cursor: default;
}
/* 2e niveau (MOBILE uniquement) : image à taille réelle + défilement pour la lire */
@media (max-width: 767px) {
  .fs-lightbox img { cursor: zoom-in; }
  .fs-lightbox.zoomed { overflow: auto; align-items: flex-start; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .fs-lightbox.zoomed img { max-width: none; max-height: none; width: auto; border-radius: 0; cursor: zoom-out; }
}
.fs-lightbox .fs-lb-close {
  position: fixed; top: 14px; right: 20px; z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.fs-lightbox .fs-lb-close:hover { background: rgba(255,255,255,.30); }
.fs-lightbox .fs-lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff; font-size: 1.8rem; cursor: pointer;
  display: grid; place-items: center;
}
.fs-lightbox .fs-lb-nav:hover { background: rgba(255,255,255,.32); }
.fs-lightbox .fs-lb-prev { left: 18px; }
.fs-lightbox .fs-lb-next { right: 18px; }
.fs-lightbox .fs-lb-count { position: fixed; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: .9rem; letter-spacing: .03em; z-index: 2; }
/* indice "Touchez pour agrandir" : mobile uniquement (caché sur tablette/desktop) */
.fs-lightbox .fs-lb-hint { display: none; position: fixed; top: 16px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .8rem; z-index: 2; pointer-events: none; }
@media (max-width: 767px) { .fs-lightbox:not(.zoomed) .fs-lb-hint { display: block; } }
.fs-lightbox.zoomed .fs-lb-nav, .fs-lightbox.zoomed .fs-lb-count { display: none; }
.fs-lightbox.single .fs-lb-nav, .fs-lightbox.single .fs-lb-count { display: none; }
/* indice "Faites glisser pour explorer" (mobile, pendant le zoom) */
.fs-lb-draghint { display: none; position: fixed; bottom: 22px; left: 0; right: 0; text-align: center; z-index: 3; pointer-events: none; }
.fs-lb-draghint span { display: inline-block; background: rgba(0,0,0,.6); color: #fff; padding: .45rem 1rem; border-radius: 50px; font-size: .82rem; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.fs-lb-draghint.show { display: block; animation: fsFade .25s ease; }
@media (max-width: 575px) {
  .fs-lightbox { padding: 3vw; }
  .fs-lightbox img { max-width: 96vw; max-height: 80vh; }
  .fs-lightbox .fs-lb-close { top: 8px; right: 10px; }
  .fs-lightbox .fs-lb-nav { width: 40px; height: 40px; font-size: 1.4rem; }
  .fs-lightbox .fs-lb-prev { left: 6px; }
  .fs-lightbox .fs-lb-next { right: 6px; }
}

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Sélecteur de langue
   ============================================================ */
.lang-switch .lang-toggle {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid var(--fs-line); background: #fff; color: var(--fs-dark);
  border-radius: 50px; padding: .4rem .85rem; font-weight: 600; font-size: .85rem;
}
.lang-switch .lang-toggle::after { margin-left: .15rem; opacity: .5; }
.lang-switch .lang-toggle:hover { border-color: var(--fs-primary); color: var(--fs-primary); box-shadow: var(--fs-shadow-sm); }
.lang-switch .dropdown-menu { min-width: 165px; border: 1px solid var(--fs-line); border-radius: 12px; box-shadow: var(--fs-shadow-sm); padding: .35rem; }
.lang-switch .dropdown-item { font-weight: 500; border-radius: 8px; padding: .5rem .7rem; display: flex; align-items: center; }
.lang-switch .dropdown-item:hover { background: rgba(102,126,234,.1); color: var(--fs-primary); }
.lang-switch .dropdown-item:active { background: var(--fs-primary); color: #fff; }
.lang-switch .fi { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); width: 1.3em; height: 1em; }
/* espace entre les boutons d'auth et le sélecteur de langue */
.nav-actions { gap: .5rem; }
.nav-actions .lang-switch { margin-left: .35rem; }

/* ============================================================
   Mockup "dashboard" du hero
   ============================================================ */
.hero-mock {
  background: #fff; border-radius: 20px; box-shadow: var(--fs-shadow);
  border: 1px solid rgba(255,255,255,.6); overflow: hidden; max-width: min(460px, 100%); margin: 0 auto;
}
.hero-mock .mock-bar { background: #f1f2f9; padding: .7rem 1rem; display: flex; gap: .4rem; align-items: center; }
.hero-mock .mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.hero-mock .mock-bar .dot.r { background: #fc8181; }
.hero-mock .mock-bar .dot.y { background: #f6c177; }
.hero-mock .mock-bar .dot.g { background: #68d391; }
.hero-mock .mock-bar .mock-url { margin-inline-start: auto; font-size: .72rem; color: var(--fs-muted); }
.hero-mock .mock-body { padding: 1.4rem; }
.hero-mock .mock-head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.hero-mock .mock-head .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--fs-gradient); color: #fff; display: grid; place-items: center; }
.hero-mock .mock-head .ttl { font-weight: 700; color: var(--fs-dark); }
.hero-mock .mock-textarea { background: var(--fs-bg); border: 1px solid var(--fs-line); border-radius: 12px; padding: .85rem 1rem; color: var(--fs-body); font-size: .9rem; margin-bottom: 1rem; }
.hero-mock .mock-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.hero-mock .mock-chip { background: rgba(102,126,234,.1); color: var(--fs-primary); border-radius: 50px; padding: .25rem .7rem; font-size: .75rem; font-weight: 600; }
.hero-mock .mock-cta { background: var(--fs-gradient); color: #fff; border-radius: 12px; padding: .7rem; text-align: center; font-weight: 600; font-size: .9rem; }

/* Liste de groupes (sélection multiple) dans le mockup */
.hero-mock .mock-sublabel { font-size: .75rem; font-weight: 600; color: var(--fs-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.hero-mock .mock-groups { list-style: none; margin: 0 0 .9rem; padding: 0; border: 1px solid var(--fs-line); border-radius: 12px; overflow: hidden; }
.hero-mock .mock-groups li { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; font-size: .82rem; color: var(--fs-dark); border-top: 1px solid var(--fs-line); }
.hero-mock .mock-groups li:first-child { border-top: 0; }
.hero-mock .mg-check { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--fs-line); display: grid; place-items: center; color: #fff; font-size: .65rem; }
.hero-mock .mg-check.on { background: var(--fs-gradient); border-color: transparent; }
.hero-mock .mg-avatar { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--fs-gradient-soft); border: 1px solid var(--fs-line); display: grid; place-items: center; color: var(--fs-primary); font-size: .7rem; }
.hero-mock .mg-name { flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-mock .mg-count { flex: 0 0 auto; font-size: .72rem; color: var(--fs-muted); white-space: nowrap; }
.hero-mock .mg-count .num, .hero-mock .mock-members .num { direction: ltr; unicode-bidi: isolate; }
.hero-mock .mock-selected { display: flex; align-items: center; justify-content: space-between; background: rgba(102,126,234,.1); color: var(--fs-primary); border-radius: 50px; padding: .35rem .8rem; font-size: .78rem; font-weight: 600; margin-bottom: .9rem; }
.hero-mock .mock-status { display: flex; align-items: center; gap: .5rem; margin-top: .9rem; font-size: .78rem; color: #38a169; }
.hero-mock .mock-status .pulse { width: 9px; height: 9px; border-radius: 50%; background: #48bb78; box-shadow: 0 0 0 0 rgba(72,187,120,.6); animation: fsPulse 1.8s infinite; }
@keyframes fsPulse { 0% { box-shadow: 0 0 0 0 rgba(72,187,120,.5); } 70% { box-shadow: 0 0 0 10px rgba(72,187,120,0); } 100% { box-shadow: 0 0 0 0 rgba(72,187,120,0); } }

/* ============================================================
   RTL (hébreu)
   ============================================================ */
[dir="rtl"] body { font-family: 'Inter', 'Segoe UI', 'Arial Hebrew', Arial, sans-serif; }
[dir="rtl"] .navbar-fs .nav-link { margin: 0 .35rem; }
[dir="rtl"] .hero-blob.b1 { right: auto; left: -80px; }
[dir="rtl"] .hero-blob.b2 { left: auto; right: -100px; }
[dir="rtl"] .auth-lang { right: auto; left: 1.5rem; }
[dir="rtl"] .auth-aside ul li { flex-direction: row; }
[dir="rtl"] .feature-icon, [dir="rtl"] .step-num { margin-inline: 0 auto; }
[dir="rtl"] .text-start { text-align: right !important; }
[dir="rtl"] .me-1, [dir="rtl"] .me-2 { margin-right: 0 !important; margin-left: .25rem !important; }
/* espacement langue/Inscription : en RTL la marge passe de l'autre côté */
@media (min-width: 992px) {
  [dir="rtl"] .navbar .ms-lg-3 { margin-left: 0 !important; margin-right: 1rem !important; }
}
/* en RTL, garder les compteurs et badges de prix lisibles */
[dir="rtl"] .pack-discount, [dir="rtl"] .price-badge { direction: rtl; }
