/* Wirtshaus Talmerau : demonstração da DigitalWorks (negócio fictício). Visual adaptado de outra demonstração, com cores e fontes próprias. */
:root {
  --creme: #F8F3EA;
  --papier: #FFFDF8;
  --vin: #4A2545;
  --vin-fonce: #351A32;
  --encre: #231D22;
  --texte: #4F443E;
  --doux: #857970;
  --ligne: #E6D9C5;
  --moutarde: #D9A441;
  --vert: #2F6B4F;
  --titre: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--texte); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--vin); outline-offset: 3px; }
.lecteur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.larg { width: min(1160px, 100% - 40px); margin-inline: auto; }
@media (min-width: 900px) { .larg { width: min(1160px, 100% - 80px); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; text-align: center; }
.btn-vin { background: var(--vin); color: #fff; }
.btn-vin:hover { background: var(--vin-fonce); }
.btn-creme { background: var(--creme); color: var(--vin); }
.btn-creme:hover { background: #fff; }
.btn-trait { border-color: currentColor; }
.btn-trait:hover { background: var(--encre); color: var(--creme); border-color: var(--encre); }
.sur { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--vin); }
.fleuron { display: block; margin: 0 auto 14px; color: var(--moutarde); }

/* ------------------------------------------------------------ en-tête */
.ouvert { background: var(--encre); color: #EFE5D5; font-size: 14.5px; text-align: center; padding: 8px 16px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; }
.ouvert i { width: 9px; height: 9px; border-radius: 50%; background: #9A8F86; }
.ouvert.oui i { background: #5FCB8E; box-shadow: 0 0 0 4px rgba(95, 203, 142, .2); }
.ouvert b { color: #fff; }
.ouvert a { text-decoration: underline; text-underline-offset: 3px; }
.tete { position: sticky; top: 0; z-index: 40; background: rgba(248, 243, 234, .95); border-bottom: 1px solid var(--ligne); }
.tete::before { content: ''; position: absolute; inset: 0; z-index: -1; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tete-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.enseigne { font: italic 500 26px/1 var(--titre); color: var(--vin); white-space: nowrap; }
.enseigne small { display: block; font: 700 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--doux); margin-top: 5px; font-style: normal; }
.nav { display: none; }
.tete .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; margin-right: -8px; }
.burger:hover { background: #F0E5D2; }
.tete-d { display: flex; align-items: center; gap: 8px; }
@media (min-width: 960px) {
  .tete-in { min-height: 82px; }
  .enseigne { font-size: 31px; }
  .burger { display: none; }
  .nav { display: flex; gap: 6px; }
  .nav a { padding: 9px 16px; border-radius: 999px; font-weight: 500; color: var(--encre); transition: background .2s; }
  .nav a:hover { background: #F0E5D2; }
  .nav a[aria-current] { background: var(--vin); color: #fff; }
}
.tiroir-fond { position: fixed; inset: 0; z-index: 60; background: rgba(35, 29, 34, .5); opacity: 0; transition: opacity .25s; }
.tiroir-fond.on { opacity: 1; }
.tiroir { position: fixed; top: 0; bottom: 0; right: 0; z-index: 61; width: min(330px, 88%); background: var(--creme); padding: 18px 22px 26px; display: flex; flex-direction: column; gap: 6px; transform: translateX(104%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.tiroir.on { transform: none; }
.tiroir a.lien { font: 500 26px/1.2 var(--titre); color: var(--encre); padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.tiroir .btn { margin-top: 18px; }
.tiroir .fermer { align-self: flex-end; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; margin: 0 -8px 4px 0; }

/* ------------------------------------------------------------ accueil */
.affiche { position: relative; min-height: min(640px, calc(100vh - 150px)); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--encre); }
.affiche > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.affiche::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35, 29, 34, .15) 0%, rgba(35, 29, 34, .82) 100%); }
.affiche .larg { position: relative; z-index: 1; padding-block: 120px 44px; }
.affiche .sur { color: #F2D9A6; }
.affiche h1 { font: 400 clamp(42px, 10vw, 84px)/1.02 var(--titre); letter-spacing: -.01em; margin-top: 14px; max-width: 11em; }
.affiche h1 em { font-style: italic; color: #F2D9A6; }
.affiche p.txt { margin-top: 16px; font-size: 19px; max-width: 30em; color: #F3EADB; }
.affiche-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.affiche .btn-trait { color: #fff; }
.affiche .btn-trait:hover { background: #fff; color: var(--encre); border-color: #fff; }

.formule { margin-top: -1px; background: var(--vin); color: #F6E9DA; }
.formule .larg { display: grid; gap: 14px; padding-block: 26px; align-items: center; }
.formule b { font: italic 500 30px/1.1 var(--titre); color: #fff; display: block; }
.formule .prix { font: 500 54px/1 var(--titre); color: #F2D9A6; white-space: nowrap; }
.formule .prix small { font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; display: block; margin-top: 6px; color: #F6E9DA; }
.formule .btn { justify-self: start; }
@media (min-width: 860px) { .formule .larg { grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; padding-block: 30px; } .formule .btn { justify-self: end; } }

.bloc { padding-block: 72px 0; }
.bloc-tete { text-align: center; max-width: 36em; margin: 0 auto 36px; }
.bloc-tete h2, .deux h2, .page-tete h1 { font: 400 clamp(32px, 7vw, 50px)/1.08 var(--titre); color: var(--encre); margin-top: 10px; }
.bloc-tete h2 em, .deux h2 em, .page-tete h1 em { font-style: italic; color: var(--vin); }
.bloc-tete p:not(.sur) { margin-top: 12px; }
@media (min-width: 900px) { .bloc { padding-block: 110px 0; } }

.assiettes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
.assiette { text-align: center; }
.assiette .rond { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #EADCC6; box-shadow: 0 18px 40px -24px rgba(35, 29, 34, .6); }
.assiette img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.assiette:hover img { transform: scale(1.06) rotate(2deg); }
.assiette b { display: block; font: 500 18px/1.25 var(--titre); color: var(--encre); margin-top: 16px; }
.assiette span { font-weight: 700; color: var(--vin); }
.centre { text-align: center; margin-top: 36px; }
@media (min-width: 900px) { .assiettes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; } .assiette b { font-size: 20px; } }

.deux { display: grid; gap: 28px; align-items: center; }
.deux-photo { border-radius: 200px 200px 14px 14px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 440px; width: 100%; margin-inline: auto; background: #EADCC6; }
.deux-photo img { width: 100%; height: 100%; object-fit: cover; }
.deux-photo.large { border-radius: 14px; aspect-ratio: 4 / 3; max-width: none; }
.deux p:not(.sur) { margin-top: 14px; max-width: 32em; }
.deux .btn { margin-top: 26px; }
.deux ul.points { margin-top: 18px; display: grid; gap: 10px; }
.deux ul.points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.deux ul.points svg { color: var(--vin); margin-top: 4px; }
@media (min-width: 900px) { .deux { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } .deux.inverse .deux-photo { order: 2; } }

.avis { display: grid; gap: 14px; }
.avis figure { background: var(--papier); border: 1px solid var(--ligne); border-radius: 14px; padding: 26px 24px; }
.avis p { font: italic 400 20px/1.45 var(--titre); color: var(--encre); }
.avis span { display: block; margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); }
.note-demo { text-align: center; font-size: 13.5px; color: var(--doux); margin-top: 14px; }
@media (min-width: 900px) { .avis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* horaires, adresse, plan */
.pratique { display: grid; gap: 16px; }
.carton { background: var(--papier); border: 1px solid var(--ligne); border-radius: 14px; padding: 28px 24px; }
.carton h2, .carton h3 { font: 500 26px/1.15 var(--titre); color: var(--encre); }
.statut { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ligne); font-weight: 700; font-size: 15px; color: var(--encre); }
.statut i { width: 9px; height: 9px; border-radius: 50%; background: #B4A99F; }
.statut.oui i { background: #2E9B5B; box-shadow: 0 0 0 4px rgba(46, 155, 91, .18); }
.horaires { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 16px; }
.horaires td { padding: 10px 0; border-top: 1px solid var(--ligne); vertical-align: top; }
.horaires td:last-child { text-align: right; color: var(--encre); font-weight: 500; }
.horaires .aujourdhui td { color: var(--vin); font-weight: 700; }
.carton address { font-style: normal; margin-top: 14px; color: var(--encre); font-size: 18px; }
.carton-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.plan { position: relative; border-radius: 14px; overflow: hidden; min-height: 300px; background: #E9E2D2; border: 1px solid var(--ligne); display: grid; place-items: center; }
.plan svg.rues { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan.ferme svg.rues { filter: blur(5px) saturate(.6); opacity: .75; transform: scale(1.05); }
.plan-centre { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 20px; }
.plan-centre small { font-size: 14px; background: rgba(255, 253, 248, .9); padding: 6px 12px; border-radius: 12px; max-width: 24em; }
.plan-note { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: 13.5px; background: rgba(255, 253, 248, .93); border-radius: 10px; padding: 8px 12px; }
.epingle { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); color: var(--vin); filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .25)); animation: tombe .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes tombe { from { transform: translate(-50%, -160%); opacity: 0; } }
@media (min-width: 900px) { .pratique { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; } .carton { padding: 38px; } .plan { min-height: 100%; } }

/* ------------------------------------------------------------ pied de page */
.pied { background: var(--encre); color: #CFC4B8; margin-top: 90px; padding-block: 56px 110px; font-size: 16px; }
.pied-grille { display: grid; gap: 30px; }
.pied .enseigne { color: #F2D9A6; }
.pied .enseigne small { color: #A89C90; }
.pied h2 { font: 700 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #F2D9A6; margin-bottom: 14px; }
.pied li + li { margin-top: 8px; }
.pied a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pied-bas { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 10px; font-size: 14px; color: #A89C90; }
.pied-demo { background: rgba(217, 164, 65, .14); border: 1px solid rgba(217, 164, 65, .45); color: #F0DFC0; padding: 10px 14px; border-radius: 10px; }
.pied-demo b { color: #F2D9A6; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; margin-right: 8px; }
@media (min-width: 900px) { .pied { padding-block: 80px 60px; margin-top: 120px; } .pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.reserver-fixe { position: fixed; right: 14px; bottom: 14px; z-index: 35; box-shadow: 0 16px 34px -14px rgba(53, 26, 50, .9); }
html.dw-capa .reserver-fixe { display: none; }
@media (min-width: 960px) { .reserver-fixe { display: none; } }

/* ------------------------------------------------------------ pages intérieures */
.page-tete { text-align: center; padding: 50px 0 40px; border-bottom: 1px solid var(--ligne); }
.page-tete p:not(.sur) { margin: 12px auto 0; max-width: 34em; }
@media (min-width: 900px) { .page-tete { padding: 78px 0 60px; } }

/* la carte */
.carte-outils { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.carte-filtres, .carte-langue { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.carte-filtres > span, .carte-langue > span { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); margin-right: 4px; }
.puce { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--papier); font-weight: 500; font-size: 15.5px; color: var(--encre); display: inline-flex; align-items: center; gap: 8px; transition: background .2s, border-color .2s, color .2s; }
.puce:hover { border-color: var(--vin); }
.puce[aria-pressed="true"] { background: var(--vin); border-color: var(--vin); color: #fff; }
.carte-papier { background: var(--papier); border: 1px solid var(--ligne); border-radius: 14px; padding: 30px 22px; margin-top: 30px; position: relative; }
.carte-papier::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--ligne); border-radius: 9px; pointer-events: none; }
.rubrique + .rubrique { margin-top: 44px; }
.rubrique h2 { font: italic 500 32px/1.1 var(--titre); color: var(--vin); text-align: center; }
.rubrique h2 small { display: block; font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--doux); font-style: normal; margin-top: 8px; }
.plats { margin-top: 22px; display: grid; gap: 4px; }
.plat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px dotted #CDBFA8; }
.plat-nom { font: 500 18.5px/1.3 var(--titre); color: var(--encre); }
.plat-prix { font-weight: 700; color: var(--encre); white-space: nowrap; }
.plat-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 2px 9px; border-radius: 999px; background: #F0E5D2; color: var(--texte); }
.tag.v { background: #DDEBDD; color: #23553E; }
.tag.m { background: #F6E1B8; color: #6B4A0B; }
.carte-vide { text-align: center; padding: 26px; color: var(--doux); }
.allergenes { margin-top: 26px; text-align: center; font-size: 15px; color: var(--doux); }
.allergenes a { text-decoration: underline; text-underline-offset: 3px; color: var(--vin); font-weight: 700; }
@media (min-width: 900px) { .carte-papier { padding: 56px 70px; } .rubriques { column-count: 2; column-gap: 70px; } .rubrique { break-inside: avoid; } .rubrique + .rubrique { margin-top: 0; padding-top: 44px; } .rubrique:nth-child(3) { padding-top: 0; } }

/* formulaires (réservation et groupes) */
.form-grille { display: grid; gap: 22px; padding-top: 40px; align-items: start; }
.form { background: var(--papier); border: 1px solid var(--ligne); border-radius: 14px; padding: 26px 22px; display: grid; gap: 18px; }
.form h2 { font: 500 26px/1.15 var(--titre); color: var(--encre); }
.champ { display: grid; gap: 7px; font-weight: 700; font-size: 15px; color: var(--encre); }
.champ input, .champ select, .champ textarea { height: 50px; border: 1.5px solid var(--ligne); border-radius: 10px; background: #fff; padding: 0 14px; font-size: 17px; font-weight: 400; outline: none; width: 100%; }
.champ textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--vin); box-shadow: 0 0 0 4px rgba(74, 37, 69, .14); }
.champ small { font-weight: 400; color: var(--doux); font-size: 14px; }
.deux-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.creneaux { display: flex; flex-wrap: wrap; gap: 8px; }
.creneau { min-width: 74px; height: 46px; border-radius: 10px; border: 1.5px solid var(--ligne); background: #fff; font-weight: 700; color: var(--encre); transition: background .2s, border-color .2s, color .2s; }
.creneau:hover:not(:disabled) { border-color: var(--vin); }
.creneau[aria-pressed="true"] { background: var(--vin); border-color: var(--vin); color: #fff; }
.creneau:disabled { color: #B9AFA5; background: #F4EDE0; cursor: not-allowed; text-decoration: line-through; }
.form-note { font-size: 14px; color: var(--doux); font-weight: 400; }
.form-erreur { color: #A2392F; font-weight: 700; font-size: 15px; }
.form .btn { width: 100%; }
@media (min-width: 900px) { .form-grille { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 30px; padding-top: 56px; } .form { padding: 38px; } }

.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.galerie div { aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #EADCC6; }
.galerie div:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.galerie div:hover img { transform: scale(1.05); }
@media (min-width: 900px) { .galerie { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .galerie div:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; } }

.prose { max-width: 42em; margin: 0 auto; padding-top: 40px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font: 500 26px/1.2 var(--titre); color: var(--encre); margin-top: 34px; }
.prose ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }

/* fenêtre de confirmation */
.fond { position: fixed; inset: 0; z-index: 80; background: rgba(35, 29, 34, .62); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.fond.on { opacity: 1; }
.billet { width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--papier); border-radius: 16px; overflow-x: hidden; }
.billet-tete { background: var(--vin); color: #fff; padding: 22px 24px; text-align: center; }
.billet-tete b { display: block; font: italic 500 27px/1.1 var(--titre); }
.billet-tete small { font-size: 14px; color: #F2D9A6; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.billet dl { padding: 20px 24px 6px; display: grid; gap: 10px; }
.billet dl div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dotted #CDBFA8; padding-bottom: 10px; }
.billet dt { color: var(--doux); }
.billet dd { color: var(--encre); font-weight: 700; text-align: right; }
.billet-note { padding: 12px 24px 24px; font-size: 15px; display: grid; gap: 14px; }
.billet-note b { background: var(--moutarde); color: #3A2A05; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-right: 6px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* mobile : le bouton « Réserver » vit en bas de l'écran, pas dans l'en-tête */
@media (max-width: 959px) { .tete .reserver-btn { display: none; } }
