/* ============================================================
   LE CAPRI — STYLES
   DA : crème #EDE3D2 · bordeaux logo #9F202C · olive · or
   Typo : Great Vibes (titres script) + Cormorant Garamond
   ============================================================ */

:root {
  --creme: #EDE3D2;
  --creme-2: #E4D7C0;
  --creme-3: #F4EDE0;
  --bordeaux: #9F202C;
  --bordeaux-deep: #7C1420;
  --encre: #2E2419;
  --brun: #5C4B38;
  --olive: #55673A;
  --or: #B98F3E;
  --blanc: #FFFDF8;
  --shadow: 0 2px 14px rgba(46, 36, 25, 0.10);
  --radius: 4px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

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

body {
  font-family: "Cormorant Garamond", Georgia, serif;
  background: var(--creme);
  color: var(--encre);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--bordeaux); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 3px;
}

/* ---------- TITRES SCRIPT ---------- */
.script {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  color: var(--bordeaux);
  line-height: 1.15;
}

.smallcaps {
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 500;
}

/* ---------- SÉPARATEUR LOSANGE + BRANCHE ---------- */
.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin: 8px auto 0; color: var(--brun);
}
.divider::before, .divider::after {
  content: ""; height: 1px; width: 72px;
  background: linear-gradient(90deg, transparent, var(--brun));
  opacity: 0.5;
}
.divider::after { background: linear-gradient(90deg, var(--brun), transparent); }
.divider svg { flex-shrink: 0; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(237, 227, 210, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(92, 75, 56, 0.18);
  height: var(--header-h);
}

.header-inner {
  max-width: 1200px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; gap: 16px;
}

.header-logo img { height: 44px; width: auto; }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 14px; text-decoration: none; color: var(--encre);
  text-transform: uppercase; letter-spacing: 0.22em; font-weight: 500;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--bordeaux); border-bottom-color: var(--bordeaux); }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
  font-size: 14px; padding: 11px 26px; border-radius: var(--radius);
  border: 1.5px solid var(--bordeaux); color: var(--bordeaux);
  background: transparent; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--bordeaux); color: var(--creme-3); }
.btn--solid { background: var(--bordeaux); color: var(--creme-3); }
.btn--solid:hover { background: var(--bordeaux-deep); border-color: var(--bordeaux-deep); }

/* Burger */
.burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
}
.burger span {
  display: block; width: 26px; height: 2px;
  background: var(--encre); transition: transform 0.25s, opacity 0.25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 92vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--header-h) + 40px) 24px 60px;
  position: relative;
}

.hero-eyebrow {
  font-size: 15px; color: var(--brun);
  margin-bottom: 26px;
}

.hero-logo { width: min(560px, 82vw); height: auto; margin: 0 auto; }

.hero-since {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 17px; font-style: italic; color: var(--brun);
}
.hero-since::before, .hero-since::after {
  content: ""; width: 46px; height: 1px; background: var(--or); opacity: 0.7;
}

.hero-baseline {
  margin-top: 14px; font-size: 20px; font-style: italic; color: var(--encre);
  max-width: 520px;
}

.hero-ctas { margin-top: 38px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

.hero-info {
  margin-top: 44px; font-size: 15.5px; color: var(--brun); letter-spacing: 0.04em;
}
.hero-info strong { color: var(--encre); font-weight: 600; }

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.section { padding: 84px 24px; }
.section--alt { background: var(--creme-2); }

.section-head { text-align: center; margin-bottom: 46px; }
.section-head .eyebrow {
  font-size: 13px; color: var(--brun); letter-spacing: 0.3em;
  text-transform: uppercase; margin-bottom: 10px; font-weight: 500;
}
.section-head h2 { font-size: clamp(44px, 7vw, 64px); font-weight: 400; }

.wrap { max-width: 1080px; margin: 0 auto; }
.wrap--narrow { max-width: 760px; }

/* ============================================================
   NOTRE HISTOIRE
   ============================================================ */
.histoire-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}

.histoire-text p { margin-bottom: 18px; font-size: 19px; }
.histoire-text p:first-of-type::first-letter {
  font-family: "Great Vibes", cursive;
  font-size: 58px; color: var(--bordeaux);
  float: left; line-height: 0.8; padding: 8px 10px 0 0;
}

.histoire-values {
  display: grid; gap: 22px;
}
.value-card {
  background: var(--creme-3); border: 1px solid rgba(92,75,56,0.15);
  border-left: 3px solid var(--bordeaux);
  padding: 20px 24px; border-radius: var(--radius);
}
.value-card h3 {
  font-size: 17px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--bordeaux); margin-bottom: 6px;
}
.value-card p { font-size: 16.5px; font-style: italic; color: var(--brun); }

/* ============================================================
   CARTE — ONGLETS
   ============================================================ */
.menu-tabs {
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 44px;
  position: sticky; top: var(--header-h); z-index: 50;
  background: var(--creme); padding: 14px 0 12px;
  border-bottom: 1px solid rgba(92,75,56,0.16);
}

.menu-tab {
  font-family: "Cormorant Garamond", serif;
  font-size: 14.5px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--brun);
  background: none; border: none; border-bottom: 2px solid transparent;
  padding: 8px 14px; cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.menu-tab:hover { color: var(--bordeaux); }
.menu-tab[aria-selected="true"] { color: var(--bordeaux); border-bottom-color: var(--bordeaux); }

.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fadeUp 0.35s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.menu-section { margin-bottom: 52px; }
.menu-section:last-child { margin-bottom: 0; }

.menu-section > h3 {
  font-family: "Great Vibes", cursive; font-weight: 400;
  font-size: clamp(32px, 4.6vw, 42px); color: var(--bordeaux);
  text-align: center; margin-bottom: 8px;
}

.menu-note {
  text-align: center; font-style: italic; font-size: 16px;
  color: var(--brun); margin-bottom: 22px; max-width: 640px;
  margin-left: auto; margin-right: auto;
}

.menu-items { max-width: 820px; margin: 18px auto 0; }

.menu-item {
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 0; border-bottom: 1px dotted rgba(92,75,56,0.35);
}
.menu-item:last-child { border-bottom: none; }

.mi-text { flex: 1; }
.mi-name { font-weight: 700; font-size: 18.5px; color: var(--encre); }
.mi-desc { font-style: italic; font-size: 16px; color: var(--brun); margin-top: 1px; }

.mi-dots {
  flex: 0 1 60px; border-bottom: 1px dotted rgba(92,75,56,0.4);
  align-self: flex-end; margin-bottom: 7px; min-width: 20px;
}

.mi-price {
  font-weight: 700; font-size: 18px; color: var(--bordeaux);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}

.menu-legal {
  text-align: center; margin-top: 40px; font-size: 14.5px;
  font-style: italic; color: var(--brun);
}

/* ============================================================
   VAE
   ============================================================ */
.vae-intro { text-align: center; max-width: 640px; margin: 0 auto 36px; font-size: 19px; }

.vae-cta-band {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}

.fidelite {
  background: var(--bordeaux); color: var(--creme-3);
  border-radius: var(--radius); padding: 34px 30px;
  max-width: 820px; margin: 48px auto 0; text-align: center;
  box-shadow: var(--shadow);
}
.fidelite h3 {
  font-family: "Great Vibes", cursive; font-weight: 400;
  font-size: 38px; margin-bottom: 14px; color: var(--creme-3);
}
.fidelite-steps {
  display: flex; gap: 12px; justify-content: center; align-items: center;
  flex-wrap: wrap; font-size: 18px;
}
.fid-chip {
  background: rgba(255,253,248,0.12); border: 1px solid rgba(255,253,248,0.35);
  border-radius: var(--radius); padding: 10px 18px; font-weight: 600;
}
.fid-arrow { font-size: 20px; opacity: 0.8; }
.fidelite p.small { margin-top: 14px; font-size: 15.5px; font-style: italic; opacity: 0.85; }

.vae-hours {
  text-align: center; margin-top: 30px; font-size: 16.5px; color: var(--brun);
}

/* ============================================================
   RÉSERVATION
   ============================================================ */
.resa-box {
  text-align: center; max-width: 620px; margin: 0 auto;
}
.resa-box p { font-size: 19px; margin-bottom: 26px; }
.resa-phone {
  margin-top: 26px; font-size: 17px; color: var(--brun);
}
.resa-phone a { font-weight: 700; text-decoration: none; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start;
}

.contact-block { margin-bottom: 26px; }
.contact-block h3 {
  font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 600; color: var(--bordeaux); margin-bottom: 8px;
}
.contact-block p, .contact-block li { font-size: 18px; }
.contact-block a { text-decoration: none; font-weight: 600; }
.contact-block a:hover { text-decoration: underline; }

.hours-table { list-style: none; }
.hours-table li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 5px 0; border-bottom: 1px dotted rgba(92,75,56,0.3);
  max-width: 340px;
}
.hours-table li.closed span:last-child { color: var(--bordeaux); font-style: italic; }

.socials { display: flex; gap: 14px; margin-top: 6px; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16.5px; letter-spacing: 0.06em;
}

.map-frame {
  width: 100%; aspect-ratio: 4 / 3; border: 0;
  border-radius: var(--radius); box-shadow: var(--shadow);
  filter: sepia(0.22) saturate(0.9);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--encre); color: var(--creme-2);
  padding: 46px 24px 110px; text-align: center;
}
.footer-logo { height: 52px; margin: 0 auto 14px; filter: brightness(0) invert(0.92); opacity: 0.95; }
.site-footer p { font-size: 15.5px; opacity: 0.85; }
.site-footer .foot-links { margin-top: 16px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.site-footer a { color: var(--creme-2); font-size: 14.5px; letter-spacing: 0.08em; }

/* ============================================================
   BARRE D'ACTIONS MOBILE (toujours visible)
   ============================================================ */
.action-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none;
  background: var(--bordeaux);
  box-shadow: 0 -3px 16px rgba(46,36,25,0.28);
}
.action-bar a {
  flex: 1; text-align: center; padding: 15px 6px;
  color: var(--creme-3); text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700;
  border-right: 1px solid rgba(255,253,248,0.22);
}
.action-bar a:last-child { border-right: none; }
.action-bar a:active { background: var(--bordeaux-deep); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .main-nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--creme-3); flex-direction: column; gap: 0;
    border-bottom: 1px solid rgba(92,75,56,0.2); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px 28px; border-bottom: 1px solid rgba(92,75,56,0.12); }
  .burger { display: flex; }
  .header-cta { display: none; }

  .histoire-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .action-bar { display: flex; }
  body { padding-bottom: 0; }
  .section { padding: 64px 20px; }
  .menu-tabs { top: var(--header-h); overflow-x: auto; flex-wrap: nowrap;
    justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .menu-tab { white-space: nowrap; }
}

@media (max-width: 520px) {
  :root { --header-h: 62px; }
  .header-logo img { height: 36px; }
  body { font-size: 17px; }
  .hero { min-height: 86vh; }
  .hero-ctas .btn { width: 100%; }
  .mi-dots { display: none; }
  .menu-item { flex-wrap: wrap; }
  .mi-price { margin-left: auto; }
}

/* Impression propre */
@media print {
  .site-header, .action-bar, .hero-ctas, .menu-tabs { display: none; }
  .menu-panel { display: block !important; }
  body { background: white; }
}

/* ---------- Widget DISH Réservation ---------- */
.resa-widget {
  background: var(--creme-3);
  border: 1px solid rgba(92, 75, 56, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin: 0 auto 6px;
  max-width: 680px;
  min-height: 220px;
}
@media (max-width: 520px) {
  .resa-widget { padding: 12px; }
}
