/* Bô Passage — vert bouteille, laiton, plâtre. Motif : l'arche du passage. */
:root {
  --vert: #1D3B34;
  --vert-nuit: #12271F;
  --laiton: #B08A55;
  --laiton-clair: #D9BC8C;
  --platre: #F1F1EC;
  --encre: #23272A;
  --gris: #5C645F;
  --display: "Marcellus", "Times New Roman", serif;
  --texte: "Jost", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --arche: 999px 999px 3px 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--platre);
  color: var(--encre);
  font-family: var(--texte);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .5rem 1rem; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 40rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--vert); }
.lien { color: var(--vert); text-decoration-color: var(--laiton); text-underline-offset: 4px; }
.lien:hover { color: var(--vert-nuit); text-decoration-thickness: 2px; }

/* ---------- En-tête fixe ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--vert); color: var(--platre);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.defile { border-bottom-color: rgba(176, 138, 85, .55); box-shadow: 0 6px 24px rgba(18, 39, 31, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { font-family: var(--display); font-size: 1.65rem; color: var(--laiton-clair); text-decoration: none; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { text-decoration: none; font-weight: 400; padding: .3rem 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.nav a:hover { border-bottom-color: var(--laiton); }
.nav a[aria-current="page"] { color: var(--laiton-clair); border-bottom-color: var(--laiton); }
.nav a.nav-tel { border: 1px solid var(--laiton); border-radius: 999px; padding: .4rem 1.1rem; }
.nav a.nav-tel:hover { background: rgba(176, 138, 85, .15); }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: .7rem .4rem; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 1.5px; background: var(--platre); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--vert); padding: 0 1.25rem 1.25rem;
    border-bottom: 1px solid var(--laiton);
  }
  .nav.ouvert { display: flex; }
  .nav a { padding: .85rem 0; border-bottom-color: rgba(241, 241, 236, .1); }
  .nav a.nav-tel { margin-top: 1rem; text-align: center; }
}

/* ---------- Arche ---------- */
.arch { margin: 0; }
.arch-cadre { position: relative; }
.arch img, .arch-vide { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--arche); }
.arch-cadre::after {
  content: ""; position: absolute; inset: -11px;
  border: 1px solid var(--laiton); border-radius: var(--arche); pointer-events: none;
}
.arch-vide { background: linear-gradient(160deg, var(--vert) 0%, var(--vert-nuit) 100%); }

/* ---------- Accueil ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 8vw, 6.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.hero-title { font-size: clamp(3.4rem, 9.5vw, 8rem); line-height: .92; color: var(--vert); margin-bottom: .4em; letter-spacing: -.01em; }
.hero-lede { font-size: 1.3rem; line-height: 1.5; max-width: 28ch; margin: 0; }
.hero-adresse { color: var(--gris); margin: 1.4rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.arch-hero { max-width: 440px; justify-self: end; width: 100%; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 400;
  background: var(--vert); color: var(--platre);
  border: 1px solid var(--vert); border-radius: 999px;
  padding: .85rem 1.6rem; transition: background .2s;
}
.btn:hover { background: var(--vert-nuit); }
.btn-ghost { background: transparent; color: var(--vert); }
.btn-ghost:hover { background: rgba(29, 59, 52, .07); }

@media (prefers-reduced-motion: no-preference) {
  .arch-hero img, .arch-hero .arch-vide { animation: lever 1.3s cubic-bezier(.2, .7, .2, 1) both; }
  .arch-hero .arch-cadre::after { animation: apparaitre 1s .9s both; }
  @keyframes lever { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes apparaitre { from { opacity: 0; } to { opacity: 1; } }
}

@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; }
  .arch-hero { justify-self: center; max-width: 340px; margin-top: 1rem; }
}

.presentation { padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 1px solid rgba(176, 138, 85, .35); }
.prose p { margin: 0 0 1.15em; line-height: 1.8; font-size: 1.12rem; }

.arcade { background: var(--vert); color: var(--platre); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.arcade h2 { color: var(--laiton-clair); text-align: center; margin-bottom: 3rem; }
.arcade-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 3rem 2.2rem;
}
.arcade-list li { max-width: 320px; width: 100%; justify-self: center; }
.arcade figcaption { margin-top: 1.4rem; text-align: center; font-size: .95rem; color: var(--laiton-clair); }

.venir { padding: clamp(3rem, 7vw, 5rem) 0; }
.venir-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2.5rem; }
.venir-titre { font-size: 1.5rem; }
.venir p { margin: 0 0 .7rem; }

/* ---------- Pages intérieures ---------- */
.page-tete { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; text-align: center; }
.page-tete::before {
  content: ""; display: block; width: 34px; height: 44px; margin: 0 auto 1.3rem;
  border: 1px solid var(--laiton); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.page-tete h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); color: var(--vert); }
.page-tete p { color: var(--gris); max-width: 40rem; margin: 0 auto; }

/* ---------- Carte ---------- */
.carte { padding-bottom: 5rem; }
.carte-nav { list-style: none; margin: 0 0 3.5rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.8rem; }
.carte-nav a { text-decoration: none; color: var(--gris); border-bottom: 1px solid transparent; padding-bottom: 2px; }
.carte-nav a:hover { color: var(--vert); border-bottom-color: var(--laiton); }
.carte-cat { max-width: 44rem; margin: 0 auto 3.5rem; }
.carte-cat h2 { text-align: center; }
.carte-cat h2::after { content: ""; display: block; width: 48px; height: 1px; background: var(--laiton); margin: .8rem auto 0; }
.plats { list-style: none; margin: 0; padding: 0; }
.plat { padding: .9rem 0; }
.plat-ligne { display: flex; align-items: baseline; gap: .6rem; }
.plat-nom { font-weight: 500; }
.plat-points { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted rgba(35, 39, 42, .35); transform: translateY(-.3em); }
.plat-prix { font-family: var(--display); font-size: 1.12rem; color: var(--vert); white-space: nowrap; }
.plat-desc { margin: .25rem 0 0; color: var(--gris); font-size: .98rem; max-width: 34rem; }
.vide { text-align: center; color: var(--gris); max-width: 34rem; margin: 1rem auto 4rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(2rem, 5vw, 4rem); padding-bottom: 5rem; align-items: start; }
.coord { margin: 0; }
.coord dt { font-family: var(--display); font-size: 1.25rem; color: var(--vert); margin-top: 1.6rem; }
.coord dt:first-child { margin-top: 0; }
.coord dd { margin: .3rem 0 0; }
.coord-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem !important; }
.plan { border: 1px solid var(--laiton); padding: 8px; border-radius: 6px; aspect-ratio: 4 / 3; }
.plan iframe { width: 100%; height: 100%; border: 0; border-radius: 3px; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--vert-nuit); color: rgba(241, 241, 236, .85); padding: 3rem 0 1.5rem; font-size: .96rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-inner p { margin: 0 0 .5rem; }
.footer-brand { font-family: var(--display); font-size: 1.5rem; color: var(--laiton-clair); }
.site-footer a { text-decoration-color: rgba(176, 138, 85, .6); text-underline-offset: 4px; }
.footer-contact { color: var(--laiton-clair); }
.footer-legal { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(176, 138, 85, .3); font-size: .85rem; color: rgba(241, 241, 236, .6); }

/* ---------- Événement ---------- */
.evt-quand { font-size: 1.15rem; color: var(--vert); }
.evt-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-bottom: 4rem; }
.evt-infos { border: 1px solid var(--laiton); border-radius: 6px; padding: 1.8rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.evt-agenda { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.evt-aide { font-size: .88rem; color: var(--gris); margin: .9rem 0 0; }
.evt-passe { margin: 1.6rem 0 0; color: var(--gris); font-style: italic; }
.evt-photos { padding-bottom: 5rem; }
.evt-photos-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem 2.2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.evt-photos-list li { width: 100%; max-width: 300px; justify-self: center; }
.evt-photos-list.n1 { max-width: 380px; margin-inline: auto; }
.evt-photos-list.n2 { max-width: 760px; margin-inline: auto; }
.evt-photos-list figcaption { margin-top: 1.3rem; text-align: center; font-size: .95rem; color: var(--gris); }
@media (max-width: 780px) {
  .evt-grid { grid-template-columns: 1fr; }
  .evt-infos { position: static; }
}
