/* PLAN 2026 - logique propre demandée :
   - le cadre bois (#intro) prend toute la largeur écran ;
   - sa hauteur suit automatiquement la hauteur de l'iframe + marge esthétique ;
   - l'iframe prend toute la largeur écran ;
   - la hauteur de l'iframe suit le ratio réel du plan 4056x1897 ;
   - aucun zoom, aucun translate, aucun recadrage, aucun scroll visible.
   Ciblage uniquement page plan + iframe #ifrm_plan_lfa2026. */

html body.lfa2026-page-plan{
  min-width:0 !important;
  width:100% !important;
  overflow-x:hidden !important;
}

html body.lfa2026-page-plan #intro.lfa2026-plan-intro{
  width:100vw !important;
  max-width:none !important;
  min-width:100vw !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  padding:14px 0 18px 0 !important;
  box-sizing:border-box !important;
  overflow:visible !important;
  display:block !important;
  clear:both !important;
}

html body.lfa2026-page-plan #intro.lfa2026-plan-intro .lfa2026-plan-wood-stage{
  width:100vw !important;
  max-width:none !important;
  min-width:100vw !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
  display:block !important;
  overflow:visible !important;
  transform:none !important;
}

html body.lfa2026-page-plan #intro.lfa2026-plan-intro .lfa2026-plan-embed{
  width:100vw !important;
  max-width:100vw !important;
  min-width:100vw !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:4056 / 1897 !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
  display:block !important;
  position:relative !important;
  overflow:hidden !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
}

html body.lfa2026-page-plan #intro.lfa2026-plan-intro iframe#ifrm_plan_lfa2026.lfa2026-plan-frame{
  position:absolute !important;
  left:0 !important;
  top:0 !important;
  right:auto !important;
  bottom:auto !important;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  max-width:none !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  display:block !important;
  overflow:hidden !important;
  transform:none !important;
  transform-origin:0 0 !important;
  zoom:1 !important;
  box-sizing:border-box !important;
  background:transparent !important;
}

html body.lfa2026-page-plan #main{
  margin-top:0 !important;
  clear:both !important;
}

/* Mobile paysage : on ne réduit plus par rapport à la hauteur de l'écran.
   Le plan reste pleine largeur, et le bois grandit naturellement. */
@media screen and (max-width:980px) and (orientation:landscape){
  html body.lfa2026-page-plan #intro.lfa2026-plan-intro{
    padding-top:28px !important; /* évite le chevauchement logo/nav */
    padding-bottom:16px !important;
  }
}

@media screen and (max-width:760px) and (orientation:portrait){
  html body.lfa2026-page-plan #intro.lfa2026-plan-intro{
    padding-top:10px !important;
    padding-bottom:14px !important;
  }
}
