/*
Theme Name: Horeca Site
Description: Le site d'un établissement Horeca Pilot. Nom, logo, couleurs, polices, coordonnées et horaires viennent du dashboard (plugin SF Connector) : rien n'est à dessiner.
Version: 3.7.1
Requires PHP: 8.0
Text Domain: horeca-site
*/

/* L'habillage du site : un seul thème, un seul habillage (décision Xavier 2026-10-06, fin des modèles du Brief 22). Les couleurs et polices viennent des variables --hs-* posées par functions.php depuis le dashboard. */

/* Modèle « Classique » (Brief 22) : le site d'origine, avant la galerie de
   modèles. Point de départ conseillé pour un nouveau modèle : le recopier,
   puis tout changer. Toutes les couleurs et polices passent par les
   variables --hs-* posées par functions.php depuis le dashboard. */

/* Les couleurs et les polices sont posées par functions.php depuis le
   dashboard ; les valeurs ci-dessous ne servent que si l'API ne répond pas. */
:root {
  --hs-primary: #1f2937;
  --hs-secondary: #b45309;
  --hs-accent: #f8f5f0;
  --hs-title-color: #1f2937;
  --hs-body-color: #26221d;
  --hs-title-font: 'Playfair Display', Georgia, serif;
  --hs-body-font: 'Lora', Georgia, serif;
  --hs-width: 72rem;
  --hs-gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--hs-body-color);
  font-family: var(--hs-body-font);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--hs-secondary); text-underline-offset: 0.2em; }
a:hover { color: var(--hs-primary); }
h1, h2, h3 {
  font-family: var(--hs-title-font);
  color: var(--hs-title-color);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--hs-secondary); outline-offset: 3px; }

.hs-wrap { width: min(100% - 2 * var(--hs-gutter), var(--hs-width)); margin-inline: auto; }
.hs-narrow { width: min(100% - 2 * var(--hs-gutter), 46rem); margin-inline: auto; }
.hs-skip { position: absolute; left: -999px; }
.hs-skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: 0.5rem 1rem; }

/* ---- Boutons ---------------------------------------------------------- */
.hs-button, .sf-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0.6rem 1.5rem;
  border: 1px solid var(--hs-button-border, var(--hs-button-bg, var(--hs-secondary))); border-radius: 2px;
  background: var(--hs-button-bg, var(--hs-secondary)); color: var(--hs-button-text, #fff);
  font-family: var(--hs-body-font); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
/* Les couleurs d'un aplat avec texte (`--hs-button-*`) ne sont posées que par functions.php, quand il faut : en ambiance
   sombre toujours, en clair seulement pour un libellé illisible (bloc G2) ; sinon, les valeurs d'origine ci-contre. */
.hs-button:hover, .sf-button:hover { background: var(--hs-button-hover-bg, var(--hs-primary)); border-color: var(--hs-button-hover-bg, var(--hs-primary)); color: var(--hs-button-hover-text, #fff); }
.hs-button--ghost { background: transparent; border-color: currentColor; color: inherit; }
.hs-button--ghost:hover { background: #fff; border-color: #fff; color: var(--hs-primary); }

/* ---- En-tête ---------------------------------------------------------- */
.hs-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(0 0 0 / 0.08);
}
.hs-header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 108px; }
.hs-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
/* Un logo rond ou carré a besoin de hauteur pour rester lisible. */
.hs-brand img { height: 100px; width: auto; display: block; padding-block: 4px; }
@media (max-width: 900px) { .hs-header-inner { min-height: 76px; } .hs-brand img { height: 70px; } }
.hs-brand-name { font-family: var(--hs-title-font); font-size: 1.6rem; color: var(--hs-title-color); letter-spacing: 0.01em; }
.hs-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.hs-nav a {
  color: var(--hs-body-color); text-decoration: none; font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.5rem 0; border-bottom: 2px solid transparent;
}
.hs-nav a:hover, .hs-nav .current-menu-item > a { border-bottom-color: var(--hs-secondary); color: var(--hs-primary); }
.hs-menu-toggle { display: none; }

@media (max-width: 900px) {
  .hs-menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border: 1px solid rgb(0 0 0 / 0.15); border-radius: 2px; background: #fff; color: var(--hs-toggle-color, var(--hs-primary)); cursor: pointer;
  }
  .hs-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid rgb(0 0 0 / 0.08); }
  .hs-nav.is-open { display: block; }
  .hs-nav ul { flex-direction: column; gap: 0; padding: 0.5rem var(--hs-gutter) 1rem; }
  .hs-nav a { display: block; padding: 0.85rem 0; border-bottom: 1px solid rgb(0 0 0 / 0.06); }
  .hs-header .hs-button { display: none; }
}

/* ---- Hero (accueil) et bandeau de page -------------------------------- */
.hs-hero {
  position: relative; display: grid; align-items: end; min-height: min(86vh, 46rem);
  background: var(--hs-primary) center / cover no-repeat; color: #fff;
}
.hs-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0.15) 60%, rgb(0 0 0 / 0.3)); }
.hs-hero-inner { position: relative; padding-block: clamp(3rem, 9vh, 6rem); }
.hs-hero h1 { color: #fff; max-width: 18ch; margin-bottom: 0.35em; }
.hs-hero-lead { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 40ch; opacity: 0.92; font-style: italic; }
.hs-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.hs-page-head { background: var(--hs-accent); padding-block: clamp(2.5rem, 7vw, 4.5rem); text-align: center; }
.hs-page-head h1 { margin: 0; }
.hs-page-head p { margin: 0.9rem auto 0; max-width: 46ch; font-style: italic; font-size: 1.15rem; }
.hs-page-head::after { content: ''; display: block; width: 3rem; height: 2px; margin: 1.5rem auto 0; background: var(--hs-secondary); }

/* ---- Sections --------------------------------------------------------- */
.hs-section { padding-block: clamp(3rem, 8vw, 6rem); }
.hs-section--tint { background: var(--hs-accent); }
.hs-section--dark { background: var(--hs-primary); color: var(--hs-button-hover-text, #fff); }
.hs-section--dark h2, .hs-section--dark h3 { color: #fff; }
.hs-section--dark a { color: #fff; }
.hs-eyebrow { display: block; margin-bottom: 0.8rem; color: var(--hs-secondary); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.hs-section--dark .hs-eyebrow { color: #fff; opacity: 0.75; }
.hs-center { text-align: center; }
.hs-story { font-size: 1.15rem; }
.hs-story > p:first-of-type::first-letter { font-family: var(--hs-title-font); font-size: 3.4em; float: left; line-height: 0.85; padding: 0.06em 0.12em 0 0; color: var(--hs-secondary); }

.hs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 1rem; margin-top: 2.5rem; font-size: 1rem; }
.hs-card { background: #fff; border: 1px solid rgb(0 0 0 / 0.08); padding: 1.5rem 1.35rem; }
.hs-card h3 { margin-bottom: 0.5rem; }
.hs-card p { margin: 0; }
.hs-card a { font-weight: 600; }

.hs-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: clamp(2rem, 6vw, 5rem); align-items: start; }

.hs-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 2.5rem; }
/* Une vignette : un lien vers la galerie, ou une image seule quand la galerie est masquée (3.4.0). */
.hs-teaser > a, .hs-teaser > span { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.hs-teaser img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.hs-teaser a:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .hs-teaser { grid-template-columns: repeat(2, 1fr); } }

.hs-content > *:last-child { margin-bottom: 0; }
.hs-content h2 { margin-top: 1.6em; }

/* ---- Horaires et contact (plugin) ------------------------------------- */
.sf-hours { margin: 0; }
.sf-hours-day { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.55rem 0; border-bottom: 1px solid rgb(128 128 128 / 0.25); }
.sf-hours dt { font-weight: 600; }
.sf-hours dd { margin: 0; text-align: right; }
.sf-hours-day.is-closed dd { opacity: 0.6; font-style: italic; }
/* Les fermetures exceptionnelles sous la grille (3.3.0) : discrètes, même famille. */
.sf-hours-closures-title { margin: 1rem 0 0.35rem; font-weight: 600; }
.sf-hours-closures { list-style: none; margin: 0; padding: 0; }
.sf-hours-closures li { padding: 0.3rem 0; opacity: 0.8; font-size: 0.95em; }
.sf-contact { font-style: normal; font-size: 1.15rem; }
.sf-contact p { margin: 0 0 0.4rem; }
.sf-contact-phone a { font-family: var(--hs-title-font); font-size: clamp(1.4rem, 7vw, 1.9rem); text-decoration: none; }
/* Un numéro de téléphone ne se coupe jamais en deux lignes (3.6.1, retour de Bouille du 20/11 sur Sam'Va). */
a[href^="tel:"] { white-space: nowrap; }

/* ---- La carte (plugin) ------------------------------------------------ */
.sf-menu-section { margin-bottom: 3.5rem; }
.sf-menu-section h3 { font-size: 1.9rem; text-align: center; margin-bottom: 1.6rem; }
.sf-menu-section h3::after { content: ''; display: block; width: 2.5rem; height: 2px; margin: 0.8rem auto 0; background: var(--hs-secondary); }
.sf-menu-section ul { list-style: none; margin: 0; padding: 0; }
.sf-menu-section li { display: grid; grid-template-columns: 1fr auto; column-gap: 1.25rem; padding: 0.9rem 0; border-bottom: 1px dotted rgb(0 0 0 / 0.22); }
.sf-menu-section li br { display: none; }
.sf-menu-dish-name { font-family: var(--hs-title-font); font-size: 1.2rem; color: var(--hs-title-color); }
.sf-menu-dish-price { font-weight: 600; white-space: nowrap; color: var(--hs-secondary); }
.sf-menu-dish-description { grid-column: 1 / -1; font-size: 0.97rem; font-style: italic; opacity: 0.8; }

/* ---- Chambres (plugin) ------------------------------------------------ */
.sf-rooms { display: grid; gap: 2.5rem; }
.sf-room { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; }
.sf-room:nth-child(even) .sf-room-photo { order: 2; }
.sf-room--no-photo { grid-template-columns: 1fr; padding: 2rem; background: var(--hs-accent); }
.sf-room-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sf-room-meta { color: var(--hs-secondary); font-weight: 600; letter-spacing: 0.02em; }
.sf-rooms-info { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(0 0 0 / 0.12); text-align: center; font-style: italic; }
@media (max-width: 720px) { .sf-room { grid-template-columns: 1fr; } .sf-room:nth-child(even) .sf-room-photo { order: 0; } }
/* « Nos formules » (3.5.0) : sous les chambres, un titre filé comme une section de la carte, une carte par
   formule sur le fond de l'accent (comme une chambre sans photo), le bouton en pied. Aucune couleur nouvelle. */
.sf-packages { margin-top: clamp(3rem, 7vw, 4.5rem); }
.sf-packages-title { text-align: center; }
.sf-packages-title::after { content: ''; display: block; width: 3rem; height: 2px; margin: 0.9rem auto 0; background: var(--hs-secondary); }
.sf-packages-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; margin-top: 2rem; }
.sf-package { display: flex; flex-direction: column; padding: 1.75rem 1.5rem; background: var(--hs-accent); border: 1px solid rgb(0 0 0 / 0.08); }
.sf-package h3 { margin-bottom: 0.4rem; }
.sf-package-meta { color: var(--hs-secondary); font-weight: 600; letter-spacing: 0.02em; }
.sf-package-book { margin: auto 0 0; padding-top: 0.5rem; }
.hs-titles-left .sf-packages-title { text-align: left; }
.hs-titles-left .sf-packages-title::after { margin-inline: 0; }

/* ---- Galerie (plugin) : le thème reprend la main sur les filtres ------- */
.sf-gallery-filters { justify-content: center; }
.sf-gallery-filter { border-radius: 2px; font-family: var(--hs-body-font); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.sf-gallery-filter.is-active { background: var(--hs-button-hover-bg, var(--hs-primary)); border-color: var(--hs-button-hover-bg, var(--hs-primary)); color: var(--hs-button-hover-text, #fff); }
.sf-gallery-item { border-radius: 0; }

/* ---- Pied de page ----------------------------------------------------- */
.hs-footer { background: var(--hs-primary); color: rgb(255 255 255 / 0.82); padding-block: 3.5rem 2rem; font-size: 0.97rem; }
.hs-footer h2 { color: #fff; font-size: 1.7rem; margin-bottom: 0.6rem; }
.hs-footer h3 { color: #fff; font-family: var(--hs-body-font); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.9rem; }
.hs-footer a { color: #fff; }
.hs-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2.5rem; }
.hs-footer .sf-contact { font-size: 1rem; }
.hs-footer-menu { list-style: none; margin: 0; padding: 0; }
.hs-footer-menu li { padding: 0.25rem 0; }
.hs-footer .sf-contact-phone a { font-size: 1.4rem; }
.hs-footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: 0.85rem; opacity: 0.75; }

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

/* ---- Menus temporaires (plugin, 20e) ----------------------------------- */
.sf-special-menu-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 0 0 3rem; }
.hs-hero .sf-special-menu-buttons { margin: 1.25rem 0 0; }
.sf-special-menu { text-align: center; }
.sf-special-menu-photo { width: 100%; max-height: 24rem; object-fit: cover; border-radius: 2px; margin-bottom: 2.5rem; }
.sf-special-menu-intro { font-size: 1.1rem; font-style: italic; margin-bottom: 2.5rem; }
.sf-special-menu-course { margin-bottom: 2.25rem; }
.sf-special-menu-course h3 { font-size: 0.85rem; font-family: var(--hs-body-font); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hs-secondary); margin-bottom: 0.6rem; }
.sf-special-menu-dish { font-family: var(--hs-title-font); font-size: 1.3rem; color: var(--hs-title-color); margin: 0.2rem 0; }
.sf-special-menu-desc { font-size: 0.95rem; opacity: 0.75; margin: -0.1rem 0 0.7rem; }
.sf-special-menu-or { font-size: 0.9rem; font-style: italic; opacity: 0.7; margin: 0.1rem 0; }
.sf-special-menu-price { font-family: var(--hs-title-font); font-size: 1.9rem; color: var(--hs-title-color); margin: 2.5rem 0 0.5rem; }
.sf-special-menu-price::before { content: ''; display: block; width: 3rem; height: 2px; margin: 0 auto 1.5rem; background: var(--hs-secondary); }
.sf-special-menu-price span { font-family: var(--hs-body-font); font-size: 1rem; opacity: 0.8; }
.sf-special-menu-footnote { font-size: 0.95rem; opacity: 0.8; }
.sf-special-menu-book { margin-top: 2rem; }

/* ---- Site sur mesure (2026-10-06) : textes de l'API et allures ---------
   Le rendu d'origine (body.hs-hero-full.hs-titles-centered.hs-cards-tiles)
   ne passe par AUCUNE règle de ce bloc : un site sans contenu API reste celui
   d'avant. Chaque allure tient sans photo, sans logo, sans hôtel, avec un nom
   long, et au doigt dès 360 px. Aucune animation nouvelle. ---------------- */

/* Aperçu du brouillon (`?apercu=brouillon`) : un bandeau en tête, sans bouton. */
.hs-preview-banner { background: var(--hs-button-bg, var(--hs-secondary)); color: var(--hs-button-text, #fff); text-align: center; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.55rem var(--hs-gutter); }

/* Introduction de la page contact (au-dessus des coordonnées) ; mentions légales du pied. */
.hs-intro { font-size: 1.2rem; line-height: 1.55; margin-bottom: 2.25rem; }
.hs-footer-legal { margin: 0.75rem 0 0; font-size: 0.8rem; opacity: 0.7; }

/* La photo du bandeau quand elle n'est pas en fond plein cadre (allures split et band). */
.hs-hero-media { margin: 0; overflow: hidden; }
.hs-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Bandeau « split » : le titre sur fond principal à gauche, la photo à droite ;
   dessous en mobile. Sans photo, la bande de couleur porte le titre seule. */
.hs-hero-split .hs-hero { grid-template-columns: minmax(0, 1fr); align-items: stretch; min-height: 0; }
.hs-hero-split .hs-hero::before { content: none; }
.hs-hero-split .hs-hero-inner { padding-block: clamp(3.5rem, 10vw, 7rem); }
.hs-hero-split .hs-hero-media { aspect-ratio: 4 / 3; }
@media (min-width: 60rem) {
  .hs-hero-split .hs-hero:has(.hs-hero-media) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(78vh, 44rem); }
  /* Le texte occupe la moitié gauche ; son bord gauche est celui de la colonne du site (72 rem centrés), jamais moins que la gouttière. */
  .hs-hero-split .hs-hero:has(.hs-hero-media) .hs-hero-inner { width: 100%; margin: 0; padding-inline: max(var(--hs-gutter), calc(100% - var(--hs-width) / 2)) var(--hs-gutter); align-self: center; }
  .hs-hero-split .hs-hero-media { aspect-ratio: auto; }
}

/* Bandeau « band » : pas de photo plein cadre — une bande de couleur principale,
   le titre dedans, la photo en vignette arrondie qui déborde sur la page (ou rien). */
.hs-hero-band { --hs-hang: clamp(2rem, 8vw, 5rem); }
.hs-hero-band .hs-hero { min-height: 0; align-items: start; }
.hs-hero-band .hs-hero::before { content: none; }
.hs-hero-band .hs-hero-inner { padding-block: clamp(3.5rem, 9vw, 6rem) clamp(3rem, 7vw, 4.5rem); text-align: center; }
.hs-hero-band .hs-hero h1, .hs-hero-band .hs-hero-lead { margin-inline: auto; }
.hs-hero-band .hs-hero-actions, .hs-hero-band .hs-hero .sf-special-menu-buttons { justify-content: center; }
.hs-hero-band .hs-hero-media { position: relative; z-index: 1; width: min(100% - 2 * var(--hs-gutter), 56rem); aspect-ratio: 16 / 9; margin: 0 auto calc(-1 * var(--hs-hang)); border-radius: 1rem; box-shadow: 0 24px 48px -20px rgb(0 0 0 / 0.5); }
.hs-hero-band .hs-hero:has(.hs-hero-media) + .hs-section { padding-top: calc(clamp(3rem, 8vw, 6rem) + var(--hs-hang)); }
.hs-hero-band.hs-titles-left .hs-hero-inner { text-align: left; }
.hs-hero-band.hs-titles-left .hs-hero h1, .hs-hero-band.hs-titles-left .hs-hero-lead { margin-inline: 0; }
.hs-hero-band.hs-titles-left .hs-hero-actions, .hs-hero-band.hs-titles-left .hs-hero .sf-special-menu-buttons { justify-content: flex-start; }
.hs-hero-band.hs-titles-left .hs-hero-media { margin-inline: max(var(--hs-gutter), calc((100% - var(--hs-width)) / 2)) auto; }

/* Titres « left » : titres de section et d'accueil alignés à gauche, filet court en couleur secondaire. */
.hs-titles-left .hs-center { text-align: left; }
.hs-titles-left .hs-hero h1::before { content: ''; display: block; width: 3rem; height: 2px; margin-bottom: 1.25rem; background: var(--hs-secondary); }
.hs-titles-left .hs-page-head { text-align: left; }
.hs-titles-left .hs-page-head p { margin-inline: 0; }
.hs-titles-left .hs-page-head::after { margin-inline: max(var(--hs-gutter), calc((100% - var(--hs-width)) / 2)) auto; }
.hs-titles-left .hs-section h2::after { content: ''; display: block; width: 3rem; height: 2px; margin-top: 0.9rem; background: var(--hs-secondary); }

/* Cartes « stripes » : une liste, un filet entre chaque carte, sans fond ni cadre. */
.hs-cards-stripes .hs-cards { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid rgb(0 0 0 / 0.14); }
.hs-cards-stripes .hs-card { display: grid; grid-template-columns: minmax(7rem, 13rem) minmax(0, 1fr); column-gap: 2rem; row-gap: 0.35rem; align-items: baseline; padding: 1.4rem 0; background: none; border: 0; border-bottom: 1px solid rgb(0 0 0 / 0.14); }
.hs-cards-stripes .hs-card h3 { margin: 0; font-size: 1.25rem; }
@media (max-width: 40rem) { .hs-cards-stripes .hs-card { grid-template-columns: minmax(0, 1fr); } }

/* ---- Sélecteur de langue (chantier traduction, 3.1.0) -----------------
   Rien de tout ceci ne s'applique à un site sans langue allumée : le
   sélecteur n'est alors pas rendu. Codes en majuscules dans la voix du menu
   (corps gras, lettres espacées), la langue de la page soulignée du filet
   secondaire comme l'entrée active du menu ; 44 px au doigt partout. En
   tête sur grand écran, dans le volet du menu en mobile. ------------------ */
.hs-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hs-lang ul { display: flex; align-items: center; gap: 0.125rem; list-style: none; margin: 0; padding: 0; }
.hs-lang a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 0.45rem;
  color: var(--hs-body-color); opacity: 0.62; text-decoration: none;
  font-family: var(--hs-body-font); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  border-bottom: 2px solid transparent; transition: opacity 0.2s, color 0.2s;
}
.hs-lang a:hover { opacity: 1; color: var(--hs-primary); }
.hs-lang a[aria-current] { opacity: 1; color: var(--hs-primary); border-bottom-color: var(--hs-secondary); }
.hs-header-inner > .hs-lang { margin-left: 0.25rem; padding-left: 1.25rem; border-left: 1px solid rgb(0 0 0 / 0.12); }
.hs-nav .hs-lang { display: none; }
@media (max-width: 900px) {
  .hs-header-inner > .hs-lang { display: none; }
  .hs-nav .hs-lang { display: block; padding: 0.9rem var(--hs-gutter) 1.1rem; border-top: 1px solid rgb(0 0 0 / 0.06); }
  .hs-nav .hs-lang ul { gap: 0.5rem; flex-wrap: wrap; }
  .hs-nav .hs-lang a { display: inline-flex; min-width: 56px; padding: 0 0.75rem; border: 1px solid rgb(0 0 0 / 0.15); border-radius: 2px; opacity: 1; }
  .hs-nav .hs-lang a[aria-current] { background: var(--hs-button-hover-bg, var(--hs-primary)); border-color: var(--hs-button-hover-bg, var(--hs-primary)); color: var(--hs-button-hover-text, #fff); }
}

/* ---------------------------------------------------------------------------
   « Un site commun » ou « deux sites » (2026-10-07) : l'accueil de l'hôtel
   (page-hotel.php) et le pied des pages de l'hôtel (parts/footer-hours.php).
   --------------------------------------------------------------------------- */
.hs-hero-meta { margin: 0.9rem 0 0; font-size: 0.95rem; letter-spacing: 0.04em; opacity: 0.88; }
.hs-hero-band .hs-hero-meta { margin-inline: auto; }
.hs-center-actions { justify-content: center; }
.hs-hotel-restaurant h2 { margin-bottom: 0.6rem; }
.hs-hotel-restaurant p { max-width: 46ch; margin-inline: auto; }
.hs-footer-times { margin: 0 0 0.75rem; font-size: 1rem; }

/* ===========================================================================
   Site souple (3.7.0, 02/12/2026, chantier 20261202-site-souple) : pages en
   option, carrousel et ordre de l'accueil, photo de bandeau par page, ambiance
   sombre, logo centré, angles arrondis. Un site qui n'a rien réglé ne pose
   aucune des classes de ce bloc (`hs-tone-dark`, `hs-header-centered`,
   `hs-shapes-rounded`, `hs-page-head--photo`, `hs-section--carousel`,
   `hs-section--cards`) : il garde son rendu d'avant. Mêmes variables, mêmes
   polices, aucune couleur nouvelle : l'ambiance sombre tire ses couleurs de la
   palette du restaurateur (calcul en PHP, `horeca_site_dark_palette()`).
   =========================================================================== */

/* ---- Photo de bandeau d'une page : la photo en fond, un voile, le titre en blanc (contraste ≥ 4,5:1 sur toute
   photo : le voile seul donne 4,7:1 sous un blanc pur). --------------------------------------------------------- */
.hs-page-head--photo { position: relative; padding-block: clamp(4rem, 13vw, 8rem); background: var(--hs-primary) center / cover no-repeat; color: #fff; }
.hs-page-head--photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgb(0 0 0 / 0.58), rgb(0 0 0 / 0.66)); }
.hs-page-head--photo > .hs-wrap, .hs-page-head--photo::after { position: relative; }
.hs-page-head--photo h1, .hs-page-head--photo p { color: #fff; text-shadow: 0 1px 14px rgb(0 0 0 / 0.35); }

/* ---- Les cartes de l'accueil dans leur propre section (quand elles ne suivent pas le texte) ---------------------- */
.hs-section--cards .hs-cards { margin-top: 0; }

/* ---- Le carrousel de l'accueil : défilement aimanté, au doigt sans JavaScript ; flèches et points avec. ----------- */
.hs-section--carousel { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
/* Collé à une section blanche (le texte, les cartes) : une seule marge entre les deux, pas deux. */
.hs-section:not(.hs-section--tint) + .hs-section--carousel, .hs-section--carousel + .hs-section:not(.hs-section--tint) { padding-top: 0; }
.hs-carousel-stage { position: relative; }
.hs-carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hs-carousel-track::-webkit-scrollbar { display: none; }
.hs-carousel-track:focus-visible { outline-offset: 4px; }
.hs-carousel-slide { flex: 0 0 100%; aspect-ratio: 16 / 9; scroll-snap-align: start; scroll-snap-stop: always; }
.hs-carousel-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .hs-carousel-slide { aspect-ratio: 4 / 3; } }
.hs-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; border: 0; border-radius: 2px; background: rgb(0 0 0 / 0.55); color: #fff; cursor: pointer;
  transition: background-color 0.2s;
}
.hs-carousel-arrow:hover { background: rgb(0 0 0 / 0.78); }
.hs-carousel-arrow[hidden], .hs-carousel-dots[hidden] { display: none; }
.hs-carousel-prev { left: 0.75rem; }
.hs-carousel-next { right: 0.75rem; }
.hs-carousel-dots { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 0.5rem; }
/* Un point visible de 10 px, une cible de 36 × 44 px au doigt (huit points tiennent sur 360 px). */
.hs-carousel-dot { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.hs-carousel-dot::before { content: ''; width: 10px; height: 10px; border: 2px solid var(--hs-button-border, var(--hs-secondary)); border-radius: 50%; transition: background-color 0.2s; }
.hs-carousel-dot[aria-current]::before { background: var(--hs-button-border, var(--hs-secondary)); }

/* ---- Les pages en option : en-tête de page habituel, puis leur contenu (écrit par le plugin). -------------------- */
/* Notre histoire : le texte en colonne de lecture, puis les photos DANS la même colonne (bords alignés sur le texte) :
   une en grand, deux côte à côte, puis des vignettes sur 2, 3 ou 4 colonnes selon leur nombre, la dernière rangée
   centrée (jamais une photo seule collée à gauche). */
.sf-story-text { width: min(100%, 46rem); margin-inline: auto; font-size: 1.15rem; }
.sf-story-text > p:first-child::first-letter { font-family: var(--hs-title-font); font-size: 3.4em; float: left; line-height: 0.85; padding: 0.06em 0.12em 0 0; color: var(--hs-secondary); }
.sf-story-photos { --sf-cols: 3; --sf-gap: 0.75rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sf-gap); width: min(100%, 46rem); margin: clamp(2.5rem, 6vw, 4rem) auto 0; }
.sf-story-photos:first-child { margin-top: 0; }
.sf-story-photos figure { flex: 0 0 calc((100% - (var(--sf-cols) - 1) * var(--sf-gap)) / var(--sf-cols)); margin: 0; overflow: hidden; aspect-ratio: 1; }
.sf-story-photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-story-photos--1 { --sf-cols: 1; }
.sf-story-photos--1 figure { aspect-ratio: 16 / 9; }
.sf-story-photos--2, .sf-story-photos--4 { --sf-cols: 2; }
.sf-story-photos--2 figure { aspect-ratio: 4 / 3; }
.sf-story-photos--7, .sf-story-photos--8 { --sf-cols: 4; }
@media (max-width: 640px) {
  .sf-story-photos { --sf-gap: 0.5rem; }
  .sf-story-photos--3, .sf-story-photos--5, .sf-story-photos--6, .sf-story-photos--7, .sf-story-photos--8 { --sf-cols: 2; }
}

/* L'équipe : une grille de personnes ; une photo carrée (ronde avec les angles arrondis), sinon une initiale. */
.sf-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: clamp(2.25rem, 5vw, 3.25rem) 2rem; list-style: none; margin: 0; padding: 0; text-align: center; }
.sf-team-photo, .sf-team-initial { display: block; width: 9.5rem; height: 9.5rem; margin: 0 auto 1.25rem; object-fit: cover; }
.sf-team-initial { display: flex; align-items: center; justify-content: center; background: var(--hs-button-hover-bg, var(--hs-primary)); color: var(--hs-button-hover-text, #fff); font-family: var(--hs-title-font); font-size: 3.4rem; line-height: 1; }
.sf-team-member:nth-child(3n + 2) .sf-team-initial { background: var(--hs-button-bg, var(--hs-secondary)); color: var(--hs-button-text, #fff); }
.sf-team-member:nth-child(3n) .sf-team-initial { background: var(--hs-accent); color: var(--hs-title-color); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08); }
.hs-content .sf-team-name { margin: 0 0 0.3rem; font-size: 1.4rem; }
.sf-team-role { margin: 0 0 0.6rem; color: var(--hs-secondary); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.sf-team-text { max-width: 32ch; margin: 0 auto; font-style: italic; }

/* Événements : une liste par date, filet entre chaque ; la photo à gauche (dessus au téléphone). */
.sf-events { width: min(100%, 56rem); margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid rgb(0 0 0 / 0.12); }
.sf-event { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.25rem) 0; border-bottom: 1px solid rgb(0 0 0 / 0.12); }
.sf-event--photo { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 2.5rem); align-items: start; }
.sf-event-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 640px) { .sf-event--photo { grid-template-columns: minmax(0, 1fr); } }
.sf-event-date { margin: 0 0 0.4rem; color: var(--hs-secondary); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hs-content .sf-event-title { margin: 0 0 0.5rem; font-size: clamp(1.4rem, 3vw, 1.75rem); }
.sf-event-text { margin: 0; }
.sf-events-empty { margin: 0; text-align: center; font-size: 1.15rem; font-style: italic; }

/* Titres « left » : les pages en option suivent ; pas de filet sous le nom d'une personne ni le titre d'un événement. */
.hs-titles-left .sf-team { text-align: left; }
.hs-titles-left .sf-team-photo, .hs-titles-left .sf-team-initial, .hs-titles-left .sf-team-text { margin-inline: 0; }
.hs-titles-left .sf-events-empty { text-align: left; }
.hs-titles-left .hs-section .sf-team-name::after, .hs-titles-left .hs-section .sf-event-title::after { content: none; }

/* ---- Logo centré (`hs-header-centered`) : le logo au centre, la langue à gauche, le bouton à droite, le menu
   dessous ; au téléphone, le bouton du menu à gauche et le logo au centre. ------------------------------------------ */
@media (min-width: 901px) {
  .hs-header-centered .hs-header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: 'lang brand action' 'nav nav nav'; align-items: center; column-gap: 1.5rem; row-gap: 0.35rem; padding-block: 0.9rem 0.35rem; }
  .hs-header-centered .hs-brand { grid-area: brand; margin: 0; justify-content: center; }
  .hs-header-centered .hs-brand img { height: 84px; }
  .hs-header-centered .hs-nav { grid-area: nav; justify-self: center; }
  .hs-header-centered .hs-nav ul { justify-content: center; }
  .hs-header-centered .hs-header-inner > .hs-lang { grid-area: lang; justify-self: start; margin: 0; padding: 0; border: 0; }
  .hs-header-centered .hs-header-inner > .hs-button { grid-area: action; justify-self: end; }
}
@media (max-width: 900px) {
  .hs-header-centered .hs-header-inner { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; column-gap: 0.75rem; }
  .hs-header-centered .hs-menu-toggle { grid-column: 1; grid-row: 1; }
  .hs-header-centered .hs-brand { grid-column: 2; grid-row: 1; justify-content: center; margin: 0; min-width: 0; }
  .hs-header-centered .hs-brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---- Angles arrondis (`hs-shapes-rounded`) : boutons, cartes, photos, champs. ------------------------------------ */
.hs-shapes-rounded .hs-button, .hs-shapes-rounded .sf-button, .hs-shapes-rounded .sf-gallery-filter { border-radius: 999px; }
.hs-shapes-rounded .hs-card, .hs-shapes-rounded .sf-room--no-photo, .hs-shapes-rounded .sf-package, .hs-shapes-rounded .sf-room-photo,
.hs-shapes-rounded .hs-teaser > a, .hs-shapes-rounded .hs-teaser > span, .hs-shapes-rounded .sf-gallery-item, .hs-shapes-rounded .sf-special-menu-photo,
.hs-shapes-rounded .sf-story-photos figure, .hs-shapes-rounded .sf-event-photo, .hs-shapes-rounded .sf-reservation,
.hs-shapes-rounded .hs-split-media, .hs-shapes-rounded.hs-hero-split .hs-hero-media { border-radius: 0.9rem; overflow: hidden; }
/* La piste du carrousel s'arrondit SANS `overflow: hidden` : elle défile (au doigt, au clavier, sans JavaScript) et
   son propre défilement découpe déjà les photos sur ses coins (relecture V du 02/12/2026, D2). */
.hs-shapes-rounded .hs-carousel-track { border-radius: 0.9rem; }
.hs-shapes-rounded .hs-menu-toggle, .hs-shapes-rounded .hs-carousel-arrow, .hs-shapes-rounded input, .hs-shapes-rounded select, .hs-shapes-rounded textarea { border-radius: 0.6rem; }
.hs-shapes-rounded .hs-carousel-arrow { border-radius: 50%; }
.hs-shapes-rounded .sf-team-photo, .hs-shapes-rounded .sf-team-initial { border-radius: 50%; }
@media (max-width: 900px) { .hs-shapes-rounded .hs-nav .hs-lang a { border-radius: 999px; } }
@media (min-width: 60rem) { .hs-shapes-rounded.hs-hero-split .hs-hero-media { border-radius: 0; } }

/* ---- Ambiance sombre (`hs-tone-dark`) : fond sombre, textes clairs, sur tout le site. Les couleurs viennent de
   `horeca_site_dark_css()` (posées après cette feuille) ; les valeurs ci-dessous ne servent que sans elle. ---------- */
.hs-tone-dark {
  --hs-bg: #15181d; --hs-surface: #22262c; --hs-footer-bg: #0f1114; --hs-link: #e2b878;
  --hs-title-color: #f8f5f0; --hs-body-color: #ebe6de;
  background: var(--hs-bg);
}
:where(.hs-tone-dark) a { color: var(--hs-link); }
:where(.hs-tone-dark) a:hover { color: var(--hs-title-color); }
.hs-tone-dark a.hs-button, .hs-tone-dark a.sf-button { color: var(--hs-button-text, #fff); }
.hs-tone-dark a.hs-button:hover, .hs-tone-dark a.sf-button:hover { color: var(--hs-button-hover-text, #fff); }
.hs-tone-dark a.hs-button--ghost { color: inherit; }
.hs-tone-dark a.hs-button--ghost:hover { color: var(--hs-bg); }
.hs-tone-dark .hs-skip:focus { background: var(--hs-bg); }
/* Les mots en couleur secondaire (surtitres, prix, dates, lettrines) prennent la teinte éclaircie qui se lit. */
.hs-tone-dark .hs-eyebrow, .hs-tone-dark .sf-menu-dish-price, .hs-tone-dark .sf-room-meta, .hs-tone-dark .sf-package-meta,
.hs-tone-dark .sf-special-menu-course h3, .hs-tone-dark .sf-team-role, .hs-tone-dark .sf-event-date,
.hs-tone-dark .hs-story > p:first-of-type::first-letter, .hs-tone-dark .sf-story-text > p:first-child::first-letter { color: var(--hs-link); }
/* En-tête et menu du téléphone. */
.hs-tone-dark .hs-header { background: color-mix(in srgb, var(--hs-bg) 94%, transparent); border-bottom-color: rgb(255 255 255 / 0.1); }
.hs-tone-dark .hs-nav a:hover, .hs-tone-dark .hs-nav .current-menu-item > a { color: var(--hs-title-color); }
.hs-tone-dark .hs-lang a:hover, .hs-tone-dark .hs-lang a[aria-current] { color: var(--hs-title-color); }
.hs-tone-dark .hs-header-inner > .hs-lang { border-left-color: rgb(255 255 255 / 0.16); }
@media (max-width: 900px) {
  .hs-tone-dark .hs-menu-toggle { background: transparent; border-color: rgb(255 255 255 / 0.25); color: var(--hs-title-color); }
  .hs-tone-dark .hs-nav { background: var(--hs-bg); border-bottom-color: rgb(255 255 255 / 0.1); }
  .hs-tone-dark .hs-nav a { border-bottom-color: rgb(255 255 255 / 0.08); }
  .hs-tone-dark .hs-nav .hs-lang { border-top-color: rgb(255 255 255 / 0.08); }
  .hs-tone-dark .hs-nav .hs-lang a { border-color: rgb(255 255 255 / 0.25); }
  .hs-tone-dark .hs-nav .hs-lang a[aria-current] { background: var(--hs-button-bg); border-color: var(--hs-button-bg); color: var(--hs-button-text); }
}
/* Surfaces : en-têtes de page, sections teintées, cartes, chambres sans photo, formules. */
.hs-tone-dark .hs-page-head:not(.hs-page-head--photo), .hs-tone-dark .hs-section--tint, .hs-tone-dark .hs-card,
.hs-tone-dark .sf-room--no-photo, .hs-tone-dark .sf-package { background: var(--hs-surface); }
.hs-tone-dark .hs-card, .hs-tone-dark .sf-package { border-color: rgb(255 255 255 / 0.1); }
.hs-tone-dark.hs-cards-stripes .hs-card { background: none; }
.hs-tone-dark.hs-cards-stripes .hs-cards, .hs-tone-dark.hs-cards-stripes .hs-card { border-color: rgb(255 255 255 / 0.16); }
.hs-tone-dark .sf-menu-section li { border-bottom-color: rgb(255 255 255 / 0.22); }
.hs-tone-dark .sf-rooms-info, .hs-tone-dark .sf-events, .hs-tone-dark .sf-event { border-color: rgb(255 255 255 / 0.14); }
.hs-tone-dark .sf-gallery-filter.is-active { background: var(--hs-button-bg); border-color: var(--hs-button-bg); color: var(--hs-button-text); }
.hs-tone-dark .sf-team-initial { background: var(--hs-button-hover-bg); color: var(--hs-button-hover-text); }
.hs-tone-dark .sf-team-member:nth-child(3n + 2) .sf-team-initial { background: var(--hs-button-bg); color: var(--hs-button-text); }
.hs-tone-dark .sf-team-member:nth-child(3n) .sf-team-initial { background: var(--hs-surface); color: var(--hs-title-color); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); }
.hs-tone-dark .hs-carousel-dot::before { border-color: var(--hs-link); }
.hs-tone-dark .hs-carousel-dot[aria-current]::before { background: var(--hs-link); }
/* Le formulaire embarqué (réservation, traiteur, bon cadeau) reste clair : posé dans une carte nette. */
.hs-tone-dark .sf-reservation { padding: clamp(0.5rem, 2vw, 1.25rem); background: #fff; border-radius: 2px; }
/* Le bandeau de l'accueil et de l'hôtel sans photo : la surface sombre (la couleur principale, souvent claire, ne porte pas un titre blanc). */
.hs-tone-dark .hs-hero { background-color: var(--hs-surface); }
/* Le pied, plus sombre que la page. */
.hs-tone-dark .hs-footer { background: var(--hs-footer-bg); }

/* ---- L'en-tête quand le menu s'allonge (`hs-nav-fit`, reprise du 02/12) -----------------------------------------
   Posé sur tous les sites (décision du chef, 02/12). Le script de `horeca_site_nav_fit_script()` choisit la
   disposition (`data-hs-nav` : row, stacked, compact ; phone sous 901 px). Avant lui et sans lui : la ligne d'avant,
   le menu se repliant sur lui-même au besoin (jamais un logo écrasé, jamais de débordement) — identique à `row`
   quand tout tient, donc aucun saut à l'écran. Rien ne rétrécit sur grand écran : un mot du menu ne se coupe jamais,
   le logo et le bouton gardent leur taille ; c'est la disposition qui change. ---------------------------------------- */
.hs-nav-fit .hs-nav a, .hs-nav-fit .hs-header-inner > .hs-button { white-space: nowrap; }
.hs-nav-fit .hs-header-inner > .hs-button, .hs-nav-fit .hs-header-inner > .hs-lang { flex-shrink: 0; }
@media (min-width: 901px) {
  .hs-nav-fit .hs-brand { flex-shrink: 0; }
  /* Avant le script et sans JavaScript : la ligne d'avant ; le menu se replie sur lui-même plutôt que d'écraser le logo. */
  .hs-nav-fit .hs-header:not([data-hs-nav]) .hs-nav { min-width: 0; }
  .hs-nav-fit .hs-header:not([data-hs-nav]) .hs-nav ul { flex-wrap: wrap; row-gap: 0.25rem; }
  /* `stacked` : logo, langue et bouton sur la première ligne, le menu dessous, à gauche. */
  .hs-nav-fit:not(.hs-header-centered) .hs-header[data-hs-nav="stacked"] .hs-header-inner { flex-wrap: wrap; column-gap: 1.5rem; row-gap: 0; padding-bottom: 0.4rem; }
  .hs-nav-fit:not(.hs-header-centered) .hs-header[data-hs-nav="stacked"] .hs-nav { order: 10; flex: 0 0 100%; min-width: 0; }
  .hs-nav-fit.hs-header-centered .hs-header:not([data-hs-nav]) .hs-nav { min-width: 0; max-width: 100%; }
  /* `compact` : le menu du téléphone sur grand écran (bouton ☰) ; le bouton « Réserver » reste dans l'en-tête. */
  .hs-nav-fit .hs-header[data-hs-nav="compact"] .hs-brand { flex-shrink: 1; min-width: 0; }
  .hs-nav-fit .hs-header[data-hs-nav="compact"] .hs-brand img { max-width: 100%; object-fit: contain; object-position: left center; }
  .hs-nav-fit .hs-header[data-hs-nav="compact"] .hs-header-inner > .hs-button { order: 1; }
  .hs-nav-fit .hs-header[data-hs-nav="compact"] .hs-menu-toggle {
    order: 2; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 46px; height: 46px;
    border: 1px solid rgb(0 0 0 / 0.15); border-radius: 2px; background: #fff; color: var(--hs-toggle-color, var(--hs-primary)); cursor: pointer;
  }
  .hs-nav-fit .hs-header[data-hs-nav="compact"] .hs-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid rgb(0 0 0 / 0.08); }
  .hs-nav-fit .hs-header[data-hs-nav="compact"] .hs-nav.is-open { display: block; }
  .hs-nav-fit .hs-header[data-hs-nav="compact"] .hs-nav ul { flex-direction: column; gap: 0; width: min(100% - 2 * var(--hs-gutter), var(--hs-width)); margin-inline: auto; padding: 0.5rem 0 1rem; }
  .hs-nav-fit .hs-header[data-hs-nav="compact"] .hs-nav a { display: block; padding: 0.85rem 0; border-bottom: 1px solid rgb(0 0 0 / 0.06); }
  .hs-nav-fit .hs-header[data-hs-nav="compact"] .hs-header-inner > .hs-lang { display: none; }
  .hs-nav-fit .hs-header[data-hs-nav="compact"] .hs-nav .hs-lang { display: block; width: min(100% - 2 * var(--hs-gutter), var(--hs-width)); margin-inline: auto; padding: 0.9rem 0 1.1rem; border-top: 1px solid rgb(0 0 0 / 0.06); }
  .hs-nav-fit .hs-header[data-hs-nav="compact"] .hs-nav .hs-lang ul { flex-direction: row; gap: 0.5rem; flex-wrap: wrap; width: auto; margin: 0; padding: 0; }
  .hs-nav-fit .hs-header[data-hs-nav="compact"] .hs-nav .hs-lang a { display: inline-flex; min-width: 56px; padding: 0 0.75rem; border: 1px solid rgb(0 0 0 / 0.15); border-radius: 2px; opacity: 1; }
  .hs-nav-fit .hs-header[data-hs-nav="compact"] .hs-nav .hs-lang a[aria-current] { background: var(--hs-button-hover-bg, var(--hs-primary)); border-color: var(--hs-button-hover-bg, var(--hs-primary)); color: var(--hs-button-hover-text, #fff); }
  /* Le logo centré en `compact` : ☰ à gauche, le logo au centre, le bouton à droite. */
  .hs-nav-fit.hs-header-centered .hs-header[data-hs-nav="compact"] .hs-header-inner { grid-template-areas: 'toggle brand action'; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding-block: 0.9rem; }
  .hs-nav-fit.hs-header-centered .hs-header[data-hs-nav="compact"] .hs-menu-toggle { grid-area: toggle; justify-self: start; }
  .hs-nav-fit.hs-header-centered .hs-header[data-hs-nav="compact"] .hs-brand { justify-content: center; }
  .hs-nav-fit.hs-header-centered .hs-header[data-hs-nav="compact"] .hs-brand img { object-position: center; }
  /* Ambiance sombre et angles arrondis en `compact`, comme au téléphone. */
  .hs-nav-fit.hs-tone-dark .hs-header[data-hs-nav="compact"] .hs-menu-toggle { background: transparent; border-color: rgb(255 255 255 / 0.25); color: var(--hs-title-color); }
  .hs-nav-fit.hs-tone-dark .hs-header[data-hs-nav="compact"] .hs-nav { background: var(--hs-bg); border-bottom-color: rgb(255 255 255 / 0.1); }
  .hs-nav-fit.hs-tone-dark .hs-header[data-hs-nav="compact"] .hs-nav a { border-bottom-color: rgb(255 255 255 / 0.08); }
  .hs-nav-fit.hs-tone-dark .hs-header[data-hs-nav="compact"] .hs-nav .hs-lang { border-top-color: rgb(255 255 255 / 0.08); }
  .hs-nav-fit.hs-tone-dark .hs-header[data-hs-nav="compact"] .hs-nav .hs-lang a { border-color: rgb(255 255 255 / 0.25); }
  .hs-nav-fit.hs-tone-dark .hs-header[data-hs-nav="compact"] .hs-nav .hs-lang a[aria-current] { background: var(--hs-button-bg); border-color: var(--hs-button-bg); color: var(--hs-button-text); }
  .hs-nav-fit.hs-shapes-rounded .hs-header[data-hs-nav="compact"] .hs-nav .hs-lang a { border-radius: 999px; }
}
/* Au téléphone : un logo trop large est réduit (jamais déformé) au lieu de pousser la page hors de l'écran. */
@media (max-width: 900px) {
  .hs-nav-fit .hs-brand { min-width: 0; flex-shrink: 1; }
  .hs-nav-fit .hs-brand img { max-width: 100%; object-fit: contain; object-position: left center; }
  .hs-nav-fit.hs-header-centered .hs-brand img { object-position: center; }
  .hs-nav-fit .hs-menu-toggle { flex-shrink: 0; }
}
