:root {
  --creme: #fdf5e8;
  --creme-2: #f5e7d0;
  --rouge: #c4261d;
  --rouge-fonce: #9c1b14;
  --or: #c9953c;
  --encre: #2b1511;
  --gris: #6c5650;
  --nuit: #16091f;
  --nuit-2: #26103a;
  --neon: #ff5cae;
  --clair: #f9ecf6;
  --clair-doux: #d9c5dd;
  --titre: 'Gloock', 'Times New Roman', serif;
  --texte: 'Poppins', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --entete-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--encre); font-family: var(--texte); font-size: 1rem; line-height: 1.7; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
p { margin: 0 0 1rem; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.conteneur { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.intro { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; font-weight: 500; margin-bottom: 1.4rem; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--rouge); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; }
.evitement:focus { top: 12px; }

.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.6rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 2px solid transparent; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.bouton:hover { transform: translateY(-2px); }
.bouton-rouge { background: var(--rouge); color: #fff; }
.bouton-rouge:hover { background: var(--rouge-fonce); }
.bouton-creme { background: var(--creme); color: var(--rouge-fonce); }
.bouton-creme:hover { background: #fff; }
.bouton-contour { border-color: currentColor; }
.bouton-contour:hover { background: var(--encre); border-color: var(--encre); color: var(--creme); }
.galerie .bouton-contour:hover { background: var(--clair); border-color: var(--clair); color: var(--nuit); }
.bouton-contour-clair { border-color: var(--creme); color: var(--creme); }
.bouton-contour-clair:hover { background: var(--creme); color: var(--rouge-fonce); }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: var(--creme); transition: box-shadow 0.3s; }
.entete.is-scrolled { box-shadow: 0 1px 0 rgba(43, 21, 17, 0.12); }
.entete-inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); height: var(--entete-h); padding-inline: clamp(16px, 3vw, 40px); }
.logo img { width: auto; height: 58px; }
.nav { display: flex; gap: clamp(0.9rem, 2vw, 1.9rem); margin-left: auto; font-weight: 500; font-size: 0.95rem; }
.nav a { text-decoration: none; padding: 0.3rem 0; background: linear-gradient(var(--rouge), var(--rouge)) left bottom / 0 2px no-repeat; transition: background-size 0.35s var(--ease), color 0.3s; }
.nav a:hover { color: var(--rouge); background-size: 100% 2px; }
.entete-carte { min-height: 44px; }
.menu-bouton { display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; padding: 0; }
.menu-bouton span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--encre); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-bouton span:first-child { top: 17px; }
.menu-bouton span:last-child { top: 26px; }
.menu-ouvert .menu-bouton span:first-child { top: 21px; transform: rotate(45deg); }
.menu-ouvert .menu-bouton span:last-child { top: 21px; transform: rotate(-45deg); }

/* Accueil en deux panneaux */
.hero-panneaux { display: grid; grid-template-columns: 1fr 1fr; height: calc(100svh - var(--entete-h) - 92px); min-height: 480px; transition: grid-template-columns 0.8s var(--ease); }
.hero-panneaux.penche-the, .hero-panneaux:has(.panneau-the:hover), .hero-panneaux:has(.panneau-the:focus-within) { grid-template-columns: 1.3fr 1fr; }
.hero-panneaux.penche-bar { grid-template-columns: 1fr 1.3fr; }
.hero-panneaux:has(.panneau-bar:hover), .hero-panneaux:has(.panneau-bar:focus-within) { grid-template-columns: 1fr 1.3fr; }
.panneau { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-width: 0; padding: clamp(1.25rem, 3vw, 2.75rem); }
.panneau-the { background: var(--creme-2); }
.panneau-bar { background: var(--nuit); color: var(--clair); }
.panneau-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.panneau-bar:hover .panneau-photo { transform: scale(1.04); }
.panneau-bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 9, 31, 0.88), rgba(22, 9, 31, 0.1) 62%); }
.panneau-texte { position: relative; z-index: 2; width: min(100%, 30rem); }
.panneau-texte p { margin-bottom: 0.7rem; }
.panneau-mot { font-family: var(--titre); font-size: clamp(3rem, 6.4vw, 6.6rem); line-height: 1; white-space: nowrap; }
.panneau-the .panneau-mot { color: var(--rouge); }
.panneau-bar .panneau-mot { color: #fff; text-shadow: 0 0 18px var(--neon), 0 0 46px var(--neon); }
.panneau-lien { font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.panneau-lien::after { content: ''; position: absolute; inset: -100vmax; z-index: 3; }
.panneau { isolation: isolate; }
.hero-verres { position: absolute; left: 50%; top: 6%; display: flex; justify-content: center; align-items: flex-end; transform: translateX(-50%); width: min(100%, 680px); height: 58%; }
.hero-verres img { width: 33%; height: 100%; object-fit: contain; transition: transform 0.6s var(--ease); }
.hero-verres img:nth-child(1) { rotate: -7deg; height: 88%; }
.hero-verres img:nth-child(3) { rotate: 7deg; height: 88%; }
.hero-verres img:nth-child(2) { z-index: 1; }
.hero-pied { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem 2rem; min-height: 92px; padding-block: 1rem; }
.hero-pied h1 { font-size: clamp(1.35rem, 2.5vw, 2.05rem); }
.hero-pied p { margin: 0; color: var(--gris); white-space: nowrap; font-size: 0.95rem; }

/* Le Bobo */
.bobo { padding-top: clamp(3rem, 7vw, 6rem); }
.bobo-grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.bobo-photos { position: relative; padding-right: 26%; padding-bottom: 12%; }
.bobo-photo-1 { width: 100%; border-radius: 240px 240px 18px 18px; }
.bobo-photo-2 { position: absolute; right: 0; bottom: 0; width: 44%; border-radius: 18px; border: 6px solid var(--creme); }
.bobo-texte h2 { color: var(--rouge); margin-bottom: 1.5rem; }
.bobo-texte p:not(.intro) { color: var(--gris); }

/* Boissons */
.boissons { background: var(--creme); padding-top: 0; }
.boissons-tete { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.2rem clamp(2rem, 6vw, 5rem); align-items: end; margin-bottom: 2rem; }
.boissons-tete h2 { color: var(--rouge); }
.boissons-tete p { color: var(--gris); margin: 0; }
.filtres { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.filtres button { min-height: 44px; padding: 0.4rem 1.1rem; border-radius: 999px; background: transparent; border: 2px solid var(--creme-2); font-weight: 500; font-size: 0.92rem; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.filtres button:hover { border-color: var(--rouge); }
.filtres button[aria-pressed='true'] { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.boissons-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 42vw), 1fr)); gap: clamp(1.6rem, 3vw, 2.6rem) clamp(0.8rem, 2vw, 1.6rem); }
.boisson { text-align: center; animation: boisson-entree 0.55s var(--ease) both; }
.boisson img { width: min(100%, 210px); margin-inline: auto; transition: transform 0.5s var(--ease); transform-origin: 50% 90%; }
.boisson:hover img { transform: translateY(-8px) rotate(-3deg); }
.boisson h3 { font-family: var(--texte); font-size: 0.98rem; font-weight: 600; line-height: 1.3; margin-top: 0.7rem; }
.boisson-chaud { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.2rem; color: var(--rouge); font-size: 0.8rem; font-weight: 500; }
@keyframes boisson-entree { from { opacity: 0; transform: translateY(16px); } }
.mochis { margin-top: clamp(3.5rem, 7vw, 5.5rem); padding: clamp(1.6rem, 4vw, 3rem); background: var(--creme-2); border-radius: 28px; }
.mochis-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.4rem 2rem; margin-bottom: 1.6rem; }
.mochis-tete h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.mochis-tete p { margin: 0; color: var(--gris); }
.mochis-liste { display: flex; gap: clamp(1rem, 2.4vw, 2rem); overflow-x: auto; scrollbar-width: thin; padding-bottom: 0.6rem; }
.mochis-liste li { flex: 1 0 130px; max-width: 180px; text-align: center; font-size: 0.88rem; font-weight: 500; line-height: 1.3; }
.mochis-liste img { width: 100%; margin-bottom: 0.5rem; }
.boissons-cta { margin: clamp(2rem, 4vw, 3rem) 0 0; text-align: center; }

/* Le bar */
.bar { background: var(--nuit); color: var(--clair); }
.bar-grille { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.bar-texte h2 { color: #fff; text-shadow: 0 0 16px var(--neon), 0 0 44px rgba(255, 92, 174, 0.7); margin-bottom: 1.6rem; }
.bar-texte p:not(.intro) { color: var(--clair-doux); }
.bar-photo { margin: 0; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 3.1; box-shadow: 0 0 80px rgba(255, 92, 174, 0.3); }
.bar-photo img { width: 100%; height: 112%; object-fit: cover; margin-top: -6%; }

/* Galerie */
.galerie { background: var(--nuit); color: var(--clair); padding-top: 0; }
.galerie-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.galerie-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.5rem, 1.2vw, 1rem); }
.galerie-grille li.large { grid-column: span 2; grid-row: span 2; }
.galerie-grille li.wide { grid-column: span 2; }
.galerie-grille li.wide img { aspect-ratio: 3 / 1; }
.galerie-grille li { min-width: 0; min-height: 0; }
.galerie-grille button { display: block; position: relative; width: 100%; height: 100%; padding: 0; background: none; border: 0; border-radius: 14px; overflow: hidden; }
.galerie-grille img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform 0.8s var(--ease), filter 0.4s; }
.galerie-grille button:hover img { transform: scale(1.05); filter: saturate(1.2); }

/* Privatisation */
.privatiser { background: var(--rouge); color: var(--creme); overflow: hidden; }
.privatiser-grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.privatiser-texte h2 { margin-bottom: 1.5rem; }
.privatiser-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.privatiser-photo { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 20px; }

/* Accès */
.acces-grille { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.acces h2 { color: var(--rouge); margin-bottom: 1.5rem; }
.acces address { font-style: normal; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.acces address p { margin-bottom: 0.4rem; }
.acces address a { text-underline-offset: 4px; }
.acces-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.acces-photo { width: 100%; max-height: 560px; object-fit: cover; border-radius: 240px 240px 18px 18px; }

/* Pied de page */
.pied { background: var(--encre); color: var(--creme); padding: clamp(2.5rem, 5vw, 3.5rem) 0; font-size: 0.93rem; }
.pied-inner { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.pied img { width: 76px; flex: none; }
.pied p { margin-bottom: 0.3rem; }
.pied a { text-underline-offset: 3px; }
.pied-copy { opacity: 0.72; font-size: 0.84rem; }

/* Barre mobile */
.barre-mobile { display: none; }

/* Photo agrandie */
.lightbox { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(22, 9, 31, 0.96); color: var(--clair); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 16px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 110px); object-fit: contain; border-radius: 10px; }
.lightbox-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.lightbox-actions button { min-height: 44px; padding: 0.4rem 1.2rem; border-radius: 999px; background: transparent; border: 2px solid var(--clair-doux); }
.lightbox-actions button:hover { background: var(--clair); color: var(--nuit); }

/* Mentions légales */
.legal-retour { margin-left: auto; min-height: 44px; }
.legal { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 7rem); }
.legal-inner { max-width: 860px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--rouge); margin-bottom: 1.4rem; }
.legal-inner > p { color: var(--gris); max-width: 40rem; }
.legal section { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.legal section p { color: var(--gris); }
.legal dl { margin: 0; }
.legal dl div { display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr; gap: 0.3rem 1.5rem; padding: 0.75rem 0; border-bottom: 1px solid var(--creme-2); }
.legal dt { color: var(--gris); }
.legal dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.a-completer { background: #ffe08a; color: #5a4300; padding: 0.05em 0.4em; border-radius: 4px; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .nav { position: fixed; inset: var(--entete-h) 0 0; flex-direction: column; justify-content: center; align-items: center; gap: 1.1rem; margin: 0; background: var(--creme); font-family: var(--titre); font-size: 2rem; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
  .menu-ouvert .nav { opacity: 1; visibility: visible; }
  .menu-ouvert { overflow: hidden; }
  .entete-carte { margin-left: auto; }
  .menu-bouton { display: block; }
}
@media (max-width: 800px) {
  :root { --entete-h: 66px; }
  .logo img { height: 50px; }
  .hero-panneaux, .hero-panneaux.penche-the, .hero-panneaux.penche-bar, .hero-panneaux:has(.panneau-the:hover), .hero-panneaux:has(.panneau-bar:hover), .hero-panneaux:has(.panneau-the:focus-within), .hero-panneaux:has(.panneau-bar:focus-within) { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; height: auto; min-height: 0; }
  .panneau { min-height: 58svh; }
  .hero-verres { height: 52%; top: 5%; }
  .panneau-mot { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-pied { flex-direction: column; align-items: flex-start; }
  .hero-pied p { white-space: normal; }
  .bobo-grille, .bar-grille, .privatiser-grille, .acces-grille, .boissons-tete { grid-template-columns: 1fr; }
  .galerie-grille { grid-template-columns: repeat(2, 1fr); }
  .acces-photo { max-height: 420px; }
  .barre-mobile { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--encre); transform: translateY(100%); transition: transform 0.4s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
  .barre-mobile.is-visible { transform: none; }
  .barre-mobile a { display: flex; align-items: center; justify-content: center; min-height: 54px; color: var(--creme); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
  .barre-mobile a + a { border-left: 1px solid rgba(253, 245, 232, 0.2); }
  .pied { padding-bottom: 5.5rem; }
  .legal dl div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
