/* ==========================================================================
   Les Chroniques d'Holly — habillage éditorial
   Papeterie romantique : crème rosé, framboise, filet doré, Playfair Display.
   ========================================================================== */

:root {
  --lcdh-paper:        #fdf9f5;
  --lcdh-paper-rose:   #f8edef;
  --lcdh-ink:          #33262c;
  --lcdh-ink-soft:     #5a4750;
  --lcdh-ink-mute:     #8a747d;
  --lcdh-framboise:    #8e3b52;
  --lcdh-framboise-d:  #6b2740;
  --lcdh-or:           #b98a4e;
  --lcdh-trait:        #e8d6da;
  --lcdh-serif:        'Playfair Display', 'Georgia', serif;
  --lcdh-body:         'Georgia', 'Times New Roman', serif;
}

body {
  background: var(--lcdh-paper);
  color: var(--lcdh-ink);
  font-family: var(--lcdh-body);
}

/* ===== Masthead ===== */

.lcdh-masthead {
  background: var(--lcdh-paper);
  border-bottom: 1px solid var(--lcdh-trait);
}

.lcdh-mast-top {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.2rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}

.lcdh-mast-kicker {
  font-family: var(--lcdh-body);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lcdh-or);
}

.lcdh-logo {
  font-family: var(--lcdh-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.1;
  color: var(--lcdh-ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.lcdh-logo em {
  font-style: italic;
  color: var(--lcdh-framboise);
}
.lcdh-logo:hover {
  color: var(--lcdh-framboise-d);
}

.lcdh-mast-sub {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--lcdh-ink-mute);
}

/* ===== Navigation ===== */

.lcdh-nav {
  border-top: 1px solid var(--lcdh-trait);
}
.lcdh-nav ul {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.9rem;
}
.lcdh-nav li { margin: 0; }
.lcdh-nav a {
  display: inline-block;
  padding: 0.85rem 0 0.9rem;
  font-family: var(--lcdh-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lcdh-ink-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.lcdh-nav a:hover {
  color: var(--lcdh-framboise);
  border-bottom-color: var(--lcdh-framboise);
}
.lcdh-nav-aside a {
  color: var(--lcdh-ink-mute);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
}

/* ===== Typographie de contenu ===== */

.entry-content h1, .entry-content h2, .entry-content h3,
h1.entry-title, .site h1, .site h2, .site h3 {
  font-family: var(--lcdh-serif);
  color: var(--lcdh-ink);
}
h1.entry-title {
  font-weight: 500;
  line-height: 1.15;
}

.entry-content a {
  color: var(--lcdh-framboise);
  text-decoration-color: var(--lcdh-trait);
  text-underline-offset: 3px;
}
.entry-content a:hover {
  color: var(--lcdh-framboise-d);
  text-decoration-color: var(--lcdh-framboise);
}

.entry-content blockquote {
  border-left: 3px solid var(--lcdh-or);
  background: var(--lcdh-paper-rose);
  padding: 1.1rem 1.4rem;
  font-style: italic;
  color: var(--lcdh-ink-soft);
}

.entry-content hr {
  border: none;
  height: 1px;
  background: var(--lcdh-trait);
  margin: 2.4rem auto;
  max-width: 12rem;
}

/* Filet doré sous les titres de sections */
.entry-content h2 {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--lcdh-trait);
}

/* ===== Bandeau chronique d'archive ===== */

.lcdh-archive-note {
  max-width: 44rem;
  margin: 0 auto 1.8rem;
  padding: 0.85rem 1.2rem;
  background: var(--lcdh-paper-rose);
  border: 1px solid var(--lcdh-trait);
  border-left: 3px solid var(--lcdh-framboise);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--lcdh-ink-soft);
}
.lcdh-archive-note strong {
  font-style: normal;
  color: var(--lcdh-framboise-d);
}

/* ===== Cartes de chroniques (listes, accueil) ===== */

.lcdh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.6rem;
  margin: 1.6rem 0;
}

.lcdh-card {
  background: #fff;
  border: 1px solid var(--lcdh-trait);
  padding: 1.4rem 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.lcdh-card-genre {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lcdh-or);
}
.lcdh-card h3 {
  margin: 0;
  font-family: var(--lcdh-serif);
  font-weight: 500;
  font-size: 1.18rem;
  line-height: 1.25;
}
.lcdh-card h3 a {
  color: var(--lcdh-ink);
  text-decoration: none;
}
.lcdh-card h3 a:hover { color: var(--lcdh-framboise); }
.lcdh-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--lcdh-ink-soft);
  line-height: 1.55;
}

/* ===== Sections d'accueil ===== */

.lcdh-section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 2.6rem 0 0.4rem;
}
.lcdh-section-head h2 {
  margin: 0;
  font-family: var(--lcdh-serif);
  font-weight: 500;
  font-size: 1.5rem;
  border: none;
}
.lcdh-section-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--lcdh-trait);
}

.lcdh-lede {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--lcdh-ink-soft);
}

/* ===== Pied de page ===== */

.lcdh-footer {
  margin-top: 4rem;
  background: var(--lcdh-paper-rose);
  border-top: 1px solid var(--lcdh-trait);
}
.lcdh-foot-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.8rem 1.5rem 1.6rem;
  display: grid;
  grid-template-columns: minmax(16rem, 1.4fr) 2fr;
  gap: 2.5rem;
}
.lcdh-foot-logo {
  font-family: var(--lcdh-serif);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--lcdh-ink);
  display: block;
  margin-bottom: 0.6rem;
}
.lcdh-foot-logo em { font-style: italic; color: var(--lcdh-framboise); }
.lcdh-foot-mast p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--lcdh-ink-soft);
  margin: 0;
}
.lcdh-foot-mast a { color: var(--lcdh-framboise); }

.lcdh-foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 980px) {
  .lcdh-foot-cols { grid-template-columns: 1fr 1fr; }
}
.lcdh-foot-cols h4 {
  font-family: var(--lcdh-body);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lcdh-or);
  margin: 0 0 0.7rem;
}
.lcdh-foot-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lcdh-foot-cols li { margin: 0 0 0.45rem; }
.lcdh-foot-cols a {
  color: var(--lcdh-ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
}
.lcdh-foot-cols a:hover { color: var(--lcdh-framboise); }

.lcdh-foot-base {
  grid-column: 1 / -1;
  border-top: 1px solid var(--lcdh-trait);
  padding-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--lcdh-ink-mute);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== Responsive ===== */

@media (max-width: 760px) {
  .lcdh-foot-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .lcdh-nav ul { gap: 0 1.1rem; }
  .lcdh-nav a { font-size: 0.76rem; }
  .lcdh-grid { grid-template-columns: 1fr; }
}

/* ===== Refonte home 17/08 — « la double page » ===================== */

/* Héro livre ouvert */
.lcdh-hero {
  display: grid;
  grid-template-columns: 11fr 9fr;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 22px 60px -28px rgba(107, 39, 64, .45);
  margin: .5rem 0 0;
  background: var(--lcdh-paper-rose);
}
.lcdh-hero-img { position: relative; min-height: 340px; overflow: hidden; }
.lcdh-hero-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  animation: lcdh-kenburns 18s ease-out both;
}
@keyframes lcdh-kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.lcdh-hero-text {
  position: relative;
  padding: clamp(2rem, 4.5vw, 3.6rem) clamp(1.6rem, 3.5vw, 3rem);
  display: flex; flex-direction: column; justify-content: center; gap: 1.1rem;
}
/* le pli central du livre */
.lcdh-hero-text::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 34px;
  background: linear-gradient(90deg, rgba(51,38,44,.18), rgba(51,38,44,0) 80%);
  pointer-events: none;
}
.lcdh-hero-eyebrow {
  font-family: var(--lcdh-body);
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lcdh-or); margin: 0;
}
.lcdh-hero-title {
  font-family: var(--lcdh-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.15;
  color: var(--lcdh-ink); margin: 0;
}
.lcdh-hero-title em { font-style: italic; color: var(--lcdh-framboise); }
.lcdh-hero-sub { color: var(--lcdh-ink-soft); font-size: 1.02rem; line-height: 1.65; margin: 0; max-width: 34ch; }
.lcdh-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; margin-top: .4rem; }
.lcdh-btn {
  display: inline-block; background: var(--lcdh-framboise); color: #fff !important;
  font-family: var(--lcdh-body); font-size: .95rem; letter-spacing: .04em;
  padding: .78rem 1.5rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 22px -10px rgba(142, 59, 82, .55);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.lcdh-btn:hover { background: var(--lcdh-framboise-d); transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(107,39,64,.6); }
.lcdh-link-quiet {
  color: var(--lcdh-framboise); text-decoration: none; font-size: .95rem;
  border-bottom: 1px solid var(--lcdh-trait); padding-bottom: 2px;
  transition: border-color .18s ease;
}
.lcdh-link-quiet:hover { border-bottom-color: var(--lcdh-framboise); }

/* Fleuron séparateur */
.lcdh-fleuron {
  display: flex; align-items: center; gap: 1rem;
  margin: 3rem auto 2.2rem; max-width: 420px;
  color: var(--lcdh-or); font-size: 1.25rem;
}
.lcdh-fleuron::before, .lcdh-fleuron::after {
  content: ""; flex: 1; height: 1px; background: var(--lcdh-trait);
}

/* Intro à lettrine */
.lcdh-intro {
  font-size: 1.12rem; line-height: 1.8; color: var(--lcdh-ink-soft);
  max-width: 62ch; margin: 0 auto;
}
.lcdh-intro::first-letter {
  font-family: var(--lcdh-serif); font-weight: 600; font-style: normal;
  font-size: 3.4em; line-height: .82; color: var(--lcdh-framboise);
  float: left; padding: .06em .12em 0 0;
}

/* Cartes de genres */
.lcdh-genres {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; margin: 0;
}
.lcdh-genre {
  position: relative; display: block; border-radius: 12px; overflow: hidden;
  aspect-ratio: 3 / 4; text-decoration: none;
  box-shadow: 0 12px 30px -18px rgba(107, 39, 64, .5);
  transition: transform .22s ease, box-shadow .22s ease;
}
.lcdh-genre img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.lcdh-genre::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(51,38,44,0) 42%, rgba(74,26,42,.82) 100%);
}
.lcdh-genre-name {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0 .9rem 1rem; text-align: center;
  font-family: var(--lcdh-serif); font-style: italic; font-weight: 500;
  font-size: 1.22rem; color: #fff; line-height: 1.25;
}
.lcdh-genre-name small {
  display: block; font-family: var(--lcdh-body); font-style: normal;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: #f3dfe4; margin-top: .35rem; opacity: 0; transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
}
.lcdh-genre:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -18px rgba(107,39,64,.6); }
.lcdh-genre:hover img { transform: scale(1.05); }
.lcdh-genre:hover .lcdh-genre-name small { opacity: 1; transform: translateY(0); }

/* Cartes chroniques enrichies (vignettes) */
.lcdh-card { padding: 0; background: #fff; border: 1px solid var(--lcdh-trait); border-radius: 12px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.lcdh-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px -20px rgba(107,39,64,.45); }
.lcdh-card-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.lcdh-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lcdh-card:hover .lcdh-card-thumb img { transform: scale(1.04); }
.lcdh-card-body { padding: 1.1rem 1.2rem 1.25rem; }
.lcdh-card-body .lcdh-card-genre { margin-bottom: .5rem; }
.lcdh-card-date {
  display: block; margin-top: .6rem;
  font-size: .8rem; font-style: italic; color: var(--lcdh-ink-mute);
}

/* Panneau « par où commencer » */
.lcdh-panel {
  background: var(--lcdh-paper-rose); border-radius: 16px;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  border: 1px solid var(--lcdh-trait);
}
.lcdh-panel h2 { margin-top: 0; }

/* Bloc histoire de l'adresse */
.lcdh-histoire {
  border-left: 3px solid var(--lcdh-or);
  padding-left: 1.4rem; font-style: italic; color: var(--lcdh-ink-soft);
}

@media (max-width: 900px) {
  .lcdh-genres { grid-template-columns: repeat(2, 1fr); }
  .lcdh-genre:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }
}
@media (max-width: 782px) {
  .lcdh-hero { grid-template-columns: 1fr; }
  .lcdh-hero-img { min-height: 240px; }
  .lcdh-hero-text::before { inset: 0 0 auto 0; width: auto; height: 26px;
    background: linear-gradient(180deg, rgba(51,38,44,.16), rgba(51,38,44,0)); }
}
@media (prefers-reduced-motion: reduce) {
  .lcdh-hero-img img { animation: none; }
  .lcdh-btn, .lcdh-genre, .lcdh-genre img, .lcdh-card, .lcdh-card-thumb img,
  .lcdh-genre-name small { transition: none; }
}
