/* =========================================================================
   BookViagens — Kit de interface v1.0
   Padrão único para site, portal do anfitrião, blog e admin.
   Carregue DEPOIS do CSS próprio da página.
   ========================================================================= */

:root{
  --bv-green:#0b4038; --bv-green-2:#07554a; --bv-green-3:#17473f; --bv-deep:#0e2c28;
  --bv-gold:#ca9e48; --bv-gold-2:#e8c778; --bv-red:#b6402c;
  --bv-bg:#fffdfa; --bv-ivory:#faf7f1; --bv-mist:#f3f0e9; --bv-line:#e6e1d6;
  --bv-ink:#1f2a27; --bv-text:#2a3a36; --bv-muted:#66736e;
  --bv-sans:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --bv-serif:Georgia,'Times New Roman',serif;
  --bv-r-sm:10px; --bv-r:14px; --bv-r-lg:22px;
  --bv-shadow:0 10px 30px #1d302c14; --bv-shadow-lg:0 18px 44px #1d302c22;
  --bv-pad:clamp(20px,4.6vw,80px);
  --bv-focus:0 0 0 3px #07554a40;

  /* Mapeia as variáveis antigas de cada família para o padrão */
  --green:var(--bv-green); --green2:var(--bv-green-2); --green3:var(--bv-green-3); --deep:var(--bv-deep);
  --gold:var(--bv-gold); --gold2:var(--bv-gold-2); --cream:var(--bv-bg); --ivory:var(--bv-ivory);
  --mist:var(--bv-mist); --line:var(--bv-line); --muted:var(--bv-muted); --txt:var(--bv-text); --serif:var(--bv-serif);
  --ink:var(--bv-text); --pine:var(--bv-green); --sand:var(--bv-mist); --warm:var(--bv-ivory); --radius:var(--bv-r-sm);
  --bv33-forest:var(--bv-green); --bv33-cream:var(--bv-ivory); --bv33-gold:var(--bv-gold); --bv33-border:var(--bv-line);
}

/* ---------- Base ---------- */
html{scroll-behavior:smooth}
body{font-family:var(--bv-sans)!important;background:var(--bv-bg)!important;color:var(--bv-text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
::selection{background:#e8c77866}
a{color:inherit}
:where(a,button,input,select,textarea,summary):focus-visible{outline:none;box-shadow:var(--bv-focus);border-radius:8px}
.eyebrow{color:#a17a32!important;letter-spacing:.14em}
img{max-width:100%}
.bv-skip{position:absolute;left:-9999px;top:8px;z-index:999;background:#fff;padding:10px 16px;border-radius:10px;font-weight:700}
.bv-skip:focus{left:12px}
#conteudo{outline:none}

/* Esconde cabeçalhos/rodapés antigos e a faixa de demonstração, caso algum sobreviva */
body[data-bv-ui] > header:not(.bv-top),
body[data-bv-ui] .main-header:not(.bv-top),
body[data-bv-ui] .site-header:not(.bv-top),
body[data-bv-ui] header.top,
body[data-bv-ui] > footer:not(.bv-foot),
body[data-bv-ui] .site-footer,
body[data-bv-ui] .mobile-tabs,
body[data-bv-ui] .bv-demo-notice,
body[data-bv-ui] [data-bv-demo-banner]{display:none!important}

/* ---------- Cabeçalho ---------- */
.bv-top,.bv-top *,.bv-foot,.bv-foot *{box-sizing:border-box}
.bv-top{position:sticky;top:0;z-index:100;background:#fffdfaf2;backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--bv-line);padding:0 var(--bv-pad);font-family:var(--bv-sans);transition:box-shadow .2s}
.bv-top.has-search{padding-bottom:24px;position:relative}
.bv-top.is-scrolled{box-shadow:0 4px 18px #0000000f}
.bv-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bv-top .bv-tabs svg,.bv-menu-promo svg{stroke:none}
.bv-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:80px;gap:20px}

.bv-logo{justify-self:start;display:inline-flex;flex-direction:column;position:relative;padding-bottom:7px;text-decoration:none;color:var(--bv-green);line-height:1}
.bv-logo-word{font:italic 700 29px/1 var(--bv-serif);letter-spacing:-.04em;color:var(--bv-green)}
.bv-logo-word span{font-weight:400}
.bv-logo-curve{position:absolute;left:8%;right:22%;bottom:0;height:7px;border-bottom:2.5px solid var(--bv-gold);border-radius:0 0 50% 50%}
.bv-logo-light .bv-logo-word{color:#fff}

.bv-tabs{display:flex;gap:4px}
.bv-tabs a{display:flex;align-items:center;gap:9px;padding:10px 14px 13px;position:relative;color:var(--bv-muted);font-weight:700;font-size:15px;text-decoration:none;transition:color .15s;white-space:nowrap}
.bv-tabs a svg{width:36px;height:36px;transition:transform .25s ease}
.bv-tabs a:hover{color:var(--bv-ink)}
.bv-tabs a:hover svg{transform:scale(1.08) rotate(-3deg)}
.bv-tabs a.is-on{color:var(--bv-ink)}
.bv-tabs a.is-on:after{content:'';position:absolute;left:14px;right:14px;bottom:1px;height:3px;border-radius:3px;background:var(--bv-ink)}

.bv-actions{justify-self:end;display:flex;align-items:center;gap:10px}
.bv-host-link{font-weight:700;font-size:14px;color:var(--bv-ink);padding:12px 14px;border-radius:999px;text-decoration:none;white-space:nowrap}
.bv-host-link:hover{background:var(--bv-mist)}
.bv-avatar,.bv-burger{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:0;color:var(--bv-ink);cursor:pointer;text-decoration:none;flex:none}
.bv-avatar{background:var(--bv-green);color:#fff;font-weight:800}
.bv-avatar.is-user{background:var(--bv-gold-2);color:var(--bv-green)}
.bv-burger{background:#efebe3}
.bv-burger:hover{background:#e6e1d6}
.bv-burger[aria-expanded="true"]{box-shadow:0 0 0 2px var(--bv-ink) inset}

.bv-menu-wrap{position:relative}
.bv-menu{position:absolute;right:0;top:calc(100% + 10px);width:296px;max-height:calc(100vh - 100px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 10px 40px #00000029;padding:10px 0;z-index:120}
.bv-menu a{display:flex;align-items:center;gap:14px;padding:11px 22px;color:var(--bv-ink);font-size:15px;text-decoration:none}
.bv-menu a:hover,.bv-menu a:focus-visible{background:#f6f4ef;box-shadow:none;border-radius:0}
.bv-menu a svg{flex:none}
.bv-menu hr{border:0;border-top:1px solid var(--bv-line);margin:8px 22px}
.bv-menu-hello{margin:4px 22px 6px;font-size:13px;font-weight:700;color:var(--bv-muted)}
.bv-count{margin-left:auto;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--bv-mist);font-size:12px;font-weight:800;display:inline-grid;place-items:center}
.bv-menu-promo{align-items:flex-start!important;justify-content:space-between}
.bv-menu-promo span{display:grid;gap:3px}
.bv-menu-promo small{font-size:12.5px;color:var(--bv-muted);line-height:1.4}
.bv-menu-promo svg{width:42px!important;height:42px!important;flex:none}

/* Busca em pílula (home) */
.bv-search{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.1fr auto;align-items:center;max-width:880px;margin:0 auto;background:#fff;border:1px solid var(--bv-line);border-radius:999px;box-shadow:0 6px 22px #0000001a;padding:0 8px 0 0}
.bv-search-mini{display:none}
.bv-f{position:relative;display:flex;flex-direction:column;gap:2px;padding:13px 26px;border-radius:999px;cursor:pointer;transition:background .15s}
.bv-f+.bv-f:before{content:'';position:absolute;left:0;top:22%;bottom:22%;width:1px;background:var(--bv-line)}
.bv-f:hover{background:#f3f1ec}
.bv-f:focus-within{background:#fff;box-shadow:0 6px 20px #0000001f}
.bv-f:hover:before,.bv-f:hover+.bv-f:before,.bv-f:focus-within:before,.bv-f:focus-within+.bv-f:before{opacity:0}
.bv-f span{font-size:12px;font-weight:800;color:var(--bv-ink)}
.bv-f input,.bv-f select{border:0!important;outline:0;background:transparent!important;padding:0!important;height:22px!important;min-height:0!important;font-size:14px;color:var(--bv-muted);width:100%;min-width:0;cursor:pointer;box-shadow:none!important}
.bv-go{width:50px;height:50px;border-radius:50%;border:0;background:var(--bv-green-2);color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .2s}
.bv-go:hover{background:var(--bv-green)}
.bv-go span{display:none}
.bv-go svg{stroke-width:2.6!important;width:18px!important;height:18px!important}

/* ---------- Rodapé ---------- */
.bv-foot{background:var(--bv-deep);color:#cfdcd6;font-family:var(--bv-sans);margin-top:0}
.bv-foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;padding:64px var(--bv-pad) 40px;max-width:1500px;margin:0 auto}
.bv-foot-brand p{font-size:14px;line-height:1.6;margin:18px 0 20px;max-width:320px;color:#b9cbc4}
.bv-foot nav{display:flex;flex-direction:column;gap:11px}
.bv-foot nav strong{color:var(--bv-gold-2);font-size:12px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:4px}
.bv-foot nav a{color:#dfe8e4;font-size:14px;text-decoration:none}
.bv-foot nav a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.bv-foot-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:20px var(--bv-pad);border-top:1px solid #ffffff1c;font-size:12.5px;color:#9fb4ad;max-width:1500px;margin:0 auto}

/* ---------- Componentes padrão (valem para todas as famílias) ---------- */
.bv-btn,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 22px;border-radius:12px!important;font:700 14px/1.3 var(--bv-sans)!important;letter-spacing:0!important;text-decoration:none;cursor:pointer;transition:background .18s,border-color .18s,color .18s,transform .18s}
.bv-btn{border:1px solid transparent;background:var(--bv-green-2);color:#fff}
.bv-btn:hover{background:var(--bv-green)}
.bv-btn-gold,.btn-gold{background:var(--bv-gold-2)!important;color:var(--bv-green)!important;border-color:var(--bv-gold-2)!important}
.bv-btn-gold:hover,.btn-gold:hover{background:#f0d48d!important}
.bv-btn-ghost{background:#fff;color:var(--bv-ink);border:1px solid var(--bv-ink)}
.bv-btn-ghost:hover{background:var(--bv-mist)}
.bv-btn-sm,.btn-sm,.btn-small{min-height:38px!important;padding:8px 16px!important;font-size:13px!important}
.btn-primary,.btn-dark,.btn.primary,.btn:not(.btn-outline):not(.outline):not(.btn-light):not(.btn-ghost):not(.btn-gold):not(.btn-secondary):not(.btn-white){background:var(--bv-green-2);color:#fff;border-color:var(--bv-green-2)}
.btn-primary:hover,.btn-dark:hover,.btn.primary:hover,.btn:not(.btn-outline):not(.outline):not(.btn-light):not(.btn-ghost):not(.btn-gold):not(.btn-secondary):not(.btn-white):hover{background:var(--bv-green);border-color:var(--bv-green);color:#fff}
.btn-outline,.btn.outline,.btn-ghost,.btn-secondary{background:#fff;color:var(--bv-ink);border:1px solid var(--bv-ink)!important}
.btn-outline:hover,.btn.outline:hover,.btn-ghost:hover,.btn-secondary:hover{background:var(--bv-mist);color:var(--bv-ink)}
.btn-light,.btn-white{background:#fff;color:var(--bv-green);border:1px solid #fff}

:where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),select,textarea){font-family:var(--bv-sans);font-size:15px;border:1px solid #d9d3c6;border-radius:12px;background:#fff;color:var(--bv-ink);transition:border-color .15s,box-shadow .15s}
:where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),select,textarea):focus{border-color:var(--bv-green-2);box-shadow:var(--bv-focus);outline:none}
input[type=checkbox],input[type=radio]{accent-color:var(--bv-green-2)}
label{color:var(--bv-ink)}

.alert{border-radius:12px}
table{border-collapse:collapse}

/* Contêineres com a mesma largura útil */
.container,.shell{width:min(1260px,calc(100% - 2*var(--bv-pad)))!important;margin-left:auto;margin-right:auto}

/* Elementos fixos das páginas ficam abaixo do cabeçalho */
.guide-sticky{top:var(--bv-top-h,81px)!important}
.booking-panel,.bv31-sticky,.bv33-filter-panel,.bv33-detail-aside{top:calc(var(--bv-top-h,81px) + 18px)!important}

/* ---------- Ajustes por família ---------- */
/* Portal do anfitrião */
body[data-bv-ui="portal"] h1,body[data-bv-ui="portal"] h2{font-family:var(--bv-serif)}
body[data-bv-ui="portal"] .bv33-card-type,body[data-bv-ui="portal"] .bv33-property-card{border-radius:var(--bv-r)}
body[data-bv-ui="portal"] .bv33-property-card img{border-radius:var(--bv-r)}
/* Blog */
body[data-bv-ui="blog"] h1,body[data-bv-ui="blog"] h2,body[data-bv-ui="blog"] h3{font-family:var(--bv-serif)}
body[data-bv-ui="blog"] .card{border-radius:var(--bv-r-lg);overflow:hidden}

/* Página interna com título padrão (usado nas novas páginas) */
.bv-page{padding:48px 0 80px}
.bv-page-head{max-width:760px;margin-bottom:34px}
.bv-page-head h1 em{color:var(--bv-green-2)}
.bv-page-head h1{font:400 clamp(36px,4.4vw,56px)/1.05 var(--bv-serif);letter-spacing:-.03em;margin:12px 0 14px}
.bv-page-head p{font-size:17px;color:var(--bv-muted);line-height:1.6;margin:0}
.bv-kicker{font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#a17a32}
.bv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}
.bv-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--bv-line);border-radius:var(--bv-r-lg);overflow:hidden;color:var(--bv-ink);text-decoration:none;transition:box-shadow .2s,transform .2s}
a.bv-card:hover{box-shadow:var(--bv-shadow);transform:translateY(-2px)}
.bv-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.bv-card-body{padding:18px 20px 22px;display:grid;gap:6px}
.bv-card-body small{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#a17a32}
.bv-card-body strong{font:400 22px/1.2 var(--bv-serif);color:var(--bv-ink)}
.bv-card-body p{margin:0;font-size:14px;color:var(--bv-muted);line-height:1.5}
.bv-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;margin-top:56px;padding:36px 40px;border-radius:var(--bv-r-lg);background:linear-gradient(120deg,var(--bv-green),var(--bv-green-2));color:#fff}
.bv-cta h2{color:#fff;font:400 clamp(26px,2.6vw,36px)/1.15 var(--bv-serif);margin:8px 0 6px}
.bv-cta p{margin:0;color:#cfe2d8}
.bv-cta .bv-kicker{color:var(--bv-gold-2)}

/* ---------- Responsivo ---------- */
@media(max-width:1180px){
 .bv-host-link{display:none}
 .bv-tabs a{padding:10px 9px 13px;font-size:14px}
 .bv-foot-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:860px){
 .bv-top.has-search{padding-bottom:14px}
 .bv-bar{grid-template-columns:1fr auto;height:auto;padding-top:12px;row-gap:6px}
 .bv-tabs{grid-column:1 / -1;grid-row:2;justify-content:space-between;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1*var(--bv-pad));padding:0 var(--bv-pad)}
 .bv-tabs::-webkit-scrollbar{display:none}
 .bv-tabs a{flex-direction:column;gap:3px;font-size:12px;padding:2px 8px 10px;flex:1}
 .bv-tabs a svg{width:30px;height:30px}
 .bv-tabs a.is-on:after{left:22%;right:22%}
 .bv-avatar{display:none}
 .bv-search{grid-template-columns:1fr 1fr;border-radius:24px;padding:6px;gap:4px;margin-top:8px}
 .bv-search:not(.is-open)>:not(.bv-search-mini){display:none}
 .bv-search:not(.is-open){padding:0;border-radius:999px}
 .bv-search-mini{display:flex;grid-column:1 / -1;align-items:center;gap:14px;border:0;background:transparent;padding:12px 20px;text-align:left;color:var(--bv-ink);cursor:pointer;font-family:var(--bv-sans)}
 .bv-search-mini span{display:grid}
 .bv-search-mini strong{font-size:15px}
 .bv-search-mini small{font-size:12px;color:var(--bv-muted)}
 .bv-search.is-open .bv-search-mini{display:none}
 .bv-f{background:#f5f3ee;border-radius:14px;padding:10px 14px}
 .bv-f+.bv-f:before{display:none}
 .bv-f-dest,.bv-f-who,.bv-go{grid-column:1 / -1}
 .bv-go{width:100%;border-radius:14px;height:50px;display:flex;justify-content:center;gap:8px;font-weight:800}
 .bv-go span{display:inline}
 .bv-cta{padding:28px 24px}
}
@media(max-width:560px){
 .bv-logo-word{font-size:25px}
 .bv-menu{position:fixed;left:12px;right:12px;top:64px;width:auto;max-height:calc(100vh - 80px)}
 .bv-foot-grid{grid-template-columns:1fr;gap:28px;padding-top:44px}
 .bv-foot-bottom{flex-direction:column;gap:6px}
 .bv-page{padding:30px 0 56px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{.bv-top,.bv-foot{display:none!important}}

/* Destaque em itálico dos títulos: mesma cor em todo o site (fundos claros) */
body[data-bv-ui] main :is(h1,h2) > em{color:var(--bv-green-2)}
body[data-bv-ui] main :is([class*="dark"],[class*="hero-dark"],.bv-cta,[class*="feature-dark"]) :is(h1,h2) > em{color:var(--bv-gold-2)}
body[data-bv-ui] :is(.guide-hero,.book-public-hero) :is(h1,h2) > em{color:var(--bv-gold-2)}
/* Catálogo: campos de data cabem no painel de filtros */
.bv33-filter-panel :is(input,select){min-width:0;max-width:100%;width:100%;box-sizing:border-box}
.bv33-filter-panel *{min-width:0}
.bv33-filter-panel input[type=date]{padding-left:8px;padding-right:6px;font-size:13px}
.bv33-filter-panel .bv34-filter-dates{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
