/* ===== Le Vieux Chalet — styles du thème (les couleurs/polices viennent de theme.json) ===== */
/* Taille du texte courant : 17,07 px (mobile) → 17,88 px (tablette) → 18 px (PC), comme l'original */
:root { --lv-text: 17.07px; }
@media (min-width: 769px) { :root { --lv-text: 17.88px; } }
@media (min-width: 1200px) { :root { --lv-text: 18px; } }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
.lv-main { margin-block-start: 0; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks { padding: 0; }

/* ---- En-tête ---- */
.lv-header { background: var(--wp--preset--color--white); position: relative; z-index: 10; }
/* En-tête pleine largeur (logo à 24 px du bord, bouton à 24 px de l'autre bord) : 99 px de haut */
.lv-header__inner { width: 100%; max-width: none !important; margin: 0 !important; padding: 16px 24px 17px; gap: 62px; box-sizing: border-box; justify-content: flex-start !important; align-items: center; flex-wrap: nowrap; }
.lv-header__inner > .lv-brand { display: flex; flex-direction: column; align-items: flex-start; margin-right: auto !important; }
.lv-logo { display: block; }
.lv-logo img { display: block; width: 90px; height: auto; }
.lv-brand__tag { margin: 0 0 0 3px; font-size: 11.5px; line-height: 18px; color: #000; white-space: nowrap; }
.lv-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.lv-nav__list a { color: var(--wp--preset--color--heading); font-size: 16px; font-weight: 500; letter-spacing: 1.1px; text-transform: uppercase; text-decoration: none; padding: 10px 0; display: block; }
.lv-nav__list a:hover,
.lv-nav__list .current-menu-item > a,
.lv-nav__list .current_page_item > a { color: var(--wp--preset--color--muted); }
.lv-nav__list img { vertical-align: middle; width: 16px; height: 11px; }
.lv-header .lv-btn-sm .wp-block-button__link { font-size: 14px; font-weight: 600; }
.lv-btn-sm .wp-block-button__link { font-size: 16px; font-weight: 400; letter-spacing: 1.1px; padding: 8px 20px; }

/* ---- Pied de page ---- */
.lv-footer { padding-block: 60px 30px; font-size: var(--wp--preset--font-size--base); }
.lv-footer__cols { gap: 40px; align-items: flex-start; }
.lv-hours-cols { gap: 32px; }
.lv-hours-title { font-size: 18px; font-weight: 600; letter-spacing: 1px; margin: 0 0 12px; }
.lv-hours table { border: 0; width: 100%; border-collapse: collapse; font-size: 16px; }
.lv-hours td { border: 0; padding: 4px 8px 4px 0; vertical-align: top; color: var(--wp--preset--color--muted); }
.lv-hours td:first-child { font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.lv-note { font-size: 14px; margin-top: 10px; }
.lv-copy { font-size: 16px; color: var(--wp--preset--color--muted); margin-top: 40px; }
.lv-copy a { color: inherit; }

/* ---- Utilitaires ---- */
.has-white-color { color: #fff !important; }

/* ---- Menu mobile plein écran (≤ 992 px) : fond clair, liens centrés, croix en haut à gauche ---- */
.lv-nav__toggle, .lv-nav__close { display: none; }
.lv-nav__toggle { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; }
.lv-nav__toggle span, .lv-nav__toggle span::before, .lv-nav__toggle span::after { content: ""; display: block; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--wp--preset--color--black); }
.lv-nav__toggle span { top: 21px; }
.lv-nav__toggle span::before { left: 0; right: 0; top: -7px; }
.lv-nav__toggle span::after { left: 0; right: 0; top: 7px; }
.lv-nav__close { position: fixed; top: 25px; left: 20px; width: 35px; height: 35px; border: 0; background: transparent; cursor: pointer; padding: 0; z-index: 2147483643; }
.lv-nav__close span::before, .lv-nav__close span::after { content: ""; position: absolute; left: 3px; right: 3px; top: 17px; height: 1px; background: #666; }
.lv-nav__close span::before { transform: rotate(45deg); }
.lv-nav__close span::after { transform: rotate(-45deg); }
html.lv-menu-open, html.lv-menu-open body { overflow: hidden !important; }
@media (max-width: 992px) {
  .lv-header__inner { flex-wrap: nowrap !important; padding: 12px 24px 11px; gap: 0; justify-content: space-between !important; }
  .lv-header__inner > .lv-brand { order: 1; margin-right: 0 !important; }
  .lv-header__inner .lv-nav__toggle { order: 3; display: block; margin-right: -10px; }
  .lv-header__inner .lv-header__cta { order: 2; margin: 0; }
  .lv-header__inner .lv-nav { display: none; }
  .lv-header__inner .lv-nav.is-open { display: flex !important; position: fixed; inset: 0; z-index: 2147483642; background: #f9fafb; align-items: center; justify-content: center; }
  .lv-nav.is-open ~ .lv-nav__close { display: block; }
  .lv-nav__list { flex-direction: column; align-items: center; gap: 0; width: 300px; }
  .lv-nav__list li { width: 100%; text-align: center; }
  .lv-nav__list a { display: block; padding: 0; height: 52px; line-height: 52px; font-size: 16px; font-weight: 500; text-align: center; }
  .lv-nav__list img { vertical-align: middle; }
}
html.lv-menu-open #cookie-law-info-bar { z-index: 1 !important; }

/* ---- Barre d'annonce (Réglages > Horaires et annonce) ---- */
.lv-announce { background: #823e3e; color: #fff; text-align: center; padding: 8px 24px; }
.lv-announce p { margin: 0; color: #fff; font-size: 16px; line-height: 1.5; }

/* Mobile et tablette : l'en-tête (logo, Réserver, menu) reste collé en haut de l'écran ; croix de fermeture à droite, sous le bouton menu */
@media (max-width: 992px) {
  .wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
  .lv-nav__close { left: auto; right: 20px; }
}
@media (max-width: 600px) { .wp-site-blocks > .wp-block-template-part:first-child { top: 0; } }
@media (max-width: 992px) { #carte, .lv-booking, [id^="section-"] { scroll-margin-top: 90px; } }
