@font-face { font-family: "DM Serif Display"; src: url(fonts/dmserif-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url(fonts/dmserif-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Allura"; src: url(fonts/allura-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(fonts/worksans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(fonts/worksans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #1c2430;          /* ardoise de l'auvent */
  --ink-2: #2a3442;
  --navy: #1f4e8c;         /* bleu de la carte */
  --cream: #f6f1e7;
  --paper: #fbf8f2;
  --line: #ddd4c3;
  --muted: #5d6470;
  --accent: #d4683f;       /* lumière orangée du comptoir */
  --accent-soft: #f3d9cc;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --script: "Allura", "Brush Script MT", cursive;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.script { font-family: var(--script); font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--navy); line-height: 1; margin: 0 0 .1em; }
.script--light { color: var(--accent-soft); }

/* Boutons */
.btn {
  display: inline-block; padding: .85em 1.6em; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none;
  transition: transform .15s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { border: 1.5px solid var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  color: #fff;
  transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.is-solid { background: var(--ink); box-shadow: 0 2px 20px rgba(0,0,0,.18); padding-block: 10px; }
.nav__logo { font-family: var(--serif); font-size: 1.6rem; text-decoration: none; margin-right: auto; }
.nav__logo span, .footer__logo span { color: var(--accent); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; font-size: .95rem; opacity: .9; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav__call { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5em 1.1em; border: 1.5px solid rgba(255,255,255,.6); border-radius: 999px; }
.nav__call:hover { background: rgba(255,255,255,.12); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.04); animation: settle 1.8s ease-out forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20,26,36,.6) 0%, rgba(20,26,36,0) 60%),
  linear-gradient(180deg, rgba(20,26,36,.55) 0%, rgba(20,26,36,.15) 35%, rgba(20,26,36,.85) 100%); }
.hero__content { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(48px, 9vh, 96px); }
.hero__kicker { text-transform: uppercase; letter-spacing: .25em; font-size: .8rem; font-weight: 600; opacity: .9; }
.hero__title { font-size: clamp(4rem, 13vw, 9rem); margin: 0 0 .15em; letter-spacing: -.01em; }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 34ch; opacity: .95; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.status { display: inline-flex; align-items: center; gap: .55em; font-size: .9rem; margin: 0; min-height: 1.5em; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status.is-open::before { background: #6fd08c; box-shadow: 0 0 0 4px rgba(111,208,140,.25); }
.status.is-closed::before { background: #e48a7a; }
.status:empty { display: none; }

/* Intro */
.intro { padding: clamp(72px, 12vw, 130px) var(--gutter); }
.intro__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.intro__inner > p:not(.script) { font-size: 1.1rem; color: var(--muted); }
.pillars { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillars li { padding: 22px 16px; border-top: 2px solid var(--navy); display: flex; flex-direction: column; gap: 4px; }
.pillars strong { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; }
.pillars span { color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* Plat du jour */
.daily { padding: 0 var(--gutter); }
.daily__card {
  max-width: var(--wrap); margin: 0 auto; background: var(--navy); color: #fff;
  border-radius: 20px; padding: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; align-items: start;
  position: relative; overflow: hidden;
}
.daily__card::after { content: "A"; position: absolute; right: -20px; bottom: -110px; font: 400 360px/1 var(--serif); color: rgba(255,255,255,.05); pointer-events: none; }
.daily__card > .script, .daily__card > h2, .daily__card > p:not(.daily__hint) { grid-column: 1; }
.daily__prices { grid-column: 2; grid-row: 1 / span 4; display: grid; gap: 4px; position: relative; z-index: 1; }
.daily__prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.daily__label { font-size: 1.05rem; }
.daily__price { font-family: var(--serif); font-size: 2rem; white-space: nowrap; }
.daily__hint { grid-column: 1; font-size: .95rem; opacity: .85; }

/* Photos de plats */
.plates {
  max-width: var(--wrap); margin: clamp(64px, 10vw, 110px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(200px, 24vw, 280px); gap: 14px;
}
.plates__item { margin: 0; position: relative; overflow: hidden; border-radius: 14px; background: var(--cream); }
.plates__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.plates__item:hover img { transform: scale(1.04); }
.plates__item:nth-child(4) { grid-column: 2 / span 2; }
.plates__item:nth-child(1) { grid-row: span 2; }
.plates__item figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: .35em .9em; border-radius: 999px;
  background: rgba(28,36,48,.78); color: #fff; font-size: .85rem; backdrop-filter: blur(4px);
}

/* Carte */
.menu { max-width: var(--wrap); margin: 0 auto; padding: clamp(80px, 12vw, 130px) var(--gutter); }
.section-head { text-align: center; margin-bottom: 56px; }
.menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 80px); }
.menu__group { margin-bottom: 48px; }
.menu__group h3 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: .28em; color: var(--navy); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.menu__note { font-size: .88rem; color: var(--muted); font-style: italic; margin: 0 0 4px; }
.menu dl { margin: 0; }
.dish { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.dish:last-child { border-bottom: 0; }
.dish dt { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; }
.dish .price { margin: 0; font-weight: 600; white-space: nowrap; align-self: baseline; }
.dish .desc { grid-column: 1 / -1; margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.menu__group--feature { background: var(--cream); border-radius: 16px; padding: 24px 24px 8px; }

/* Apéro & boissons */
.menu--bar { position: relative; padding-top: clamp(64px, 9vw, 100px); }
.menu--bar::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
.menu--bar .script, .menu--bar .menu__group h3 { color: var(--accent); }
.menu--bar .menu__group--feature { background: #f8e9e1; }
.menu--bar .menu__group--feature h3 { border-bottom-color: #e9c9b8; }
.section-head__lead { color: var(--muted); max-width: 46ch; margin: 8px auto 0; }
.wine-cat th { padding-top: 18px !important; font-family: var(--sans) !important; font-size: .78rem !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); border-bottom: 0 !important; }
.softs { margin: 12px 0 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.softs__price { color: var(--ink); font-weight: 600; white-space: nowrap; }
.match { margin-top: 20px; font-size: .95rem; color: var(--ink) !important; }
.services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.services li::before { content: "✓"; color: var(--accent); margin-right: 8px; }
.menu__group--feature h3 { border-bottom-color: #cfc3ad; }
.menu__group--wine table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.menu__group--wine th, .menu__group--wine td { padding: 10px 0; text-align: right; border-bottom: 1px dashed var(--line); font-weight: 400; }
.menu__group--wine thead th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.menu__group--wine tbody th { text-align: left; font-family: var(--serif); font-size: 1.2rem; }
.menu__group--wine small { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-left: 6px; }
.menu__group--wine td { width: 70px; font-weight: 600; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; text-align: center; margin-top: 16px; color: var(--muted); font-size: .92rem; }

/* Le lieu */
.place { background: var(--cream); display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; }
.place__photo { margin: 0; min-height: 420px; }
.place__photo img { width: 100%; height: 100%; object-fit: cover; }
.place__text { padding: clamp(48px, 8vw, 100px) clamp(24px, 6vw, 80px); align-self: center; max-width: 620px; }
.place__text p:not(.script) { color: var(--muted); font-size: 1.05rem; }
.tags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: .4em 1em; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .9rem; }

/* Espaces */
.spaces { background: var(--cream); padding: 0 max(var(--gutter), calc((100% - var(--wrap)) / 2)) clamp(64px, 10vw, 110px); display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.spaces__item { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.spaces__item img { width: 100%; height: clamp(300px, 36vw, 460px); object-fit: cover; border-radius: 14px; }
.spaces__item:not(.spaces__item--wide) img { object-position: 50% 60%; }
.spaces__item figcaption { color: var(--muted); font-size: .98rem; max-width: 46ch; }
.spaces__item figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; color: var(--ink); margin-bottom: 2px; }
.place { padding-bottom: clamp(32px, 5vw, 56px); }

/* Questions */
.faq { max-width: 820px; margin: 0 auto; padding: clamp(72px, 10vw, 120px) var(--gutter); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--serif); font-size: 1.25rem; line-height: 1.3;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; color: var(--accent); transition: transform .2s ease; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { color: var(--muted); margin: -4px 0 20px; max-width: 62ch; }

/* Infos */
.infos { background: var(--ink); color: #fff; padding: clamp(80px, 12vw, 130px) var(--gutter); }
.infos__grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 8vw, 100px); }
.infos h3 { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: .25em; font-size: .85rem; color: var(--accent-soft); margin-bottom: 16px; }
.infos h3.mt { margin-top: 36px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.12); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today { background: rgba(255,255,255,.07); }
.hours tr.is-today th { font-weight: 600; }
.hours tr.is-today th::after { content: "aujourd'hui"; margin-left: 10px; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
address { font-style: normal; font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; margin-bottom: 20px; }
.big-link { font-family: var(--serif); font-size: 1.8rem; text-decoration: none; }
.big-link:hover { color: var(--accent-soft); }
.socials { display: flex; gap: 20px; }
.socials a { text-underline-offset: 5px; }

/* Footer */
.footer { background: #141a23; color: rgba(255,255,255,.75); text-align: center; padding: 48px var(--gutter) 96px; font-size: .92rem; }
.footer__logo { font-family: var(--serif); font-size: 2rem; color: #fff; margin-bottom: 8px; }
.footer__small { font-size: .8rem; opacity: .7; margin-top: 18px; }

/* Bouton d'appel mobile */
.call-fab {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 30;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
  padding: .9em 1.5em; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Tablette */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .daily__card { grid-template-columns: 1fr; }
  .daily__prices, .daily__hint { grid-column: 1; grid-row: auto; }
  .daily__prices { margin: 12px 0 16px; }
  .menu__grid { grid-template-columns: 1fr; }
  .place { grid-template-columns: 1fr; }
  .place__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .infos__grid { grid-template-columns: 1fr; }
  .plates { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .plates__item--wide, .plates__item:nth-child(4) { grid-column: 1 / -1; grid-row: auto; }
  .spaces { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__call { display: none; }
  .pillars { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  .pillars li { padding: 18px 0; }
  .call-fab { display: inline-block; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
  .call-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
  .menu__group--wine small { display: block; margin: 2px 0 0; }
  .socials a { display: inline-block; padding: 10px 0; }
  .menu__group--feature { padding: 20px 16px 4px; }
  .dish dt { font-size: 1.18rem; }
  .daily__price { font-size: 1.6rem; }
  .hero__actions .btn { flex: 1 1 auto; text-align: center; }
}

/* Mise en avant du numéro quand on clique sur Réserver depuis un ordinateur */
@keyframes flash { 0%, 100% { background: transparent; } 30%, 70% { background: var(--accent); color: #fff; } }
.big-link.is-flash { animation: flash 1.6s ease .4s 2; border-radius: 6px; padding: 0 .25em; margin: 0 -.25em; }
