/* Maison Belvior — Journal (blog)
   Styles isolés, greffés par-dessus styles.css. On ne réutilise que les tokens
   déjà définis dans :root (--paper, --ink, --accent, --serif, --sans, --hair…)
   pour rester raccord avec le site. Aucune couleur en dur hors tokens. */

/* Dégagement sous la nav fixe (index + article) : un peu d'air en tête */
.jr-top { padding-top: clamp(5.5rem, 9vw, 8rem); }

/* ————— Index du journal : grille d'articles ————— */
.jr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--gap-card, 1.5rem);
  margin-top: var(--sp-6, 4rem);
}

.jr-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--hair);
  border-radius: var(--r, 4px);
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.jr-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.jr-card-media {
  aspect-ratio: 16 / 10;
  background: var(--creme-2);
  overflow: hidden;
}
.jr-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jr-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.8rem 1.8rem 2rem;
  flex: 1;
}
.jr-card-cat {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.jr-card-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.jr-card-excerpt {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.jr-card-foot {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.jr-card-meta {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.jr-card-link {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.jr-card-link svg {
  transition: transform 0.35s var(--ease);
}
.jr-card:hover .jr-card-link svg {
  transform: translate(2px, -2px);
}
/* La carte entière est cliquable via le lien en superposition */
.jr-card-cta {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.jr-card { position: relative; }

/* ————— Article : en-tête ————— */
.jr-article-head {
  max-width: 760px;
  margin: 0 auto;
}
.jr-article-back {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.8rem;
}
.jr-article-back:hover { color: var(--ink); }
.jr-article-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 0.8rem;
}
.jr-article-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}
.jr-article-meta {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hair);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

/* Image d'ouverture de l'article */
.jr-article-media {
  max-width: 900px;
  margin: 2.6rem auto 0;
  border-radius: var(--r, 4px);
  overflow: hidden;
}
.jr-article-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ————— Article : corps rédactionnel ————— */
.jr-prose {
  max-width: 680px;
  margin: 3rem auto 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.jr-prose > * + * { margin-top: 1.5rem; }
.jr-prose p { margin: 0; }
/* Espace entre deux paragraphes consécutifs (spécificité > .jr-prose p) */
.jr-prose p + p { margin-top: 1.5rem; }
.jr-prose .jr-lead {
  font-size: 1.22rem;
  line-height: 1.6;
  color: var(--ink);
}
.jr-prose h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 3rem;
}
.jr-prose h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  margin-top: 2.2rem;
}
.jr-prose a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.jr-prose a:hover { color: var(--accent); }
.jr-prose ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.jr-prose ul li {
  position: relative;
  padding-left: 1.4rem;
}
.jr-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 1px;
}
/* Citation littéraire : un seul Cormorant par page */
.jr-prose blockquote {
  margin: 2.6rem 0;
  padding: 0 0 0 1.6rem;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--ink);
}
/* Encadré chiffre / coût */
.jr-figure {
  background: var(--quote-bg, #fbfaf5);
  border: 1px solid var(--hair);
  border-radius: var(--r, 4px);
  padding: 1.8rem 2rem;
  margin: 2.4rem 0;
}
.jr-figure-num {
  font-family: "Big Shoulders Display", var(--sans);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
}
.jr-figure-num span { color: var(--accent); }
.jr-figure-label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}
.jr-note {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-top: 1.4rem;
  margin-top: 2.4rem;
  border-top: 1px solid var(--hair);
}

/* ————— Bloc de capture email (niveau tiède) ————— */
.jr-capture {
  max-width: 680px;
  margin: 3.5rem auto 0;
  background: var(--deep);
  color: var(--paper);
  border-radius: var(--r, 4px);
  padding: 2.8rem 2.4rem;
}
.jr-capture .eyebrow { color: var(--accent); }
.jr-capture-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--paper);
  margin-top: 0.7rem;
}
.jr-capture-lede {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--deep-soft);
  margin-top: 0.8rem;
}
.jr-capture-form {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}
.jr-capture-form input[type="email"] {
  flex: 1 1 240px;
  background: rgba(245, 243, 237, 0.06);
  border: 1px solid var(--hair-dark);
  border-radius: var(--r, 4px);
  padding: 0.95rem 1.1rem;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.jr-capture-form input[type="email"]::placeholder { color: var(--deep-soft); }
.jr-capture-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}
.jr-capture-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--deep-soft);
}
.jr-capture-consent input { margin-top: 0.2em; accent-color: var(--accent); }
.jr-capture-consent a { color: var(--paper); border-bottom: 1px solid var(--accent); }
.jr-capture .form-status { margin-top: 0.9rem; color: var(--deep-soft); font-size: 0.82rem; }
.jr-capture .form-status.ok { color: var(--accent); }
.jr-capture-cta { margin-top: 1.6rem; }
/* Bouton sur fond sombre : ivoire par défaut, contour ivoire au survol (jamais de texte noir sur sombre) */
.jr-capture .btn-gold { background: var(--ivoire); color: var(--noir); border-color: var(--ivoire); }
.jr-capture .btn-gold:hover { background: transparent; color: var(--ivoire); border-color: var(--ivoire); }

@media (max-width: 640px) {
  .jr-capture { padding: 2.2rem 1.6rem; }
  .jr-prose { font-size: 1rem; }
}
