:root {
  --bg-main: #fafafa;
  --bg-secondary: #f3f1ec;
  --bg-card: #ffffff;
  --text-primary: #1a1a1a;
  --text-muted: #666666;
  --primary: #2c3e35;
  --primary-hover: #1e2b25;
  --accent-gold: #c5a059;
  --btn-on-primary: #ffffff;
  --on-primary-heading: var(--accent-gold);
  --header-bg: rgba(250, 250, 250, 0.95);
  --line-soft: rgba(0, 0, 0, 0.1);
  --dots: rgba(0, 0, 0, 0.2);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  --font-title: "Cormorant Garamond", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --container-width: 1140px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: 0.5px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--btn-on-primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--btn-on-primary);
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--line-soft);
}

.header > .container.navbar {
  max-width: none;
  width: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  min-height: 90px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
}

.brand-logo span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.15rem;
}

.nav-toggle-box span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header.nav-open .nav-toggle-box span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.nav-open .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

.header.nav-open .nav-toggle-box span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.tenant-nav {
  display: contents;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  flex: 0 1 auto;
  min-width: 0;
  gap: 0.65rem 1.15rem;
  list-style: none;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: var(--btn-on-primary);
  padding: 80px 24px;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-has-photo {
  color: #fff;
}

.hero-has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 10, 9, 0.28) 0%, rgba(12, 10, 9, 0.58) 55%, rgba(12, 10, 9, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.hero-logo {
  width: min(160px, 40vw);
  max-height: 160px;
  object-fit: contain;
  margin: 0 auto 24px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

.hero-has-photo .hero-logo {
  background: rgba(255, 255, 255, 0.94);
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 28px;
  font-weight: 400;
  color: inherit;
}

.hero-has-photo .hero-content h1 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero .btn-primary {
  background-color: var(--accent-gold);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero-has-photo .btn-primary {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.hero .btn-primary:hover {
  background-color: var(--primary-hover);
}

/* Contour lisible sur fond hero (dégradé sombre ou photo). */
.hero .btn-outline {
  border-color: var(--btn-on-primary);
  color: var(--btn-on-primary);
}

.hero .btn-outline:hover {
  background-color: var(--btn-on-primary);
  color: var(--primary);
}

.hero-has-photo .btn-outline {
  border-color: #ffffff;
  color: #ffffff;
}

.hero-has-photo .btn-outline:hover {
  background-color: #ffffff;
  color: var(--primary);
}

.menu-section {
  background-color: var(--bg-secondary);
}

.allergen-card-section {
  padding-top: 0;
}

.allergen-card {
  margin: 0;
  text-align: center;
}

.allergen-card a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.tenant-legal h2 {
  margin-top: 1.6rem;
  font-size: 1.35rem;
}

.set-menus-section {
  background-color: var(--bg-main);
}

.tenant-set-menu {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.tenant-set-menu:last-child {
  margin-bottom: 0;
}

.tenant-set-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.tenant-set-menu-header h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin: 0;
}

.tenant-set-menu-price {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-gold);
  white-space: nowrap;
}

.tenant-set-menu-desc {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.tenant-set-menu-course h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 1.35rem 0 0.4rem;
}

.tenant-set-menu-course ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tenant-set-menu-course li {
  padding: 0.3rem 0;
}

.intro-section {
  background-color: var(--bg-main);
}

.intro-body {
  max-width: 46rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-primary);
}

.intro-body h2,
.intro-body h3 {
  font-family: var(--font-title);
  font-weight: 400;
  color: var(--primary);
  margin: 0 0 0.75rem;
}

.intro-body h2 {
  font-size: 2rem;
}

.intro-body p,
.intro-body ul,
.intro-body ol {
  margin: 0 0 1rem;
}

.intro-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 1.25rem 0;
}

.intro-body .ql-align-center {
  text-align: center;
}

.intro-body .ql-align-right {
  text-align: right;
}

.intro-body .ql-align-justify {
  text-align: justify;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.menu-category h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.menu-item {
  margin-bottom: 24px;
  display: grid;
  gap: 0.85rem;
  align-items: start;
}

.menu-item-has-photo {
  grid-template-columns: 72px 1fr;
}

.menu-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  gap: 8px;
}

.menu-item-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
}

.menu-item-dots {
  flex-grow: 1;
  border-bottom: 1px dotted var(--dots);
  margin: 0 12px;
}

.menu-item-price {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-gold);
  white-space: nowrap;
}

.menu-item-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.booking-section {
  background-color: var(--bg-main);
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.booking-map {
  min-height: 280px;
  background: var(--bg-secondary);
}

.booking-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.booking-info {
  background-color: var(--primary);
  color: var(--btn-on-primary);
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.booking-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: inherit;
}

.info-item {
  margin-bottom: 24px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item h4 {
  font-size: 1.1rem;
  color: var(--on-primary-heading);
  margin-bottom: 6px;
}

.info-item p,
.info-item a {
  color: color-mix(in srgb, var(--btn-on-primary) 80%, transparent);
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-item a:hover {
  color: var(--btn-on-primary);
}

.hours-status {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.hours-status.is-open {
  color: var(--on-primary-heading);
}

.hours-status.is-closed {
  color: color-mix(in srgb, var(--btn-on-primary) 75%, transparent);
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.hours-days {
  color: var(--on-primary-heading);
  font-weight: 600;
}

.hours-closure {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.hours-closure.is-current {
  font-weight: 600;
}

.site-foot {
  background-color: var(--primary-hover);
  color: color-mix(in srgb, var(--btn-on-primary) 70%, transparent);
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-foot p {
  margin: 0;
}

.site-foot-credit {
  margin-top: 0.4rem;
}

.site-foot-credit .site-credit-link {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.site-foot-credit .site-credit-link:hover {
  color: color-mix(in srgb, var(--accent-gold) 80%, #fff);
}

.site-foot .legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  margin-top: 1rem;
}

.site-foot .legal-nav a {
  color: inherit;
}

.site-foot .legal-nav a:hover {
  color: var(--btn-on-primary);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .menu-grid,
  .booking-wrapper {
    grid-template-columns: 1fr;
  }

  .container {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }

  .navbar {
    flex-wrap: wrap;
    align-items: center;
    min-height: 72px;
    gap: 0.75rem 1rem;
  }

  .brand-logo {
    flex: 1 1 auto;
    max-width: calc(100% - 3.5rem);
    font-size: 1.45rem;
  }

  .brand-logo img {
    width: 40px;
    height: 40px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .tenant-nav {
    display: none;
    flex: 0 0 100%;
    width: 100%;
    padding: 0.35rem 0 0.85rem;
    border-top: 1px solid var(--line-soft);
  }

  .header.nav-open .tenant-nav {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.15rem;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-links li:last-child a {
    border-bottom: 0;
  }

  .section-padding {
    padding: 64px 0;
  }

  .booking-info {
    padding: 32px 24px;
  }
}

@media (max-width: 560px) {
  .container {
    padding-left: max(1.75rem, env(safe-area-inset-left));
    padding-right: max(1.75rem, env(safe-area-inset-right));
  }

  .brand-logo {
    font-size: 1.3rem;
    gap: 10px;
  }
}

.book-page {
  padding-top: 7rem;
}

.groups-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 840px) {
  .groups-layout:not(.groups-layout-form-only) {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .groups-layout-form-only {
    max-width: 36rem;
    margin: 0 auto;
  }
}

.book-unavailable,
.book-success {
  text-align: center;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  margin-bottom: 1.5rem;
}

.booking-manage {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.booking-manage h2 {
  margin: 0;
  font-size: 1.45rem;
}

.booking-manage p {
  margin: 0;
}

.booking-manage .btn {
  background-color: var(--primary);
  color: var(--btn-on-primary);
}

.book-layout {
  display: grid;
  gap: 1.75rem;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 840px) {
  .book-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

.book-calendar,
.book-panel {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}

.book-cal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.book-cal-nav h2 {
  margin: 0;
  font-size: 1.6rem;
  text-transform: capitalize;
}

.book-cal-nav a {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}

.book-cal {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.book-cal th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0;
}

.book-day {
  position: relative;
  height: 3.2rem;
  text-align: center;
}

.book-day a,
.book-day span {
  display: inline-flex;
  width: 2.3rem;
  height: 2.3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.book-day a:hover {
  background: color-mix(in srgb, var(--accent-gold) 22%, transparent);
}

.book-day.is-muted span,
.book-day.is-off span,
.book-day.is-off a {
  color: var(--text-muted);
  opacity: 0.4;
}

.book-day.is-today a,
.book-day.is-today span {
  box-shadow: inset 0 0 0 1px var(--accent-gold);
}

.book-day.is-selected a {
  background: var(--primary);
  color: var(--btn-on-primary);
}

.book-day.is-event a,
.book-day.is-event span {
  background: color-mix(in srgb, var(--accent-gold) 28%, #fff);
  font-weight: 600;
}

.book-day.is-event.is-selected a {
  background: var(--primary);
}

.book-tip {
  display: none;
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: 13rem;
  padding: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  text-align: left;
}

.book-day.is-event:hover .book-tip,
.book-day.is-event:focus-within .book-tip {
  display: block;
}

.book-tip img {
  width: 100%;
  height: 4.75rem;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.book-tip p {
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.book-legend {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.book-legend-event {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--accent-gold);
}

.book-event-card {
  display: flex;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
}

.book-event-card img {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.book-form .field {
  margin: 0 0 1rem;
  min-width: 0;
  max-width: 100%;
}

.book-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.book-form input,
.book-form select,
.book-form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: #fff;
}

.book-form select {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Turnstile fixe à 300 px : ne doit pas élargir le panneau mobile. */
.book-form .cf-turnstile,
.book-panel .cf-turnstile {
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 420px) {
  .book-calendar,
  .book-panel {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .book-form .cf-turnstile,
  .book-panel .cf-turnstile {
    transform: scale(0.92);
    transform-origin: left center;
    margin-bottom: 0.35rem !important;
  }
}

.book-form .help {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.book-form .errorlist {
  color: #9a3412;
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
}

.instagram-section {
  background: var(--bg-secondary);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.instagram-grid a {
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.instagram-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  .instagram-grid {
    gap: 0.45rem;
  }
}
