/* ============================================================
   LF Zone Services — CSS consolidé (squelettes S01 → S06)
   Charte Sauge Minérale · registre éditorial chaud
   Chargé automatiquement par LF_Zone_Services sur les pages
   contenant class="lf-services" dans leur contenu.
   ============================================================ */

/* ============================================================
   VARIABLES + RACINE
   ============================================================ */
.lf-services {
  /* ---- Palette de base (Sauge Minérale) ---- */
  --bg: #F2EFE7;
  --bg-alt: #E8E4D9;
  --surface: #FBFAF5;
  --ink: #1A2620;
  --title: #2E3A33;
  --muted: #55605A;
  --tertiary: #8A948D;
  --rule: #DFDACD;
  --brand: #6B7F6C;
  --brand-deep: #24332A;
  --accent: #B08867;

  /* ---- Spécifique Services (note plus chaude) ---- */
  --warm: #C99A6E;
  --warm-bg: #F7F1EA;
  --gift: #D4A574;
  --gift-deep: #9A7142;

  /* ---- Tokens dédiés ---- */
  --s-pad-section: 96px;
  --s-pad-x: 40px;
  --s-pad-card: 28px;
  --s-radius-card: 14px;
  --s-radius-pill: 999px;
  --s-maxw: 1240px;
  --s-shadow-card: 0 10px 28px -14px rgba(36,51,42,.18);
  --s-shadow-card-hover: 0 22px 48px -20px rgba(36,51,42,.30);

  /* ---- Typo ---- */
  --font-serif: 'Instrument Serif', 'Noto Serif', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  box-sizing: border-box;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--warm-bg);
  padding: var(--s-pad-section) var(--s-pad-x);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.lf-services *,
.lf-services *::before,
.lf-services *::after { box-sizing: border-box; }

.lf-services h1, .lf-services h2,
.lf-services h3, .lf-services h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}
.lf-services em { font-style: italic; color: var(--brand); }
.lf-services a { color: inherit; text-decoration: none; }
.lf-services img { max-width: 100%; display: block; }

/* ---- Variantes de fond ---- */
.lf-services--warm   { background: var(--warm-bg); }
.lf-services--sable  { background: var(--bg); }
.lf-services--deep   { background: var(--brand-deep); color: #d8e0d4; }
.lf-services--deep h2,
.lf-services--deep h3 { color: #fbfaf5; }

/* ============================================================
   STRUCTURE — inner + header éditorial
   ============================================================ */
.lf-services .tpl-inner { max-width: var(--s-maxw); margin: 0 auto; }

.lf-services .tpl-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.lf-services .tpl-head h2 { font-size: 42px; line-height: 1.1; color: var(--title); }
.lf-services .tpl-head h2 em { color: var(--brand); }

.lf-services .eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lf-services .eyebrow::after {
  content: '';
  flex: 0 0 auto;
  width: 28px; height: 1px;
  background: currentColor; opacity: .55;
}
.lf-services .eyebrow .zone-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--warm);
}

.lf-services .tpl-desc { color: var(--muted); font-size: 15px; max-width: 460px; }
.lf-services .tpl-spec {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 11.5px; color: var(--tertiary);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.lf-services .tpl-spec b { color: var(--title); font-weight: 600; letter-spacing: 0.04em; }
.lf-services--deep .tpl-desc { color: #b6c0b1; }
.lf-services--deep .tpl-spec { color: #8a948d; border-color: rgba(255,255,255,.12); }
.lf-services--deep .tpl-spec b { color: #fbfaf5; }
.lf-services--deep .eyebrow { color: var(--gift); }

/* ============================================================
   CARD SERVICE — composant universel
   ============================================================ */
.lf-services .card-service {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--s-radius-card);
  padding: var(--s-pad-card);
  box-shadow: var(--s-shadow-card);
  transition: transform .3s cubic-bezier(.2,.7,.2,1),
              box-shadow .3s, border-color .3s;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.lf-services .card-service::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--brand);
  opacity: 0;
  transition: opacity .3s;
}
.lf-services .card-service:hover {
  transform: translateY(-5px);
  box-shadow: var(--s-shadow-card-hover);
  border-color: var(--brand);
}
.lf-services .card-service:hover::before { opacity: 1; }
.lf-services .card-service:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.lf-services .card-service__icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(176,136,103,.10);
  border: 1px solid rgba(176,136,103,.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  flex: 0 0 auto;
  transition: background .3s, color .3s;
}
.lf-services .card-service__icon svg { width: 30px; height: 30px; display: block; }
.lf-services .card-service:hover .card-service__icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fbfaf5;
}

.lf-services .card-service__content { flex: 1 1 auto; }

.lf-services .card-service__title {
  font-size: 21px;
  line-height: 1.2;
  color: var(--title);
  margin: 12px 0 10px;
}
.lf-services .card-service__title em { color: var(--brand); }

.lf-services .card-service__desc {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}

.lf-services .card-service__cta {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.01em;
  transition: gap .25s, color .2s;
}
.lf-services .card-service__cta::after { content: '→'; font-size: 16px; transition: transform .25s; }
.lf-services .card-service:hover .card-service__cta { color: var(--brand-deep); }
.lf-services .card-service:hover .card-service__cta::after { transform: translateX(4px); }

/* ============================================================
   BADGES
   ============================================================ */
.lf-services__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--s-radius-pill);
  background: rgba(107,127,108,.12);
  color: var(--brand);
  border: 1px solid transparent;
}
.lf-services__badge--gratuit,
.lf-services__badge--gift {
  background: rgba(212,165,116,.18);
  color: var(--gift-deep);
  border-color: rgba(212,165,116,.40);
}
.lf-services__badge--gift::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gift);
}

/* ============================================================
   BOUTONS CTA
   ============================================================ */
.lf-services .lf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: var(--s-radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .22s;
  min-height: 44px;
}
.lf-services .lf-btn--accent { background: var(--warm); color: #fff; }
.lf-services .lf-btn--accent:hover { background: var(--accent); transform: translateY(-2px); }
.lf-services .lf-btn--brand { background: var(--brand); color: #fff; }
.lf-services .lf-btn--brand:hover { background: var(--brand-deep); transform: translateY(-2px); }
.lf-services .lf-btn--ghost { background: transparent; border-color: var(--rule); color: var(--title); }
.lf-services .lf-btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.lf-services .lf-btn--light { background: #fbfaf5; color: var(--brand-deep); }
.lf-services .lf-btn--light:hover { background: #fff; transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE BASE
   ============================================================ */
@media (max-width: 920px) {
  .lf-services .tpl-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .lf-services .tpl-head h2 { font-size: 34px; }
}
@media (max-width: 720px) {
  .lf-services { padding: 56px 22px; }
  .lf-services .tpl-head h2 { font-size: 30px; }
}

/* ============================================================
   ===== S01 — TRIO CLASSIQUE =====
   ============================================================ */
.lf-services #tpl-s01-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 920px) {
  .lf-services #tpl-s01-grid { grid-template-columns: 1fr 1fr; }
  .lf-services #tpl-s01-grid > :nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .lf-services #tpl-s01-grid { grid-template-columns: 1fr; }
  .lf-services #tpl-s01-grid > :nth-child(3) { grid-column: auto; }
}

/* ============================================================
   ===== S02 — PILIER & APPUIS =====
   ============================================================ */
.lf-services #tpl-s02-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.lf-services .s02-pilier {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: var(--s-radius-card);
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--s-shadow-card);
  display: flex; flex-direction: column;
  min-height: 460px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.lf-services .s02-pilier:hover {
  transform: translateY(-4px);
  box-shadow: var(--s-shadow-card-hover);
  border-color: var(--brand);
}
.lf-services .s02-pilier__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(107,127,108,.16), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(176,136,103,.10), transparent 50%);
}
.lf-services .s02-pilier__bg svg {
  position: absolute; right: -20px; bottom: -20px;
  width: 280px; height: 280px;
  color: var(--brand); opacity: .12;
}
.lf-services .s02-pilier__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; height: 100%;
}
.lf-services .s02-pilier .pilier-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.lf-services .s02-pilier .pilier-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: currentColor; opacity: .5;
}
.lf-services .s02-pilier h3 {
  font-size: 34px; line-height: 1.08; color: var(--title);
  margin: 0 0 16px; max-width: 460px;
}
.lf-services .s02-pilier h3 em { color: var(--brand); }
.lf-services .s02-pilier p {
  font-size: 15.5px; color: var(--muted); max-width: 440px; margin: 0;
}
.lf-services .s02-pilier .pilier-foot {
  margin-top: auto; padding-top: 28px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}

.lf-services .s02-appuis { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.lf-services .s02-appuis .card-service { padding: 26px; }
.lf-services .s02-appuis .card-service__icon { width: 48px; height: 48px; margin-bottom: 14px; }
.lf-services .s02-appuis .card-service__icon svg { width: 26px; height: 26px; }
.lf-services .s02-appuis .card-service__title { font-size: 19px; margin: 6px 0 8px; }
.lf-services .s02-appuis .card-service__desc { font-size: 13.8px; }
.lf-services .s02-appuis .card-service__cta { margin-top: 16px; }

@media (max-width: 920px) {
  .lf-services #tpl-s02-grid { grid-template-columns: 1fr; }
  .lf-services .s02-appuis { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .lf-services .s02-appuis { grid-template-columns: 1fr; }
  .lf-services .s02-pilier { padding: 30px; min-height: 0; }
  .lf-services .s02-pilier h3 { font-size: 28px; }
}

/* ============================================================
   ===== S03 — DUO SPLIT-SCREEN =====
   ============================================================ */
.lf-services #tpl-s03-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  border: 1px solid var(--rule);
  border-radius: var(--s-radius-card);
  overflow: hidden;
  box-shadow: var(--s-shadow-card);
  background: var(--surface);
}
.lf-services .s03-rule { background: var(--rule); }
.lf-services .s03-side {
  position: relative;
  padding: 48px 44px;
  display: flex; flex-direction: column;
  min-height: 420px;
  transition: background .35s;
}
.lf-services .s03-side--ligne {
  background: linear-gradient(180deg, rgba(107,127,108,.07), rgba(107,127,108,.02));
}
.lf-services .s03-side--papier {
  background: linear-gradient(180deg, rgba(176,136,103,.08), rgba(176,136,103,.02));
}
.lf-services .s03-side--ligne:hover {
  background: linear-gradient(180deg, rgba(107,127,108,.12), rgba(107,127,108,.04));
}
.lf-services .s03-side--papier:hover {
  background: linear-gradient(180deg, rgba(176,136,103,.13), rgba(176,136,103,.05));
}
.lf-services .s03-side .s03-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.lf-services .s03-side--ligne .s03-icon { background: rgba(107,127,108,.14); color: var(--brand); }
.lf-services .s03-side--papier .s03-icon { background: rgba(176,136,103,.16); color: var(--accent); }
.lf-services .s03-side .s03-icon svg { width: 30px; height: 30px; }
.lf-services .s03-side .s03-eyebrow {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 12px;
}
.lf-services .s03-side--ligne .s03-eyebrow { color: var(--brand); }
.lf-services .s03-side--papier .s03-eyebrow { color: var(--accent); }
.lf-services .s03-side h3 { font-size: 28px; line-height: 1.12; color: var(--title); margin: 0 0 14px; }
.lf-services .s03-side h3 em { color: var(--brand); }
.lf-services .s03-side--papier h3 em { color: var(--accent); }
.lf-services .s03-side p { font-size: 15px; color: var(--muted); margin: 0; max-width: 420px; }
.lf-services .s03-side .s03-foot {
  margin-top: auto; padding-top: 30px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.lf-services .s03-side .s03-meta { font-size: 12.5px; color: var(--tertiary); }

@media (max-width: 720px) {
  .lf-services #tpl-s03-grid { grid-template-columns: 1fr; }
  .lf-services .s03-rule { height: 1px; width: auto; }
  .lf-services .s03-side { padding: 34px 26px; min-height: 0; }
  .lf-services .s03-side h3 { font-size: 24px; }
}

/* ============================================================
   ===== S04 — BANDEAU MANIFESTE =====
   ============================================================ */
.lf-services--manifeste { padding: 0; background: var(--warm-bg); }
.lf-services #tpl-s04-grid {
  position: relative;
  overflow: hidden;
  background: var(--brand-deep);
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 40px;
}
.lf-services .s04-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .14;
  background:
    radial-gradient(60% 70% at 78% 20%, rgba(212,165,116,.9), transparent 60%),
    radial-gradient(50% 60% at 20% 90%, rgba(107,127,108,.8), transparent 55%);
}
.lf-services .s04-bg svg {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: 360px; height: 360px; color: #fbfaf5; opacity: .9;
}
.lf-services .s04-inner { position: relative; z-index: 1; max-width: 760px; }
.lf-services .s04-eyebrow {
  font-size: 11.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gift); font-weight: 600; margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 12px;
}
.lf-services .s04-eyebrow::before,
.lf-services .s04-eyebrow::after {
  content: ''; width: 30px; height: 1px; background: currentColor; opacity: .5;
}
.lf-services #tpl-s04-grid h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 44px; line-height: 1.08; color: #fbfaf5;
  margin: 0 auto 22px; max-width: 640px; letter-spacing: -0.01em;
}
.lf-services #tpl-s04-grid h2 em { font-style: italic; color: #c6d3b8; }
.lf-services .s04-lead {
  font-size: 16.5px; line-height: 1.65; color: #c2cebd;
  margin: 0 auto 16px; max-width: 540px;
}
.lf-services .s04-badge-wrap { margin-bottom: 30px; }
.lf-services .s04-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
}
.lf-services .s04-actions .lf-btn--accent { padding: 18px 40px; font-size: 15px; }
.lf-services .s04-note {
  display: block; margin-top: 18px;
  font-size: 12.5px; color: #8a948d; letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .lf-services #tpl-s04-grid { padding: 56px 24px; min-height: 0; }
  .lf-services #tpl-s04-grid h2 { font-size: 30px; }
  .lf-services .s04-bg svg { display: none; }
}

/* ============================================================
   ===== S05 — QUADRUPLE COMPACT =====
   ============================================================ */
.lf-services #tpl-s05-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lf-services .s05-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 20px 22px;
  transition: background .2s, border-color .2s;
  min-height: 44px;
}
.lf-services .s05-card:hover { background: #fff; border-color: var(--brand); }
.lf-services .s05-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.lf-services .s05-card__icon {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(176,136,103,.10);
  border: 1px solid rgba(176,136,103,.20);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: background .2s, color .2s;
}
.lf-services .s05-card:hover .s05-card__icon {
  background: var(--brand); color: #fbfaf5; border-color: var(--brand);
}
.lf-services .s05-card__icon svg { width: 24px; height: 24px; }
.lf-services .s05-card__body { flex: 1 1 auto; min-width: 0; }
.lf-services .s05-card__head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 3px; flex-wrap: wrap;
}
.lf-services .s05-card__title {
  font-family: var(--font-serif); font-size: 19px;
  color: var(--title); line-height: 1.15;
}
.lf-services .s05-card__title em { color: var(--brand); font-style: italic; }
.lf-services .s05-card__desc {
  font-size: 13px; color: var(--muted); margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lf-services .s05-card__arrow {
  flex: 0 0 auto; color: var(--brand); font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  transition: gap .2s;
}
.lf-services .s05-card__arrow::after { content: '→'; font-size: 15px; }
.lf-services .s05-card:hover .s05-card__arrow { gap: 9px; }
.lf-services .s05-badge {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(212,165,116,.18); color: var(--gift-deep);
  border: 1px solid rgba(212,165,116,.38);
}
.lf-services .s05-badge--neutre {
  background: rgba(107,127,108,.12); color: var(--brand); border-color: transparent;
}

@media (max-width: 720px) {
  .lf-services #tpl-s05-grid { grid-template-columns: 1fr; }
  .lf-services .s05-card__desc { white-space: normal; }
  .lf-services .s05-card__arrow { display: none; }
}

/* ============================================================
   ===== S06 — CASCADE ÉDITORIALE =====
   ============================================================ */
.lf-services--cascade {
  background:
    linear-gradient(180deg, rgba(201,154,110,.05), transparent 30%),
    var(--warm-bg);
}
.lf-services #tpl-s06-grid { border-top: 1px solid var(--rule); }
.lf-services .s06-band {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 38px 8px;
  border-bottom: 1px solid var(--rule);
  transition: background .25s, padding-left .25s;
}
.lf-services .s06-band:hover { background: rgba(255,255,255,.5); padding-left: 20px; }
.lf-services .s06-band:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.lf-services .s06-band__icon {
  width: 80px; height: 80px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: background .25s, color .25s, border-color .25s;
}
.lf-services .s06-band:hover .s06-band__icon {
  background: var(--brand); color: #fbfaf5; border-color: var(--brand);
}
.lf-services .s06-band__icon svg { width: 40px; height: 40px; }
.lf-services .s06-band__body { max-width: 640px; }
.lf-services .s06-band__head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 9px; flex-wrap: wrap;
}
.lf-services .s06-band__title {
  font-family: var(--font-serif); font-size: 26px; line-height: 1.12; color: var(--title);
}
.lf-services .s06-band__title em { color: var(--brand); font-style: italic; }
.lf-services .s06-band__desc {
  font-size: 14.8px; color: var(--muted); margin: 0; text-wrap: pretty;
}
.lf-services .s06-band__cta { flex: 0 0 auto; }
.lf-services .s06-band__cta .lf-btn { white-space: nowrap; }

@media (max-width: 820px) {
  .lf-services .s06-band { grid-template-columns: 72px 1fr; gap: 22px; }
  .lf-services .s06-band__icon { width: 64px; height: 64px; }
  .lf-services .s06-band__icon svg { width: 32px; height: 32px; }
  .lf-services .s06-band__cta { grid-column: 2; justify-self: start; }
}
@media (max-width: 720px) {
  .lf-services .s06-band { grid-template-columns: 1fr; gap: 16px; padding: 30px 4px; }
  .lf-services .s06-band:hover { padding-left: 4px; }
  .lf-services .s06-band__cta { grid-column: 1; }
  .lf-services .s06-band__cta .lf-btn { width: 100%; justify-content: center; }
}
