/* Version « Film » : haut de page en vidéo, montée avec les vraies photos de l'Auberge,
   façade dans la section histoire, et mur « Une maison qui vit » avec les vraies affiches. */

.hero-film { position: relative; min-height: clamp(460px, 64svh, 600px); display: flex; align-items: flex-end; overflow: hidden; background: #1a1610; color: #f7f1e3; }
/* Diaporama : fondu enchaîné et zoom lent, animés par le navigateur (fluide, sans vidéo) */
.hero-diapo { position: absolute; inset: 0; overflow: hidden; }
.hero-diapo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1); will-change: opacity, transform; backface-visibility: hidden; transition: opacity 1.8s ease, transform 0s linear 1.8s; }
.hero-diapo img.active { opacity: 1; transform: scale(1.08); transition: opacity 1.8s ease, transform 8s linear; }
.hero-diapo.pause img.active { transform: scale(1.04); transition: opacity 1.8s ease, transform 0s; }
.hero-film-voile { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 16, 11, .88) 0%, rgba(18, 16, 11, .66) 45%, rgba(18, 16, 11, .12) 78%), linear-gradient(0deg, rgba(18, 16, 11, .6), transparent 45%); }
.hero-film-texte { position: relative; z-index: 1; max-width: var(--large); width: 100%; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--marge) clamp(2.5rem, 5vw, 3.75rem); }
.hero-film-texte > * { max-width: 40rem; }
.hero-film .surtitre { color: #f0a25d; }
.hero-film h1 { font-size: clamp(2.8rem, 6.6vw, 5.8rem); margin-bottom: 1.4rem; color: #fbf6ea; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-film h1 em { color: #c9dc9f; display: block; }
.hero-film .chapo { color: rgba(247, 241, 227, .86); }
.hero-film .etat { color: #fbf6ea; }
.lien-clair { color: #fbf6ea; }

/* Entrée en scène du texte, une seule fois */
.hero-film-texte > * { animation: monte .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-film-texte > :nth-child(2) { animation-delay: .12s; }
.hero-film-texte > :nth-child(3) { animation-delay: .24s; }
.hero-film-texte > :nth-child(4) { animation-delay: .36s; }
.hero-film-texte > :nth-child(5) { animation-delay: .48s; }
@keyframes monte { from { opacity: 0; transform: translateY(22px); } }

.cartouche-film { top: clamp(1.5rem, 4vw, 3rem); left: auto; right: var(--marge); transform: none; z-index: 2; }
.sceau-film { right: var(--marge); bottom: clamp(2rem, 6vw, 4rem); z-index: 2; }
.film-pause { position: absolute; z-index: 2; left: var(--marge); top: 1.2rem; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(247, 241, 227, .45); background: rgba(18, 16, 11, .35); color: #f7f1e3; font-size: .7rem; letter-spacing: -.1em; cursor: pointer; }
.film-pause:hover { background: rgba(18, 16, 11, .6); }
.film-suite { position: absolute; z-index: 2; left: 50%; bottom: 1.2rem; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(247, 241, 227, .6); border-radius: 14px; }
.film-suite span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #f7f1e3; animation: molette 1.8s ease-in-out infinite; }
@keyframes molette { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* Façade dans la section histoire */
.memoire-facade { max-width: 420px; margin: clamp(3.5rem, 7vw, 5rem) auto 0; text-align: center; }
.memoire-facade img { width: 100%; padding: 10px; background: #efe5cf; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); }
.memoire-facade figcaption { margin-top: 1.2rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #d6a35a; }

/* Une maison qui vit */
.vie-tete { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: 2.5rem; }
.vie-tete > p { color: var(--doux); margin: 0; }
.vie-defile { overflow: hidden; margin: 0 calc(-1 * var(--marge)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.vie-mur { display: flex; gap: 1rem; width: max-content; padding: .5rem 0 1.5rem; animation: defile-vie 70s linear infinite; }
.vie-defile:hover .vie-mur { animation-play-state: paused; }
@keyframes defile-vie { to { transform: translateX(calc(-50% - .5rem)); } }
.vie-mur figure { flex: none; height: clamp(240px, 30vw, 390px); margin: 0; position: relative; overflow: hidden; background: var(--papier); }
.vie-mur img { height: 100%; width: auto; transition: transform .7s ease; }
.vie-mur figure:hover img { transform: scale(1.04); }
.vie-mur figcaption { position: absolute; left: .7rem; bottom: .7rem; background: var(--encre); color: var(--papier); font-size: .78rem; font-weight: 600; padding: .35rem .65rem; }
.vie-affiche { box-shadow: 0 14px 30px -18px rgba(30, 40, 27, .5); }
.vie-pied { margin-top: 1.5rem; color: var(--doux); font-size: .95rem; }
.vie-reseaux { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; align-items: center; }
.vie-reseaux .ico { width: 1.7rem; height: 1.7rem; }
.vie-reseaux a { color: var(--encre); }
.vie-reseaux strong { font-weight: 600; }

@media (max-width: 820px) {
  .hero-film { min-height: 0; }
  .hero-film .hero-film-texte { padding-top: 3.75rem; padding-bottom: 1.5rem; }
  .hero-film .hero-film-texte h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); margin-bottom: .9rem; }
  .hero-film .hero-film-texte .chapo { font-size: .98rem; margin-bottom: 1rem; }
  .hero-film .hero-film-texte .etat { margin-bottom: 1rem; }
  .hero-film .hero-actions { flex-wrap: nowrap; gap: .5rem 1rem; }
  .hero-film .hero-actions .btn { padding: .85rem 1rem; font-size: .95rem; white-space: nowrap; }
  .hero-film .hero-actions .lien { font-size: .95rem; white-space: nowrap; }
  .hero-film-voile { background: linear-gradient(0deg, rgba(18, 16, 11, .9) 0%, rgba(18, 16, 11, .55) 55%, rgba(18, 16, 11, .25) 100%); }
  .sceau-film { display: none; }
  .cartouche-film { display: none; }
  .film-suite { display: none; }
  .vie-tete { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-film-texte > * { animation: none; }
  .vie-mur { animation: none; }
  .vie-defile { overflow-x: auto; }
}

/* Petits téléphones : « Réserver » est déjà dans la barre fixe du bas, on garde la ligne de flottaison dégagée */
@media (max-width: 384px) {
  .hero-film .hero-actions .btn { display: none; }
}

/* Dernières publications */
.pubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.pub { display: flex; flex-direction: column; text-decoration: none; color: var(--encre); background: #fbf8f0; border: 1px solid var(--ligne); }
.pub img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.pub-date { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-fonce); font-weight: 600; padding: .9rem 1rem 0; }
.pub-texte { padding: .35rem 1rem 1.1rem; font-size: .95rem; line-height: 1.5; }
.pub:hover .pub-texte { color: var(--foret); }
@media (max-width: 980px) { .pubs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pubs { grid-template-columns: 1fr; } }
