/* ============================================================
   LE RUCHER — le blog des Fermiers
   ============================================================ */
body.page-rucher { background: var(--bg); overflow-x: hidden; }
.progression { position: fixed; left: 0; right: 0; top: 64px; height: 2px; z-index: 499; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, transparent, var(--ata-gold-b) 30%, #f3d58c 90%, #fff3cf); box-shadow: 0 0 10px rgba(224,180,90,.7); pointer-events: none; }

/* ---------- Accueil du Rucher ---------- */
.rucher-accueil { margin-top: 64px; min-height: 520px; height: clamp(520px, 70vh, 720px); justify-content: center; }
.rucher-accueil .rucher-fond img { object-position: 60% 35%; }
.rucher-accueil::before { background: linear-gradient(180deg, rgba(13,9,6,.35) 0%, rgba(13,9,6,.1) 30%, rgba(13,9,6,.55) 70%, var(--bg) 100%),
  linear-gradient(90deg, rgba(13,9,6,.8) 0%, rgba(13,9,6,.3) 45%, transparent 65%); }
.rucher-accueil-in { position: relative; padding: 0 clamp(20px, 6vw, 90px); max-width: 720px; }
.rucher-accueil .kick { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: #e0b45a; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.rucher-accueil .kick::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.rucher-accueil h1 { font-family: var(--display); font-weight: 600; font-size: clamp(64px, 10vw, 128px); line-height: .92; margin: 10px 0 14px;
  background: linear-gradient(180deg, #fff1c8 0%, #f0c060 50%, #b87a1e 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.6)); }
.rucher-accueil p { font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; color: #f6e3b4; text-shadow: 0 2px 16px rgba(0,0,0,.8); max-width: 600px; }

.rucher-liste { max-width: 1180px; margin: 0 auto; padding: 30px 20px 60px; }
.filtres-r { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 40px; }
.filtres-r button { font-family: var(--display); font-size: 16px; font-weight: 600; padding: 8px 18px; border-radius: 30px; cursor: pointer;
  background: var(--bg-card); color: var(--text); border: 1px solid var(--border-hover); transition: border-color .2s, background .2s; }
.filtres-r button[aria-pressed="true"] { background: var(--ata-ink); color: var(--bg); border-color: var(--ata-ink); }
.filtres-r button:hover { border-color: var(--ata-gold-b); }
.cartes-r { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.carte-r { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--bg-card); border: 1px solid var(--border-hover);
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s; }
.carte-r:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(40,25,5,.18); border-color: var(--ata-gold-b); }
.carte-r[hidden] { display: none; }
.carte-r .vis { aspect-ratio: 16 / 9; overflow: hidden; background: #0d0906; }
.carte-r .vis img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.carte-r:hover .vis img { transform: scale(1.05); }
.carte-r .txt { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.carte-r .rub { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ata-gold-b); font-weight: 700; }
.carte-r h2 { font-family: var(--display); font-size: 27px; font-weight: 700; line-height: 1.12; margin: 8px 0 10px; color: var(--ata-ink); }
.carte-r p { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); margin-bottom: 16px; }
.carte-r .pied-c { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--text-muted); }
.carte-r .pied-c b { font-family: var(--display); font-size: 17px; color: var(--ata-red); font-weight: 700; }
@media (min-width: 900px) {
  .carte-r.une { grid-column: 1 / -1; flex-direction: row; }
  .carte-r.une .vis { flex: 1.3; aspect-ratio: auto; min-height: 360px; }
  .carte-r.une .txt { flex: 1; padding: 40px; justify-content: center; }
  .carte-r.une h2 { font-size: 40px; }
  .carte-r.une p { font-size: 16px; }
}

/* ---------- Article ---------- */
.art-tete { max-width: 860px; margin: 0 auto; padding: 120px 20px 30px; text-align: center; }
.ariane { font-size: 12px; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 22px; }
.ariane a { color: var(--text-secondary); text-decoration: none; } .ariane a:hover { color: var(--ata-gold-b); }
.ariane span { margin: 0 8px; opacity: .6; }
.art-tete .rub { display: inline-block; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ata-gold-b); font-weight: 700; margin-bottom: 12px; }
.art-tete h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; color: var(--ata-ink); text-wrap: balance; }
.art-meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13.5px; color: var(--text-secondary); }
.art-meta img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--ata-gold-b); }
.art-meta .aut { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); }
.art-image { max-width: 1180px; margin: 10px auto 0; padding: 0 20px; }
.art-image img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 24px; display: block; box-shadow: 0 30px 60px rgba(40,25,5,.22); }

.art-corps { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1180px; margin: 0 auto; padding: 50px 20px 20px; }
@media (min-width: 1080px) { .art-corps { grid-template-columns: 250px minmax(0, 720px); justify-content: center; gap: 60px; } }
.sommaire { align-self: start; }
@media (min-width: 1080px) { .sommaire { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; } }
.sommaire b { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ata-gold-b); margin-bottom: 12px; }
.sommaire ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--border-hover); }
.sommaire li a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--text-secondary); text-decoration: none; transition: color .2s, border-color .2s; }
.sommaire li a:hover, .sommaire li a.ici { color: var(--text); border-left-color: var(--ata-gold-b); }
@media (max-width: 1079px) { .sommaire { background: var(--bg-card); border: 1px solid var(--border-hover); border-radius: 16px; padding: 18px 20px; } }

.prose { font-size: 18px; line-height: 1.78; color: var(--text); min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose .chapeau { font-family: var(--display); font-size: clamp(22px, 2.2vw, 26px); line-height: 1.45; color: var(--ata-ink); font-weight: 500; }
.prose .chapeau::first-letter { font-size: 3.2em; float: left; line-height: .85; padding: 6px 10px 0 0; color: var(--ata-red); font-weight: 600; }
.prose h2 { font-family: var(--display); font-size: clamp(30px, 3vw, 38px); font-weight: 600; line-height: 1.12; color: var(--ata-ink); margin-top: 2em; scroll-margin-top: 90px; }
.prose h2::before { content: ''; display: block; width: 44px; height: 2px; background: var(--ata-gold-b); margin-bottom: 18px; }
.prose h3 { font-family: var(--display); font-size: 25px; font-weight: 700; line-height: 1.2; color: var(--text); margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-secondary); }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { color: var(--ata-red); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--ata-red); text-decoration: underline; text-decoration-color: rgba(184,137,47,.5); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ata-red); }
.prose aside { margin: 2em 0; }
.cite-livre { position: relative; padding: 28px 30px 24px 34px; border-radius: 18px; background: #1a100a; color: #f3e2b8; overflow: hidden; }
.cite-livre::before { content: '«'; position: absolute; left: 14px; top: -6px; font-family: var(--display); font-size: 90px; color: rgba(224,180,90,.25); line-height: 1; }
.cite-livre blockquote { font-family: var(--display); font-style: italic; font-size: 23px; line-height: 1.4; margin: 0; color: #f6e3b4; position: relative; }
.cite-livre cite { display: block; margin-top: 12px; font-style: normal; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #e0b45a; }
.statut { display: grid; gap: 10px; }
.statut > div { border-radius: 14px; padding: 14px 18px; border: 1px solid var(--border-hover); background: var(--bg-card); }
.statut b { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.statut p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.statut .etabli b { color: #3f6b3a; } .statut .rapporte b { color: var(--ata-gold-b); } .statut .hypothese b { color: var(--ata-red); }
:root[data-theme="sombre"] .statut .etabli b { color: #8fbf7a; }
.encadre { border-left: 3px solid var(--ata-gold-b); padding: 16px 22px; background: linear-gradient(90deg, rgba(184,137,47,.08), transparent); border-radius: 0 14px 14px 0; }
.encadre b { display: block; font-family: var(--display); font-size: 21px; color: var(--ata-ink); margin-bottom: 4px; }
.encadre p { margin: .4em 0 0; font-size: 16px; }
.note-soin { font-size: 14px; padding: 12px 18px; border: 1px dashed var(--border-hover); border-radius: 12px; }
.note-soin p { margin: 0; font-size: 14px; color: var(--text-muted); }
.note-soin p::before { content: 'ⓘ '; color: var(--ata-gold-b); }

/* ---------- Bas d'article ---------- */
.art-bas { max-width: 800px; margin: 0 auto; padding: 20px 20px 40px; }
.art-bas h2 { font-family: var(--display); font-size: 32px; font-weight: 600; color: var(--ata-ink); margin: 60px 0 18px; }
.faq details { border-bottom: 1px solid var(--border-hover); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font-size: 26px; color: var(--ata-gold-b); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--text-secondary); }
.liens-bas { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 50px; }
@media (min-width: 700px) { .liens-bas { grid-template-columns: 1fr 1fr; } }
.lien-carte { display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: 18px; text-decoration: none;
  background: var(--bg-card); border: 1px solid var(--border-hover); transition: border-color .3s, transform .3s; }
.lien-carte:hover { border-color: var(--ata-gold-b); transform: translateY(-3px); }
.lien-carte img { width: 90px; height: auto; display: block; filter: drop-shadow(0 8px 12px rgba(0,0,0,.25)); }
.lien-carte small { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ata-gold-b); font-weight: 700; margin-bottom: 4px; }
.lien-carte b { display: block; font-family: var(--display); font-size: 22px; color: var(--ata-ink); line-height: 1.1; }
.lien-carte span { display: block; font-size: 14px; color: var(--text-secondary); margin-top: 6px; line-height: 1.5; }
.lien-carte.livre { background: #1a100a; border-color: rgba(224,180,90,.4); }
.lien-carte.livre b { color: #f6e3b4; } .lien-carte.livre span { color: #c8b18a; }
.sources { font-size: 14px; color: var(--text-secondary); padding-left: 1.2em; line-height: 1.7; }
.auteur-box { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; margin-top: 60px; padding: 26px; border-radius: 22px; background: var(--bg-card); border: 1px solid var(--border-hover); }
.auteur-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--ata-gold-b); }
.auteur-box b { font-family: var(--display); font-size: 24px; color: var(--ata-ink); }
.auteur-box p { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); margin-top: 4px; }
.suite-r { max-width: 1180px; margin: 0 auto; padding: 40px 20px 20px; }
.suite-r > h2 { font-family: var(--display); font-size: 36px; font-weight: 600; text-align: center; color: var(--ata-ink); margin-bottom: 26px; }
.pied-rucher { padding: 60px 20px 40px; font-size: 12px; color: var(--text-muted); text-align: center; letter-spacing: .06em; line-height: 1.8; }
.pied-rucher a { color: var(--text-secondary); }
@media (max-width: 700px) { .art-image img { aspect-ratio: 4 / 3; border-radius: 18px; } .art-tete { padding-top: 96px; } }
