/* Auberge La Vigie — maquette IDEA, version éditoriale
   Parti pris : une couverture photo plein écran, puis des pages « papier » :
   colonnes de texte étroites, carte typographique à points de conduite,
   grandes photos interstitielles, chiffres en marge. Pas de cartes, pas de grille de blocs.
   Castoro (titres, italiques) + Hanken Grotesk (texte, étiquettes). Fond clair. */

:root {
  --font-heading: 'Castoro', 'Iowan Old Style', 'Palatino', serif;
  --font-body: 'Hanken Grotesk', 'Helvetica Neue', sans-serif;

  --navy: #0E2A47;
  --navy-deep: #081B30;
  --sea: #1F6FA8;
  --sea-deep: #164F78;
  --sand: #E8DCC4;
  --sand-soft: #F6F0E4;
  --sand-deep: #B89A6A;
  --paper: #FBF8F2;
  --rule: rgba(14, 42, 71, 0.18);

  --color-bg: var(--paper);
  --color-bg-alt: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-border: var(--rule);
  --color-text: var(--navy);
  --color-text-muted: #4A5B6E;
  --color-accent: var(--sea);
  --color-accent-2: var(--sand-deep);
  --color-accent-contrast: #FFFFFF;
  --radius-sm: 4px; --radius-md: 6px; --radius-lg: 8px;
  --shadow-sm: 0 2px 10px rgba(14, 42, 71, 0.08);
  --shadow-md: 0 14px 34px rgba(14, 42, 71, 0.16);
  --transition: 0.25s ease;
}

body { background: var(--paper); font-size: 1.04rem; line-height: 1.6; }
h1, h2, h3 { font-weight: 400; letter-spacing: 0; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; margin: 0.4rem 0 1rem; }
h2 em, h3 em, h1 em { font-style: italic; color: var(--sea); }
.wide { width: min(100% - 2 * clamp(1.25rem, 5vw, 3.5rem), 1240px); margin-inline: auto; }
.narrow { width: min(100% - 2 * clamp(1.25rem, 5vw, 3.5rem), 720px); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.kicker { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sea-deep); margin-bottom: 0.6rem; }
.sec-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec-head p { color: var(--color-text-muted); margin: 0; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.demo-ribbon { background: var(--navy-deep); position: static; }
.demo-ribbon strong { color: var(--sand); }

/* Boutons « filet » et pleins */
.btn-line { display: inline-block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.75rem 0; border-bottom: 1.5px solid currentColor; color: #fff; transition: opacity var(--transition); }
.btn-line:hover { opacity: 0.7; }
.btn-line-dark { color: var(--navy); }
.btn-solid { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding: 1rem 2rem; background: var(--navy); color: #fff; border: 0; border-radius: 4px; cursor: pointer; transition: background var(--transition); width: 100%; }
.btn-solid:hover { background: var(--sea-deep); }
.btn { border-radius: 4px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: none; }

/* ---------- Couverture ---------- */
.cover { position: relative; min-height: min(92vh, 900px); display: flex; flex-direction: column; justify-content: space-between; color: #fff; isolation: isolate; }
.cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 27, 48, 0.45) 0%, rgba(8, 27, 48, 0.05) 35%, rgba(8, 27, 48, 0.15) 60%, rgba(8, 27, 48, 0.72) 100%); }
.cover-inner { width: min(100% - 2 * clamp(1.25rem, 5vw, 3.5rem), 1240px); margin-inline: auto; }
.cover-header { padding: 1.4rem 0; }
.cover-header .cover-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: #fff; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.8); display: grid; place-items: center; }
.brand-mark svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.brand-word { font-family: var(--font-heading); font-size: 1.35rem; letter-spacing: 0.01em; }
.cover .nav { gap: 2rem; }
.cover .nav a { color: rgba(255, 255, 255, 0.86); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.cover .nav a:hover { color: #fff; }
.cover .nav a.nav-reserve { padding: 0.55rem 1rem; border: 1.5px solid rgba(255, 255, 255, 0.85); border-radius: 4px; }
.cover .nav-toggle { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.cover-copy { padding: clamp(2rem, 8vw, 6rem) 0 clamp(1.5rem, 4vw, 3rem); }
.cover-kicker { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.85; margin-bottom: 1rem; }
.cover h1 { font-size: clamp(2.4rem, 6.2vw, 5.4rem); line-height: 1.02; margin: 0; max-width: 22ch; text-shadow: 0 2px 30px rgba(8, 27, 48, 0.35); }
.cover h1 em { color: var(--sand); }
.cover-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; padding: 0 0 2rem; border-top: 1px solid rgba(255, 255, 255, 0.28); padding-top: 1.4rem; }
.cover-meta { margin: 0; font-size: 0.9rem; opacity: 0.92; }
.cover-meta span { margin: 0 0.6rem; opacity: 0.6; }
.cover-meta a:hover { text-decoration: underline; }
.cover-foot .btn-line { margin-left: auto; }
.status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; margin: 0; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #9AA3B5; }
.status[data-state="open"] .status-dot { background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
.status[data-state="closed"] .status-dot { background: #F08A6E; box-shadow: 0 0 0 3px rgba(240, 138, 110, 0.25); }
.intro .status, .infos .status { color: var(--navy); }

/* ---------- Introduction ---------- */
.intro { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem); text-align: center; }
.intro .lede { font-family: var(--font-heading); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.45; color: var(--navy); margin: 0 auto 2.5rem; }
.intro-facts { list-style: none; padding: 2rem 0 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; border-top: 1px solid var(--rule); }
.intro-facts strong { display: block; font-family: var(--font-heading); font-size: 1.8rem; line-height: 1.1; font-weight: 400; }
.intro-facts strong small { font-size: 0.8rem; font-family: var(--font-body); color: var(--color-text-muted); }
.intro-facts span { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); }

/* ---------- Menus : trois colonnes typographiques ---------- */
.menus { background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.menu-cols { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 0; }
.menu-col { padding: 0 clamp(1.25rem, 3vw, 2.5rem); border-left: 1px solid var(--rule); }
.menu-col:first-child { border-left: 0; padding-left: 0; }
.menu-col:last-child { padding-right: 0; }
.menu-col-main { background: var(--sand-soft); padding-top: 1.5rem; padding-bottom: 1.5rem; margin: -1.5rem 0; border-left: 0; }
.menu-col-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.menu-col-head h3 { font-size: 1.6rem; margin: 0; }
.menu-price { font-family: var(--font-heading); font-size: 1.6rem; color: var(--sea); }
.menu-when { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); margin: 0.3rem 0 1.4rem; }
.menu-col dl { margin: 0; }
.menu-col dt { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sea-deep); font-weight: 600; margin-top: 1.1rem; }
.menu-col dd { margin: 0.2rem 0 0; font-family: var(--font-heading); font-size: 1.12rem; line-height: 1.4; }
.menu-col dd em { font-style: italic; color: var(--color-text-muted); }

/* ---------- Photos interstitielles ---------- */
.bleed { margin: 0; }
.bleed img { width: 100%; height: clamp(320px, 52vw, 640px); object-fit: cover; display: block; }
.bleed figcaption { font-family: var(--font-heading); font-style: italic; font-size: 1rem; color: var(--color-text-muted); text-align: center; padding: 1rem 1.25rem 0; }
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; padding: 0 0.5rem; }
.triptych img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; display: block; }

/* ---------- Carte typographique ---------- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; }
.cat-nav a { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-muted); padding: 0.4rem 0; border-bottom: 1.5px solid transparent; }
.cat-nav a:hover, .cat-nav a.is-active { color: var(--navy); border-color: var(--navy); }
.carte-grid { columns: 2; column-gap: clamp(2rem, 6vw, 5rem); }
.menu-group { scroll-margin-top: 90px; margin-bottom: 2.5rem; break-inside: avoid; }
.menu-group h3 { font-size: 1.7rem; margin: 0 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--navy); }
.menu-group h3 + .group-note, .group-note { font-size: 0.88rem; color: var(--color-text-muted); margin: -0.25rem 0 0.9rem; }
.menu-group h3 ~ h3 { margin-top: 2.2rem; }
.dishes { list-style: none; padding: 0; margin: 0; }
.dishes li { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.55rem 0; }
.d-name { font-family: var(--font-heading); font-size: 1.12rem; line-height: 1.3; }
.d-name small { display: block; font-family: var(--font-body); font-size: 0.82rem; color: var(--color-text-muted); margin-top: 0.1rem; }
.dishes li::after { content: ""; flex: 1 1 auto; order: 2; border-bottom: 1px dotted var(--rule); margin: 0 0.2rem; min-width: 1.5rem; transform: translateY(-0.35em); }
.d-name { order: 1; }
.d-price { order: 3; font-family: var(--font-heading); font-size: 1.05rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.carte-note { font-size: 0.84rem; color: var(--color-text-muted); border-top: 1px solid var(--rule); padding-top: 1.2rem; margin-top: 1rem; }

/* ---------- Le lieu ---------- */
.lieu { background: var(--sand-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.lieu-grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.dates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.dates li { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.dates strong { display: block; font-family: var(--font-heading); font-size: 1.7rem; font-weight: 400; line-height: 1; color: var(--sea); }
.dates span { font-size: 0.82rem; color: var(--color-text-muted); }
.lieu-text h2 { max-width: 16ch; }
.lieu-text p { max-width: 58ch; color: var(--color-text-muted); font-size: 1.06rem; }
.lieu-text .btn-line { margin-top: 0.5rem; }

/* ---------- Avis : une citation ---------- */
.avis { text-align: center; }
.quotes { position: relative; min-height: 10rem; }
.quote { margin: 0; display: none; }
.quote.is-current { display: block; }
.quote blockquote { margin: 0; font-family: var(--font-heading); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; color: var(--navy); }
.quote figcaption { margin-top: 1.2rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); }
.quote-nav { display: inline-flex; align-items: center; gap: 1.2rem; margin-top: 1.5rem; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--color-text-muted); }
.quote-nav button { font: inherit; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); background: #fff; color: var(--navy); cursor: pointer; }
.quote-nav button:hover { border-color: var(--navy); }
.avis-score { margin-top: 1.4rem; font-size: 0.9rem; color: var(--color-text-muted); }
.avis-score a { text-decoration: underline; }

/* ---------- Réserver ---------- */
.reserver { background: #fff; border-top: 1px solid var(--rule); }
.reserver h2 { margin-top: 0.4rem; }
.reserver-lede { color: var(--color-text-muted); margin-bottom: 2rem; }
.reserver-lede a { text-decoration: underline; }
.reserver-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.reserver-form .span-2 { grid-column: span 2; }
.reserver-form label { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 600; }
.reserver-form .field { background: transparent; border: 0; border-bottom: 1px solid var(--navy); border-radius: 0; padding: 0.6rem 0; }
.reserver-form .field:focus { outline: none; border-bottom-width: 2px; }
.form-note { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 1rem; }
.form-feedback { margin-top: 1rem; padding: 1rem 1.2rem; border: 2px solid var(--navy); color: var(--navy); font-weight: 500; }
.form-feedback[hidden] { display: none; }

/* ---------- Infos ---------- */
.infos { padding-bottom: 0; }
.infos-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.infos-cols p { color: var(--color-text-muted); font-size: 0.95rem; }
.infos-cols address { font-style: normal; font-family: var(--font-heading); font-size: 1.3rem; line-height: 1.35; margin: 0.4rem 0 0.8rem; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.8rem; font-size: 0.9rem; }
.hours-table th, .hours-table td { padding: 0.45rem 0; border-bottom: 1px solid var(--rule); text-align: left; }
.hours-table th { font-weight: 500; color: var(--color-text-muted); }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--sea-deep); font-weight: 700; }
.big-phone { font-family: var(--font-heading); font-size: 1.9rem; margin: 0.3rem 0 0.6rem; }
.big-phone a:hover { text-decoration: underline; }
.social-list { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; gap: 1.4rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.social-list a { border-bottom: 1.5px solid var(--rule); padding-bottom: 0.2rem; }
.social-list a:hover { border-color: var(--navy); }
.map-bleed { height: clamp(260px, 36vw, 420px); border-top: 1px solid var(--rule); }
.map-bleed iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.6); }

/* ---------- Pied ---------- */
.foot { background: var(--navy); color: rgba(255, 255, 255, 0.8); padding: 2.5rem 0; }
.foot-inner { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.foot-brand { font-family: var(--font-heading); font-size: 1.3rem; color: #fff; margin: 0; }
.foot-brand span { display: block; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand); margin-top: 0.2rem; }
.foot-legal { margin: 0; font-size: 0.82rem; }
.foot a:hover { text-decoration: underline; }

/* ---------- Mobile ---------- */
.appbar { display: none; }
@media (max-width: 1024px) {
  .menu-cols { grid-template-columns: 1fr; gap: 2rem; }
  .menu-col, .menu-col:first-child, .menu-col:last-child { padding: 0; border-left: 0; }
  .menu-col-main { margin: 0; padding: 1.5rem; }
  .carte-grid { columns: 1; }
  .lieu-grid { grid-template-columns: 1fr; gap: 2rem; }
  .dates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; }
  .infos-cols { grid-template-columns: 1fr; }
  .intro-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .cover .nav { position: fixed; inset: 64px 1rem auto 1rem; background: #fff; }
  .cover .nav a { color: var(--navy); }
  .cover .nav a.nav-reserve { border-color: var(--navy); text-align: center; }
}
@media (max-width: 760px) {
  .demo-ribbon { position: static; font-size: 0.8rem; }
  .cover { min-height: 78vh; }
  .cover h1 { font-size: 2.5rem; }
  .cover-foot { gap: 0.75rem 1.5rem; padding-bottom: 1.5rem; }
  .cover-foot .btn-line { display: none; }
  .intro .lede { font-size: 1.2rem; }
  .section { padding: 3rem 0; }
  .triptych { grid-template-columns: 1fr 1fr; }
  .triptych img:last-child { grid-column: span 2; aspect-ratio: 16/9; }
  .cat-nav { gap: 0.25rem 1rem; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-nav a { flex-shrink: 0; }
  .menu-group { scroll-margin-top: 70px; }
  .d-name { font-size: 1.05rem; }
  .reserver-form .form-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
  .foot-inner { flex-direction: column; }

  body.has-appbar { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .cookie-banner { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .appbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; background: rgba(251, 248, 242, 0.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--rule); padding: 0.45rem 0.5rem calc(0.55rem + env(safe-area-inset-bottom)); }
  .appbar a { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); padding: 0.3rem 0.2rem; min-height: 52px; justify-content: flex-end; }
  .appbar a.is-active { color: var(--navy); }
  .appbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .appbar-main { color: var(--navy); }
  .appbar-main-btn { width: 58px; height: 58px; border-radius: 50%; background: var(--navy); color: var(--sand); display: grid; place-items: center; margin-top: -30px; box-shadow: 0 8px 20px rgba(14, 42, 71, 0.35), 0 0 0 5px var(--paper); }
  .appbar-main-btn svg { width: 24px; height: 24px; }
}
@media (max-width: 420px) {
  .reserver-form .form-grid { grid-template-columns: 1fr; }
  .reserver-form .span-2 { grid-column: auto; }
  .intro-facts { grid-template-columns: 1fr 1fr; }
}

/* ---------- Pages intérieures (mentions légales) ---------- */
.page-header { border-bottom: 1px solid var(--rule); padding: 1.2rem 0; background: #fff; }
.page-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand-dark { color: var(--navy); }
.brand-dark .brand-mark { border-color: var(--navy); }
.brand-dark .brand-mark svg { stroke: var(--navy); }
.legal-page h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0.4rem 0 1rem; }
.legal-page h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal-page p { color: var(--color-text-muted); }

/* audit */
.form-note { max-width: 72ch; }
.cover .nav a { padding: 0.6rem 0.1rem; }

/* --- Audit mobile 13/10/2026 : cibles tactiles >= 44 px, textes >= 12,8 px --- */

.kicker { font-size: .8rem; }
.social-list a, .big-phone a, .foot-legal a, .cover-meta a { display:inline-flex; align-items:center; min-height:44px; }

