/* LokiKit - page À propos (typos via variables.css / layout) */

body.lk-body main.lk-apropos-main {
  padding-inline: var(--page-gutter);
  padding-bottom: 64px;
}

.lk-apropos-wrap {
  max-width: 780px;
  width: 100%;
  margin-inline: auto;
  padding: 32px 0 56px;
  color: var(--text-dark);
}

.lk-apropos-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1.2em;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lk-accroche {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: 0 8px 24px rgba(30, 37, 53, 0.06);
}

.lk-apropos-section {
  margin-bottom: 2.5rem;
}

.lk-apropos-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1rem;
}

.lk-apropos-section p {
  margin: 0 0 1em;
  color: var(--text-dark);
  line-height: 1.7;
}

.lk-apropos-section p:last-child {
  margin-bottom: 0;
}

/* Grille problèmes */
.lk-problems-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .lk-problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lk-problem-card {
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--navy) 10%, transparent);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: 0 8px 22px rgba(30, 37, 53, 0.06);
}

.lk-problem-card strong {
  color: var(--navy);
  font-size: 1rem;
}

.lk-problem-card p {
  margin: 0.45em 0 0;
  font-size: 0.98rem;
  color: var(--text-mid);
}

/* Liste promesse */
.lk-promesse-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.lk-promesse-list li {
  position: relative;
  padding-left: 2.35rem;
  margin-bottom: 0.85rem;
  min-height: 1.6em;
  color: var(--text-dark);
  line-height: 1.55;
}

.lk-promesse-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.55rem;
  height: 1.55rem;
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Citation */
.lk-quote-block {
  margin-top: 2.75rem;
  padding: 2rem 1.75rem;
  background: var(--navy-dark);
  color: color-mix(in srgb, var(--cream) 88%, transparent);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--sage) 22%, transparent);
}

.lk-quote-text {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  color: var(--cream);
}

.lk-quote-text .lk-emphasis {
  font-style: italic;
  color: var(--accent);
}

.lk-quote-author {
  font-size: 0.9rem;
  margin: 0;
  color: color-mix(in srgb, var(--cream) 55%, transparent);
}

/* Compatibilité avec les classes historiques du HTML */
.apropos-wrap {
  max-width: 780px;
  width: 100%;
  margin-inline: auto;
  padding: 56px 0 56px;
  color: var(--text-dark);
}

.apropos-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1.2em;
  line-height: 1.25;
}

.accroche {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  font-size: 1.06rem;
  font-style: italic;
  color: var(--text-dark);
  background: var(--white);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: 0 8px 24px rgba(30, 37, 53, 0.06);
}

.apropos-wrap .section {
  margin-bottom: 2.5rem;
}

.apropos-wrap .section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1rem;
}

.apropos-wrap .section p {
  margin: 0 0 1em;
  color: var(--text-dark);
  line-height: 1.7;
}

.problems-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.problem-card {
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--navy) 10%, transparent);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: 0 8px 22px rgba(30, 37, 53, 0.06);
}

.problem-card strong {
  color: var(--navy);
}

.problem-card p {
  margin: 0.45em 0 0;
  color: var(--text-mid);
}

.promesse-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.promesse-list li {
  position: relative;
  padding-left: 2.35rem;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
}

.promesse-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.55rem;
  height: 1.55rem;
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.quote-block {
  margin-top: 2.75rem;
  padding: 2rem 1.75rem;
  background: var(--navy-dark);
  color: color-mix(in srgb, var(--cream) 88%, transparent);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--sage) 22%, transparent);
}

.quote-block .quote-text {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 1rem;
  color: var(--cream);
}

.quote-block .quote-text .emphasis {
  font-style: italic;
  color: var(--accent);
}

.quote-block .quote-author {
  font-size: 0.9rem;
  margin: 0;
  color: color-mix(in srgb, var(--cream) 55%, transparent);
}

.apropos-wrap a[href="/contenu.html"],
.apropos-wrap a[href="/contenu.html"]:hover,
.apropos-wrap a[href="/contenu.html"]:focus-visible {
  color: var(--sage);
}
