/* ═══════════════════════════════════════════════════════════════════
   SÉJOUR-LAGON · Correctifs du 29/10/2026
   Chargé juste après theme.css (partials/polices.php), sur toutes les
   pages publiques. Même principe : sélecteurs « html body » pour passer
   devant lagon.css, accueil.css et guides.css.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 1. Logo : le nom, puis la vague bleue en dessous (110 px) ─── */
html body .li-logo--vague{flex-direction:column;align-items:center;justify-content:center;gap:6px;text-decoration:none;line-height:1;flex:none}
html body .li-logo--vague .li-logo-name{display:block;white-space:nowrap}
html body .li-logo-vague-pic{display:block;line-height:0}
html body .li-logo-vague-img{display:block;width:110px;height:auto;max-width:none}
html body .li-logo--vague:hover .li-logo-name{color:var(--ink)}
@media (max-width:720px){
html body .li-logo--vague{gap:5px}
}

/* ─── 1 bis. Pied de page : même logo, vague claire sur fond sombre ─── */
html body .li-footer-logo-lien{display:inline-block}
html body .li-footer-brand--vague{display:inline-flex;flex-direction:column;align-items:center;gap:7px;line-height:1}
html body .li-footer-brand--vague>span{white-space:nowrap}
html body .li-footer-vague-pic{display:block;line-height:0}
html body .li-footer-vague-img{display:block;width:110px;height:auto;max-width:none}

/* ─── 2. En-têtes photo en mobile : .li-hero-card et .li-dfacts ne sortent plus de l'écran ───
   Cause : en mobile, .li-hero passe en colonne flexible ; les marges automatiques de .li-wrap
   empêchaient .li-hero-in de s'étirer, il prenait la largeur de son contenu (jusqu'à 700 px). */
@media (max-width:720px){
html body .li-hero>.li-hero-in{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
html body .li-hero-row,html body .li-hero-text{min-width:0;max-width:100%}
html body .li-hero-card{flex:1 1 auto;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
html body .li-dfacts{width:100%;max-width:100%;box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 14px 12px}
html body .li-dfacts div{min-width:0;padding-right:10px}
html body .li-dfacts dd{font-size:16px;overflow-wrap:anywhere}
html body .li-hero h1,html body .li-hero-lead,html body .li-hero-card-nom{overflow-wrap:break-word}
}

/* ─── 3. Visionneuse photos des fiches hôtel (29/10, 19 h) ───
   Cause : la règle de la grande photo (.li-lb img, 62vh en mobile) s'appliquait aussi aux miniatures,
   qui prenaient 520 px de haut, coupées dans leur cadre. La grande photo est maintenant ciblée seule (#liLbImg).
   Mobile : la visionneuse occupe tout l'écran (barre d'adresse comprise), la photo prend la place restante
   et les miniatures restent visibles en bas, au-dessus de la barre système. */
html body .li-lb .li-lb-vign{align-items:center}
html body .li-lb .li-lb-vign button{flex:0 0 76px;width:76px;height:52px;line-height:0}
html body .li-lb .li-lb-vign img{width:100%;height:100%;max-width:none;object-fit:cover;background:none;display:block}
html body .li-lb #liLbImg{width:100%;height:min(74vh,720px);object-fit:contain}
@media (max-width:720px){
html body .li-lb{position:fixed;inset:0;margin:0;width:auto;max-width:none;height:100vh;height:100dvh;max-height:none;border-radius:0}
html body .li-lb[open]{display:flex;flex-direction:column}
html body .li-lb .li-lb-in{flex:1 1 auto;min-height:0;height:100%}
html body .li-lb #liLbImg{flex:1 1 auto;min-height:0;height:auto}
html body .li-lb .li-lb-bas{flex:none;padding:10px 14px}
html body .li-lb .li-lb-vign{flex:none;gap:6px;padding:0 12px calc(12px + env(safe-area-inset-bottom,0px))}
html body .li-lb .li-lb-vign button{flex-basis:64px;width:64px;height:46px}
html body .li-lb .li-lb-x{top:calc(10px + env(safe-area-inset-top,0px));right:10px}
html body .li-lb .li-lb-nav{top:calc(50% - 60px);width:42px;height:42px}
}
