
:root{
  --chez9-navy:#0e223a;
  --chez9-gold:#c7a55b;
  --chez9-header-desktop:94px;
  --chez9-header-mobile:82px;
}

body:has(#chez-home-builder) #masthead,
body:has(#chez-home-builder) .site-header,
body:has(#chez-home-builder) .ast-mobile-header-wrap,
body:has(#chez-home-builder) .ast-primary-header-bar{
  display:none!important;
}

body:has(#chez-home-builder) .site-content,
body:has(#chez-home-builder) #content,
body:has(#chez-home-builder) .content-area,
body:has(#chez-home-builder) .site-main,
body:has(#chez-home-builder) .entry-content,
body:has(#chez-home-builder) .wp-block-post-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

#chez-home-builder,
#chez-home-builder *{
  box-sizing:border-box;
}

.chez-home-v71{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  overflow:hidden;
  background:#fff;
}

.chez-v71-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:99990;
  width:100%;
  background:rgba(14,34,58,.88);
  backdrop-filter:blur(12px);
  box-shadow:0 1px 0 rgba(255,255,255,.08);
  transition:background-color .28s ease, backdrop-filter .28s ease, box-shadow .28s ease;
}

.chez-v71-header-desktop{
  height:var(--chez9-header-desktop);
  display:grid;
  grid-template-columns:minmax(0,1fr) 132px minmax(0,1fr);
  align-items:center;
  max-width:1680px;
  margin:0 auto;
  padding:0 46px;
  transition:height .28s ease;
}

.chez-v71-nav{
  display:flex;
  align-items:center;
  gap:clamp(30px,3.6vw,68px);
}

.chez-v71-nav-right{justify-content:flex-end}

.chez-v71-nav a{
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  white-space:nowrap;
}

.chez-v71-nav a:hover{color:var(--chez9-gold)}

.chez-v71-logo{
  width:132px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.chez-v71-logo img{
  display:block;
  width:auto;
  height:62px;
  max-width:122px;
  object-fit:contain;
  filter:brightness(0) invert(1);
  transition:height .28s ease;
}

.chez-v71-header.is-scrolled{
  background:rgba(14,34,58,.72);
  backdrop-filter:blur(20px);
  box-shadow:0 10px 30px rgba(4,15,28,.18);
}

.chez-v71-header.is-scrolled .chez-v71-header-desktop{height:72px}
.chez-v71-header.is-scrolled .chez-v71-logo img{height:50px}

.chez-v71-header-mobile,
.chez-v71-mobile-menu{display:none}

@media(max-width:820px){
  .chez-v71-header-desktop{display:none!important}

  .chez-v71-header{
    background:#fff;
    backdrop-filter:none;
    box-shadow:0 1px 0 rgba(14,34,58,.10);
  }

  .chez-v71-header-mobile{
    height:var(--chez9-header-mobile);
    display:grid!important;
    grid-template-columns:60px minmax(0,1fr) 108px;
    align-items:center;
    padding:0 16px;
  }

  .chez-v71-menu-button{
    width:48px;
    height:48px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:6px;
    border:0;
    background:transparent;
    padding:0;
  }

  .chez-v71-menu-button span{
    width:29px;
    height:2px;
    background:#62676a;
  }

  .chez-v71-mobile-logo{
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }

  .chez-v71-mobile-logo img{
    display:block;
    width:auto;
    height:54px;
    max-width:148px;
    object-fit:contain;
  }

  .chez-v71-mobile-reserve{
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#aabac5;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    letter-spacing:.04em;
  }

  .chez-v71-mobile-menu{
    display:block;
    position:fixed;
    inset:0;
    z-index:100000;
    padding:24px;
    background:rgba(7,24,42,.99);
    transform:translateX(-100%);
    transition:transform .28s ease;
    overflow-y:auto;
  }

  .chez-v71-mobile-menu.is-open{transform:translateX(0)}

  .chez-v71-mobile-menu-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:24px;
    padding-bottom:18px;
    border-bottom:1px solid rgba(255,255,255,.12);
    color:var(--chez9-gold);
    font-size:12px;
    letter-spacing:.22em;
  }

  .chez-v71-menu-close{
    width:44px;
    height:44px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:50%;
    background:transparent;
    color:#fff;
    font-size:30px;
  }

  .chez-v71-mobile-menu nav{
    display:flex;
    flex-direction:column;
  }

  .chez-v71-mobile-menu nav a{
    min-height:58px;
    display:flex;
    align-items:center;
    border-bottom:1px solid rgba(255,255,255,.10);
    color:#fff;
    text-decoration:none;
    font-family:Georgia,"Times New Roman",serif;
    font-size:19px;
  }

  .chez-v71-mobile-menu-reserve{
    min-height:54px;
    margin-top:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--chez9-gold);
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
  }

  body.chez-v9-menu-open{overflow:hidden}
}

/* 18.2.0 — mantém a Home como referência global */
.chez-v71-header-desktop{height:94px!important}
.chez-v71-header.is-scrolled .chez-v71-header-desktop{height:72px!important}
