/* Le Zest — styles communs du site (refonte 2026) */
/* ===== Polices de la charte ===== */
@font-face { font-family: "Corporative"; src: url("fonts/CorporativeHair.woff2") format("woff2"); font-weight: 100; font-display: swap; }
@font-face { font-family: "Corporative"; src: url("fonts/CorporativeThin.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Corporative"; src: url("fonts/CorporativeLight.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Corporative Cnd"; src: url("fonts/CorporativeCondensedBook.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Corporative Cnd"; src: url("fonts/CorporativeCondensedMedium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Argentum Novus"; src: url("fonts/ArgentumNovus-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Argentum Novus"; src: url("fonts/ArgentumNovus-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ===== Charte ===== */
:root {
  --zs-prune: #3C2B31;
  --zs-prune-80: #63555A;
  --zs-prune-60: #73666B; /* assombri (#8A7F83 avant) : petits textes à 4,7:1 sur crème (WCAG AA) */
  --zs-prune-titre: #8A7F83; /* teinte d'origine, gardée pour les mots en exergue des grands titres */
  --zs-beige: #C1B4A8;
  --zs-beige-80: #CDC3B9;
  --zs-beige-60: #DAD2CB;
  --zs-creme: #F3EEE9;
  --zs-blanc: #FBF9F7;
  --zs-display: "Corporative", "Jost", system-ui, sans-serif;
  --zs-texte: "Corporative Cnd", "Corporative", system-ui, sans-serif;
  --zs-label: "Argentum Novus", "Montserrat", system-ui, sans-serif;
  --zs-ease: cubic-bezier(.22, .61, .36, 1);
  --zs-gouttiere: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--zs-creme); color: var(--zs-prune);
  font-family: var(--zs-texte); font-weight: 400; font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.zs-label {
  font-family: var(--zs-label); font-weight: 700; font-size: 12px;
  letter-spacing: .32em; text-transform: uppercase;
}
.zs-wrap { width: min(1280px, 100% - 2 * var(--zs-gouttiere)); margin-inline: auto; }
.zs-btn {
  display: inline-flex; align-items: center; gap: .7em; padding: 1.05em 1.8em;
  font-family: var(--zs-label); font-weight: 700; font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; border: 1px solid currentColor; border-radius: 999px;
  transition: background .35s var(--zs-ease), color .35s var(--zs-ease), transform .35s var(--zs-ease);
}
.zs-btn:hover { transform: translateY(-2px); }
.zs-btn--plein { background: var(--zs-beige); color: var(--zs-prune); border-color: var(--zs-beige); }
.zs-btn--plein:hover { background: var(--zs-creme); border-color: var(--zs-creme); }
.zs-btn--prune { background: var(--zs-prune); color: var(--zs-creme); border-color: var(--zs-prune); }
.zs-btn--prune:hover { background: var(--zs-prune-80); border-color: var(--zs-prune-80); }
.zs-btn--ligne-clair { color: var(--zs-creme); }
.zs-btn--ligne-clair:hover { background: var(--zs-creme); color: var(--zs-prune); }
.zs-fleche { display: inline-block; transition: transform .35s var(--zs-ease); }
a:hover .zs-fleche { transform: translateX(5px); }

/* ===== En-tête ===== */
.zs-entete {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--zs-creme);
  transition: background .5s var(--zs-ease), color .5s var(--zs-ease), padding .5s var(--zs-ease), box-shadow .5s;
  padding: 22px 0;
}
.zs-entete.est-replie {
  background: rgba(243, 238, 233, .86); color: var(--zs-prune); padding: 10px 0;
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(60, 43, 49, .08);
}
.zs-entete .zs-wrap { display: flex; align-items: center; gap: 28px; }
.zs-entete__logo { display: block; width: 34px; height: 53px; position: relative; flex: none; }
.zs-entete__logo img { position: absolute; inset: 0; height: 100%; width: auto; transition: opacity .4s; }
.zs-entete__logo .fonce { opacity: 0; }
.est-replie .zs-entete__logo .clair { opacity: 0; }
.est-replie .zs-entete__logo .fonce { opacity: 1; }
.zs-nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-inline: auto; }
.zs-nav a {
  font-family: var(--zs-label); font-weight: 600; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; position: relative; padding: 6px 0;
}
.zs-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--zs-ease);
}
.zs-nav a:hover::after, .zs-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
/* Zest Club : même couleur que les autres liens (contraste sur photo), repéré par un point beige */
.zs-nav a.zs-nav__club { color: var(--zs-creme); }
.zs-nav a.zs-nav__club::before { content: ""; position: absolute; left: -9px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--zs-beige); }
.est-replie .zs-nav a.zs-nav__club { color: var(--zs-prune); }
.est-replie .zs-nav a.zs-nav__club::before { background: var(--zs-prune-60); }
/* Voile sous l'en-tête transparent : menu lisible sur toutes les photos de bandeau */
.zs-entete::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(40, 28, 32, .78) 0%, rgba(40, 28, 32, .6) 55%, rgba(40, 28, 32, 0) 100%); transition: opacity .5s; }
.zs-entete.est-replie::before { opacity: 0; }
.zs-entete__actions { display: flex; gap: 12px; align-items: center; }
.zs-entete .zs-btn { padding: .9em 1.4em; }
.est-replie .zs-btn--ligne-clair { color: var(--zs-prune); }
.est-replie .zs-btn--ligne-clair:hover { background: var(--zs-prune); color: var(--zs-creme); }
.est-replie .zs-btn--plein { background: var(--zs-prune); color: var(--zs-creme); border-color: var(--zs-prune); }
.zs-tel { display: none; }
.zs-burger { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.zs-burger span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .4s var(--zs-ease), opacity .3s; }
.menu-ouvert .zs-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-ouvert .zs-burger span:nth-child(2) { opacity: 0; }
.menu-ouvert .zs-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.zs-menu-mobile {
  position: fixed; inset: 0; z-index: 45; background: var(--zs-prune); color: var(--zs-creme);
  display: flex; flex-direction: column; justify-content: flex-start; padding: 110px var(--zs-gouttiere) 40px;
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--zs-ease); visibility: hidden;
}
.zs-menu-mobile > :first-child { margin-top: auto; }
.zs-menu-mobile > :last-child { margin-bottom: auto; }
.menu-ouvert .zs-menu-mobile { clip-path: inset(0); visibility: visible; }
.zs-menu-mobile a { font-family: var(--zs-display); font-weight: 200; font-size: clamp(34px, 9vw, 52px); line-height: 1.25; text-decoration: none; min-height: 44px; }
.zs-menu-mobile .zs-label { margin-top: 32px; color: var(--zs-beige); }
.zs-menu-mobile .zs-label a { font: inherit; min-height: 0; }
@media (max-height: 560px) {
  .zs-menu-mobile a { font-size: 26px; line-height: 1.3; }
  .zs-menu-mobile .zs-label { margin-top: 14px; }
}

/* ===== Héros ===== */
.zs-heros { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--zs-prune); color: var(--zs-creme); }
.zs-heros__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); will-change: transform;
  /* Image d'attente = première image de la vidéo du même format : le passage à la vidéo ne se voit pas. */
  background: var(--zs-prune) url("../medias/video/zest-hero-1920x1080.webp") center / cover no-repeat; }
@media (max-aspect-ratio: 1/1) { .zs-heros__video { background-image: url("../medias/video/zest-hero-1080x1350.webp"); } }
.zs-heros::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 34% 46% at 50% 46%, rgba(40, 28, 32, .42), rgba(40, 28, 32, 0) 100%),
    linear-gradient(180deg, rgba(60, 43, 49, .55) 0%, rgba(60, 43, 49, .15) 32%, rgba(60, 43, 49, .25) 60%, rgba(40, 28, 32, .88) 100%);
}
.zs-heros__logo {
  position: absolute; z-index: 2; left: 50%; top: 47%; transform: translate(-50%, -50%);
  height: min(58svh, 520px); aspect-ratio: 1703 / 2668; will-change: transform, opacity;
}
.zs-calque { position: absolute; }
.zs-calque img { width: 100%; height: 100%; }
.zs-heros__bas {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding-bottom: clamp(24px, 5vh, 48px);
}
.zs-heros__bas .zs-wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.zs-heros h1 { margin: 0 0 14px; font-family: var(--zs-display); font-weight: 300; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.25; max-width: 18em; }
.zs-statut { display: inline-flex; align-items: center; gap: 10px; color: var(--zs-beige-60); }
.zs-statut__point { width: 8px; height: 8px; border-radius: 50%; background: var(--zs-beige); box-shadow: 0 0 0 0 rgba(193, 180, 168, .7); }
.zs-statut.est-ouvert .zs-statut__point { background: #9FC59A; animation: zs-pouls 2.4s infinite; }
@keyframes zs-pouls { 0% { box-shadow: 0 0 0 0 rgba(159, 197, 154, .6); } 70% { box-shadow: 0 0 0 12px rgba(159, 197, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(159, 197, 154, 0); } }
.zs-heros__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.zs-defiler {
  position: absolute; z-index: 3; left: 50%; bottom: 18px; width: 1px; height: 46px; overflow: hidden; background: rgba(243, 238, 233, .2);
}
.zs-defiler::after { content: ""; position: absolute; left: 0; top: -46px; width: 1px; height: 46px; background: var(--zs-creme); animation: zs-goutte 2.2s var(--zs-ease) infinite 3s; }
@keyframes zs-goutte { to { top: 46px; } }

/* Tracé du logo */
.zs-heros__logo .zs-calque { opacity: 0; }
.est-pret .zs-calque { opacity: 1; animation: var(--anim) var(--duree, .9s) var(--zs-ease) var(--delai, 0s) both; }
@keyframes zs-gauche { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes zs-haut { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes zs-bas { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes zs-centre { from { clip-path: inset(0 50% 0 50%); opacity: 0; letter-spacing: 0; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes zs-point { 0% { transform: scale(0); } 70% { transform: scale(1.35); } 100% { transform: scale(1); } }
.zs-canne-balance { width: 100%; height: 100%; transform-origin: 30% 100%; }
.est-pose .zs-canne-balance { animation: zs-brise 7s ease-in-out infinite; }
@keyframes zs-brise { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(1.4deg); } }

/* ===== Bandeau défilant ===== */
.zs-bandeau { background: var(--zs-prune); color: var(--zs-beige); overflow: hidden; padding: 20px 0; border-top: 1px solid rgba(193, 180, 168, .18); }
.zs-bandeau__piste { display: flex; width: max-content; animation: zs-defile 48s linear infinite; }
.zs-bandeau:hover .zs-bandeau__piste { animation-play-state: paused; }
.zs-bandeau__groupe { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.zs-bandeau span { font-family: var(--zs-display); font-weight: 200; font-size: clamp(26px, 3.4vw, 44px); white-space: nowrap; }
.zs-bandeau img { height: 34px; width: auto; opacity: .9; }
@keyframes zs-defile { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.zs-section { padding: clamp(80px, 12vw, 160px) 0; }
.zs-titre { font-family: var(--zs-display); font-weight: 200; font-size: clamp(40px, 6.2vw, 92px); line-height: 1.02; letter-spacing: -.01em; margin: 18px 0 28px; }
.zs-titre em { font-style: normal; color: var(--zs-prune-titre); }
.zs-chapo { font-size: clamp(18px, 1.5vw, 21px); max-width: 34em; color: var(--zs-prune-80); }
.zs-surtitre { color: var(--zs-prune-60); display: flex; align-items: center; gap: 14px; }
.zs-surtitre::before { content: ""; width: 38px; height: 1px; background: currentColor; }

/* Intro */
.zs-intro .zs-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
/* Diagonale : terrasse en haut à gauche, comptoir en bas à droite.
   La photo du comptoir garde ses proportions (16:9) et reste fixe : elle s'affiche en entier, sans recadrage.
   La terrasse déborde de 6 % en haut et en bas de son cadre pour la parallaxe (data-parallaxe 0.03 au plus). */
.zs-intro__photos { position: relative; aspect-ratio: 1 / 1; }
.zs-intro__photos figure { margin: 0; position: absolute; overflow: hidden; }
.zs-intro__photos figure:nth-child(1) { inset: 0 18% 42% 0; }
.zs-intro__photos figure:nth-child(2) { inset: auto 0 0 16%; aspect-ratio: 1200 / 675; box-shadow: -18px -18px 0 var(--zs-creme); }
.zs-intro__photos img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.zs-intro__photos figure:nth-child(2) img { top: 0; height: 100%; }
.zs-lien { display: inline-flex; gap: .6em; align-items: center; margin-top: 18px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* Carte : cuisine et bar */
.zs-carte { background: var(--zs-blanc); }
.zs-carte__tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.zs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); margin-top: 48px; }
.zs-tuile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; color: var(--zs-creme); text-decoration: none; }
.zs-tuile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--zs-ease); }
.zs-tuile:hover img { transform: scale(1.06); }
.zs-tuile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 28, 32, 0) 30%, rgba(40, 28, 32, .62) 55%, rgba(40, 28, 32, .9) 100%); }
.zs-tuile__texte { position: absolute; z-index: 1; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); }
.zs-tuile h3 { font-family: var(--zs-display); font-weight: 200; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; margin: 8px 0 12px; }
.zs-tuile p { margin: 0 0 16px; max-width: 26em; color: var(--zs-beige-60); }
.zs-ruban { margin-top: clamp(32px, 5vw, 64px); display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--zs-beige) transparent; }
.zs-ruban:active { cursor: grabbing; }
.zs-ruban figure { flex: 0 0 clamp(200px, 22vw, 300px); aspect-ratio: 3 / 4; margin: 0; overflow: hidden; scroll-snap-align: start; }
.zs-ruban img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--zs-ease); pointer-events: none; }
.zs-ruban figure:hover img { transform: scale(1.05); }

/* Zest Club */
.zs-club { background: var(--zs-prune); color: var(--zs-creme); position: relative; overflow: hidden; }
.zs-club .zs-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.zs-club__logo { width: clamp(160px, 18vw, 240px); margin-bottom: 26px; }
.zs-club .zs-surtitre { color: var(--zs-beige); }
.zs-club .zs-titre em { color: var(--zs-beige); }
.zs-club .zs-chapo { color: var(--zs-beige-60); }
.zs-compte { display: flex; gap: 28px; margin: 34px 0 36px; }
.zs-compte div { border-top: 1px solid rgba(193, 180, 168, .35); padding-top: 12px; }
.zs-compte strong { display: block; font-family: var(--zs-display); font-weight: 200; font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--zs-beige); }
.zs-compte .zs-label { color: var(--zs-beige-60); font-size: 10.5px; }
.zs-club__mosaique { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1.05; }
.zs-club__mosaique figure { margin: 0; overflow: hidden; }
.zs-club__mosaique figure:first-child { grid-row: span 2; }
.zs-club__mosaique img { width: 100%; height: 100%; object-fit: cover; }
.zs-club__carte {
  margin-top: 26px; display: flex; gap: 18px; align-items: center; padding: 18px 20px;
  border: 1px solid rgba(193, 180, 168, .3); max-width: 520px;
}
.zs-tampons { display: grid; grid-template-columns: repeat(5, 16px); gap: 6px; flex: none; }
.zs-tampons i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--zs-beige); }
.zs-tampons i.plein { background: var(--zs-beige); }
.zs-club__carte p { margin: 0; font-size: 16px; color: var(--zs-beige-60); }
.zs-club__carte strong { color: var(--zs-creme); font-weight: 500; }

/* Événements */
.zs-filtres { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 34px; }
.zs-filtres button {
  font-family: var(--zs-label); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  padding: .9em 1.4em; border-radius: 999px; border: 1px solid var(--zs-prune); background: none; color: var(--zs-prune); cursor: pointer;
  transition: background .3s, color .3s;
}
.zs-filtres button[aria-pressed="true"] { background: var(--zs-prune); color: var(--zs-creme); }
.zs-galerie { columns: 4 240px; column-gap: 14px; }
.zs-galerie a { display: block; margin: 0 0 14px; break-inside: avoid; overflow: hidden; position: relative; }
.zs-galerie img { width: 100%; height: auto; transition: transform 1.2s var(--zs-ease), filter .6s; }
.zs-galerie a:hover img { transform: scale(1.05); }
.zs-galerie a.est-masque { display: none; }
.zs-galerie .zs-label { position: absolute; left: 12px; bottom: 12px; color: var(--zs-creme); font-size: 10px; opacity: 0; transform: translateY(6px); transition: .4s var(--zs-ease); text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.zs-galerie a:hover .zs-label { opacity: 1; transform: none; }

/* Groupes */
.zs-groupes { padding: 0; }
.zs-groupes .zs-plein { position: relative; min-height: 86svh; display: grid; align-items: end; color: var(--zs-creme); overflow: hidden; }
.zs-groupes .zs-plein img { position: absolute; inset: -8% 0 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.zs-groupes .zs-plein::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 28, 32, .92) 0%, rgba(40, 28, 32, .7) 42%, rgba(40, 28, 32, .15) 78%); }
.zs-groupes .zs-titre em { color: var(--zs-beige); }
.zs-groupes .zs-wrap { position: relative; z-index: 1; padding: clamp(60px, 9vw, 120px) 0; }
.zs-groupes .zs-chapo { color: var(--zs-beige-60); }
.zs-groupes .zs-surtitre { color: var(--zs-beige); }

/* Infos pratiques */
.zs-infos .zs-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.zs-infos dl { margin: 34px 0 0; display: grid; gap: 26px; }
.zs-infos dt { color: var(--zs-prune-60); margin-bottom: 6px; }
.zs-infos dd { margin: 0; font-family: var(--zs-display); font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.35; }
.zs-infos dd a { text-decoration: none; border-bottom: 1px solid rgba(60, 43, 49, .3); }
.zs-carte-plan { position: relative; min-height: 420px; background: var(--zs-beige-60); display: grid; place-items: center; text-align: center; overflow: hidden; }
.zs-carte-plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(.4); }
.zs-carte-plan .zs-btn { position: relative; }
.zs-carte-plan iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Pied de page */
.zs-pied { background: var(--zs-prune); color: var(--zs-beige-60); padding: clamp(70px, 9vw, 120px) 0 28px; }
.zs-pied .zs-wrap { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: clamp(28px, 5vw, 80px); }
.zs-pied__logo { width: clamp(90px, 9vw, 120px); height: auto; }
.zs-pied h2, .zs-pied h4 { margin: 0 0 16px; color: var(--zs-beige); }
.zs-pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.zs-pied a { text-decoration: none; }
.zs-pied a:hover { color: var(--zs-creme); }
.zs-pied__bas { margin-top: 70px; padding-top: 22px; border-top: 1px solid rgba(193, 180, 168, .2); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 14px; grid-column: 1 / -1; }

/* Lightbox */
.zs-visionneuse { position: fixed; inset: 0; z-index: 80; background: rgba(28, 20, 23, .94); display: none; place-items: center; }
.zs-visionneuse.est-ouverte { display: grid; }
.zs-visionneuse img { max-width: 92vw; max-height: 86svh; object-fit: contain; }
.zs-visionneuse button { position: absolute; z-index: 1; background: none; border: 0; color: var(--zs-creme); font-size: 44px; line-height: 1; width: 56px; height: 56px; cursor: pointer; font-family: var(--zs-texte); font-weight: 400; }
.zs-visionneuse figure { margin: 0; }
.zs-visionneuse .fermer { top: 14px; right: 14px; }
.zs-visionneuse .prec { left: 10px; top: 50%; transform: translateY(-50%); }
.zs-visionneuse .suiv { right: 10px; top: 50%; transform: translateY(-50%); }
.zs-visionneuse figcaption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--zs-beige-60); font-size: 15px; padding: 0 70px; }

/* Apparitions : contenu caché seulement si le script tourne (classe .js posée dans le <head>, retirée si zest.js ne se charge pas) */
.js [data-apparition] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--zs-ease), transform 1s var(--zs-ease); transition-delay: var(--d, 0s); }
.js [data-apparition].est-visible { opacity: 1; transform: none; }
.js [data-rideau] { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--zs-ease); transition-delay: var(--d, 0s); }
.js [data-rideau].est-visible { clip-path: inset(0 0 0 0); }

/* ===== Mobile ===== */
@media (max-width: 1080px) {
  .zs-nav, .zs-entete__actions .zs-btn--ligne-clair { display: none; }
  .zs-burger { display: block; }
  .zs-entete .zs-wrap { justify-content: space-between; }
  .zs-entete__actions .zs-tel { display: inline-flex; }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .zs-heros__bas .zs-wrap { flex-direction: column; align-items: flex-start; }
  .zs-heros__actions { justify-content: flex-start; }
  .zs-heros__logo { top: 42%; height: min(46svh, 400px); }
  .zs-intro .zs-wrap, .zs-club .zs-wrap, .zs-infos .zs-wrap { grid-template-columns: minmax(0, 1fr); }
  .zs-duo { grid-template-columns: 1fr; }
  .zs-tuile { aspect-ratio: 4 / 5; }
  .zs-tuile::after { background: linear-gradient(180deg, rgba(40, 28, 32, 0) 12%, rgba(40, 28, 32, .72) 42%, rgba(40, 28, 32, .92) 100%); }
  .zs-defiler { display: none; }
  .zs-pied .zs-wrap { grid-template-columns: 1fr 1fr; }
  .zs-pied__logo { grid-column: 1 / -1; }
  .zs-entete .zs-btn--plein { padding: .8em 1.1em; }
  .zs-compte { gap: 18px; }
  .zs-groupes .zs-plein::after { background: linear-gradient(180deg, rgba(40, 28, 32, .3) 0%, rgba(40, 28, 32, .82) 38%, rgba(40, 28, 32, .92) 100%); }
}
/* Très petits écrans (moins de 420 px) : en-tête allégé, logo du héros plus compact */
@media (max-width: 420px) {
  .zs-entete__actions .zs-tel { display: none; }
  .zs-heros__logo { top: 38%; height: min(40svh, 340px); }
  .zs-titre { font-size: clamp(32px, 11vw, 40px); }
}
/* Petits téléphones et téléphones en paysage : le logo animé ne touche plus le titre ni ne sort de l'écran */
@media (max-width: 420px) and (max-height: 680px) {
  .zs-heros__logo { top: 34%; height: min(34svh, 300px); }
}
@media (max-height: 500px) and (orientation: landscape) {
  .zs-heros { min-height: 100svh; }
  .zs-heros__logo { top: 36%; height: 46svh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-apparition], [data-rideau], .zs-heros__logo .zs-calque { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .zs-bandeau__piste { transform: none; }
}

/* =====================================================================
   Composants des pages intérieures
   ===================================================================== */

/* Bandeau de page (héros court) */
.zs-page-heros { position: relative; min-height: 78svh; display: grid; align-items: end; overflow: hidden; background: var(--zs-prune); color: var(--zs-creme); }
.zs-page-heros > img, .zs-page-heros > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); will-change: transform; }
.zs-page-heros::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(60, 43, 49, .5) 0%, rgba(60, 43, 49, .1) 35%, rgba(40, 28, 32, .85) 100%); }
.zs-page-heros .zs-wrap { position: relative; z-index: 2; padding: 140px 0 clamp(40px, 7vw, 90px); }
.zs-page-heros .zs-surtitre { color: var(--zs-creme); }
.zs-page-heros h1 { font-family: var(--zs-display); font-weight: 200; font-size: clamp(48px, 8vw, 120px); line-height: .98; letter-spacing: -.015em; margin: 16px 0 20px; }
.zs-page-heros h1 em { font-style: normal; color: var(--zs-beige); }
.zs-page-heros .zs-chapo { color: var(--zs-beige-60); }
.zs-page-heros--court { min-height: 52svh; }
.zs-page-heros--uni::after { display: none; }

/* Texte long */
.zs-texte { max-width: 760px; }
.zs-texte h2 { font-family: var(--zs-display); font-weight: 200; font-size: clamp(32px, 4vw, 54px); line-height: 1.05; margin: 1.6em 0 .5em; }
.zs-texte h3 { font-family: var(--zs-label); font-weight: 700; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; margin: 2.2em 0 .8em; color: var(--zs-prune-80); }
.zs-texte p, .zs-texte li { color: var(--zs-prune-80); }
.zs-texte a { color: var(--zs-prune); }

/* Texte et image alternés */
.zs-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.zs-split + .zs-split { margin-top: clamp(80px, 10vw, 140px); }
.zs-split--inverse > :first-child { order: 2; }
.zs-split figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; }
.zs-split figure.paysage { aspect-ratio: 3 / 2; }
.zs-split figure img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }

/* Grilles */
.zs-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.zs-grille--2 { grid-template-columns: repeat(2, 1fr); }
.zs-grille--4 { grid-template-columns: repeat(4, 1fr); }
.zs-grille figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.zs-grille figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--zs-ease); }
.zs-grille figure:hover img { transform: scale(1.05); }
.zs-grille figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; color: var(--zs-creme); font-size: 15px; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.zs-carte-info { background: var(--zs-blanc); padding: clamp(24px, 3vw, 40px); border-top: 1px solid var(--zs-beige); }
.zs-carte-info h3 { font-family: var(--zs-display); font-weight: 300; font-size: clamp(24px, 2.2vw, 32px); margin: 10px 0 10px; }
.zs-carte-info p { margin: 0; color: var(--zs-prune-80); }

/* Frise (éditions du Zest Club, histoire) */
.zs-frise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(193, 180, 168, .35); }
.zs-frise article { padding: 28px 24px 0 0; position: relative; }
.zs-frise article::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--zs-beige); }
.zs-frise article.est-actuelle::before { box-shadow: 0 0 0 6px rgba(193, 180, 168, .25); }
.zs-frise .zs-label { color: var(--zs-beige); }
.zs-frise h3 { font-family: var(--zs-display); font-weight: 200; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; margin: 10px 0 10px; }
.zs-frise p { margin: 0; font-size: 16px; color: var(--zs-beige-60); }
.zs-frise figure { margin: 0 0 18px; aspect-ratio: 4 / 5; overflow: hidden; }
.zs-frise figure img { width: 100%; height: 100%; object-fit: cover; }

/* Paliers de fidélité */
.zs-paliers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.zs-palier { border: 1px solid rgba(60, 43, 49, .18); padding: 26px 22px; background: var(--zs-blanc); }
.zs-palier strong { display: block; font-family: var(--zs-display); font-weight: 200; font-size: 64px; line-height: 1; }
.zs-palier .zs-label { color: var(--zs-prune-60); }
.zs-palier h3 { font-family: var(--zs-display); font-weight: 300; font-size: 24px; margin: 14px 0 8px; }
.zs-palier p { margin: 0; font-size: 16px; color: var(--zs-prune-80); }

/* Menu (carte) */
.zs-menu { columns: 2 340px; column-gap: clamp(32px, 6vw, 96px); }
.zs-menu section { break-inside: avoid; margin-bottom: 44px; }
.zs-menu h3 { font-family: var(--zs-label); font-weight: 700; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--zs-beige); margin: 0 0 18px; }
.zs-plat { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 14px 0; border-bottom: 1px solid rgba(193, 180, 168, .25); }
.zs-plat b { font-family: var(--zs-display); font-weight: 300; font-size: 22px; }
.zs-plat span { font-family: var(--zs-display); font-weight: 300; font-size: 20px; color: var(--zs-beige); }
.zs-plat p { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--zs-beige-60); }

/* Bande d'appel à l'action */
.zs-appel { background: var(--zs-prune); color: var(--zs-creme); text-align: center; }
.zs-appel .zs-titre em { color: var(--zs-beige); }
.zs-appel .zs-chapo { margin-inline: auto; color: var(--zs-beige-60); }
.zs-appel .zs-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* Formulaire */
.zs-formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.zs-formulaire .plein { grid-column: 1 / -1; }
.zs-formulaire label { display: block; font-family: var(--zs-label); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--zs-prune-60); margin-bottom: 8px; }
.zs-formulaire input, .zs-formulaire select, .zs-formulaire textarea {
  width: 100%; font: inherit; color: var(--zs-prune); background: transparent; border: 0; border-bottom: 1px solid rgba(60, 43, 49, .6);
  padding: 10px 0; border-radius: 0; transition: border-color .3s;
}
.zs-formulaire textarea { min-height: 140px; resize: vertical; }
.zs-formulaire input:focus, .zs-formulaire select:focus, .zs-formulaire textarea:focus { outline: none; border-bottom: 2px solid var(--zs-prune); padding-bottom: 9px; }
.zs-formulaire .zs-case { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--zs-prune-80); }
.zs-formulaire .zs-case input { width: auto; margin-top: 5px; }
.zs-formulaire .zs-mention { font-size: 13px; color: var(--zs-prune-60); }

/* Pages légales */
.zs-legal { max-width: 860px; }
.zs-legal h2 { font-family: var(--zs-display); font-weight: 300; font-size: clamp(26px, 2.6vw, 36px); margin: 2em 0 .6em; }
.zs-legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; margin: 0; }
.zs-legal dt { font-family: var(--zs-label); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--zs-prune-60); padding-top: 4px; }
.zs-legal dd { margin: 0; }
.zs-legal p, .zs-legal li { color: var(--zs-prune-80); }

/* Contenu à fournir (maquette uniquement) */
.zs-a-fournir { outline: 1.5px dashed var(--zs-beige); outline-offset: 6px; position: relative; }
.zs-a-fournir::before {
  content: "À fournir"; position: absolute; top: -18px; right: 0; z-index: 3;
  font-family: var(--zs-label); font-weight: 700; font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  background: var(--zs-beige); color: var(--zs-prune); padding: 3px 8px;
}

@media (max-width: 1080px) {
  .zs-paliers, .zs-frise, .zs-grille--4 { grid-template-columns: repeat(2, 1fr); }
  .zs-frise { row-gap: 40px; }
}
@media (max-width: 820px) {
  .zs-split, .zs-grille, .zs-grille--2, .zs-formulaire { grid-template-columns: 1fr; }
  .zs-split--inverse > :first-child { order: 0; }
  .zs-legal dl { grid-template-columns: 1fr; }
  .zs-page-heros { min-height: 70svh; }
}
@media (max-width: 520px) {
  .zs-paliers, .zs-frise, .zs-grille--4 { grid-template-columns: 1fr; }
}

/* =====================================================================
   Passe v3 : accessibilité, cartes illustrées, formulaires, ouverture du Club
   ===================================================================== */
/* Texte réservé aux lecteurs d'écran ; lien d'évitement visible au clavier */
.zs-invisible { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.zs-evitement { position: fixed; z-index: 100; left: 16px; top: -60px; padding: 12px 18px; background: var(--zs-creme); color: var(--zs-prune); font-family: var(--zs-label); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: top .2s; }
.zs-evitement:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--zs-beige); outline-offset: 3px; }
.zs-carte-info :focus-visible, .zs-formulaire :focus-visible, .zs-section:not(.zs-appel):not(.zs-club) :focus-visible { outline-color: var(--zs-prune); }
.zs-entete.est-replie :focus-visible { outline-color: var(--zs-prune); }
/* Sections sombres : contour crème (le prune serait invisible sur prune) */
.zs-section.zs-club :focus-visible, .zs-appel :focus-visible, .zs-pied :focus-visible, .zs-visionneuse :focus-visible,
.zs-section:not(.zs-appel).club-sombre :focus-visible, .zs-section:not(.zs-appel).grp-sombre :focus-visible,
.zs-section:not(.zs-appel) .grp-fiche :focus-visible { outline-color: var(--zs-creme); }

/* Menu : « Groupes & privatisation » tient sur une ligne de 1081 à 1440 px */
.zs-nav a { white-space: nowrap; }
@media (max-width: 1440px) { .zs-nav { gap: clamp(12px, 1.4vw, 22px); } .zs-nav a { letter-spacing: .16em; } }
@media (max-width: 1280px) { .zs-entete .zs-wrap { gap: 18px; } .zs-nav { gap: 13px; } .zs-nav a { font-size: 10.5px; letter-spacing: .12em; } .zs-entete .zs-btn { padding: .85em 1.15em; letter-spacing: .18em; } }

/* Cartes illustrées (cuisine, bar) : photo en tête, bord à bord */
.zs-carte-info--photo { --pad: clamp(24px, 3vw, 40px); padding-top: 0; display: flex; flex-direction: column; }
.zs-carte-info--photo > figure { margin: 0 calc(-1 * var(--pad)) 26px; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.zs-carte-info--photo > figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--zs-ease); }
.zs-carte-info--photo:hover > figure img { transform: scale(1.04); }
.zs-carte-info--photo > figure::after { display: none; }
.zs-carte-info--photo .zs-lien { margin-top: auto; padding-top: 18px; align-self: flex-start; }

/* Chiffres clés (bar) */
.zs-chiffres { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(60, 43, 49, .16); }
.zs-chiffres li { padding: 18px 16px 0 0; }
.zs-chiffres strong { display: block; font-family: var(--zs-display); font-weight: 200; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; color: var(--zs-prune); }
.zs-chiffres span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--zs-prune-80); }

/* Champ anti-robots : hors écran, jamais rempli par un humain */
.zs-pot-de-miel { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Ouverture du Club : zest.js bascule data-si-avant / data-si-apres (attribut hidden) à la date indiquée */
[hidden] { display: none !important; }

@media (max-width: 520px) {
  .zs-chiffres { grid-template-columns: 1fr; }
  .zs-chiffres li { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(60, 43, 49, .1); }
  .zs-chiffres span { margin: 0; }
}
.zs-palier strong sup { font-size: .36em; margin-left: .06em; vertical-align: super; line-height: 0; }
/* Accueil, Zest Club : deux photos en hauteur, décalées (aucune huître hors de la page du Club) */
.zs-club__mosaique--duo { grid-template-rows: 1fr; }
.zs-club__mosaique--duo figure:first-child { grid-row: auto; }
.zs-club__mosaique--duo figure:last-child { margin-top: 22%; }
/* Bandeau défilant de l'accueil : noms de plats et de cocktails, un peu plus petits que les accroches */
.zs-bandeau--carte span { font-size: clamp(24px, 3vw, 38px); }

/* =====================================================================
   Passe v4 (relecture du 03/11) : titres équilibrés, pauses, galerie de l'accueil, cibles tactiles
   ===================================================================== */
/* Titres : pas de mot isolé en fin de ligne */
.zs-titre, .zs-heros h1, .zs-page-heros h1, .zs-tuile h3, .club-offre h3, .grp-etapes h3, .zs-palier h3, .zs-carte-info h3, .zs-frise h3 { text-wrap: balance; }
.zs-chapo { text-wrap: pretty; }

/* Bandeau défilant : bouton pause (WCAG 2.2.2), arrêt aussi au clavier */
.zs-bandeau { position: relative; }
.zs-bandeau__pause, .zs-heros__pause {
  position: absolute; z-index: 3; width: 44px; height: 44px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(193, 180, 168, .5); background: var(--zs-prune); color: var(--zs-beige);
  font-family: var(--zs-label); font-weight: 700; font-size: 11px; letter-spacing: 0;
  transition: background .3s, color .3s;
}
.zs-bandeau__pause:hover, .zs-heros__pause:hover { background: var(--zs-beige); color: var(--zs-prune); }
.zs-bandeau__pause { right: var(--zs-gouttiere); top: 50%; transform: translateY(-50%); }
.zs-bandeau.est-en-pause .zs-bandeau__piste, .zs-bandeau:focus-within .zs-bandeau__piste { animation-play-state: paused; }
/* Vidéo du héros : même bouton, en haut à droite sous l'en-tête */
.zs-heros__pause { top: 112px; right: var(--zs-gouttiere); background: rgba(40, 28, 32, .55); color: var(--zs-creme); border-color: rgba(243, 238, 233, .45); }
.zs-heros__pause:focus-visible, .zs-bandeau__pause:focus-visible { outline-color: var(--zs-creme); }
.zs-pause__icone { display: block; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
[aria-pressed="true"] > .zs-pause__icone { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
@media (prefers-reduced-motion: reduce) { .zs-bandeau__pause, .zs-heros__pause { display: none; } }

/* Galerie de l'accueil : grille régulière (4 colonnes, 2 sur mobile) au lieu des colonnes CSS */
/* rangées de hauteur fixe (vignette 4:5) ; les photos en paysage (.est-paysage) occupent deux colonnes */
#evenements .zs-galerie { columns: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; grid-auto-flow: dense;
  grid-auto-rows: calc((min(1280px, 100vw - 2 * var(--zs-gouttiere)) - 42px) / 4 * 1.25); }
#evenements .zs-galerie a { margin: 0; }
#evenements .zs-galerie a.est-paysage { grid-column: span 2; }
#evenements .zs-galerie img { width: 100%; height: 100%; object-fit: cover; }
#evenements .zp-suite { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 600px) {
  #evenements .zs-galerie { grid-template-columns: repeat(2, 1fr); gap: 10px; grid-auto-rows: calc((100vw - 2 * var(--zs-gouttiere) - 10px) / 2 * 1.25); }
}

/* Cibles tactiles d'au moins 44 px */
.zs-btn, .zs-filtres button { min-height: 44px; }
.zs-pied ul { gap: 0; }
.zs-pied li { min-height: 44px; display: flex; align-items: center; }
.zs-pied li a { display: flex; align-items: center; min-height: 44px; }
.zs-lien { padding-block: 12px 6px; }

/* Confirmation d'envoi d'un formulaire (maquette) */
.zs-envoi { grid-column: 1 / -1; padding: 22px 24px; }
.zs-envoi p { margin: 0; }
.zs-envoi p + p { margin-top: 8px; font-size: 15px; color: var(--zs-prune-60); }
.zs-envoi:focus { outline: none; }

/* Bandeaux de page sur mobile : voile renforcé au milieu, là où se posent surtitre, titre et chapô */
@media (max-width: 820px) {
  :root .zs-page-heros.zs-page-heros::after { background: linear-gradient(180deg, rgba(60, 43, 49, .5) 0%, rgba(40, 28, 32, .3) 25%, rgba(40, 28, 32, .82) 55%, rgba(40, 28, 32, .92) 100%); }
}

/* ===== Site WordPress : messages des formulaires et page introuvable ===== */
.zs-retour { margin: 0 0 28px; padding: 16px 20px; border-left: 3px solid var(--zs-prune); background: rgba(193, 180, 168, .22); color: var(--zs-prune); font-size: 16px; line-height: 1.5; }
.zs-retour a { color: inherit; }
.zs-retour--erreur { border-left-style: double; border-left-width: 6px; }
.zs-introuvable__liens { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
