@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&display=swap');

:root {
  color: #183c30;
  background: #fbfaf6;
  font: 1rem/1.6 'DM Sans', system-ui, sans-serif;
  --paper: #fbfaf6;
  --green: #183c30;
  --red: #8d293a;
  --gold: #f2ce86;
  --line: #e2dfd4;
  --display: 'Playfair Display', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0 }
a { color: inherit; text-underline-offset: .2em }
button { font: inherit; cursor: pointer }
:focus-visible { outline: 3px solid #ac5628; outline-offset: 4px }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .5rem 1rem; background: var(--paper); z-index: 1 }
.skip:focus { top: .5rem }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper) }
.header-inner, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.15rem }
.wordmark { font: 800 1.35rem/1.1 var(--display); text-decoration: none }
.wordmark em, h1 em { color: var(--red) }
nav { display: flex; gap: clamp(.85rem, 3vw, 2rem); flex-wrap: wrap }
nav a { font-weight: 700; text-decoration: none }
nav a:hover { text-decoration: underline }
.header-reservation { color: white; background: var(--green) }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(530px, 52vw, 680px); background: #172620; color: white }
.hero-text { padding-block: clamp(3rem, 8vw, 7rem) }
.hero h1 em, .hero .eyebrow { color: var(--gold) }
.eyebrow, .date-status { font-weight: 700; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 }
.eyebrow { color: var(--red) }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 }
h1 { font-size: clamp(4rem, 8vw, 7.65rem); line-height: .96; font-weight: 800; letter-spacing: -.065em; margin-top: .2em }
h1 em { display: block; font-weight: 700 }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.04em }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem) }
.intro { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 33ch; margin-block: 1.5rem 1.8rem; color: #fffaf0 }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1.25rem; font-weight: 700; border: 1px solid transparent; border-radius: 999px; text-decoration: none; text-align: center; transition: background-color .18s, box-shadow .18s }
.button:hover { box-shadow: inset 0 0 0 100px #00000014 }
.red { background: var(--red); color: white }
.outline { border-color: var(--green) }
.cream { background: var(--paper); color: var(--green) }
.hero .red { background: var(--gold); color: #172620 }
.hero .outline { border-color: #ffffffa6; background: #1726206b }
.hero-photo { position: absolute; inset: 0; z-index: -1; margin: 0 }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #10241ef7 0%, #10241ee8 24%, #10241e77 52%, #10241e0d 78%) }
.hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 45% }
.agenda { background: #f2efe7; padding-block: clamp(2.6rem, 6vw, 5.2rem) }
.section-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem }
.filters { display: flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; border: 1px solid var(--line); border-radius: 1.55rem; background: var(--paper) }
.filters button { padding: .52rem .9rem; border: 0; border-radius: 99px; background: transparent; color: var(--green); font-weight: 700 }
.filters button:hover { background: #e7eae0 }
.filters button[aria-pressed=true] { background: var(--green); color: white }
#evenements { display: grid; gap: 1rem }
.attente, .date-card { padding: clamp(1.25rem, 4vw, 2.4rem); border: 1px solid var(--line); border-radius: 24px; background: var(--paper) }
.agenda-note:empty { display: none }
.agenda-note { margin: 0 0 1rem; color: #654139 }
.agenda-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.15rem }
.agenda-controls select, .reservation-form input { min-width: 0; min-height: 46px; padding: .55rem .8rem; font: inherit; color: inherit; border: 1px solid #ccc9bd; border-radius: 10px; background: white }
.agenda-controls select { flex: 1; appearance: none; padding-right: 2rem; background: white linear-gradient(45deg, transparent 50%, #183c30 50%) calc(100% - 18px) 52% / 5px 5px no-repeat; background-image: linear-gradient(45deg, transparent 50%, #183c30 50%), linear-gradient(135deg, #183c30 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52% }
.agenda-controls button { background: var(--paper); color: var(--green) }
button:disabled { opacity: .48; cursor: default }
.date-card { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(1.2rem, 4.2vw, 3.5rem); align-items: start; box-shadow: 0 16px 40px #36301b0a }
.affiche { --encre: #234a3b; --fond: #fbefce; position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; min-height: 450px; aspect-ratio: 3 / 4; width: 100%; padding: 1rem; background: var(--fond); border: 3px double var(--encre); color: var(--encre); text-align: center; box-shadow: .35rem .4rem #c6ae7c55 }
.affiche[data-theme=valses] { --encre: #862b3c; --fond: #ffede1 }
.affiche[data-theme=valses] img { object-position: center 36%; filter: saturate(.72) }
.affiche[data-theme=printemps] { --encre: #24574e; --fond: #e6ebce }
.affiche[data-theme=printemps] img { object-position: center 70%; filter: sepia(.17) }
.affiche[data-theme=archive] { --encre: #913232; --fond: #fae5b7 }
.affiche img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 48%; border: 1px solid var(--encre) }
.affiche-marque { font: 800 clamp(1.3rem, 3.5vw, 2.2rem)/1.2 var(--display); margin: 0 0 .7rem }
.affiche-texte { padding: .6rem 0 0 }
.affiche-statut { text-transform: uppercase; font-weight: 700; font-size: .88rem; letter-spacing: .13em; margin: 0 }
.affiche-titre { font: 800 clamp(1.6rem, 4vw, 2.55rem)/1.08 var(--display); margin: .2rem 0 .35rem }
.affiche time { font-weight: 700 }
.affiche-importee { display: block; min-height: 0; aspect-ratio: auto; padding: 0; border: 0; box-shadow: none }
.affiche-importee img { width: 100%; height: auto; border: 0 }
.affiche-importee :is(.affiche-marque, .affiche-texte) { display: none }
.reservation-form { display: grid; gap: .75rem; margin-top: 1.4rem; padding: clamp(1rem, 3vw, 1.55rem); border-radius: 18px; background: #edf0e7 }
.reservation-form h4 { font: 800 1.24rem/1.2 'DM Sans', system-ui, sans-serif; margin: 0 }
.reservation-form label { display: grid; gap: .22rem; font-weight: 700 }
.reservation-form p { margin: 0 }
.reservation-form .button { justify-self: stretch }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem }
.reservation-note, .repas-note { color: #614d3c; font-size: .93rem }
.form-feedback { font-weight: 700 }
.form-feedback:empty { display: none }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.date-status { color: var(--red); margin-bottom: .5rem }
.date-detail h3 { font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -.04em }
.date-lieu { font-weight: 700; margin-block: .4rem }
.date-description { margin-block: .5rem }
.formules { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: .85rem 0 0; padding: 0 }
.formules li { padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 8px }
.ambiance { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 5vw, 4rem); align-items: start; padding-block: clamp(2.5rem, 6vw, 5.2rem) }
.ambiance p { margin-top: 0; max-width: 57ch }
.ambiance p:last-child { margin-bottom: 0 }
.acces { border-top: 1px solid var(--line); align-items: center }
.acces h2 + p { margin-block: 1rem }
.acces iframe { width: 100%; height: 310px; border: 1px solid var(--line); border-radius: 20px; background: #edf0e7 }
.admin-page { max-width: 760px; padding-block: 2rem 4rem }
.admin-page h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); margin-block: 1rem }
.admin-page .reservation-form label { display: grid; min-width: 0 }
.admin-page :is(select, textarea) { width: 100%; padding: .65rem; font: inherit; border: 1px solid #ccc9bd; border-radius: 10px }
.reservation { background: var(--green); color: var(--paper) }
.reservation-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 2.6rem }
.reservation p { margin-bottom: 0; max-width: 54ch }
.reservation .button { flex-shrink: 0 }
.footer { padding-block: 1.4rem }
.footer-admin { padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: #53665e; font-size: .88rem; text-decoration: none }
.footer-admin:hover { color: var(--green); border-color: var(--green) }
@media (max-width: 780px) {
  .header-inner { flex-wrap: wrap; gap: .85rem }
  .header-inner nav { order: 1; width: 100% }
  .hero { min-height: 530px; align-items: end }
  .hero-photo::after { background: linear-gradient(0deg, #10241efc 3%, #10241ed6 44%, #10241e40 85%) }
  .hero-photo img { object-position: 58% center }
  .date-card { grid-template-columns: minmax(0, 1fr); gap: 1.5rem }
  .affiche { max-width: 550px; margin-inline: auto; min-height: 0 }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 2rem) }
  .header-inner, .footer { gap: .8rem }
  .header-inner .wordmark { font-size: 1.17rem }
  .hero { min-height: 560px }
  h1 { font-size: clamp(3rem, 12vw, 4.8rem) }
  .ambiance { grid-template-columns: 1fr }
  .reservation-inner { align-items: flex-start; flex-direction: column; gap: 1.2rem }
  .footer { flex-wrap: wrap }
  .agenda-controls select { order: -1; flex-basis: 100% }
  .form-row { grid-template-columns: 1fr }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none } }
