/* ============================================================
 * landing — Preuves de Prières (publi-reportage 2026-06)
 * Format éditorial : article promotionnel, lisible en mobile-first.
 * Chargée uniquement par la landing (/) — l'app (/app/) garde styles.css.
 * ============================================================ */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-600-normal-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-var-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-var-normal-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #d85d3f;
  --brand-deep: #b94a2e;
  --ink: #1a1a1a;
  --ink-soft: #6b6b6b;
  --paper: #ffffff;
  --paper-warm: #fbf9f5;
  --card: #f8f6f3;
  --rule: #e8e3da;
  --rule-soft: #efebe2;
  --green: #2f7a4a;
  --green-bg: #e6f1ea;
  --maxw: 680px;
  --sheet: 776px;
  --page-bg: #ece4d5;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover { color: var(--brand); }

/* --- Header sticky minimal -------------------------------------------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.bar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bar .brand {
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.bar .brand:hover { color: var(--brand); }

.bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.bar-link:hover { color: var(--brand); }

.bar-link svg { color: var(--brand); }

/* --- Article column --------------------------------------------------- */

.article {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 24px;
}

h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 22px;
}

.standfirst {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 26px;
}

.meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

.divider {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 32px 0;
}

/* --- Body paragraphs -------------------------------------------------- */

.article p {
  font-size: 18px;
  line-height: 1.85;
  margin: 0 0 24px;
  color: var(--ink);
}

.article .lede { margin-top: 4px; }

.dropcap {
  float: left;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 72px;
  line-height: 0.85;
  padding: 8px 10px 0 0;
  color: var(--brand);
}

/* --- Section heads (small caps style) --------------------------------- */

.section-head {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 44px 0 18px;
}

/* --- Pull quote ------------------------------------------------------- */

.pull-quote {
  margin: 38px 0;
  padding: 26px 0;
  border-top: 2px solid var(--brand);
  border-bottom: 0.5px solid var(--rule);
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  text-align: left;
}

/* --- Emphasis block --------------------------------------------------- */

.emphasis {
  margin: 32px 0;
  padding: 22px 24px;
  background: var(--card);
  border-left: 3px solid var(--brand);
}

.emphasis p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}

/* --- Comment cards (community quotes) --------------------------------- */

.comments {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}

.comment-card {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card);
  border-radius: 10px;
}

.avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ece6dc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
}

.avatar svg { width: 22px; height: 22px; }

.comment-body { flex: 1; min-width: 0; }

.comment-body p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 6px;
}

.attribution {
  font-family: var(--font-sans);
  font-style: normal !important;
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft) !important;
  margin: 0 !important;
}

/* --- App card --------------------------------------------------------- */

.app-card {
  margin: 30px 0;
  padding: 28px;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: 12px;
}

.app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.app-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 4px !important;
}

.app-sub {
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: var(--ink-soft);
  margin: 0 !important;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--green);
  background: var(--green-bg);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

a.badge:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-1px);
}

.app-card > p {
  font-size: 17px !important;
  line-height: 1.7 !important;
  margin: 0 0 18px !important;
}

.app-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.app-list li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  border-top: 1px solid var(--rule-soft);
}

.app-list li:first-child { border-top: 0; }

.app-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.app-foot {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: var(--ink-soft);
  font-style: italic;
  margin: 0 !important;
  padding-top: 16px;
  border-top: 1px solid var(--rule-soft);
}

/* --- CTA final -------------------------------------------------------- */

.cta-final {
  margin: 40px 0 32px;
  padding: 34px 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  text-align: center;
}

.cta-final h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 12px;
}

.cta-final p {
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: var(--ink-soft);
  margin: 0 0 22px !important;
  max-width: 460px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.cta-button:hover {
  background: var(--brand-deep);
  color: #fff;
}

.cta-note {
  font-size: 12px !important;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: 18px 0 0 !important;
}

/* --- Footnote --------------------------------------------------------- */

.footnote {
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: var(--ink-soft);
  font-style: italic;
  margin: 36px 0 0 !important;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

/* --- Footer ----------------------------------------------------------- */

.foot {
  border-top: 1px solid var(--rule);
  padding: 26px 20px;
  text-align: center;
}

.foot p {
  max-width: var(--maxw);
  margin: 0 auto;
  font-size: 13px;
  color: var(--ink-soft);
}

.foot a { color: var(--ink-soft); }
.foot a:hover { color: var(--brand); }

/* --- Mobile / desktop tweaks ------------------------------------------ */

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 34px; line-height: 1.15; }
  .standfirst { font-size: 18px; }
  .article p { font-size: 17px; line-height: 1.8; }
  .article { padding: 28px 18px 48px; }
  .dropcap { font-size: 58px; padding: 6px 8px 0 0; }
  .pull-quote { font-size: 21px; padding: 22px 0; margin: 30px 0; }
  .app-card { padding: 22px; }
  .cta-final { padding: 28px 22px; }
  .cta-final h2 { font-size: 22px; }
  .emphasis { padding: 18px 20px; }
}

/* Desktop : l'article devient une feuille blanche posée sur un fond crème,
   header et footer alignés sur les bords de la feuille. */
@media (min-width: 820px) {
  body { background: var(--page-bg); }

  .bar {
    background: rgba(236, 228, 213, 0.92);
    border-bottom-color: rgba(26, 26, 26, 0.07);
  }
  .bar-inner { max-width: var(--sheet); }

  .article {
    max-width: var(--sheet);
    margin: 44px auto 56px;
    padding: 60px 48px 72px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04), 0 12px 36px rgba(26, 26, 26, 0.06);
  }

  .foot p { max-width: var(--sheet); }
}

@media (min-width: 1000px) {
  h1 { font-size: 52px; }
  .standfirst { font-size: 22px; }
  .pull-quote { font-size: 26px; margin: 44px 0; padding: 32px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
