:root{--flyvic-header-height:78px;--flyvic-anchor-gap:16px;--flyvic-anchor-offset:calc(var(--flyvic-header-height) + var(--flyvic-anchor-gap))}
html{scroll-padding-top:var(--flyvic-anchor-offset)}
[id]{scroll-margin-top:0}
body.flyvic-global-header>header{position:sticky!important;top:0!important;z-index:90!important;isolation:isolate;transition:box-shadow .28s ease,background-color .28s ease,backdrop-filter .28s ease}
body.flyvic-global-header.nav-scrolled>header{box-shadow:0 14px 34px -26px rgba(5,17,36,.65)!important;backdrop-filter:blur(16px)!important}
.global-header-cta,.global-mobile-cta{align-items:center;justify-content:center;border:1px solid rgba(217,185,120,.7);border-radius:10px;background:linear-gradient(135deg,#e1c783,#b08a3e);color:#10213d!important;font-weight:700;line-height:1;text-decoration:none;box-shadow:0 12px 24px -18px rgba(16,33,61,.75)}
.global-header-cta{min-height:42px;padding:11px 17px;font-size:12px}
.global-mobile-cta{display:none;min-height:36px;padding:9px 13px;font-size:10.5px;white-space:nowrap}
.flyvic-header-back{display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;min-height:32px;margin:0;padding:4px 1px;border:0;border-bottom:1px solid rgba(176,138,62,.5);font-size:11.5px;font-weight:650;letter-spacing:.02em;line-height:1;text-decoration:none;white-space:nowrap;transition:color .2s ease,border-color .2s ease,transform .2s ease}
.flyvic-header-back[hidden]{display:none!important}
.flyvic-header-back:hover,.flyvic-header-back:focus-visible{border-color:#b08a3e;transform:translateX(-2px)}
.flyvic-scroll-top{
  position:fixed;
  z-index:84;
  right:clamp(18px,2.4vw,34px);
  bottom:clamp(18px,2.4vw,32px);
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid rgba(151,105,37,.45);
  border-radius:50%;
  background:rgba(247,238,225,.92);
  color:#10213d;
  box-shadow:0 16px 34px -20px rgba(8,25,48,.72);
  font:500 20px/1 var(--serif,Georgia,serif);
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(9px);
  transition:opacity .25s ease,transform .25s ease,visibility .25s ease,background-color .25s ease,border-color .25s ease;
}
.flyvic-scroll-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);}
.flyvic-scroll-top:hover{border-color:#b08a3e;background:#fff8ec;transform:translateY(-2px);}
.flyvic-scroll-top:focus-visible{outline:3px solid rgba(176,138,62,.42);outline-offset:3px;}
html[data-theme="dark"] .flyvic-scroll-top{border-color:rgba(226,194,122,.54);background:rgba(18,48,73,.94);color:#fff8e9;box-shadow:0 16px 34px -18px rgba(0,0,0,.8);}
html[data-theme="dark"] .flyvic-scroll-top:hover{border-color:#e2c27a;background:#214c68;}
body:has(dialog[open]) .flyvic-scroll-top,body:has(.lightbox.open) .flyvic-scroll-top{visibility:hidden;pointer-events:none;}
@media(max-width:600px){.flyvic-scroll-top{right:16px;bottom:16px;width:40px;height:40px;font-size:18px;}}
@media(prefers-reduced-motion:reduce){.flyvic-scroll-top{transition:none;}}

/* Header public FlyVic : géométrie unique, identique avant et après scroll. */
body.flyvic-global-header>header{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  left:0!important;
  right:0!important;
  box-sizing:border-box!important;
}
body.flyvic-global-header>header .nav,
body.flyvic-global-header>header .nav-row{
  position:relative!important;
  display:flex!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  min-height:78px!important;
  margin:0!important;
  padding:12px clamp(28px,3.2vw,52px)!important;
  gap:clamp(14px,1.35vw,22px)!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  box-sizing:border-box!important;
  background:transparent!important;
  border:0!important;
}
body.flyvic-global-header .flyvic-logo{
  order:0!important;
  display:inline-flex!important;
  flex:0 0 auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  gap:11px!important;
  align-items:center!important;
  font-family:var(--serif,'Fraunces',Georgia,serif)!important;
  font-size:29px!important;
  font-weight:600!important;
  line-height:1!important;
  letter-spacing:-.6px!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.flyvic-global-header .flyvic-logo .fv-mark,
body.flyvic-global-header .flyvic-logo .fv-mark svg{display:block!important;width:38px!important;height:38px!important;flex:0 0 auto!important;}
body.flyvic-global-header .flyvic-header-actions{
  order:1!important;
  display:flex!important;
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  gap:clamp(13px,1.15vw,19px)!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
}
body.flyvic-global-header .nav-links{
  order:1!important;
  display:flex!important;
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  gap:clamp(18px,1.55vw,27px)!important;
  align-items:center!important;
  justify-content:center!important;
  list-style:none!important;
}
body.flyvic-global-header .nav-links li{display:block!important;margin:0!important;padding:0!important;}
body.flyvic-global-header .nav-links a{font-size:15.5px!important;font-weight:600!important;line-height:1.25!important;letter-spacing:.005em!important;text-decoration:none!important;white-space:nowrap!important;}
body.flyvic-global-header .flyvic-discovery-cta{order:2!important;display:inline-flex!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:42px!important;margin:0!important;padding:11px 17px!important;white-space:nowrap!important;}
body.flyvic-global-header .flyvic-theme-toggle{order:3!important;flex:0 0 auto!important;margin:0!important;}
body.flyvic-global-header .nav-burger,
body.flyvic-global-header .nav-toggle{order:4!important;flex:0 0 auto!important;margin:0!important;}
body.flyvic-global-header .flyvic-header-back{order:2!important;}
body.flyvic-global-header .global-mobile-cta{order:2!important;}
body.flyvic-global-header .mobile-nav,
body.flyvic-global-header .mobile-menu{z-index:95!important;}
body.flyvic-global-header .flyvic-mobile-menu-cta{margin:10px 20px 14px!important;padding:14px 20px!important;justify-content:center;border:1px solid rgba(176,138,62,.7)!important;border-radius:10px;background:linear-gradient(135deg,#e1c783,#b08a3e);color:#10213d!important;font-weight:750!important;text-align:center;}

@media(min-width:1180px){
  body.flyvic-global-header .nav-links{display:flex!important;}
  body.flyvic-global-header .nav-burger,
  body.flyvic-global-header .nav-toggle,
  body.flyvic-global-header .global-mobile-cta{display:none!important;}
  body.flyvic-global-header .mobile-nav,
  body.flyvic-global-header .mobile-menu{display:none!important;}
}
@media(max-width:1179px){
  :root{--flyvic-header-height:74px;--flyvic-anchor-gap:12px;}
  body.flyvic-global-header>header .nav,
  body.flyvic-global-header>header .nav-row{min-height:74px!important;padding:10px clamp(18px,3vw,28px)!important;gap:10px!important;}
  body.flyvic-global-header .flyvic-header-actions{margin-left:auto!important;gap:9px!important;}
  body.flyvic-global-header .nav-links,
  body.flyvic-global-header .flyvic-discovery-cta{display:none!important;}
  body.flyvic-global-header .global-mobile-cta{display:inline-flex!important;margin:0!important;}
  body.flyvic-global-header .nav-burger,
  body.flyvic-global-header .nav-toggle{display:flex!important;align-items:center!important;justify-content:center!important;}
  body.flyvic-global-header .mobile-nav,
  body.flyvic-global-header .mobile-menu{position:absolute!important;top:100%!important;right:0!important;left:0!important;max-height:calc(100vh - var(--flyvic-header-height))!important;overflow:auto!important;}
  body.flyvic-global-header .mobile-nav.open{display:grid!important;}
  body.flyvic-global-header .mobile-menu.open{display:flex!important;}
}
@media(max-width:640px){
  body.flyvic-global-header>header .nav,
  body.flyvic-global-header>header .nav-row{padding-inline:11px!important;gap:7px!important;}
  body.flyvic-global-header .flyvic-logo{gap:8px!important;font-size:24px!important;}
  body.flyvic-global-header .flyvic-logo .fv-mark,
  body.flyvic-global-header .flyvic-logo .fv-mark svg{width:32px!important;height:32px!important;}
  body.flyvic-global-header .flyvic-header-actions{gap:7px!important;}
  body.flyvic-global-header .flyvic-theme-toggle{min-width:39px!important;min-height:38px!important;padding-inline:9px!important;}
  body.flyvic-global-header .theme-toggle-label,
  body.flyvic-global-header .flyvic-header-back span:last-child{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;}
  body.flyvic-global-header .flyvic-header-back{min-height:29px!important;gap:5px!important;font-size:10px!important;}
}
@media(max-width:440px){
  body.flyvic-global-header .global-mobile-cta{min-height:34px!important;padding:9px 8px!important;font-size:9px!important;}
  body.flyvic-global-header .flyvic-theme-toggle{min-width:35px!important;min-height:35px!important;padding:7px!important;}
  body.flyvic-global-header .nav-burger,
  body.flyvic-global-header .nav-toggle{width:38px!important;height:38px!important;}
}
@media(max-width:360px){
  body.flyvic-global-header .flyvic-logo-name{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;}
}
@media(max-width:899px){
  .travel-album[open]~*,body:has(.travel-album[open]) .global-mobile-cta{visibility:hidden}
}

/* Mobile et tablette — bandelette transparente FlyVic validée. */
@media(max-width:1179px){
  body.flyvic-global-header:not(.nav-scrolled)>header{
    border-bottom:1px solid rgba(251,247,241,.2)!important;
    background:linear-gradient(180deg,rgba(7,20,41,.48),rgba(7,20,41,.08))!important;
    color:#fff8e9!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
  }
  body.flyvic-global-header:not(.nav-scrolled) .flyvic-logo,
  body.flyvic-global-header:not(.nav-scrolled) .flyvic-header-back{
    color:#fff8e9!important;
    text-shadow:0 1px 14px rgba(5,15,32,.28)!important;
  }
  body.flyvic-global-header:not(.nav-scrolled) .flyvic-logo .fv-mark{
    color:#e2bd6c!important;
    filter:drop-shadow(0 1px 5px rgba(217,185,120,.2))!important;
  }
  body.flyvic-global-header:not(.nav-scrolled) .flyvic-theme-toggle,
  body.flyvic-global-header:not(.nav-scrolled) .nav-burger,
  body.flyvic-global-header:not(.nav-scrolled) .nav-toggle{
    border-color:rgba(251,247,241,.48)!important;
    background:rgba(9,24,48,.18)!important;
    color:#fff8e9!important;
  }
  body.flyvic-global-header:not(.nav-scrolled) .burger-icon i{
    background:#fff8e9!important;
  }
}
