/* ════════════════════════════════════════════════════════════════════
   lefelin — Page « Âge du chat en âge humain »
   Section autonome lf-cat-age : hero + calculateur interactif (live),
   méthode de calcul, tableau de conversion server-rendered, âges de la
   vie du chat, maillage collections, FAQ + JSON-LD.
   100 % scopé .lf-agepg — aucune dépendance à body.lefelin ni au CSS
   Minimog. Polices Fraunces + Manrope (chargées par la section).
   ════════════════════════════════════════════════════════════════════ */
.lf-agepg {
  --paper: #fdf8ef;
  --paper-2: #f6ecdd;
  --card: #fffaf2;
  --warm: #f6efe1;
  --beige: #f1e8d8;
  --soft: #f1e4cf;
  --ink: #2a2117;
  --ink-2: #473c2e;
  --muted: #8a7a63;
  --line: #ebddc8;
  --line-2: #e0cfb4;
  --accent: #b07a3c;
  --accent-2: #9c6730;
  --accent-deep: #7c5527;
  --green: #6f8c54;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --sp: clamp(40px, 5vw, 76px);
  font-family: var(--sans);
  font-size: 16px;
  background: var(--paper);
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
section.lf-cat-age-section {
  max-width: none;
  margin: 0;
  padding: 0;
}
/* Le thème met le SUFFIXE de template comme classe body (body.lf-cat-age).
   On supprime la bande blanche basse du <main> sur cette page : la section
   gère son propre rythme. Sélecteur body pour battre la spécificité thème. */
body.lf-cat-age #MainContent {
  padding-bottom: 0;
}
.lf-agepg *,
.lf-agepg *::before,
.lf-agepg *::after {
  box-sizing: border-box;
}
.lf-agepg img {
  display: block;
  max-width: 100%;
}
.lf-agepg a {
  color: inherit;
  text-decoration: none;
}
.lf-agepg h1,
.lf-agepg h2,
.lf-agepg h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}
.lfa-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 52px);
}
.lfa-narrow {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* reveal au scroll */
.lf-agepg .rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.lf-agepg .rv.rv-in {
  opacity: 1;
  transform: none;
}

/* ════════ ATOMES ════════ */
.lfa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.lfa-eyebrow svg {
  flex: none;
}
.lfa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.3, 0.7, 0.4, 1), box-shadow 0.25s, background 0.25s, color 0.25s,
    border-color 0.25s;
}
.lfa-btn svg {
  flex: none;
  transition: transform 0.25s;
}
.lfa-btn--primary {
  background: var(--accent);
  color: #fff8ee;
  box-shadow: 0 16px 34px -18px rgba(176, 122, 60, 0.9);
}
.lfa-btn--primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -18px rgba(156, 103, 48, 0.95);
}
.lfa-btn--primary:hover svg {
  transform: translateX(4px);
}
.lfa-btn--ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line-2);
}
.lfa-btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  transform: translateY(-2px);
}

/* ════════ HERO ════════ */
.lfa-hero {
  position: relative;
  padding: clamp(36px, 4.5vw, 64px) 0 var(--sp);
  text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, var(--warm), transparent 62%), var(--paper);
  overflow: hidden;
}
.lfa-crumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 0.82rem;
  color: var(--muted);
}
.lfa-crumb .is-cur {
  max-width: 46ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-2);
}
.lfa-crumb a:hover {
  color: var(--accent-deep);
}
.lfa-crumb svg {
  opacity: 0.6;
}
.lf-agepg .lfa-h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
}
.lfa-h1 em {
  font-style: italic;
  color: var(--accent-deep);
}
.lfa-lead {
  margin: clamp(16px, 2vw, 22px) auto 0;
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.lfa-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: clamp(20px, 2.4vw, 28px) 0 0;
  list-style: none;
  padding: 0;
}
.lfa-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
}
.lfa-meta svg {
  color: var(--accent);
  flex: none;
}

/* ════════ CALCULATEUR ════════ */
.lfa-calc {
  margin: clamp(20px, 3vw, 36px) auto 0;
  max-width: 880px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.2vw, 26px);
  text-align: left;
}
@media (max-width: 760px) {
  .lfa-calc {
    grid-template-columns: 1fr;
  }
}
.lfa-panel {
  background: radial-gradient(125% 120% at 0% 0%, var(--warm), transparent 52%),
    linear-gradient(158deg, #fffdf8, #f4e8d3);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: clamp(24px, 2.8vw, 34px);
  box-shadow: 0 6px 16px -10px rgba(40, 26, 8, 0.1), 0 22px 44px -26px rgba(40, 26, 8, 0.16),
    inset 0 2px 0 rgba(255, 255, 255, 0.7);
}
.lfa-panel--in {
  display: flex;
  flex-direction: column;
}
.lfa-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 18px;
}
.lfa-panel-label svg {
  flex: none;
}

/* input années (gros chiffre + steppers) */
.lfa-field {
  margin: 0 0 8px;
}
.lfa-field-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}
.lfa-field-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-2);
}
.lfa-field-val {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.7rem);
  line-height: 1;
  color: var(--ink);
}
.lfa-field-val b {
  font-weight: 500;
}
.lfa-field-val span {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}

/* slider */
.lfa-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--soft);
  outline: none;
  margin: 6px 0 4px;
  box-shadow: inset 0 1px 2px rgba(40, 26, 8, 0.12);
  cursor: pointer;
}
.lfa-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #fffdf8, var(--accent) 140%);
  border: 2px solid var(--accent);
  box-shadow: 0 6px 16px -6px rgba(124, 85, 39, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  cursor: grab;
  transition: transform 0.15s;
}
.lfa-range::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}
.lfa-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fffdf8;
  border: 2px solid var(--accent);
  box-shadow: 0 6px 16px -6px rgba(124, 85, 39, 0.85);
  cursor: grab;
}
.lfa-range:focus-visible {
  box-shadow: inset 0 1px 2px rgba(40, 26, 8, 0.12), 0 0 0 4px rgba(176, 122, 60, 0.25);
}
.lfa-ticks {
  display: flex;
  justify-content: space-between;
  margin: 4px 2px 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

/* stepper mois */
.lfa-months {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 0;
  padding: 14px 16px;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line-2);
  border-radius: 14px;
}
.lfa-months-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-2);
}
.lfa-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lfa-step {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--accent-deep);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.lfa-step:hover {
  border-color: var(--accent);
  background: #fff;
}
.lfa-step:active {
  transform: scale(0.94);
}
.lfa-step:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.lfa-step-val {
  min-width: 64px;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
}
.lfa-step-val span {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 3px;
}

/* panneau résultat */
.lfa-panel--out {
  background: linear-gradient(158deg, #fffdf8, #f1e4cd);
  border-color: var(--line-2);
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.lfa-panel--out::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 88% 14%, rgba(176, 122, 60, 0.06) 0 10px, transparent 11px),
    radial-gradient(circle at 10% 84%, rgba(176, 122, 60, 0.05) 0 8px, transparent 9px);
}
.lfa-panel--out > * {
  position: relative;
  z-index: 1;
}
.lfa-out-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 6px;
}
.lfa-out-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 9vw, 5rem);
  line-height: 0.95;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
}
.lfa-out-num small {
  display: block;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.lfa-out-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px auto 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(176, 122, 60, 0.12);
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.lfa-out-chip svg {
  flex: none;
}
.lfa-out-desc {
  margin: 14px auto 0;
  max-width: 34ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.lfa-out-cta {
  margin: auto auto 0;
  padding-top: 20px;
}
.lfa-out-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-deep);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s, gap 0.2s;
}
.lfa-out-cta a:hover {
  border-color: var(--accent);
  gap: 12px;
}

/* timeline des âges sous le calculateur */
.lfa-timeline {
  max-width: 880px;
  margin: clamp(18px, 2.4vw, 26px) auto 0;
  padding: clamp(18px, 2.2vw, 24px) clamp(16px, 2.2vw, 28px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.lfa-tl-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.lfa-tl-track::before {
  content: "";
  position: absolute;
  left: 8.33%;
  right: 8.33%;
  top: 11px;
  height: 3px;
  background: var(--soft);
  border-radius: 999px;
}
.lfa-tl-fill {
  position: absolute;
  left: 8.33%;
  top: 11px;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.lfa-tl-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.lfa-tl-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--line-2);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.lfa-tl-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.lfa-tl-node.is-on .lfa-tl-dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.35);
  box-shadow: 0 0 0 5px rgba(176, 122, 60, 0.16);
}
.lfa-tl-node.is-on .lfa-tl-name {
  color: var(--accent-deep);
}
.lfa-tl-node.is-done .lfa-tl-dot {
  border-color: var(--accent);
}
@media (max-width: 560px) {
  .lfa-tl-name {
    font-size: 0.62rem;
  }
  .lfa-tl-dot {
    width: 20px;
    height: 20px;
  }
}

/* ════════ MÉTHODE ════════ */
.lfa-method {
  padding: var(--sp) 0;
}
.lfa-sec-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto clamp(30px, 3.4vw, 46px);
}
.lfa-sec-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lfa-sec-head p {
  margin: 16px auto 0;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.lfa-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
@media (max-width: 760px) {
  .lfa-steps {
    grid-template-columns: 1fr;
  }
}
.lfa-stepcard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 2.6vw, 30px);
  overflow: hidden;
  transition: transform 0.26s cubic-bezier(0.3, 0.7, 0.4, 1), box-shadow 0.26s, border-color 0.26s;
}
.lfa-stepcard:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px -12px rgba(124, 85, 39, 0.28), 0 24px 46px -26px rgba(124, 85, 39, 0.32);
}
/* fix bug révélation .rv (transform:none écrase le lift) */
.lf-agepg .lfa-stepcard.rv:hover {
  transform: translateY(-5px);
}
.lfa-stepcard-n {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.55;
  margin: 0 0 12px;
}
.lfa-stepcard-eq {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 10px;
  font-family: var(--serif);
  color: var(--ink);
}
.lfa-stepcard-eq b {
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--accent-deep);
}
.lfa-stepcard h3 {
  font-size: 1.18rem;
  margin: 0 0 8px;
}
.lfa-stepcard p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.lfa-method-note {
  max-width: 760px;
  margin: clamp(24px, 2.6vw, 34px) auto 0;
  padding: 18px 22px;
  background: var(--warm);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-2);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.lfa-method-note svg {
  flex: none;
  color: var(--accent);
  margin-top: 2px;
}

/* ════════ TABLEAU DE CONVERSION ════════ */
.lfa-table-sec {
  padding: var(--sp) 0;
  background: var(--warm);
}
.lfa-table-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 50px -34px rgba(40, 26, 8, 0.3);
}
.lfa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.lfa-table caption {
  caption-side: bottom;
  padding: 14px 20px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: left;
}
.lfa-table thead th {
  background: var(--beige);
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-2);
}
.lfa-table tbody td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: middle;
}
.lfa-table tbody tr:last-child td {
  border-bottom: none;
}
.lfa-table tbody tr {
  transition: background 0.18s;
}
.lfa-table tbody tr:hover {
  background: rgba(176, 122, 60, 0.11);
}
.lfa-table tbody tr:hover .lfa-td-cat {
  color: var(--accent-deep);
  box-shadow: inset 3px 0 0 var(--accent);
}
.lfa-table tbody tr:hover .lfa-td-hum {
  color: var(--accent);
}
.lfa-table .lfa-td-cat {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.lfa-table .lfa-td-hum {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--accent-deep);
  white-space: nowrap;
}
.lfa-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--soft);
  color: var(--accent-deep);
  white-space: nowrap;
}
.lfa-tag[data-stage="junior"] {
  background: #eaf0e0;
  color: #5e7a42;
}
.lfa-tag[data-stage="adulte"] {
  background: #e9efe1;
  color: #5b7740;
}
.lfa-tag[data-stage="mature"] {
  background: #f3e9d6;
  color: #97712f;
}
.lfa-tag[data-stage="senior"] {
  background: #f3e0d3;
  color: #9c5f30;
}
.lfa-tag[data-stage="venerable"] {
  background: #efd9cf;
  color: #9a4f33;
}
@media (max-width: 560px) {
  .lfa-table {
    font-size: 0.88rem;
  }
  .lfa-table thead th,
  .lfa-table tbody td {
    padding: 11px 13px;
  }
  .lfa-table .lfa-th-hide,
  .lfa-table .lfa-td-hide {
    display: none;
  }
}

/* ════════ ÂGES DE LA VIE ════════ */
.lfa-stages {
  padding: var(--sp) 0;
}
.lfa-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
@media (max-width: 880px) {
  .lfa-stage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .lfa-stage-grid {
    grid-template-columns: 1fr;
  }
}
.lfa-stagecard {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(22px, 2.4vw, 28px);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.lfa-stagecard:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px -12px rgba(124, 85, 39, 0.28), 0 24px 46px -26px rgba(124, 85, 39, 0.32);
}
/* la révélation .rv.rv-in pose transform:none (0,3,0) et tuait le lift du hover
   → rétabli avec une spécificité supérieure (même hover que les cartes produit accueil). */
.lf-agepg .lfa-stagecard.rv:hover {
  transform: translateY(-5px);
}
.lfa-stagecard-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}
.lfa-stagecard-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--warm);
  color: var(--accent-deep);
  flex: none;
}
.lfa-stagecard-age {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}
.lfa-stagecard h3 {
  font-size: 1.3rem;
  margin: 0 0 2px;
}
.lfa-stagecard-hum {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 10px;
}
.lfa-stagecard p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--ink-2);
}
.lfa-stagecard-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent-deep);
}
.lfa-stagecard-link svg {
  transition: transform 0.2s;
}
.lfa-stagecard:hover .lfa-stagecard-link svg {
  transform: translateX(4px);
}

/* ════════ MAILLAGE COLLECTIONS ════════ */
.lfa-cols {
  padding: var(--sp) 0;
  background: var(--warm);
}
.lfa-cols-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}
@media (max-width: 980px) {
  .lfa-cols-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .lfa-cols-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.lfa-ccard {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--paper-2);
  aspect-ratio: 4 / 5;
  transition: transform 0.28s cubic-bezier(0.3, 0.7, 0.4, 1), box-shadow 0.28s, border-color 0.28s;
}
.lfa-ccard:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 26px 48px -30px rgba(124, 85, 39, 0.75);
}
.lfa-ccard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.3, 0.7, 0.4, 1);
}
.lfa-ccard:hover img {
  transform: scale(1.05);
}
.lfa-ccard-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(28, 18, 6, 0.74));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.lfa-ccard-label b {
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.25;
  text-wrap: balance;
}
.lfa-ccard-label svg {
  flex: none;
  transition: transform 0.2s;
}
.lfa-ccard:hover .lfa-ccard-label svg {
  transform: translateX(4px);
}

/* bandeau liens éditoriaux (quiz + blog) */
.lfa-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.8vw, 20px);
  max-width: 880px;
  margin: clamp(22px, 2.6vw, 34px) auto 0;
}
@media (max-width: 620px) {
  .lfa-links {
    grid-template-columns: 1fr;
  }
}
.lfa-linkcard {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.lfa-linkcard:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -26px rgba(124, 85, 39, 0.7);
}
.lfa-linkcard-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--warm);
  color: var(--accent-deep);
  flex: none;
}
.lfa-linkcard b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0 0 3px;
}
.lfa-linkcard span {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.lfa-linkcard-arrow {
  margin-left: auto;
  color: var(--accent);
  flex: none;
  transition: transform 0.2s;
}
.lfa-linkcard:hover .lfa-linkcard-arrow {
  transform: translateX(4px);
}

/* ════════ FAQ ════════ */
.lfa-faq {
  padding: var(--sp) 0;
}
/* FAQ — design éditorial identique aux articles de blog (.lf2-faq) :
   lignes bordées, numéro serif + chevron, réponse indentée animée. */
.lfa-faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.lfa-qa {
  border-top: 1px solid var(--line);
  background: none;
  border-radius: 0;
}
.lfa-qa:last-child {
  border-bottom: 1px solid var(--line);
}
.lfa-qa__q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 22px 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
}
.lfa-qa__num {
  flex: none;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--accent);
  line-height: 1.5;
}
.lfa-qa__qtext {
  flex: 1;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--ink);
}
.lfa-qa__chev {
  flex: none;
  display: inline-flex;
  margin-top: 2px;
  color: var(--accent-deep);
  transition: transform 0.25s;
}
.lfa-qa.is-open .lfa-qa__chev {
  transform: rotate(180deg);
}
.lfa-qa__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.lfa-qa.is-open .lfa-qa__a {
  grid-template-rows: 1fr;
}
.lfa-qa__a > div {
  overflow: hidden;
}
.lfa-qa__a p {
  margin: 0 0 22px;
  padding-left: 32px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 66ch;
}

/* ════════ REDUCED MOTION ════════ */
@media (prefers-reduced-motion: reduce) {
  .lf-agepg *,
  .lf-agepg *::before,
  .lf-agepg *::after {
    animation: none !important;
    transition: none !important;
  }
  .lf-agepg .rv {
    opacity: 1;
    transform: none;
  }
}
