/* ============================================================
   LF Audit Pages — CSS partagé pour toutes les pages "Template SEO"
   Charte Sauge Minérale · v1.0
   Chargé automatiquement par LF_Audit_Pages sur les pages contenant
   class="lf-page" dans leur contenu.
   ============================================================ */

.lf-page {
  --bg: #F2EFE7;
  --bg-alt: #E8E4D9;
  --surface: #FBFAF5;
  --ink: #1A2620;
  --title: #2E3A33;
  --muted: #55605A;
  --tertiary: #8A948D;
  --rule: #DFDACD;
  --brand: #6B7F6C;
  --brand-deep: #24332A;
  --accent: #B08867;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
}
.lf-page * { box-sizing: border-box; }
.lf-page a { color: inherit; text-decoration: none; }
.lf-page img { max-width: 100%; display: block; }
.lf-page h1,
.lf-page h2,
.lf-page h3,
.lf-page h4 {
  font-family: 'Instrument Serif', 'Noto Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}
.lf-page em { font-style: italic; color: var(--brand); }

.lf-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.lf-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 14px;
}

.lf-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  transition: all .18s ease;
  border: none;
  cursor: pointer;
}
.lf-btn-accent { background: var(--accent); color: var(--brand-deep); }
.lf-btn-accent:hover { background: #c9a07f; }

/* === HERO === */
.lf-hero {
  background: var(--brand-deep);
  color: var(--surface);
  padding: 80px 0 88px;
  text-align: center;
}
.lf-breadcrumb {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aebbae;
  margin-bottom: 24px;
}
.lf-breadcrumb a { color: #aebbae; }
.lf-breadcrumb .sep { opacity: .4; margin: 0 8px; }
.lf-breadcrumb .cur { color: #fff; }
.lf-hero h1 {
  font-size: 52px;
  line-height: 1.08;
  margin: 0 auto 18px;
  max-width: 22ch;
  color: var(--surface);
}
.lf-hero h1 em { color: var(--accent); }
.lf-hero .lede {
  color: #c2cebd;
  font-size: 17px;
  max-width: 62ch;
  margin: 0 auto;
}

/* === INTRO BANNER === */
.lf-intro-banner { background: var(--bg-alt); }
.lf-intro-banner img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* === EDITORIAL === */
.lf-editorial { background: var(--bg-alt); padding: 90px 0; }
.lf-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.lf-editorial h2 {
  font-size: 38px;
  line-height: 1.1;
  color: var(--brand-deep);
  margin: 0 0 16px;
}
.lf-editorial .col-l p {
  color: var(--tertiary);
  font-size: 14.5px;
  font-style: italic;
  max-width: 38ch;
}
.lf-editorial .col-r p {
  color: var(--title);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 18px;
}
.lf-editorial .col-r strong { color: var(--brand-deep); font-weight: 600; }
.lf-editorial .col-r a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lf-edito-illu {
  margin-top: 28px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(36,51,42,.08);
}
.lf-edito-illu img { width: 100%; }
.lf-edito-illu figcaption {
  font-size: 12px;
  color: var(--tertiary);
  padding: 10px 14px;
  background: var(--surface);
  font-style: italic;
}

/* === LISTS (citations classées) === */
.lf-lists { background: var(--surface); padding: 100px 0; }
.lf-lists__head { max-width: 820px; margin: 0 0 48px; }
.lf-lists__head h2 {
  font-size: 40px;
  color: var(--brand-deep);
  margin: 0 0 14px;
}
.lf-lists__head p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 60ch;
  margin: 0;
}
.lf-lists__category {
  margin-bottom: 48px;
  padding: 32px 36px;
  background: var(--bg);
  border-radius: 14px;
  border-left: 4px solid var(--brand);
}
.lf-lists__category h3 {
  font-size: 26px;
  color: var(--brand-deep);
  margin: 0 0 8px;
}
.lf-lists__category .lf-cat-sub {
  font-size: 12.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tertiary);
  font-weight: 500;
  margin-bottom: 22px;
}
.lf-lists__items { list-style: none; padding: 0; margin: 0; }
.lf-lists__items li {
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid var(--rule);
  color: var(--title);
  font-size: 15px;
  line-height: 1.65;
  position: relative;
  font-style: italic;
}
.lf-lists__items li::before {
  content: "«";
  position: absolute;
  left: 0;
  top: 16px;
  color: var(--accent);
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  line-height: 1;
}
.lf-lists__items li strong {
  font-style: normal;
  color: var(--brand-deep);
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* === CONTENT (style numéroté guide-personnalisation) === */
.lf-content { background: var(--surface); padding: 100px 0; }
.lf-content-section { margin-bottom: 48px; }
.lf-content-section h2 {
  font-size: 30px;
  color: var(--brand-deep);
  margin: 0 0 18px;
  position: relative;
  padding-left: 56px;
}
.lf-content-section h2[data-num]::before {
  content: attr(data-num);
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--accent);
  font-size: 32px;
}
.lf-content-section ul { padding-left: 20px; margin: 0; }
.lf-content-section ul li {
  padding: 8px 0;
  color: var(--title);
  font-size: 15px;
  line-height: 1.65;
}
.lf-content-section ul li strong {
  color: var(--brand-deep);
  font-weight: 600;
}
.lf-content-section p {
  color: var(--title);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 14px;
}

/* === CTA (sombre full-width) === */
.lf-cta {
  background: var(--brand-deep);
  padding: 88px 0;
  text-align: center;
  color: var(--surface);
  position: relative;
  overflow: hidden;
}
.lf-cta__bg { position: absolute; inset: 0; opacity: 0.12; }
.lf-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.3);
}
.lf-cta__content { position: relative; z-index: 2; }
.lf-cta h2 {
  font-size: 40px;
  line-height: 1.12;
  margin: 0 auto 16px;
  color: var(--surface);
  max-width: 22ch;
}
.lf-cta h2 em { color: var(--accent); }
.lf-cta p {
  color: #c2cebd;
  font-size: 16.5px;
  max-width: 56ch;
  margin: 0 auto 28px;
}

/* === GUIDES & MEMO cards (avec icônes SVG via background) === */
.lf-guides { background: var(--bg); padding: 90px 0; }
.lf-guides__head { text-align: center; margin-bottom: 36px; }
.lf-guides__head h2 {
  font-size: 32px;
  color: var(--brand-deep);
  margin: 0 0 12px;
}
.lf-guides__head p {
  color: var(--muted);
  font-size: 15px;
  max-width: 56ch;
  margin: 0 auto;
}
.lf-guides__grid,
.lf-memo__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lf-guide-card,
.lf-memo-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 32px 26px;
  text-align: center;
  transition: all .2s;
}
.lf-guide-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.lf-memo-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.lf-guide-icon,
.lf-memo-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--bg-alt);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 26px 26px;
  margin: 0 auto 16px;
}
.lf-guide-card h3,
.lf-memo-card h3 {
  font-size: 18px;
  color: var(--brand-deep);
  margin: 0;
}
/* Icônes (data URIs) — couleur brand par défaut */
.lf-guide-icon--epitaphes,
.lf-memo-icon--epitaphes {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%236B7F6C'%3E%3Cpath d='M79.18 282.94a32 32 0 00-20.24 20.24L0 480l4.69 4.69 92.89-92.89c-.66-2.56-1.57-5.03-1.57-7.8 0-17.67 14.33-32 32-32s32 14.33 32 32-14.33 32-32 32c-2.77 0-5.24-.91-7.8-1.57l-92.89 92.89L32 512l176.82-58.94a32 32 0 0020.24-20.24l33.07-84.07-98.88-98.88-84.07 33.07zM369.25 28.32L186.14 227.81l97.85 97.85 199.49-183.11C568.4 67.48 443.73-55.94 369.25 28.32z'/%3E%3C/svg%3E");
}
.lf-guide-icon--condoleances,
.lf-memo-icon--condoleances {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%236B7F6C'%3E%3Cpath d='M256 32C132.3 32 32 125.9 32 241.5c0 56.5 24.1 108 63.2 146C83.4 414.7 32 480 32 480s108-20.4 183-58c13 3.8 26.7 6.3 40.9 7.5C367.2 437.9 480 350.8 480 241.5 480 125.9 379.7 32 256 32z'/%3E%3C/svg%3E");
}
.lf-guide-icon--personnalisation {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%236B7F6C'%3E%3Cpath d='M204.3 5C104.9 24.4 24.8 104.3 5.2 203.4c-37 187 131.7 326.4 258.8 306.7 41.2-6.4 61.4-54.6 42.5-91.7-23.1-45.4 9.9-98.4 60.9-98.4h79.7c35.8 0 64.8-29.6 64.9-65.3C511.5 97.1 368.1-26.9 204.3 5z'/%3E%3C/svg%3E");
}
.lf-memo-icon--hommages {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%23B08867'%3E%3Cpath d='M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z'/%3E%3C/svg%3E");
}
.lf-memo-icon--remerciements {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%23B08867'%3E%3Cpath d='M256 32C132.3 32 32 125.9 32 241.5c0 56.5 24.1 108 63.2 146C83.4 414.7 32 480 32 480s108-20.4 183-58c13 3.8 26.7 6.3 40.9 7.5C367.2 437.9 480 350.8 480 241.5 480 125.9 379.7 32 256 32z'/%3E%3C/svg%3E");
}
.lf-memo-icon--epitaphes {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%23B08867'%3E%3Cpath d='M79.18 282.94a32 32 0 00-20.24 20.24L0 480l4.69 4.69 92.89-92.89c-.66-2.56-1.57-5.03-1.57-7.8 0-17.67 14.33-32 32-32s32 14.33 32 32-14.33 32-32 32c-2.77 0-5.24-.91-7.8-1.57l-92.89 92.89L32 512l176.82-58.94a32 32 0 0020.24-20.24l33.07-84.07-98.88-98.88-84.07 33.07zM369.25 28.32L186.14 227.81l97.85 97.85 199.49-183.11C568.4 67.48 443.73-55.94 369.25 28.32z'/%3E%3C/svg%3E");
}

/* === FAQ accordion === */
.lf-faq { background: var(--surface); padding: 100px 0; }
.lf-faq-wrap { max-width: 820px; margin: 0 auto; }
.lf-faq-head { text-align: center; margin-bottom: 40px; }
.lf-faq-head h2 {
  font-size: 40px;
  color: var(--brand-deep);
  margin: 0 0 14px;
}
.lf-faq-item {
  border: 1px solid var(--rule);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--surface);
}
.lf-faq-q {
  width: 100%;
  background: var(--bg);
  border: 0;
  padding: 18px 24px;
  text-align: left;
  font-family: 'Instrument Serif', serif;
  font-size: 18px;
  color: var(--brand-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.lf-faq-q:hover { background: var(--bg-alt); }
.lf-faq-q .plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--brand);
  transition: all .2s;
  flex-shrink: 0;
}
.lf-faq-item.open .lf-faq-q .plus {
  background: var(--brand);
  color: var(--surface);
  transform: rotate(45deg);
}
.lf-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s, padding .28s;
  padding: 0 24px;
  color: var(--title);
  font-size: 14.5px;
  line-height: 1.75;
}
.lf-faq-item.open .lf-faq-a {
  max-height: 1000px;
  padding: 16px 24px 22px;
}
.lf-faq-a strong { color: var(--brand-deep); font-weight: 600; }
.lf-faq-a a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === BLOG SECTION === */
.lf-blog-section { background: var(--bg-alt); padding: 90px 0; }
.lf-blog-section__head { text-align: center; margin-bottom: 36px; }
.lf-blog-section__head h2 {
  font-size: 32px;
  color: var(--brand-deep);
  margin: 0 0 12px;
}
.lf-blog-section__head p {
  color: var(--muted);
  font-size: 15px;
  max-width: 56ch;
  margin: 0 auto;
}

/* === THEMES BAR (chips) === */
.lf-themes-bar { background: var(--surface); padding: 70px 0; text-align: center; }
.lf-themes-bar h2 {
  font-size: 28px;
  color: var(--brand-deep);
  margin: 0 0 10px;
}
.lf-themes-bar p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 52ch;
  margin: 0 auto 22px;
}
.lf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.lf-chip {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--rule);
  color: var(--brand-deep);
  font-size: 13.5px;
  font-weight: 500;
  transition: all .15s;
}
.lf-chip:hover { border-color: var(--brand); color: var(--brand); }

/* === MEMO (cards bas de page) === */
.lf-memo { background: var(--bg); padding: 90px 0; }
.lf-memo__head { margin-bottom: 36px; }
.lf-memo__head h2 {
  font-size: 32px;
  color: var(--brand-deep);
  margin: 0 0 12px;
}
.lf-memo__head p {
  color: var(--muted);
  font-size: 15px;
  max-width: 56ch;
  margin: 0;
}

/* === Responsive === */
@media (max-width: 960px) {
  .lf-container { padding: 0 24px; }
  .lf-hero h1 { font-size: 36px; }
  .lf-edit-grid { grid-template-columns: 1fr; gap: 24px; }
  .lf-guides__grid,
  .lf-memo__grid { grid-template-columns: 1fr; }
  .lf-lists__head h2,
  .lf-editorial h2,
  .lf-faq-head h2,
  .lf-cta h2 { font-size: 28px; }
  .lf-lists__category { padding: 24px 22px; }
  .lf-content-section h2 { font-size: 24px; padding-left: 44px; }
}

/* ============================================================
   LF Video Section — Démo vidéo HTML5 (finitions miroir, etc.)
   Ajouté pour /finitions-miroir/ — réutilisable
   ============================================================ */
.lf-page .lf-video-section {
  background: var(--bg-alt);
  padding: 90px 0 70px;
}
.lf-page .lf-video-head {
  text-align: center;
  margin-bottom: 48px;
}
.lf-page .lf-video-head h2 {
  font-size: 38px;
  color: var(--brand-deep);
  margin: 0 0 14px;
}
.lf-page .lf-video-head p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 62ch;
  margin: 0 auto;
  line-height: 1.7;
}
.lf-page .lf-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}
.lf-page .lf-video-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(36, 51, 42, 0.08);
}
.lf-page .lf-video {
  width: 100%;
  display: block;
  background: var(--brand-deep);
  aspect-ratio: 16/9;
  object-fit: cover;
}
.lf-page .lf-video-caption {
  padding: 22px 26px 24px;
}
.lf-page .lf-eyebrow--brand { color: var(--brand); }
.lf-page .lf-eyebrow--accent { color: var(--accent); }
.lf-page .lf-video-title {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  color: var(--brand-deep);
  margin: 6px 0 10px;
}
.lf-page .lf-video-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 960px) {
  .lf-page .lf-video-section { padding: 60px 0 50px; }
  .lf-page .lf-video-head h2 { font-size: 28px; }
  .lf-page .lf-video-grid { grid-template-columns: 1fr; gap: 20px; }
}
