/**
 * fixeo-local-flagship-v1.css — fxlp-v14
 * Local SEO flagship layout.
 * Namespace: fxlp-*
 * Pages: prix-plomberie-oujda.html, plombier-oujda.html (and future family pilots)
 *
 * CHANGE LOG:
 *  fxlp-v1   — initial pilot
 *  fxlp-v11  — Safari P0: dark canvas, card layout, token scope repair
 *  fxlp-v12  — V1.2: header logo fix, hero avatar removal, artisan carousel,
 *               reservation CTA glow reduction, description sanitisation
 *  fxlp-v13  — V1.3 (FXLOCAL-SERVICE-CITY-PILOT-V1): additive selectors for
 *               service-city pages: .fxlp-sit-* situations grid, .fxlp-expl-* explanation grid
 *  fxlp-v14  — V1.4 (FXLOCAL-OUJDA-SHARED-MICROPATCH-V1): CTA text readability,
 *               step-number visibility, fxlp-v13→v14 version string
 *
 * Does NOT override homepage, profile, RAFI, footer, or reservation styles.
 * Does NOT modify any frozen engine file.
 */

/* ══════════════════════════════════════════════════════════════
   LAYER 0 — PAGE-LEVEL DARK CANVAS
══════════════════════════════════════════════════════════════ */

html {
  scroll-behavior: smooth;
  background: #080b12;
  min-height: 100%;
  /* All fxlp-* tokens declared here for full cascade coverage */
  --fxlp-bg:         #080b12;
  --fxlp-surface:    #0f1520;
  --fxlp-surface-2:  #141c2e;
  --fxlp-surface-3:  #1a2240;
  --fxlp-border:     rgba(255,255,255,.07);
  --fxlp-border-h:   rgba(255,255,255,.13);
  --fxlp-border-glow:rgba(255,107,61,.22);
  --fxlp-text:       #eaeff8;
  --fxlp-muted:      #8896b0;
  --fxlp-dim:        #4a5a72;
  --fxlp-orange:     #ff6b3d;
  --fxlp-orange-s:   #ff8c5a;
  --fxlp-orange-g:   rgba(255,107,61,.16);
  --fxlp-pink:       #f553a6;
  --fxlp-grad:       linear-gradient(135deg,#ff6b3d 0%,#f553a6 100%);
  --fxlp-teal:       #2dd4bf;
  --fxlp-teal-s:     #5eead4;
  --fxlp-teal-g:     rgba(45,212,191,.13);
  --fxlp-green:      #4ade80;
  --fxlp-green-g:    rgba(74,222,128,.10);
  --fxlp-spring:     cubic-bezier(.22,1,.36,1);
  --fxlp-r-sm:  8px;
  --fxlp-r-md: 14px;
  --fxlp-r-lg: 20px;
  --fxlp-r-xl: 28px;
}

body.seo-service-page,
body {
  min-height: 100vh;
  font-family: 'Cairo', 'Tajawal', 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #eaeff8;
  background:
    radial-gradient(circle at 15% 10%, rgba(131,58,180,.18), transparent 32%),
    radial-gradient(circle at 85% 8%,  rgba(255,107,61,.12), transparent 28%),
    linear-gradient(180deg, #080b12 0%, #0d1220 52%, #080f1a 100%);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Ambient overlay */
.seo-bg,
.bg-animated {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  z-index: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(131,58,180,.18), transparent 28%),
    radial-gradient(circle at 86% 9%,  rgba(255,107,61,.13), transparent 22%);
}

/* Ensure stacking */
body.seo-service-page > nav,
body.seo-service-page > main,
body.seo-service-page > div#fxf-mount,
body.seo-service-page > div[id="fxlp-rafi-context"] {
  position: relative;
  z-index: 1;
}

/* ── Global resets (scoped: img excludes .fixeo-logo-img to prevent header logo blowup) */
a  { color: inherit; text-decoration: none; }

/* KEY FIX (header logo): do NOT apply height:auto / max-width:100% to .fixeo-logo-img.
   The GH header script injects its own logo with height="26" as an HTML attribute.
   Our img reset would override that and allow the logo to expand to fill the navbar.
   All other imgs get the normal reset. */
img:not(.fixeo-logo-img) { max-width: 100%; height: auto; display: block; }

/* Explicit size constraint on .fixeo-logo-img to match homepage canonical size */
img.fixeo-logo-img {
  height: 26px !important;
  width: auto !important;
  max-height: 26px !important;
  display: block;
  object-fit: contain;
}

button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }
*, *::before, *::after { box-sizing: border-box; }

main#main-content {
  display: block;
  background: transparent;
  position: relative;
  z-index: 1;
}

/* ── Page wrap ──────────────────────────────────────────────── */
.fxlp-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) { .fxlp-wrap { padding: 0 20px; } }

/* ── Breadcrumbs ────────────────────────────────────────────── */
.fxlp-breadcrumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px;
  padding: 14px 0 0; font-size: .78rem; color: var(--fxlp-dim);
}
.fxlp-breadcrumbs a { color: var(--fxlp-dim); transition: color .18s; }
.fxlp-breadcrumbs a:hover { color: var(--fxlp-orange); }

/* ── Divider ────────────────────────────────────────────────── */
.fxlp-divider { border: none; border-top: 1px solid rgba(255,255,255,.07); margin: 0; }

/* ══════════════════════════════════════════════════════════════
   §1 — HERO
   V1.2: hero is now single-column only (avatar panel removed).
   Grid template simplified to 1fr at all breakpoints.
══════════════════════════════════════════════════════════════ */
.fxlp-hero {
  display: block; /* single column — no grid needed after avatar removal */
  padding: 28px 0 32px;
}
@media (min-width: 800px) {
  .fxlp-hero { padding: 36px 0 44px; }
}

.fxlp-hero-copy { max-width: 700px; }

/* Eyebrow */
.fxlp-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fxlp-orange); margin-bottom: 12px;
}
.fxlp-eyebrow-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--fxlp-orange);
  animation: fxlp-pulse 2.4s ease-in-out infinite;
}
@keyframes fxlp-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.45;transform:scale(.65)} }
@media (prefers-reduced-motion: reduce) { .fxlp-eyebrow-dot, .fxlp-badge-dot { animation: none; } }

/* H1 */
.fxlp-h1 {
  font-size: clamp(1.7rem, 5.5vw, 2.6rem);
  font-weight: 900; letter-spacing: -.035em; line-height: 1.10;
  color: #eaeff8; margin: 0 0 16px;
  font-family: 'Cairo', 'Tajawal', 'Inter', system-ui, -apple-system, sans-serif;
}
.fxlp-h1-em {
  font-style: normal;
  background: var(--fxlp-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
  color: transparent;
}

.fxlp-lead {
  font-size: .97rem; color: #8896b0;
  line-height: 1.65; max-width: 540px; margin-bottom: 20px;
}

/* Chips */
.fxlp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.fxlp-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .77rem; font-weight: 600; padding: 5px 12px;
  border-radius: 99px; border: 1px solid; line-height: 1;
}
.fxlp-chip--city  { border-color: rgba(45,212,191,.35); color: #5eead4; background: rgba(45,212,191,.13); }
.fxlp-chip--svc   { border-color: rgba(255,107,61,.35); color: #ff8c5a; background: rgba(255,107,61,.16); }
.fxlp-chip--pay   { border-color: rgba(74,222,128,.3);  color: #4ade80; background: rgba(74,222,128,.10); }

.fxlp-note-price { font-size: .83rem; font-weight: 600; color: #4ade80; margin-bottom: 10px; }
.fxlp-disclaimer {
  display: flex; align-items: flex-start; gap: 5px;
  font-size: .76rem; color: #4a5a72; margin-bottom: 22px;
}

/* CTA group */
.fxlp-cta-group { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Shared button styles ───────────────────────────────────── */
/* V1.2: reduced box-shadow glow intensity to fix Safari label readability */
.fxlp-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg,#ff6b3d 0%,#f553a6 100%);
  /* V1.4: explicit color declarations with !important to block any gradient-text inheritance */
  color: #fff !important;
  font-size: .92rem; font-weight: 700; padding: 13px 24px;
  border-radius: var(--fxlp-r-xl); border: none; cursor: pointer;
  /* Glow kept minimal for Safari label readability */
  box-shadow: 0 3px 12px rgba(255,107,61,.12);
  transition: transform .22s var(--fxlp-spring), box-shadow .22s;
  white-space: nowrap;
  font-family: 'Cairo', 'Tajawal', 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 48px; min-width: 44px;
  -webkit-appearance: none;
  /* V1.4: force opaque white text — blocks -webkit-text-fill-color:transparent from parents */
  -webkit-text-fill-color: #fff !important;
  opacity: 1;
  filter: none;
  text-shadow: none;
  letter-spacing: -.005em;
}
.fxlp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,61,.22);
}
.fxlp-btn-primary:focus-visible {
  outline: 2px solid #ff8c5a;
  outline-offset: 3px;
}

.fxlp-btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid rgba(255,107,61,.22);
  color: #ff6b3d !important;
  font-size: .88rem; font-weight: 600; padding: 12px 20px;
  border-radius: var(--fxlp-r-xl);
  transition: background .2s, transform .2s;
  white-space: nowrap; text-decoration: none;
  min-height: 48px; background: transparent;
  -webkit-text-fill-color: #ff6b3d !important;
  opacity: 1; filter: none; text-shadow: none;
}
.fxlp-btn-secondary:hover { background: rgba(255,107,61,.16); transform: translateY(-1px); }

/* ══════════════════════════════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════════════════════════════ */
.fxlp-section { padding: 32px 0; background: transparent; }
.fxlp-section--tinted {
  background: linear-gradient(180deg, transparent 0%, rgba(255,107,61,.02) 50%, transparent 100%);
}
.fxlp-section-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: #ff6b3d; margin-bottom: 6px; display: block;
}
.fxlp-section-title {
  font-size: 1.28rem; font-weight: 800; letter-spacing: -.025em;
  color: #eaeff8; margin: 0 0 4px;
  font-family: 'Cairo', 'Tajawal', 'Inter', system-ui, -apple-system, sans-serif;
}
.fxlp-section-sub { font-size: .87rem; color: #8896b0; margin: 0 0 20px; }

/* ══════════════════════════════════════════════════════════════
   §2 — PRICE CARDS
══════════════════════════════════════════════════════════════ */
.fxlp-price-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .fxlp-price-grid { grid-template-columns: repeat(5, 1fr); } }

.fxlp-price-card {
  background: #0f1520; border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--fxlp-r-md); padding: 16px;
  display: flex; flex-direction: column; gap: 5px;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.fxlp-price-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(135deg,#ff6b3d 0%,#f553a6 100%); opacity: 0; transition: opacity .2s;
}
.fxlp-price-card:hover { border-color: rgba(255,255,255,.13); transform: translateY(-2px); }
.fxlp-price-card:hover::after { opacity: 1; }

.fxlp-price-card--urgent {
  border-color: rgba(245,83,166,.25);
  background: linear-gradient(155deg, #0f1520 60%, rgba(245,83,166,.06) 100%);
}
.fxlp-price-card--urgent::after {
  opacity: 1;
  background: linear-gradient(90deg, #f553a6, #ff6b3d);
}
.fxlp-urgent-chip {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: .63rem; font-weight: 700; padding: 2px 7px;
  background: rgba(245,83,166,.15); border: 1px solid rgba(245,83,166,.3);
  border-radius: 99px; color: #f553a6;
  text-transform: uppercase; letter-spacing: .07em;
  align-self: flex-start; margin-bottom: 2px;
}
.fxlp-price-card--wide { grid-column: span 2; }
@media (min-width: 900px) { .fxlp-price-card--wide { grid-column: span 1; } }

.fxlp-pc-icon { font-size: 1.35rem; }
.fxlp-pc-name  { font-size: .85rem; font-weight: 700; color: #eaeff8; line-height: 1.35; }
.fxlp-pc-price { font-size: 1rem; font-weight: 800; color: #4ade80; margin-top: auto; padding-top: 5px; }
.fxlp-pc-note  { font-size: .7rem; color: #4a5a72; line-height: 1.4; }

/* BUG-5 fix (v11): display:block — link flows inline */
.fxlp-price-disclaimer {
  margin-top: 13px; padding: 10px 13px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--fxlp-r-sm); font-size: .75rem; color: #8896b0;
  display: block; line-height: 1.65;
}
.fxlp-inline-link { color: #ff6b3d; text-decoration: none; -webkit-text-fill-color: #ff6b3d; }
.fxlp-inline-link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   §3 — PRICE FACTORS
══════════════════════════════════════════════════════════════ */
.fxlp-factors-list {
  border: 1px solid rgba(255,255,255,.07); border-radius: var(--fxlp-r-lg); overflow: hidden;
  background: transparent;
}
.fxlp-factor-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 18px; border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .18s;
}
.fxlp-factor-row:last-child { border-bottom: none; }
.fxlp-factor-row:hover { background: rgba(255,255,255,.02); }
.fxlp-factor-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 1px; width: 26px; text-align: center; }
.fxlp-factor-title { font-size: .87rem; font-weight: 700; color: #eaeff8; display: block; margin-bottom: 2px; }
.fxlp-factor-desc  { font-size: .79rem; color: #8896b0; line-height: 1.55; margin: 0; }

/* ══════════════════════════════════════════════════════════════
   §4 — ARTISAN SECTION
   V1.2: horizontal swipe carousel on mobile (<768px),
   3-column grid on desktop (≥768px).
   pvc-* V3B layout re-declared for #fxlp-artisan-grid context
   (those rules are scoped to #fixeo-homepage-vedette-grid in the frozen CSS).
══════════════════════════════════════════════════════════════ */

/* ── Mobile carousel (< 768px) ─────────────────────────────── */
#fxlp-artisan-grid {
  /* Mobile-first: horizontal scroll carousel */
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  gap: 14px;
  padding-bottom: 8px;
  /* Hide scrollbar without disabling scroll (WebKit) */
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Side padding creates affordance — next card visible at edge */
  padding-left: 0;
  padding-right: 16px;
}
#fxlp-artisan-grid::-webkit-scrollbar { display: none; }

/* Each card: 86% of viewport width, never shrink */
#fxlp-artisan-grid > * {
  flex: 0 0 calc(86vw - 16px);
  min-width: 0;
  max-width: 320px;
  scroll-snap-align: start;
}

/* Very small screens: slightly wider */
@media (max-width: 360px) {
  #fxlp-artisan-grid > * {
    flex: 0 0 calc(90vw - 16px);
  }
}

/* ── Desktop grid (≥ 768px) ────────────────────────────────── */
@media (min-width: 768px) {
  #fxlp-artisan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: unset;
    overflow-y: unset;
    -webkit-overflow-scrolling: auto;
    scroll-snap-type: none;
    gap: 16px;
    padding-right: 0;
    padding-bottom: 0;
  }
  #fxlp-artisan-grid > * {
    flex: unset;
    max-width: unset;
  }
}

/* ── pvc-card base in our grid context ──────────────────────── */
#fxlp-artisan-grid .pvc-card,
#fxlp-artisan-grid .fhp-card,
#fxlp-artisan-grid .fxlp-art-card {
  width: 100%;
  min-width: 0;
  display: flex !important;
  flex-direction: column !important;
  background: #0f1520 !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 16px !important;
  overflow: hidden;
  font-family: 'Cairo', 'Tajawal', 'Inter', system-ui, -apple-system, sans-serif;
}

#fxlp-artisan-grid .pvc-card-header,
#fxlp-artisan-grid .pvc-card-header-final {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 16px 10px;
}

/* Avatar */
#fxlp-artisan-grid .pvc-avatar {
  position: relative;
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #141c2e;
  border: 2px solid rgba(255,255,255,.1);
}
#fxlp-artisan-grid .pvc-avatar-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
#fxlp-artisan-grid .pvc-avatar-badge {
  position: absolute; bottom: -2px; right: -2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #141c2e; border: 1.5px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; line-height: 1;
}
#fxlp-artisan-grid .pvc-avatar-silhouette {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,107,61,.25), rgba(245,83,166,.15));
}

/* Identity */
#fxlp-artisan-grid .pvc-identity,
#fxlp-artisan-grid .pvc-identity-final {
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px;
}
#fxlp-artisan-grid .pvc-name {
  font-size: .93rem; font-weight: 700; color: #eaeff8 !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0;
  -webkit-text-fill-color: #eaeff8 !important;
}
#fxlp-artisan-grid .pvc-line {
  font-size: .75rem; color: #8896b0 !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  -webkit-text-fill-color: #8896b0 !important;
}

/* Description */
#fxlp-artisan-grid .pvc-desc-v3b {
  font-size: .80rem; color: #8896b0 !important; line-height: 1.55;
  padding: 0 16px 10px; margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  -webkit-text-fill-color: #8896b0 !important;
}

/* Trust rows */
#fxlp-artisan-grid .pvc-trust-v3b {
  display: flex !important; flex-direction: column; gap: 5px;
  padding: 8px 16px; border-top: 1px solid rgba(255,255,255,.06);
}
#fxlp-artisan-grid .pvc-trust-v3b-item {
  display: flex !important; align-items: center; gap: 6px;
  font-size: .72rem; color: #8896b0 !important; line-height: 1.3;
  -webkit-text-fill-color: #8896b0 !important;
}
#fxlp-artisan-grid .pvc-trust-v3b-icon {
  display: inline-flex; align-items: center; flex-shrink: 0; color: #4ade80;
  width: 14px; height: 14px;
}
#fxlp-artisan-grid .pvc-trust-v3b-icon svg { width: 14px; height: 14px; }

/* Action area */
#fxlp-artisan-grid .pvc-action-v3b {
  display: flex !important; flex-direction: column; gap: 8px;
  padding: 10px 16px 16px; margin-top: auto;
}
#fxlp-artisan-grid .pvc-divider,
#fxlp-artisan-grid .pvc-divider-v3b {
  border: none; border-top: 1px solid rgba(255,255,255,.07); margin: 0 0 2px;
}
#fxlp-artisan-grid .pvc-price-block,
#fxlp-artisan-grid .pvc-price-v3b { display: flex; flex-direction: column; gap: 1px; }
#fxlp-artisan-grid .pvc-price-amount { font-size: .92rem; font-weight: 700; color: #4ade80 !important; -webkit-text-fill-color: #4ade80 !important; }
#fxlp-artisan-grid .pvc-price-from  { font-size: .68rem; color: #4a5a72 !important; }

/* Reserve button — V1.2: reduced glow to match page CTA fix */
#fxlp-artisan-grid .pvc-btn-reserve-v2,
#fxlp-artisan-grid .fhp-btn-reserve,
#fxlp-artisan-grid .pvc-btn-v3b,
#fxlp-artisan-grid .fxlp-btn-reserve {
  display: flex !important; align-items: center; justify-content: center;
  width: 100%; padding: 11px 16px; min-height: 44px;
  border-radius: 12px; border: none; cursor: pointer;
  font-size: .84rem; font-weight: 700;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg, #ff6b3d 0%, #f553a6 100%) !important;
  font-family: 'Cairo', 'Tajawal', 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-appearance: none;
  transition: opacity .18s, transform .18s;
  box-shadow: 0 2px 8px rgba(255,107,61,.12);
  opacity: 1; filter: none; text-shadow: none;
}
#fxlp-artisan-grid .fxlp-btn-reserve:hover { opacity: .88; transform: translateY(-1px); }
#fxlp-artisan-grid .fxlp-btn-reserve:focus-visible { outline: 2px solid #ff8c5a; outline-offset: 3px; }

/* Profile link */
#fxlp-artisan-grid .pvc-profile-link,
#fxlp-artisan-grid .fhp-btn-profile,
#fxlp-artisan-grid .pvc-profile-v3b {
  display: block !important; text-align: center;
  font-size: .76rem; color: rgba(255,255,255,.55) !important; text-decoration: none;
  padding: 4px 0; transition: color .18s;
  min-height: 32px; line-height: 32px;
  -webkit-text-fill-color: rgba(255,255,255,.55) !important;
}
#fxlp-artisan-grid .pvc-profile-link:hover {
  color: #ff6b3d !important;
  -webkit-text-fill-color: #ff6b3d !important;
}

/* Skeleton loaders */
.fxlp-artisan-loading .fxlp-skeleton {
  background: #0f1520; border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--fxlp-r-md); height: 220px;
  animation: fxlp-shimmer 1.4s infinite linear;
  flex: 0 0 calc(86vw - 16px); max-width: 320px;
}
@media (min-width: 768px) {
  .fxlp-artisan-loading .fxlp-skeleton { flex: unset; max-width: unset; }
}
@keyframes fxlp-shimmer { 0%,100%{opacity:.4} 50%{opacity:.7} }
@media (prefers-reduced-motion: reduce) { .fxlp-skeleton { animation: none; opacity: .5; } }

/* Empty state */
.fxlp-empty-state {
  grid-column: 1 / -1;
  flex: 0 0 100%;
  padding: 36px 20px; text-align: center;
  border: 1.5px dashed rgba(255,255,255,.1);
  border-radius: var(--fxlp-r-lg);
  background: #0f1520;
}
.fxlp-empty-icon  { font-size: 2rem; opacity: .35; margin-bottom: 10px; display: block; }
.fxlp-empty-title { font-size: .95rem; font-weight: 700; margin-bottom: 6px; color: #eaeff8; }
.fxlp-empty-desc  { font-size: .83rem; color: #8896b0; max-width: 320px; margin: 0 auto 16px; line-height: 1.55; }

/* ══════════════════════════════════════════════════════════════
   §5 — HOW IT WORKS
══════════════════════════════════════════════════════════════ */
.fxlp-how {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  background: transparent;
}
.fxlp-steps { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .fxlp-steps { grid-template-columns: repeat(3, 1fr); }
  .fxlp-step { border-right: 1px solid rgba(255,255,255,.07); }
  .fxlp-step:last-child { border-right: none; }
}
.fxlp-step {
  padding: 22px 18px; display: flex; flex-direction: column; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.07); background: transparent;
}
@media (min-width: 640px) { .fxlp-step { border-bottom: none; } }
.fxlp-step:last-child { border-bottom: none; }
.fxlp-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg,#ff6b3d 0%,#f553a6 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; flex-shrink: 0;
  /* V1.4: explicit white text — blocks gradient-text inheritance from html scope */
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1;
  text-shadow: none;
}
.fxlp-step-title { font-size: .90rem; font-weight: 700; color: #eaeff8; }
.fxlp-step-desc  { font-size: .79rem; color: #8896b0; line-height: 1.55; margin: 0; }

/* ══════════════════════════════════════════════════════════════
   §6 — FINAL CTA BANNER
══════════════════════════════════════════════════════════════ */
.fxlp-cta-banner {
  margin: 8px 0 36px;
  position: relative; border-radius: var(--fxlp-r-xl); overflow: hidden;
  padding: 40px 24px;
  background: linear-gradient(145deg, #141c2e 0%, #1a2240 100%);
  border: 1.5px solid rgba(255,107,61,.18);
  text-align: center;
}
.fxlp-cta-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(255,107,61,.12) 0%, transparent 70%);
}
.fxlp-cta-eyebrow {
  font-size: .67rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: #ff6b3d; margin-bottom: 8px;
}
.fxlp-cta-title {
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  font-weight: 900; letter-spacing: -.03em; color: #eaeff8; margin-bottom: 9px;
  font-family: 'Cairo', 'Tajawal', 'Inter', system-ui, -apple-system, sans-serif;
}
.fxlp-cta-lead { font-size: .90rem; color: #8896b0; max-width: 360px; margin: 0 auto 22px; line-height: 1.6; }
.fxlp-cta-banner .fxlp-btn-primary { display: inline-flex; margin: 0 auto; }
.fxlp-cta-note { margin-top: 12px; font-size: .73rem; color: #4a5a72; }

/* ══════════════════════════════════════════════════════════════
   §7 — FAQ
══════════════════════════════════════════════════════════════ */
.fxlp-faq-section { padding: 32px 0 16px; background: transparent; }
.fxlp-faq-list { display: flex; flex-direction: column; gap: 7px; }
.fxlp-faq-item {
  border: 1px solid rgba(255,255,255,.07); border-radius: var(--fxlp-r-md);
  background: #0f1520; overflow: hidden; transition: border-color .2s;
}
.fxlp-faq-item[open] { border-color: rgba(255,107,61,.2); }
.fxlp-faq-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 17px; cursor: pointer; list-style: none;
  font-size: .88rem; font-weight: 600; color: #eaeff8;
  -webkit-user-select: none; user-select: none;
  min-height: 52px;
  -webkit-text-fill-color: #eaeff8;
}
.fxlp-faq-summary::-webkit-details-marker { display: none; }
.fxlp-faq-chevron {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: #ff6b3d;
  transition: transform .28s cubic-bezier(.22,1,.36,1), background .2s;
}
details.fxlp-faq-item[open] .fxlp-faq-chevron {
  transform: rotate(90deg); background: rgba(255,107,61,.16);
}
.fxlp-faq-answer { padding: 0 17px 14px; font-size: .84rem; color: #8896b0; line-height: 1.65; }

/* ── SEO authority links ────────────────────────────────────── */
.seo-authority-links {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 24px 0 32px; font-size: .8rem;
}
.seo-authority-links a { color: #4a5a72; transition: color .18s; }
.seo-authority-links a:hover { color: #ff6b3d; }

@media (max-width: 768px) {
  .seo-authority-links {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

/* ── Explorer aussi section ─────────────────────────────────── */
.fxlp-explorer {
  padding: 32px 0 24px;
}
.fxlp-explorer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #c8d4e8;
  margin: 4px 0 16px;
  letter-spacing: .01em;
}
.fxlp-explorer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.fxlp-explorer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  text-decoration: none;
  color: #c8d4e8;
  transition: background .18s, border-color .18s, color .18s;
  -webkit-tap-highlight-color: transparent;
}
.fxlp-explorer-card:hover,
.fxlp-explorer-card:focus-visible {
  background: rgba(255,107,61,.08);
  border-color: rgba(255,107,61,.28);
  color: #ff6b3d;
  outline: none;
}
.fxlp-explorer-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.fxlp-explorer-city {
  font-size: .72rem;
  font-weight: 600;
  color: #4a5a72;
  text-transform: uppercase;
  letter-spacing: .06em;
  flex-shrink: 0;
  min-width: 60px;
}
.fxlp-explorer-title {
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.3;
}
@media (min-width: 600px) {
  .fxlp-explorer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .fxlp-explorer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .fxlp-explorer {
    padding: 24px 0 32px;
  }
}

/* ── Safari/WebKit compat ───────────────────────────────────── */
.fxlp-hero-city-tag,
.fxlp-hero-svc-tag,
.fxlp-hero-badge {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ══════════════════════════════════════════════════════════════
   SERVICE-CITY PAGE ADDITIVE SELECTORS (fxlp-v13)
   Used by: plombier-oujda.html and future Métier × Ville pilots.
   Additive only — no existing rule overridden.
══════════════════════════════════════════════════════════════ */

/* ── §2 — Situations grid ────────────────────────────────────── */
.fxlp-sit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0; margin: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .fxlp-sit-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .fxlp-sit-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }
}

.fxlp-sit-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 16px 12px;
  background: #0f1520;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--fxlp-r-md);
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.fxlp-sit-item:hover {
  border-color: rgba(255,107,61,.22);
  transform: translateY(-2px);
}
.fxlp-sit-icon {
  font-size: 1.6rem; line-height: 1;
}
.fxlp-sit-label {
  font-size: .79rem; font-weight: 600;
  color: #eaeff8;
  line-height: 1.35;
}

/* ── §3 — Local explanation grid ─────────────────────────────── */
.fxlp-expl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 4px;
}
@media (min-width: 640px) {
  .fxlp-expl-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

.fxlp-expl-item {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 18px;
  background: #0f1520;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--fxlp-r-md);
}
.fxlp-expl-icon {
  font-size: 1.5rem; line-height: 1;
}
.fxlp-expl-text {
  font-size: .84rem; color: #8896b0;
  line-height: 1.6; margin: 0;
}
