/* ============================================================
   LES FERMIERS — une page par Fermier (s'appuie sur blog/blog.css)
   ============================================================ */
.f-tete { position: relative; margin-top: 64px; padding: 60px 20px 70px; background: radial-gradient(ellipse 70% 90% at 30% 50%, #3d2511 0%, #1a100a 55%, #0d0906 100%); color: #eadcbf; overflow: hidden; }
.f-tete::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.f-tete-in { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 860px) { .f-tete-in { grid-template-columns: 380px 1fr; gap: 60px; } }
.f-portrait { position: relative; margin: 0 auto; width: min(380px, 80vw); }
.f-portrait > img:first-child { width: 100%; height: auto; display: block; border-radius: 200px 200px 18px 18px; border: 1px solid #e0b45a;
  box-shadow: 0 0 0 8px rgba(224,180,90,.08), 0 30px 60px rgba(0,0,0,.55), 0 0 60px rgba(224,160,70,.2); }
.f-carte { position: absolute; right: -34px; bottom: -26px; width: 36%; height: auto; transform: rotate(6deg); filter: drop-shadow(0 16px 20px rgba(0,0,0,.6)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.f-portrait:hover .f-carte { transform: rotate(2deg) translateY(-8px); }
.f-titre .ariane { text-align: left; margin-bottom: 18px; }
.f-titre .ariane a { color: #c8b18a; } .f-titre .ariane { color: #8d7654; }
.f-rom { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #e0b45a; font-weight: 600; }
.f-titre h1 { font-family: var(--display); font-weight: 600; font-size: clamp(54px, 7vw, 96px); line-height: .95; color: #f6e3b4; margin: 10px 0 12px; text-shadow: 0 0 40px rgba(224,160,70,.3); }
.f-titre h1 small { display: block; font-size: .26em; font-style: italic; font-weight: 500; color: #d9c29a; letter-spacing: .02em; margin-bottom: 6px; }
.f-tranche { font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; color: #bfa77f; margin-bottom: 20px; }
.f-accroche { font-family: var(--display); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; color: #f0dcae; max-width: 560px; }
.f-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.f-badges span, .f-badges a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 8px 16px; border-radius: 30px; text-decoration: none; }
.f-badges span { background: rgba(224,180,90,.14); color: #f3d58c; border: 1px solid rgba(224,180,90,.45); }
.f-badges a { color: #f0dcae; border: 1px solid rgba(224,180,90,.35); transition: background .25s, border-color .25s; }
.f-badges a:hover { background: rgba(224,180,90,.1); border-color: #e0b45a; }
@media (max-width: 859px) { .f-titre { text-align: center; } .f-titre .ariane { text-align: center; } .f-badges { justify-content: center; } .f-accroche { margin: 0 auto; } }

/* textes du jeu */
.texte-lame { border-radius: 16px; padding: 18px 22px; background: #1a100a; color: #f3e2b8; border: 1px solid rgba(224,180,90,.4); }
.texte-lame b { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #e0a070; margin-bottom: 6px; }
.texte-lame p { font-family: var(--display); font-size: 22px; line-height: 1.4; color: #f6e3b4 !important; margin: 0; }
.texte-lame.invite { background: linear-gradient(135deg, #fffaf0, #f3e6c6); border-color: rgba(184,137,47,.5); }
.texte-lame.invite b { color: var(--ata-gold-b); } .texte-lame.invite p { color: #3a260b !important; }
.prose ul.axe { list-style: none; padding: 0; display: grid; gap: 8px; }
.prose ul.axe li { position: relative; padding: 10px 14px 10px 34px; border-radius: 10px; background: var(--bg-card); border: 1px solid var(--border-hover); font-family: var(--display); font-size: 19px; color: var(--text); }
.prose ul.axe li::before { content: '✦'; position: absolute; left: 13px; top: 11px; font-size: 11px; color: var(--ata-gold-b); }
.prose h3 + ul.axe { margin-top: .6em; }

/* ronde : précédent / suivant */
.f-ronde { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; margin-top: 50px; }
.f-ronde a { text-decoration: none; padding: 16px 20px; border-radius: 16px; background: var(--bg-card); border: 1px solid var(--border-hover); font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--ata-ink); transition: border-color .25s; }
.f-ronde a:hover { border-color: var(--ata-gold-b); }
.f-ronde small { display: block; font-family: var(--font); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ata-gold-b); font-weight: 600; margin-bottom: 4px; }
.f-ronde .suiv { text-align: right; }
.f-ronde .tous { display: grid; place-items: center; font-size: 15px; color: var(--ata-red); }
@media (max-width: 640px) { .f-ronde { grid-template-columns: 1fr 1fr; } .f-ronde .tous { grid-column: 1 / -1; grid-row: 2; } }

/* index */
.f-intro { text-align: center; font-family: var(--display); font-size: 20px; color: var(--text-secondary); margin: 0 auto 40px; max-width: 700px; }
.f-intro a { color: var(--ata-red); }
.f-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
@media (min-width: 1100px) { .f-grille { grid-template-columns: repeat(7, 1fr); gap: 16px; } .f-arche-txt b { font-size: 20px; } .f-arche-txt em { font-size: 11.5px; } }
.f-arche { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 160px 160px 16px 16px; overflow: hidden; text-decoration: none;
  border: 1px solid var(--ata-gold-b); box-shadow: 0 18px 36px rgba(40,25,5,.25); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.f-arche:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(40,25,5,.35), 0 0 40px rgba(224,160,70,.3); }
.f-arche img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.f-arche:hover img { transform: scale(1.06); }
.f-arche-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 16px 16px; text-align: center; background: linear-gradient(transparent, rgba(13,9,6,.94) 45%); }
.f-arche-txt small { display: block; font-size: 10px; letter-spacing: .24em; color: #e0b45a; font-weight: 600; }
.f-arche-txt b { display: block; font-family: var(--display); font-size: 24px; color: #f6e3b4; line-height: 1.1; margin: 2px 0 6px; }
.f-arche-txt em { display: block; font-style: normal; font-size: 12.5px; line-height: 1.45; color: #c8b18a; }

/* hero : la scène de récolte en fond plein cadre */
.f-tete.avec-scene { padding: 90px 20px 110px; min-height: min(92vh, 860px); display: flex; align-items: center; }
.f-tete.avec-scene .f-tete-in { width: 100%; }
.f-fond { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.f-fond img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; filter: blur(2px) saturate(1.1); animation: f-respire 28s ease-in-out infinite alternate; }
@keyframes f-respire { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.f-fond::after { content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,9,6,.35) 0%, rgba(13,9,6,.55) 38%, rgba(13,9,6,.88) 62%, rgba(13,9,6,.92) 100%),
    linear-gradient(180deg, rgba(13,9,6,.45) 0%, transparent 25%, transparent 70%, rgba(13,9,6,.8) 100%); }
.f-tete.avec-scene .f-portrait > img:first-child { box-shadow: 0 0 0 8px rgba(224,180,90,.1), 0 40px 80px rgba(0,0,0,.7), 0 0 80px rgba(224,160,70,.25); }
.f-tete.avec-scene .f-titre { text-shadow: 0 2px 20px rgba(0,0,0,.7); }
@media (max-width: 859px) {
  .f-tete.avec-scene { min-height: 0; padding: 70px 16px 90px; }
  .f-fond::after { background: linear-gradient(180deg, rgba(13,9,6,.45) 0%, rgba(13,9,6,.6) 40%, rgba(13,9,6,.9) 70%, rgba(13,9,6,.95) 100%); }
}
@media (prefers-reduced-motion: reduce) { .f-fond img { animation: none; } }
