/* ---------- Variables ---------- */
:root {
  --color-bg: #f8f1e6;
  --color-bg-alt: #f1e5d3;
  --color-terracotta: #b5572e;
  --color-terracotta-dark: #96431f;
  --color-gold: #a9822f;
  --color-text: #2f2a22;
  --color-text-soft: #6b6154;
  --color-cream: #fdfaf4;
  --color-dark: #211d17;

  --font-display: 'Cormorant Garamond', serif;
  --font-sans: 'Jost', sans-serif;

  --header-h: 96px;
  --container-w: 1180px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 .5em;
  color: var(--color-dark);
}
p { margin: 0 0 1em; }
ul, dl { margin: 0; padding: 0; }
dd { margin: 0; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--color-terracotta); color: #fff;
  padding: .75rem 1.25rem; z-index: 200;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container.narrow { max-width: 760px; }

.section { padding: 6.5rem 0; }
.section-alt { background: var(--color-bg-alt); }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  color: var(--color-gold);
  margin-bottom: .9rem;
  font-weight: 500;
  text-align: center;
}
.section h2 {
  text-align: center;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}
.section-lead {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
  color: var(--color-text-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: .95rem 2rem;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all .25s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--color-terracotta);
  color: #fff;
  border-color: var(--color-terracotta);
}
.btn-primary:hover { background: var(--color-terracotta-dark); border-color: var(--color-terracotta-dark); }
.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-gold);
}
.btn-outline:hover { background: rgba(169,130,47,.1); }
.btn-outline-light {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn-outline-light:hover { background: var(--color-dark); color: #fff; }
.btn-small { padding: .65rem 1.4rem; font-size: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248,241,230,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(169,130,47,.15);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(47,42,34,.08); }
.header-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  position: relative;
}
.brand {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.brand img { height: 68px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-right { gap: 1.5rem; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}
.nav-link {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: .3rem 0;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--color-terracotta);
  transition: width .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.lang-switcher {
  position: relative;
  z-index: 20;
}
.lang-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  background: transparent;
  color: var(--color-dark);
  font-family: var(--font-sans);
  font-size: .7rem;
  letter-spacing: .04em;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.lang-toggle:hover, .lang-toggle[aria-expanded="true"] {
  background: var(--color-gold);
  color: #fff;
}
.lang-menu {
  list-style: none;
  margin: 0;
  padding: .4rem;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--color-cream);
  border: 1px solid rgba(169,130,47,.25);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(47,42,34,.14);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li + li { margin-top: .15rem; }
.lang-menu a {
  display: block;
  padding: .5rem .7rem;
  font-size: .82rem;
  border-radius: 4px;
  color: var(--color-text);
}
.lang-menu a:hover { background: rgba(169,130,47,.12); color: var(--color-terracotta); }
.lang-menu a.active { color: var(--color-terracotta); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--color-dark);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0 3rem;
  background: var(--color-bg);
  border-top: 1px solid rgba(169,130,47,.15);
}
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: #eee0c9;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../assets/img/hero-shadow.jpg');
  background-size: cover;
  background-position: center 70%;
  background-repeat: no-repeat;
}
.hero-vase {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 78%;
  max-height: 560px;
  width: auto;
  max-width: 42%;
  -webkit-mask-image: linear-gradient(to left, black 55%, transparent 100%), linear-gradient(to bottom, transparent 0%, black 12%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, black 55%, transparent 100%), linear-gradient(to bottom, transparent 0%, black 12%);
  mask-composite: intersect;
  opacity: .96;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 640px;
}
.hero-logo { margin: 0 auto 1rem; height: clamp(300px, 38vw, 460px); width: auto; }
.hero-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.85rem, 3.7vw, 2.5rem);
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}
.hero-divider {
  width: 1px; height: 40px;
  background: var(--color-gold);
  margin: 0 auto 1.5rem;
  opacity: .6;
}
.hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 400;
  margin-bottom: 2.2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Histoire ---------- */
.histoire-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 3rem;
}
.histoire-text p { color: var(--color-text-soft); }
.histoire-text strong { color: var(--color-dark); font-weight: 600; }
.histoire-frame {
  aspect-ratio: 4/5;
  border-radius: 4px;
  background: linear-gradient(150deg, var(--color-bg-alt), #e6d5b8);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(169,130,47,.25);
}
.histoire-frame-label {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

/* ---------- Carte / Menus ---------- */
.menus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 2rem;
  max-width: 760px;
  margin: 0 auto;
}
.menu-card {
  display: block;
  background: var(--color-cream);
  border: 1px solid rgba(169,130,47,.2);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(47,42,34,.1);
  border-color: var(--color-terracotta);
}
.menu-card-highlight {
  border-color: var(--color-terracotta);
  box-shadow: 0 12px 30px rgba(181,87,46,.12);
}
.menu-card h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.menu-lines {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}
.menu-lines li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(169,130,47,.15);
  text-align: left;
}
.menu-lines li:last-child { border-bottom: none; }
.menu-lines li span {
  font-size: .82rem;
  color: var(--color-text-soft);
  letter-spacing: .02em;
}
.menu-lines li em { color: var(--color-gold); font-style: italic; }
.menu-lines li strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-terracotta);
  white-space: nowrap;
}
.menu-availability { font-size: .85rem; color: var(--color-gold); margin-bottom: 0; }
.carte-disclaimer {
  text-align: center;
  font-size: .85rem;
  color: var(--color-text-soft);
  margin-top: 2.5rem;
  font-style: italic;
}

/* ---------- Avis ---------- */
.avis-section {
  background: var(--color-terracotta);
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-dark));
  color: #fff;
  text-align: center;
}
.avis-section .eyebrow { color: #f3d9c9; }
.avis-section h2 { color: #fff; }
.avis-section .section-lead { color: rgba(255,255,255,.85); }
.avis-section .btn-outline-light { border-color: #fff; color: #fff; }
.avis-section .btn-outline-light:hover { background: #fff; color: var(--color-terracotta-dark); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 3.5rem;
  margin-top: 3rem;
  align-items: start;
}
.contact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(169,130,47,.18);
}
.contact-row dt {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-gold);
  font-weight: 500;
}
.contact-row dd a:hover { color: var(--color-terracotta); }
.hours-note {
  display: block;
  font-size: .78rem;
  color: var(--color-text-soft);
  font-style: italic;
  margin-top: .4rem;
}
.contact-info dl { margin-bottom: 2rem; }

.map-frame {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(169,130,47,.25);
}
.parking-note {
  font-size: .85rem;
  color: var(--color-text-soft);
  margin-top: 1rem;
  font-style: italic;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-bg-alt); padding-top: 4rem; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 3rem;
}
.footer-brand img { height: clamp(150px, 18vw, 200px); width: auto; }
.footer-cols {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-gold);
  margin-bottom: .7rem;
  font-weight: 500;
}
.footer-col p { color: var(--color-text-soft); font-size: .92rem; }
.footer-col a:hover { color: var(--color-terracotta); }

.social-links { display: flex; gap: .7rem; }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-terracotta);
  color: #fff;
  transition: transform .2s ease, background .2s ease;
}
.social-btn:hover { background: var(--color-terracotta-dark); transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid rgba(169,130,47,.25);
  padding: 1.3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
  max-width: var(--container-w);
  margin: 0 auto;
  font-size: .8rem;
  color: var(--color-text-soft);
}
.footer-bottom a:hover { color: var(--color-terracotta); }

/* ---------- Info popup (actualités) ---------- */
.info-popup {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.info-popup[hidden] { display: none; }
.info-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33,29,23,.55);
  opacity: 0;
  transition: opacity .3s ease;
}
.info-popup.open .info-popup-backdrop { opacity: 1; }
.info-popup-card {
  position: relative;
  background: var(--color-cream);
  border: 1px solid rgba(169,130,47,.3);
  border-radius: 8px;
  max-width: 440px;
  width: 100%;
  padding: 2.75rem 2.25rem 2.25rem;
  text-align: center;
  box-shadow: 0 30px 70px rgba(33,29,23,.28);
  opacity: 0;
  transform: translateY(16px) scale(.97);
  transition: opacity .35s ease, transform .35s ease;
}
.info-popup.open .info-popup-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.info-popup-close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(169,130,47,.3);
  background: transparent;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-text-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.info-popup-close:hover { background: rgba(169,130,47,.12); color: var(--color-terracotta); }
.info-popup-eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  color: var(--color-gold);
  margin-bottom: .7rem;
  font-weight: 500;
}
.info-popup-card h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.info-popup-text { color: var(--color-text-soft); font-size: .92rem; margin-bottom: 1.6rem; }
.info-popup-card .btn { margin-top: .1rem; }

/* Small dockable tab — compact, always in the DOM, animated via
   opacity + scale (no writing-mode / no layout-affecting tricks,
   so it can never cause horizontal overflow on mobile). */
.info-tab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 190;
  display: flex;
  align-items: center;
  gap: .4rem;
  max-width: calc(100vw - 1rem);
  background: var(--color-terracotta);
  color: #fff;
  border: none;
  border-radius: 8px 0 0 8px;
  padding: .65rem .9rem .65rem .7rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: -4px 4px 16px rgba(33,29,23,.18);
  opacity: 0;
  pointer-events: none;
  transform-origin: right center;
  transform: translateY(-50%) scale(.4);
  transition: opacity .4s cubic-bezier(.34,1.56,.64,1),
              transform .4s cubic-bezier(.34,1.56,.64,1),
              background .2s ease;
}
.info-tab.visible { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); }
.info-tab:hover { background: var(--color-terracotta-dark); }

@media (max-width: 760px) {
  .info-popup-card { padding: 2.25rem 1.5rem 1.75rem; }
  .info-tab span { display: none; }
  .info-tab { padding: .65rem; border-radius: 50%; right: .6rem; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .histoire-grid, .contact-grid { grid-template-columns: 1fr; }
  .histoire-visual { order: -1; }
  .menus-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 76px; }
  .nav-left, .nav-right .nav-link { display: none; }
  .nav-right { gap: 0; }
  .nav-toggle { display: flex; }
  .brand {
    left: 1.25rem;
    transform: translateY(-50%);
  }
  .brand img { height: 44px; }
  .header-actions { gap: .5rem; }
  .btn-small { padding: .55rem 1.1rem; font-size: .68rem; }
  .lang-toggle { width: 32px; height: 32px; font-size: .65rem; }
  .section { padding: 4.5rem 0; }
  .hero-vase { max-width: 55%; opacity: .65; filter: blur(3px); }
  .contact-row { grid-template-columns: 1fr; gap: .2rem; }
}
