/* Pattaya Café
   Pierre de la voûte, bleu lagon du logo, anthracite, menthe des chaises, lanterne. */
:root {
  --lagoon: #1F9AB3;
  --lagoon-dk: #137186;
  --stone: #EAE3D6;
  --stone-2: #D9CEBB;
  --char: #2F3133;
  --mint: #A6D9CC;
  --lantern: #F3A63B;
  --ink: #26292B;
  --muted: #5B605D;
  --paper: #F6F2EA;
  --display: "Shrikhand", "Georgia", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --arch: 999px 999px 0 0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.6 var(--body); color: var(--ink); background: var(--stone); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--lagoon-dk); }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.12; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; color: var(--char); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lantern); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--char); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin: 0 auto; }
.small { font-size: .9rem; color: var(--muted); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn-lagoon { background: var(--lagoon); color: #fff; }
.btn-lagoon:hover { background: var(--lagoon-dk); }
.btn-line { border-color: var(--char); color: var(--char); background: transparent; }
.btn-line:hover { background: var(--char); color: #fff; }
.ev-body .btn { max-width: 100%; text-align: center; }
.btn-light { background: #fff; color: var(--lagoon-dk); }
.btn-light:hover { background: var(--char); color: #fff; }

/* Bandeau et en-tête */
.announce { background: var(--char); color: #fff; text-align: center; font-weight: 600; font-size: .95rem; padding: 9px 20px; }
.announce p { margin: 0; }
.announce p::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lantern); margin-right: 10px; vertical-align: middle; box-shadow: 0 0 10px var(--lantern); }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(234, 227, 214, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(47, 49, 51, .1); }
.header-in { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.logo { display: flex; align-items: flex-end; gap: 4px; text-decoration: none; color: var(--char); }
.logo svg { width: 26px; height: 42px; color: var(--lagoon); margin-bottom: 2px; }
.logo span { font-family: var(--display); font-size: 1.55rem; line-height: 1; color: var(--lagoon); }
.logo em { font-style: normal; font-size: .72em; color: var(--char); }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--char); font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-color: var(--lagoon); }
.lang { display: flex; border: 2px solid var(--char); border-radius: 999px; padding: 2px; }
.lang a { text-decoration: none; font-weight: 700; font-size: .85rem; color: var(--char); padding: 4px 10px; border-radius: 999px; }
.lang a[aria-current="true"] { background: var(--char); color: #fff; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-btn span:not(.sr) { display: block; height: 2px; background: var(--char); margin: 7px 0; border-radius: 2px; }

/* Accueil */
.hero { padding: clamp(28px, 5vw, 64px) 0 0; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.hero-copy { padding-bottom: clamp(40px, 7vw, 96px); }
.hero h1 { max-width: 11ch; }
.lead { font-size: 1.15rem; max-width: 46ch; color: #3E4341; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-addr { font-weight: 600; color: var(--muted); margin: 0; }
.status { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 16px 6px 12px; font-weight: 600; font-size: .95rem; margin-bottom: 22px; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: #A09A8E; }
.status.is-open .dot { background: #2FA36B; box-shadow: 0 0 0 4px rgba(47, 163, 107, .18); }
.hero-art { align-self: end; }
.hero-art .art-hero { width: 100%; height: auto; margin-bottom: -2px; }
.lantern .glow { animation: flicker 3.2s ease-in-out infinite; transform-origin: center; }
.lantern.l1 .glow { animation-delay: -.8s; } .lantern.l2 .glow { animation-delay: -1.9s; } .lantern.l3 .glow { animation-delay: -1.2s; } .lantern.l4 .glow { animation-delay: -2.6s; }
@keyframes flicker { 0%, 100% { opacity: .18; } 45% { opacity: .34; } 60% { opacity: .24; } }

/* Programme */
.programme { background: var(--paper); padding: clamp(56px, 8vw, 104px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; align-items: end; margin-bottom: 34px; }
.section-head p { color: var(--muted); max-width: 52ch; margin: 0; }
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.event { position: relative; overflow: hidden; background: var(--lagoon); color: #fff; border-radius: 28px; padding: 26px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-content: start; min-height: 260px; }
.event.has-img { padding-top: 0; }
.ev-img { grid-column: 1 / -1; width: calc(100% + 52px); max-width: none; margin: 0 -26px 4px; aspect-ratio: 16/9; object-fit: cover; }
.ev-palm { position: absolute; right: -18px; bottom: -24px; width: 130px; color: #fff; opacity: .12; pointer-events: none; }
.nowrap { white-space: nowrap; }
.ev-date { align-self: start; position: relative; background: #fff; color: var(--char); border-radius: 999px 999px 18px 18px; width: 86px; padding: 18px 6px 12px; text-align: center; display: grid; align-content: start; }
.ev-day { font-family: var(--display); font-size: 2.3rem; line-height: 1; color: var(--lagoon); }
.ev-month { font-weight: 700; }
.ev-wd { font-size: .78rem; color: var(--muted); line-height: 1.2; margin-top: 4px; }
.ev-date-soon { align-content: center; min-height: 104px; }
.ev-soon { font-family: var(--display); color: var(--lagoon); font-size: 1rem; line-height: 1.1; }
.ev-body { position: relative; min-width: 0; }
.ev-body h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: .3em; }
.ev-time { font-weight: 700; margin-bottom: .6em; color: #DDF4F7; }
.ev-text { margin-bottom: .9em; }
.ev-lines { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid rgba(255,255,255,.3); }
.ev-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.3); }
.event.is-today { background: var(--char); }
.event.is-today .ev-date { box-shadow: 0 0 0 4px var(--lantern); }
.ev-empty { background: #fff; border-radius: 20px; padding: 24px; margin: 0; }

/* Carte : le tableau sous l'arche */
.carte { padding: clamp(56px, 8vw, 100px) 0; }
.board { background: var(--char); color: #EDEAE3; border-radius: clamp(160px, 36vw, 480px) clamp(160px, 36vw, 480px) 32px 32px; padding: clamp(70px, 11vw, 150px) clamp(20px, 5vw, 64px) clamp(28px, 5vw, 56px); }
.board-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.board h2 { color: #fff; }
.board-head p { color: #B9B6AE; }
.menu-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.menu-nav a { color: #fff; text-decoration: none; border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .92rem; }
.menu-nav a:hover { background: var(--mint); color: var(--char); border-color: var(--mint); }
.menu-cols { columns: 2 380px; column-gap: clamp(28px, 5vw, 72px); }
.menu-cat { break-inside: avoid; margin-bottom: 36px; scroll-margin-top: 90px; }
.menu-cat h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--mint); margin-bottom: .5em; }
.menu-cat h3 small { font-family: var(--body); font-size: .9rem; color: #B9B6AE; font-weight: 500; }
.menu-cat ul { list-style: none; margin: 0; padding: 0; }
.drink { padding: 9px 0; }
.drink-line { display: flex; align-items: baseline; gap: 8px; }
.drink-name { font-weight: 700; color: #fff; }
.leader { flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(255,255,255,.28); transform: translateY(-4px); }
.drink-prices { display: flex; gap: 14px; font-weight: 700; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.drink-prices small { font-weight: 500; color: #B9B6AE; margin-right: 5px; font-size: .82rem; }
.drink-desc { margin: 2px 0 0; color: #B9B6AE; font-size: .93rem; }
.tag { font-size: .72rem; font-weight: 700; background: var(--mint); color: var(--char); border-radius: 999px; padding: 1px 8px; white-space: nowrap; align-self: center; }

/* La cave */
.cave { padding: 0 0 clamp(56px, 8vw, 100px); }
.cave-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cave-media { border-radius: var(--arch); overflow: hidden; background: var(--stone-2); aspect-ratio: 16/11; }
.cave-media img, .cave-media svg { width: 100%; height: 100%; object-fit: cover; }
.cave-facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.cave-facts li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.cave-facts li::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 999px 999px 2px 2px; background: var(--lagoon); }

/* Horaires & accès */
.infos { background: var(--paper); padding: clamp(56px, 8vw, 100px) 0; }
.infos-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 28px; margin-top: 24px; align-items: start; }
.info-block h3 { margin-bottom: 12px; }
.hours { margin: 0 0 12px; }
.hrow { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--stone-2); }
.hrow dt { font-weight: 600; }
.hrow dd { margin: 0; font-variant-numeric: tabular-nums; }
.hrow.is-closed dd { color: var(--muted); }
.hrow.is-today { font-weight: 700; color: var(--lagoon-dk); }
.hrow.is-today small { background: var(--lagoon); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: .72rem; margin-left: 6px; vertical-align: 2px; }
.addr { font-size: 1.1rem; line-height: 1.5; }
.info-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map { border-radius: 24px; overflow: hidden; background: var(--stone-2); aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Pied de page */
.site-footer { background: var(--char); color: #C9C6BF; padding: 30px 0; font-size: .92rem; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.footer-in p { margin: 0; }
.footer-brand { font-family: var(--display); color: var(--lagoon); font-size: 1.3rem; }
.footer-brand em { font-style: normal; color: #fff; font-size: .8em; }
.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a { color: #fff; }
.footer-links .made-by { color: #C9C6BF; text-decoration: none; }
.footer-links .made-by:hover { color: #fff; text-decoration: underline; }

/* Modale */
.modal { border: 0; padding: 0; border-radius: 24px; width: min(100% - 32px, 640px); max-height: 86dvh; }
.modal::backdrop { background: rgba(38, 41, 43, .55); }
.modal-in { padding: 32px; position: relative; }
.modal .close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--stone); font-size: 1.6rem; cursor: pointer; }
.legal-body h3 { margin-top: 1.2em; }

/* Tablette */
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--stone); flex-direction: column; gap: 0; padding: 6px 20px 18px; border-bottom: 1px solid rgba(47,49,51,.12); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(47,49,51,.12); font-size: 1.1rem; }
  .lang { margin-left: auto; }
  .infos-grid { grid-template-columns: 1fr 1fr; }
  .map { grid-column: 1 / -1; aspect-ratio: 16/9; }
  .cave-in { grid-template-columns: 1fr; }
  .cave-media { max-width: 640px; }
}

/* Accueil : horaires du jour */
.hero-addr { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.hero-today { color: var(--lagoon-dk); text-decoration: none; border-bottom: 2px solid rgba(31,154,179,.35); }
.hero-today:hover { border-color: var(--lagoon); }
.hero-today:empty { display: none; }

/* Photos */
.photos { padding: 0 0 clamp(56px, 8vw, 100px); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 19vw, 240px); grid-auto-flow: dense; gap: clamp(10px, 1.6vw, 18px); }
.shot { position: relative; margin: 0; overflow: hidden; border-radius: 20px; background: var(--stone-2); }
.shot-lead { grid-column: span 2; grid-row: span 2; border-radius: var(--arch); }
.shot-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot-btn:hover img { transform: scale(1.04); }
.shot-btn:focus-visible { outline-offset: -5px; border-radius: inherit; }
.shot figcaption { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); background: rgba(47,49,51,.86); color: #fff; font-size: .85rem; font-weight: 600; line-height: 1.3; padding: 5px 11px; border-radius: 999px; pointer-events: none; }
.gallery .shot:nth-child(3n+4):last-child { grid-column: 1 / -1; }
.gallery .shot:nth-child(3n+5):last-child { grid-column: span 2; }
.shot-lead figcaption { left: 18px; bottom: 18px; font-size: .95rem; padding: 7px 14px; }

/* Visionneuse */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(31,33,35,.96); color: #fff; }
.lightbox::backdrop { background: rgba(31,33,35,.9); }
.lightbox[open] { display: grid; place-items: center; }
.lb-fig { margin: 0; display: grid; gap: 14px; justify-items: center; padding: 64px 76px 28px; max-width: 100%; }
.lb-fig img { width: min(calc(100vw - 152px), 1400px); height: calc(100dvh - 150px); object-fit: contain; }
.lb-fig figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; text-align: center; font-weight: 600; }
.lb-count { color: #B9B6AE; font-weight: 500; font-variant-numeric: tabular-nums; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--lagoon); }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 14px; top: 14px; }

/* Horaires exceptionnels */
.hrow dd { text-align: right; }
.hnote { display: block; font-size: .8rem; font-weight: 600; color: var(--lagoon-dk); }
.hrow.is-special dd { color: var(--lagoon-dk); }
.special-title { font-size: 1rem; margin: 18px 0 8px; }
.special { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.special li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; background: #fff; border-left: 4px solid var(--lagoon); border-radius: 4px 12px 12px 4px; padding: 9px 12px; }
.special li.is-closed { border-left-color: var(--lantern); }
.sp-when { font-weight: 700; }
.sp-hours { font-variant-numeric: tabular-nums; }
.special li.is-closed .sp-hours { color: var(--muted); }
.sp-note { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); }


/* Venir au Pattaya */
.access { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(48px, 7vw, 88px); padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--stone-2); }
.access-photo { margin: 0; position: sticky; top: 96px; }
.access-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 60%; border-radius: var(--arch); background: var(--stone-2); }
.access-photo figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); display: grid; gap: 2px; }
.access-photo figcaption small { font-size: .78rem; }
.access-photo figcaption small:empty { display: none; }
.access-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--char); margin-bottom: .35em; }
.access-lead { color: #3E4341; max-width: 52ch; margin-bottom: 28px; }
.route { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-top: 1px solid var(--stone-2); }
.route-ico { width: 52px; height: 52px; padding: 8px; border-radius: 999px 999px 12px 12px; background: var(--lagoon); fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.route-ico circle { fill: #fff; stroke: none; }
.route-body h4 { font-size: 1.2rem; margin: 4px 0 .4em; }
.route-body p { max-width: 60ch; margin-bottom: .7em; }
.route-note { font-size: .92rem; color: var(--muted); }
.route-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-sm { min-height: 42px; padding: .5em 1.1em; font-size: .95rem; margin-top: 4px; }

/* Mobile */
@media (max-width: 720px) {
  .access { grid-template-columns: 1fr; }
  .access-photo { position: static; }
  .access-photo img { aspect-ratio: 4 / 3; border-radius: 200px 200px 20px 20px; }
  .route { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .route-ico { width: 44px; height: 44px; padding: 6px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .shot-lead { grid-column: 1 / -1; grid-row: span 2; border-radius: 200px 200px 20px 20px; }
  .shot figcaption { display: none; }
.shot-lead figcaption { display: block; }
  .lb-fig { padding: 64px 12px 90px; }
  .lb-fig img { width: calc(100vw - 24px); height: calc(100dvh - 190px); }
  .gallery .shot:nth-child(n):last-child { grid-column: auto; }
  .gallery .shot:nth-child(2n+4):last-child { grid-column: 1 / -1; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
  body { font-size: 16px; }
  .hero-in { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-bottom: 28px; }
  .hero h1 { max-width: none; }
  .hero-art { width: min(100%, 440px); margin: 0 auto; }
  .hero-cta .btn { flex: 1 1 100%; }
  .section-head { grid-template-columns: 1fr; }
  .events { grid-template-columns: 1fr; }
  .event { padding: 22px; gap: 16px; }
  .ev-img { width: calc(100% + 44px); margin: 0 -22px 4px; }
  .ev-date { width: 72px; }
  .ev-day { font-size: 1.9rem; }
  .carte .wrap { width: 100%; }
  .board { border-radius: 200px 200px 0 0; padding: 84px 20px 36px; }
  .menu-cols { columns: 1; }
  .drink-line { flex-wrap: wrap; }
  .leader { display: none; }
  .drink-prices { margin-left: auto; }
  .infos-grid { grid-template-columns: 1fr; }
  .info-actions .btn { flex: 1 1 auto; }
  .footer-links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
