/* ==========================================================================
   Laferm Coco — Header et footer du site (toutes les pages)
   Classes préfixées « lf- » : aucun conflit avec Bootstrap ni avec « lc- ».
   Points de rupture : < 1100 px = header mobile (burger) · ≥ 1100 px = header desktop
   Footer : 1 colonne < 768 px · 2 colonnes 768–1099 px · 4 colonnes ≥ 1100 px
   ========================================================================== */

.lf-hd, .lf-ft {
  --lf-orange: #EEA320;
  --lf-orange-hover: #E08F0B;
  --lf-orange-txt: #9A6300;     /* orange foncé lisible sur blanc (AA) */
  --lf-moutarde: #EEC344;
  --lf-ocre: #C9820A;
  --lf-ardoise: #2F373E;
  --lf-texte: #5B6469;
  --lf-texte-2: #6B7479;
  --lf-creme: #FAF5EA;
  --lf-ligne: #E8E2D4;
  --lf-gris-bleu: #9DABAF;
  --lf-gris-clair: #D5DDE0;
  --lf-titre: "Montserrat", Arial, sans-serif;
  --lf-corps: "Open Sans", Arial, sans-serif;
  font-family: var(--lf-corps);
  -webkit-font-smoothing: antialiased;
}
.lf-hd *, .lf-hd *::before, .lf-hd *::after,
.lf-ft *, .lf-ft *::before, .lf-ft *::after { box-sizing: border-box; }
.lf-hd ul, .lf-ft ul { margin: 0; padding: 0; list-style: none; }
.lf-hd p, .lf-ft p { margin: 0; }
.lf-hd img, .lf-ft img { display: block; max-width: 100%; height: auto; }
.lf-hd svg, .lf-ft svg { flex: none; }
.lf-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: #2F373E; color: #fff; font: 700 15px "Montserrat", Arial, sans-serif; text-decoration: none; }
.lf-skip:focus { top: 12px; }
html { scroll-padding-top: 80px; }
@media (min-width: 1100px) { html { scroll-padding-top: 96px; } }
.lf-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.lf-hd { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--lf-ligne); }
.lf-hd__bar { max-width: 1240px; margin: 0 auto; height: 64px; padding: 0 8px 0 16px; display: flex; align-items: center; gap: 24px; }
.lf-hd__logo { display: flex; flex: none; margin-right: auto; }
.lf-hd__logo img { width: 86px; }
.lf-hd :focus-visible { outline: 3px solid var(--lf-ardoise); outline-offset: 3px; border-radius: 8px; }

/* Desktop : masqué sur mobile */
.lf-hd__nav, .lf-hd__lang, .lf-hd__cta { display: none; }

/* Burger */
.lf-hd__burger { width: 48px; height: 48px; border: 0; border-radius: 12px; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--lf-ardoise); }
.lf-hd__burger svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; fill: none; }
.lf-hd__burger .lf-ico-close { display: none; }
.lf-hd__burger[aria-expanded="true"] .lf-ico-open { display: none; }
.lf-hd__burger[aria-expanded="true"] .lf-ico-close { display: block; }

@media (min-width: 1100px) {
  .lf-hd__bar { height: 80px; padding: 0 24px; gap: 32px; }
  .lf-hd__logo { margin-right: 0; }
  .lf-hd__logo img { width: 112px; }
  .lf-hd__burger, .lf-hd__mobile { display: none !important; }
  .lf-hd__nav { display: block; margin-left: auto; }
  .lf-hd__lang { display: flex; }
  .lf-hd__cta { display: inline-flex; }
}
@media (min-width: 1280px) { .lf-hd__bar { gap: 40px; } }

/* Menu principal desktop */
.lf-hd__menu { display: flex; align-items: center; gap: 20px; }
@media (min-width: 1280px) { .lf-hd__menu { gap: 28px; } }
.lf-hd__item { position: relative; }
.lf-hd__link { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; font-family: var(--lf-titre); font-weight: 600; font-size: 15px; color: var(--lf-ardoise); text-decoration: none; white-space: nowrap; }
.lf-hd__link:hover, .lf-hd__link[aria-expanded="true"], .lf-hd__link[aria-current="page"], .lf-hd__link[data-lf-current] { color: var(--lf-orange-txt); }
.lf-hd__link[aria-expanded="true"], .lf-hd__link[aria-current="page"], .lf-hd__link[data-lf-current] { box-shadow: inset 0 -2px 0 var(--lf-orange); }
.lf-hd__link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.lf-hd__link[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Panneaux déroulants */
.lf-hd__panel { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--lf-ligne); border-radius: 18px; box-shadow: 0 20px 48px rgba(47,55,62,.18); }
.lf-hd__panel[hidden] { display: none; }
.lf-hd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* pont de survol */
.lf-hd__panel--cards { width: 600px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.lf-hd__kicker { padding: 0 6px; font-family: var(--lf-titre); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lf-texte-2); }
.lf-hd__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lf-hd__card { display: flex; flex-direction: column; gap: 10px; padding: 8px; border-radius: 14px; text-decoration: none; color: var(--lf-ardoise); transition: background-color .15s; }
.lf-hd__card:hover { background: var(--lf-creme); color: var(--lf-ardoise); }
.lf-hd__card picture, .lf-hd__m-card picture { display: block; flex: none; }
.lf-hd__card img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; }
.lf-hd__card-text { display: flex; flex-direction: column; gap: 3px; padding: 0 4px 4px; }
.lf-hd__card-text strong { font-family: var(--lf-titre); font-size: 16px; }
.lf-hd__card-text span { font-size: 13px; color: var(--lf-texte); }
.lf-hd__panel-foot { display: flex; align-items: center; justify-content: space-between; margin: 0 -18px -18px; padding: 14px 20px; border-top: 1px solid var(--lf-ligne); border-radius: 0 0 18px 18px; background: var(--lf-creme); text-decoration: none; color: var(--lf-ardoise); font-family: var(--lf-titre); font-weight: 700; font-size: 14px; }
.lf-hd__panel-foot:hover { color: var(--lf-orange-txt); }
.lf-hd__panel-foot svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lf-hd__panel--list { min-width: 220px; padding: 8px; }
.lf-hd__panel--list a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; text-decoration: none; color: var(--lf-ardoise); font-family: var(--lf-titre); font-weight: 600; font-size: 14px; }
.lf-hd__panel--list a:hover { background: var(--lf-creme); }

/* Langue + CTA desktop */
.lf-hd__lang { align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--lf-ligne); border-radius: 999px; font-family: var(--lf-titre); font-weight: 700; font-size: 12px; }
.lf-hd__lang > * { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 30px; border-radius: 999px; color: var(--lf-ardoise); text-decoration: none; }
.lf-hd__lang [aria-current] { background: var(--lf-ardoise); color: #fff; }
.lf-hd__lang a:hover { background: var(--lf-creme); }
.lf-hd__cta { align-items: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; background: var(--lf-orange); color: var(--lf-ardoise); font-family: var(--lf-titre); font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 16px rgba(238,163,32,.35); transition: background-color .15s; }
.lf-hd__cta:hover { background: var(--lf-orange-hover); color: var(--lf-ardoise); }
.lf-hd__cta svg, .lf-hd__m-cta svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Menu mobile (panneau plein écran sous la barre) */
.lf-hd__mobile { position: fixed; left: 0; right: 0; top: 64px; bottom: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.lf-hd__mobile[hidden] { display: none; }
html.lf-menu-open, html.lf-menu-open body { overflow: hidden; }
/* backdrop-filter crée un bloc conteneur pour les éléments fixed : on le coupe quand le menu est ouvert */
html.lf-menu-open .lf-hd { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
.lf-hd__m-row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--lf-ligne); background: none; cursor: pointer; text-align: left; font-family: var(--lf-titre); font-weight: 700; font-size: 17px; color: var(--lf-ardoise); text-decoration: none; }
.lf-hd__m-row[data-lf-current] { color: var(--lf-orange-txt); }
.lf-hd__m-row[aria-expanded="true"] { color: var(--lf-orange-txt); border-bottom-color: transparent; }
.lf-hd__m-row svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.lf-hd__m-row[aria-expanded="true"] svg { transform: rotate(180deg); }
.lf-hd__m-sub { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--lf-ligne); }
.lf-hd__m-sub[hidden] { display: none; }
.lf-hd__m-card { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: var(--lf-creme); text-decoration: none; color: var(--lf-ardoise); }
.lf-hd__m-card img { width: 56px; height: 44px; object-fit: cover; border-radius: 8px; }
.lf-hd__m-card strong { display: block; font-family: var(--lf-titre); font-size: 15px; }
.lf-hd__m-card span span { display: block; font-size: 13px; color: var(--lf-texte); }
.lf-hd__m-link { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; font-family: var(--lf-titre); font-weight: 700; font-size: 14px; color: var(--lf-ardoise); text-decoration: none; }
.lf-hd__m-link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lf-hd__m-sub--list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-family: var(--lf-titre); font-weight: 600; font-size: 15px; color: var(--lf-ardoise); text-decoration: none; border-radius: 10px; }
.lf-hd__m-lang { justify-content: flex-start; gap: 10px; font-weight: 600; font-size: 16px; }
.lf-hd__m-lang svg, .lf-hd__m-tel svg { width: 20px; height: 20px; stroke: var(--lf-ocre); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lf-hd__m-actions { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.lf-hd__m-tel { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; font-family: var(--lf-titre); font-weight: 700; font-size: 16px; color: var(--lf-ardoise); text-decoration: none; }
.lf-hd__m-cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 999px; background: var(--lf-orange); color: var(--lf-ardoise); font-family: var(--lf-titre); font-weight: 800; font-size: 16px; text-decoration: none; box-shadow: 0 6px 16px rgba(238,163,32,.35); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.lf-ft { background: var(--lf-ardoise); color: var(--lf-gris-bleu); }
.lf-ft a { color: var(--lf-gris-clair); text-decoration: none; }
.lf-ft a:hover { color: #fff; }
.lf-ft :focus-visible { outline: 3px solid var(--lf-moutarde); outline-offset: 3px; border-radius: 6px; }
.lf-ft__inner { max-width: 1240px; margin: 0 auto; padding: 44px 20px 32px; display: grid; grid-template-columns: 1fr; gap: 36px; }
.lf-ft__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lf-ft__h { font-family: var(--lf-titre); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--lf-gris-bleu); }
.lf-ft__brand { gap: 16px; order: 1; }
.lf-ft__desk { display: none; }
.lf-ft__logo img { width: 128px; }
.lf-ft__pitch { font-size: 15px; line-height: 1.6; color: var(--lf-gris-clair); }
.lf-ft__mail { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: 15px; }
.lf-ft__mail svg { width: 18px; height: 18px; stroke: var(--lf-moutarde); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Navigation */
.lf-ft__nav { gap: 2px; }
.lf-ft__nav .lf-ft__h { margin-bottom: 10px; }
.lf-ft__nav a { display: flex; align-items: center; min-height: 40px; font-size: 15px; }
.lf-ft__nav .lf-ft__main { font-weight: 600; color: #fff; }
.lf-ft__label { display: flex; align-items: center; min-height: 40px; font-size: 15px; }
.lf-ft__sub { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.18); }
.lf-ft__sub a { font-size: 14px; }

/* Réseaux sociaux */
.lf-ft__social { display: flex; gap: 12px; }
.lf-ft__soc { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.lf-ft__soc-ico { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; color: #fff; transition: background-color .15s; }
.lf-ft__soc:hover .lf-ft__soc-ico { background: rgba(255,255,255,.1); }
.lf-ft__soc-ico svg { width: 20px; height: 20px; }
.lf-ft__soc-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Plateformes de réservation (texte blanc, sans notes) */
.lf-ft__plats { display: grid; grid-template-columns: 1fr; gap: 12px; }
.lf-ft__plat { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; color: #fff; }
.lf-ft__plat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.lf-ft__follow { order: 2; }   /* mobile et tablette : réseaux avant la navigation (maquette) */
.lf-ft__nav { order: 3; }
.lf-ft__book { order: 4; }
.lf-ft__plat-head strong { font-family: var(--lf-titre); font-weight: 800; font-size: 17px; }
.lf-ft__plat-head span { font-size: 13px; }
.lf-ft .lf-ft__plat a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 40px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 600; color: #fff; }
.lf-ft .lf-ft__plat a:hover { color: var(--lf-moutarde); }
.lf-ft__plat a svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Bas de footer */
.lf-ft__legal { border-top: 1px solid rgba(157,171,175,.25); }
.lf-ft__legal-inner { max-width: 1240px; margin: 0 auto; padding: 18px 20px; font-size: 12px; display: flex; flex-direction: column; gap: 4px; }

@media (min-width: 768px) {
  .lf-ft__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; padding: 56px 24px 40px; }
  .lf-ft__legal-inner { flex-direction: row; justify-content: space-between; padding: 18px 24px; font-size: 13px; }
}
@media (min-width: 1100px) {
  .lf-ft__inner { grid-template-columns: 1.15fr 0.9fr 0.75fr 2.1fr; gap: 40px; padding: 64px 24px 48px; }
  .lf-ft__brand { order: 1; gap: 18px; }
  .lf-ft__nav { order: 2; }
  .lf-ft__follow { order: 3; }
  .lf-ft__book { order: 4; }
  .lf-ft__logo img { width: 150px; }
  .lf-ft__social { flex-direction: column; gap: 14px; }
  .lf-ft__soc-ico { width: 40px; height: 40px; }
  .lf-ft__soc-ico svg { width: 18px; height: 18px; }
  .lf-ft__soc-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .lf-ft__nav .lf-ft__h { margin-bottom: 0; }
  .lf-ft__nav { gap: 6px; }
  .lf-ft__nav a, .lf-ft__label { min-height: 32px; }
  .lf-ft__plats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf-ft__plat { padding: 16px; gap: 10px; }
  .lf-ft__plat-head { flex-direction: column; align-items: flex-start; gap: 2px; }
  .lf-ft__desk { display: inline; }
  .lf-ft__plat a svg { width: 14px; height: 14px; }
  .lf-ft .lf-ft__plat a { min-height: 28px; border-top: 0; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .lf-hd *, .lf-ft * { transition: none !important; }
}
