/* Terrasse — couleurs et typo calées sur menus/boissons.pdf (extraction PDF) */

:root {
  /* PDF: Montserrat texte principal rgb(129, 153, 135) */
  --sage: #819987;
  --sage-dark: #5f7366;
  --sage-muted: rgba(129, 153, 135, 0.55);
  /* PDF: rgb(238, 223, 209) — accents / fond chaud */
  --peach: #eedfd1;
  --peach-light: #f4ebe2;
  --peach-deep: #e5d4c4;
  --rule: rgba(129, 153, 135, 0.35);
  --rule-strong: rgba(129, 153, 135, 0.5);
  --shadow: rgba(95, 115, 102, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  background-color: var(--peach);
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 5vw, 2.5rem);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--sage);
  background-color: var(--peach);
  line-height: 1.45;
}

.sheet {
  width: 100%;
  max-width: 36rem;
  background: #ffffffcf;
  border: 1px solid var(--rule-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 14px 36px var(--shadow);
  padding: clamp(1.75rem, 6vw, 2.75rem) clamp(1.5rem, 5vw, 2.25rem);
  position: relative;
}

.sheet::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--rule);
  pointer-events: none;
}

.brand {
  text-align: center;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

/* Logo image à la place du titre */
.brand .brand-heading {
  margin: 0;
  line-height: 0;
}

.brand .brand-logo {
  display: block;
  width: auto;
  max-width: min(16.25rem, 88vw);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

.brand .rule-top,
.brand .rule-bottom {
  height: 1px;
  /* background: linear-gradient(90deg, transparent, var(--rule-strong), transparent); */
  margin: 0.85rem auto;
  max-width: 12rem;
}

/* PDF: Montserrat-Medium ~10pt */
.brand .subtitle {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-muted);
}

/* PDF: titres de section Bold ~20pt → hiérarchie proche */
.section-label {
  margin: 0 0 0.65rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sage);
  text-align: center;
  position: relative;
  z-index: 1;
}

.menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

.menu-actions a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  text-decoration: none;
  color: var(--sage);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
}

.menu-actions a:first-of-type {
  border-top: 1px solid var(--rule);
}

/* PDF: Montserrat-Bold 15pt — intitulés menu */
.menu-actions a .label {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
}

/* Grands écrans : une ligne « Terrasse menu (…) » ; mobile : deux lignes */
.menu-actions a .label--break-sm .label-main,
.menu-actions a .label--break-sm .label-sub {
  display: inline;
}

.menu-actions a .label--break-sm .label-sub::before {
  content: " ";
}

@media (max-width: 40rem) {
  .menu-actions a .label--break-sm {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12em;
    line-height: 1.25;
  }

  .menu-actions a .label--break-sm .label-main,
  .menu-actions a .label--break-sm .label-sub {
    display: block;
  }

  .menu-actions a .label--break-sm .label-sub::before {
    content: none;
  }
}

.menu-actions a .suffix {
  flex-shrink: 0;
  margin-top: 0.35em;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-muted);
}

.menu-actions a:hover,
.menu-actions a:focus-visible {
  color: var(--sage-dark);
  /* padding-left: 0.35rem; */
  outline: none;
}

.menu-actions a:focus-visible {
  box-shadow: 0 0 0 2px var(--peach-light), 0 0 0 4px var(--sage);
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  /* border-top: 1px solid var(--rule); */
  position: relative;
  z-index: 1;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--sage);
  border: 1px solid var(--rule-strong);
  background: rgba(255, 254, 251, 0.55);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social a:hover,
.social a:focus-visible {
  color: var(--sage-dark);
  border-color: var(--sage-muted);
  background: rgba(255, 254, 251, 0.9);
  outline: none;
}

.social a:focus-visible {
  box-shadow: 0 0 0 2px var(--peach-light), 0 0 0 4px var(--sage);
}

/* FA brand glyphs: no <i> italic UA style; crisp rendering (no ghost line) */
.social a .social-icon {
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.folio {
  margin: 1.5rem 0 0;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sage-muted);
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .menu-actions a,
  .social a {
    transition: none;
  }
}
