/* La Table de Martine — maquette de démonstration (version comparative)
   Base : jetons de la fiche Refero « Alison Roman » (papier parchemin chaud, bordeaux profond, rayons à 0, titres serif légers
   aux grandes tailles, filets fins), transformés : bordeaux de la façade, ocre du mur, bleu des volets, vichy de la nappe,
   polices Fraunces + Hanken Grotesk. Signature : bande vichy (nappe à carreaux) et enseigne bordeaux. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/fraunces.woff2?v=2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/hanken.woff2") format("woff2"); }

:root {
  --color-bordeaux: #6d1a2b;
  --color-bordeaux-deep: #4a0f1c;
  --color-parchemin: #f6efe0;
  --color-lin: #fffaee;
  --color-ocre: #d9a850;
  --color-volet: #7fa3c4;
  --color-encre: #2b1214;
  --color-gris: #5a4a47;
  --color-vichy: #b3364d;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 18px;
  --section-gap: 72px;
  --page-max-width: 1160px;
  --radius-buttons: 0px;
  --radius-cards: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-parchemin); color: var(--color-encre); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--color-ocre); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--page-max-width); margin: 0 auto; padding: 0 var(--gutter); }
.demo-bar { background: var(--color-encre); color: var(--color-parchemin); font-size: 0.8125rem; font-weight: 600; text-align: center; padding: 7px var(--gutter); }

/* Vichy : nappe à carreaux */
.vichy { height: 22px; background-color: var(--color-lin); background-image: linear-gradient(90deg, rgba(179, 54, 77, 0.55) 50%, transparent 50%), linear-gradient(rgba(179, 54, 77, 0.55) 50%, transparent 50%); background-size: 22px 22px; border-block: 2px solid var(--color-bordeaux); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--color-bordeaux); white-space: nowrap; transition: background 0.2s, color 0.2s; font-family: inherit; }
.btn-fill { background: var(--color-bordeaux); color: var(--color-lin); }
.btn-fill:hover { background: var(--color-bordeaux-deep); }
.btn-line { background: transparent; color: var(--color-bordeaux); }
.btn-line:hover { background: var(--color-bordeaux); color: var(--color-lin); }
.btn-ocre { background: var(--color-ocre); border-color: var(--color-ocre); color: var(--color-encre); }
.btn-ocre:hover { background: #e6bb6c; }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--color-bordeaux); color: var(--color-lin); border-bottom: 3px solid var(--color-ocre); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { text-decoration: none; position: relative; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.05; font-weight: 600; letter-spacing: 0.01em; display: grid; }
.brand small { font-family: var(--font-body); font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-ocre); font-weight: 700; }
.head-links { display: none; gap: 4px; }
.head-links a { text-decoration: none; padding: 12px 16px; font-weight: 600; font-size: 0.9375rem; }
.head-links a:hover { color: var(--color-ocre); }
.site-header .btn { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }

/* Accueil */
.hero { padding: 40px 0 64px; }
.hero-grid { display: grid; gap: 32px; }
.eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-bordeaux); margin: 0 0 14px; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 9vw, 4.8rem); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 20px; color: var(--color-bordeaux-deep); }
.lead { font-size: 1.2rem; max-width: 40ch; color: var(--color-gris); margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--color-bordeaux); }
.hero-photo figcaption { position: absolute; left: -2px; bottom: -2px; background: var(--color-bordeaux); color: var(--color-lin); padding: 8px 16px; font-family: var(--font-display); font-size: 1rem; }

.facts { background: var(--color-bordeaux); color: var(--color-lin); }
.facts ul { list-style: none; margin: 0; padding: 18px var(--gutter); display: grid; gap: 8px; max-width: var(--page-max-width); margin-inline: auto; font-weight: 600; text-align: center; }
.facts li::before { content: "✦ "; color: var(--color-ocre); }

section { padding-top: var(--section-gap); }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 6.5vw, 3.2rem); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 12px; color: var(--color-bordeaux-deep); }
.section-head { max-width: 720px; margin: 0 0 30px; }
.section-head p:not(.eyebrow) { margin: 0; color: var(--color-gris); max-width: 56ch; }

/* Formules */
.formules { display: grid; gap: 0; border: 2px solid var(--color-bordeaux); background: var(--color-lin); }
.formule { padding: 24px; border-bottom: 1px solid rgba(109, 26, 43, 0.3); display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; }
.formule:last-child { border-bottom: 0; }
.formule h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin: 0; line-height: 1.15; }
.formule .price { font-family: var(--font-display); font-weight: 600; font-size: 2rem; color: var(--color-bordeaux); }
.formule p { grid-column: 1 / -1; margin: 0; color: var(--color-gris); font-size: 0.9375rem; }
.formules-note { margin: 12px 0 0; color: var(--color-gris); font-size: 0.9375rem; }

/* Carte */
.menu { background: var(--color-lin); border: 2px solid var(--color-bordeaux); padding: 28px 20px 34px; position: relative; }
.menu::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(109, 26, 43, 0.35); pointer-events: none; }
.menu-head { text-align: center; max-width: 620px; margin: 0 auto 28px; position: relative; }
.menu-head p { margin: 0; color: var(--color-gris); }
.cols { display: grid; gap: 34px; position: relative; }
.col h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; margin: 0 0 6px; color: var(--color-bordeaux); border-bottom: 2px solid var(--color-ocre); padding-bottom: 6px; }
.col ul { list-style: none; margin: 0; padding: 0; }
.dish { padding: 12px 0; border-bottom: 1px dotted rgba(43, 18, 20, 0.35); display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: baseline; }
.dish .n { font-weight: 700; }
.dish .p { font-family: var(--font-display); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--color-bordeaux); }
.dish .d { grid-column: 1 / -1; color: var(--color-gris); font-size: 0.9375rem; line-height: 1.4; }
.badge { display: inline-block; margin-left: 6px; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.08em; padding: 1px 7px; background: var(--color-ocre); color: var(--color-encre); vertical-align: 2px; }
.menu-foot { position: relative; margin: 28px 0 0; text-align: center; color: var(--color-gris); font-size: 0.9375rem; }

/* Galerie : vraies photos */
.gallery { display: grid; gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--color-bordeaux); }
.gallery figcaption { font-family: var(--font-display); font-size: 1rem; padding-top: 8px; color: var(--color-bordeaux-deep); }

/* Infos */
.band { background: var(--color-lin); margin-top: var(--section-gap); padding: var(--section-gap) 0; border-block: 2px solid var(--color-bordeaux); }
.grid2 { display: grid; gap: 34px; }
.hours { list-style: none; margin: 0 0 14px; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(109, 26, 43, 0.3); font-variant-numeric: tabular-nums; }
.hours li span:first-child { font-weight: 700; }
.hours .closed { color: var(--color-gris); }
.note { margin: 0; color: var(--color-gris); font-size: 0.9375rem; }
.infos .box { border: 2px solid var(--color-bordeaux); padding: 24px; display: grid; gap: 10px; margin-bottom: 14px; background: var(--color-parchemin); }
.box h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; margin: 0; color: var(--color-bordeaux); }
.box p { margin: 0; }
.box a:not(.btn) { font-weight: 700; text-decoration-color: var(--color-ocre); text-decoration-thickness: 3px; text-underline-offset: 3px; display: inline-block; padding: 10px 0; }

.reviews { display: grid; gap: 14px; }
.review { margin: 0; border: 2px solid var(--color-bordeaux); padding: 26px; background: var(--color-lin); }
.review blockquote { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; }
.review figcaption { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-bordeaux); }

.contact { padding-bottom: var(--section-gap); }
address { font-style: normal; font-size: 1.25rem; line-height: 1.5; margin: 0 0 18px; }
.contact-lines { margin: 0 0 24px; }
.contact-lines a { display: inline-block; font-family: var(--font-display); font-size: 2.1rem; text-decoration: none; border-bottom: 3px solid var(--color-ocre); line-height: 1.15; position: relative; color: var(--color-bordeaux-deep); }
.contact-lines a::before, .brand::before { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }

.site-footer { background: var(--color-bordeaux-deep); color: #e3cfd1; padding: 38px 0 110px; }
.site-footer .wrap { display: grid; gap: 8px; }
.site-footer b { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; color: var(--color-lin); }
.site-footer p { margin: 0; font-size: 0.9375rem; }
.site-footer .demo-note { font-size: 0.8125rem; color: #cbb0b4; max-width: 72ch; }

.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; background: var(--color-bordeaux-deep); padding-bottom: env(safe-area-inset-bottom); }
.callbar a { flex: 1; text-align: center; padding: 17px 8px; text-decoration: none; font-weight: 700; font-size: 0.9375rem; color: var(--color-lin); }
.callbar a:first-child { background: var(--color-ocre); color: var(--color-encre); }

@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .formules { grid-template-columns: repeat(3, 1fr); }
  .formule { border-bottom: 0; border-right: 1px solid rgba(109, 26, 43, 0.3); }
  .formule:last-child { border-right: 0; }
  .menu { padding: 44px 40px 48px; }
}
@media (min-width: 960px) {
  :root { --gutter: 40px; --section-gap: 104px; }
  .head-links { display: flex; }
  .callbar { display: none; }
  .site-footer { padding-bottom: 44px; }
  .bar { min-height: 78px; }
  html { scroll-padding-top: 96px; }
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 60px; }
  .cols { grid-template-columns: repeat(2, 1fr); gap: 36px 60px; }
  .grid2 { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* === details interactifs === */
/* Détails interactifs discrets : à ajouter en fin de style.css, après avoir défini --accent et --on-accent dans :root du site. */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22); }
.head-links a[aria-current="true"] { box-shadow: inset 0 -3px 0 var(--accent); }
.btn { transition: transform 0.18s ease, background-color 0.2s ease, color 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.card, .review, .box, .card-i, .formule { transition: transform 0.25s ease, box-shadow 0.25s ease; }
@media (hover: hover) {
  .card:hover, .review:hover, .box:hover, .card-i:hover { transform: translateY(-4px); }
  .dish { transition: background-color 0.2s ease, padding-left 0.2s ease; }
  .dish:hover { padding-left: 8px; background: color-mix(in srgb, var(--accent) 14%, transparent); }
  .sticker { transition: transform 0.35s ease; }
  .hero-photo:hover .sticker { transform: rotate(-2deg) scale(1.06); }
}
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; margin: 0 0 6px; scrollbar-width: none; position: relative; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; min-height: 44px; padding: 0 20px; border-radius: 9999px; border: 2px solid currentColor; background: transparent; color: inherit; font: inherit; font-weight: 700; font-size: 0.9375rem; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease; }
.chips button:hover { transform: translateY(-1px); }
.chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.col[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .review, .box, .card-i, .dish, .sticker { transition: none; }
}

:root { --accent: var(--color-ocre); --on-accent: var(--color-encre); }
.composer { margin-top: 28px; padding: 24px; border: 2px dashed var(--color-bordeaux); background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(179, 54, 77, 0.07) 22px 44px), repeating-linear-gradient(90deg, rgba(179, 54, 77, 0.07) 0 22px, transparent 22px 44px), var(--color-lin); }
.composer-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-bordeaux-deep); margin: 0 0 14px; }
.composer-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.composer-chips button { min-height: 48px; padding: 0 22px; font: inherit; font-weight: 700; color: var(--color-bordeaux); background: var(--color-lin); border: 2px solid var(--color-bordeaux); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease; }
.composer-chips button:hover { transform: translateY(-2px); }
.composer-chips button[aria-pressed="true"] { background: var(--color-bordeaux); color: var(--color-lin); }
.composer-out { min-height: 84px; margin-top: 18px; }
.composer-out .hint { margin: 6px 0 0; color: var(--color-gris); font-size: 0.9375rem; }
.composer-out .result { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0; padding: 14px 18px; background: var(--color-bordeaux); color: var(--color-lin); animation: pop 0.35s ease; }
.composer-out .rn { font-family: var(--font-display); font-size: 1.2rem; }
.composer-out .rp { font-family: var(--font-display); font-size: 2.2rem; color: var(--color-ocre); }
@keyframes pop { from { transform: scale(0.96); opacity: 0.4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .composer-out .result { animation: none; } .composer-chips button { transition: none; } }
