:root {
    --verde-escuro: #1f3d2b;
    --verde: #2f5541;
    --verde-claro: #6b8f6f;
    --dourado: #c99a3c;
    --dourado-claro: #e8c77a;
    --marrom: #6b4a32;
    --creme: #faf7f0;
    --creme-escuro: #f0e9da;
    --branco: #ffffff;
    --texto: #2a2a24;
    --texto-suave: #5c5c52;
    --erro: #a8402f;
    --sombra: 0 10px 30px rgba(31, 61, 43, 0.15);
    --raio: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--texto);
    background: var(--creme);
    line-height: 1.5;
}

h1, h2, h3, .h-display, .h-script {
    font-family: 'Playfair Display', Georgia, serif;
    margin: 0 0 .4em;
    color: var(--verde-escuro);
    font-weight: 700;
}

.h-script { font-family: 'Playfair Display', serif; font-style: italic; color: var(--dourado); }

a { color: inherit; }

img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.topo {
    position: sticky; top: 0; z-index: 40;
    background: var(--verde-escuro);
    color: var(--creme);
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px;
    flex-wrap: wrap; gap: 10px;
}
.marca { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--creme); text-decoration: none; letter-spacing: .5px; }
.marca span { color: var(--dourado-claro); }
.topo-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topo-nav a { text-decoration: none; color: var(--creme); font-size: .95rem; opacity: .9; }
.topo-nav a:hover { opacity: 1; }
.topo-wpp {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--dourado); color: var(--verde-escuro) !important;
    padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: .9rem;
    text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 560px;
    display: flex; align-items: center;
    background-size: cover; background-position: center;
    color: var(--branco);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,35,25,.55) 0%, rgba(20,35,25,.35) 45%, rgba(20,35,25,.85) 100%);
}
.hero-conteudo { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; padding: 90px 24px 60px; }
.hero-etiqueta {
    display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.4);
    padding: 6px 16px; border-radius: 999px; font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 18px;
}
.hero h1 { color: var(--branco); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; }
.hero h1 em { font-style: italic; color: var(--dourado-claro); }
.hero-sub { font-size: 1.15rem; opacity: .95; margin: 18px 0 30px; }
.btn-hero {
    display: inline-block; background: var(--dourado); color: var(--verde-escuro);
    font-weight: 800; padding: 15px 36px; border-radius: 999px; text-decoration: none;
    font-size: 1.05rem; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.btn-hero:hover { background: var(--dourado-claro); }

/* ---------- Faixa de promoção ---------- */

.faixa-promo {
    background: linear-gradient(90deg, var(--marrom), var(--dourado));
    color: var(--branco); text-align: center; padding: 14px 20px; font-weight: 700;
}
.faixa-promo span { text-decoration: underline; }

/* ---------- Seções gerais ---------- */

main { display: block; }
.secao { padding: 64px 0; }
.secao-titulo { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.secao-titulo p { color: var(--texto-suave); font-size: 1.05rem; }
.etiqueta-secao { color: var(--dourado); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; }

/* ---------- Booking widget ---------- */

.reserva-wrap { background: var(--branco); border-radius: var(--raio); box-shadow: var(--sombra); overflow: hidden; }

.filtro-studios { display: flex; gap: 12px; padding: 20px; overflow-x: auto; background: var(--creme-escuro); }
.chip-studio {
    display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
    background: var(--branco); border: 2px solid transparent; border-radius: 999px;
    padding: 6px 18px 6px 6px; cursor: pointer; font-weight: 700; color: var(--texto);
    transition: border-color .15s, box-shadow .15s;
}
.chip-studio img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.chip-studio .chip-sem-foto { width: 38px; height: 38px; border-radius: 50%; background: var(--verde-claro); }
.chip-studio.sel { border-color: var(--dourado); box-shadow: 0 2px 10px rgba(201,154,60,.35); }
.chip-studio:hover { border-color: var(--verde-claro); }

.reserva-corpo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; }
@media (max-width: 860px) { .reserva-corpo { grid-template-columns: 1fr; } }

.calendario-area { padding: 26px; border-right: 1px solid var(--creme-escuro); min-width: 0; }
@media (max-width: 860px) { .calendario-area { border-right: none; border-bottom: 1px solid var(--creme-escuro); padding: 20px 14px; } }

/* ---------- Calendário dos 4 studios ---------- */

.cal-cabecalho { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.calendario-nav { display: flex; align-items: center; gap: 8px; }
.calendario-nav button {
    background: var(--creme-escuro); border: none; width: 36px; height: 36px; border-radius: 50%;
    font-size: 1.15rem; line-height: 1; cursor: pointer; color: var(--verde-escuro); transition: background .15s;
}
.calendario-nav button:hover:not(:disabled) { background: var(--dourado-claro); }
.calendario-nav button:disabled { opacity: .3; cursor: default; }
.calendario-nav h3 { margin: 0; font-size: 1.2rem; min-width: 9.5em; text-align: center; }
.btn-hoje {
    background: transparent; border: 1px solid #ddd6c8; color: var(--verde-escuro); font: 700 .8rem 'Nunito', sans-serif;
    border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: border-color .15s;
}
.btn-hoje:hover { border-color: var(--dourado); }

.calendario-legenda { display: flex; gap: 8px 16px; margin-bottom: 14px; font-size: .78rem; color: var(--texto-suave); flex-wrap: wrap; }
.calendario-legenda span { display: inline-flex; align-items: center; gap: 6px; }
.bolinha { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.bolinha.disp { background: var(--verde-claro); }
.bolinha.indisp { background: #ddd6c8; }
.bolinha.so-entrada { background: var(--dourado); }
.bolinha.so-saida { background: var(--marrom); }
.bolinha.sel { background: var(--verde-escuro); }
.calendario-legenda .leg-studios { display: none; }
.calendario-legenda.so-todos .leg-studios { display: inline-flex; flex-basis: 100%; }
.leg-quadrinhos { display: inline-flex; gap: 2px; }
.leg-quadrinhos b { width: 8px; height: 8px; border-radius: 2px; background: var(--verde-claro); display: block; }
.leg-quadrinhos b:nth-child(2) { background: #ddd6c8; }
.leg-quadrinhos b:nth-child(3) { background: var(--dourado); }
.leg-quadrinhos b:nth-child(4) { background: var(--marrom); }
.calendario-desconto-nota { margin: 0 0 14px; font-size: .78rem; font-weight: 700; color: var(--marrom); }

.cal-status {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px;
    font-size: .88rem; margin-bottom: 12px; background: rgba(201,154,60,.14); color: var(--marrom);
}
.cal-status[hidden] { display: none; }
.cal-status > span:not(.cal-spinner) { flex: 1; min-width: 0; }
.cal-status.erro { background: #fbeae6; color: var(--erro); font-weight: 700; }
.cal-status button, .cal-status a {
    font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; background: none; border: none; color: inherit; padding: 0;
}
.cal-spinner {
    width: 14px; height: 14px; border: 2px solid rgba(107,74,50,.25); border-top-color: var(--marrom);
    border-radius: 50%; animation: cal-gira .8s linear infinite; flex: none;
}
@keyframes cal-gira { to { transform: rotate(360deg); } }

.grade-semana, .grade-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.grade-semana span {
    font-size: .7rem; text-transform: uppercase; color: var(--texto-suave); font-weight: 800; padding-bottom: 8px; letter-spacing: .6px;
}
.grade-dias { row-gap: 2px; }
.celula { padding: 2px 0; }
.celula.vazio { visibility: hidden; }
.celula > .dia-cel { margin: 0 2px; width: calc(100% - 4px); }

.dia-cel {
    min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    padding: 6px 2px 5px; border-radius: 12px; cursor: pointer; border: 1px solid transparent;
    background: var(--creme); color: var(--texto); position: relative; font-family: inherit;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.dia-cel:focus-visible { outline: 3px solid var(--dourado); outline-offset: 1px; z-index: 2; }
.dia-num { font-size: 1rem; font-weight: 700; line-height: 1; }
.dia-preco { font-size: .64rem; font-weight: 800; line-height: 1; color: var(--verde); }
.dia-tag { font-size: .56rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; line-height: 1; color: var(--dourado-claro); }

/* Estadia mínima: selo no dia, item na legenda, aviso do mês e destaque ao escolher a entrada */
.dia-min, .leg-chip, .chip-min {
    display: inline-block; font-style: normal; font-weight: 800; line-height: 1; white-space: nowrap;
    color: #fff; background: var(--marrom); border-radius: 5px; padding: 2px 4px; font-size: .54rem;
}
.leg-chip { font-size: .62rem; padding: 3px 6px; }
.chip-min { font-size: .72rem; padding: 3px 6px; }
.dia-cel.extremo .dia-min { background: var(--dourado-claro); color: var(--verde-escuro); }
.cal-aviso, .aviso-minimo {
    display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; line-height: 1.45; color: var(--marrom);
    background: #fbf3df; border-left: 4px solid var(--dourado); border-radius: 8px; padding: 10px 12px; margin-bottom: 12px;
}
.cal-aviso[hidden], .aviso-minimo[hidden] { display: none; }
.aviso-minimo { margin: 12px 0 0; font-size: .9rem; border: 1px solid var(--dourado); border-left-width: 4px; background: #fff7e3; }
.btn-sugestao {
    margin-top: 10px; background: var(--verde-escuro); color: var(--branco); border: none; border-radius: 999px;
    padding: 10px 18px; font: 700 .9rem 'Nunito', sans-serif; cursor: pointer;
}
.btn-sugestao:hover { background: var(--verde); }

.dia-cel.passado, .dia-cel.sem-dado { color: #c9c4b6; cursor: default; background: transparent; }
.dia-cel.passado .dia-num { font-weight: 500; }
.dia-cel.bloqueado, .dia-cel.min-noites {
    color: #b3ad9d; cursor: default;
    background: repeating-linear-gradient(135deg, rgba(221,214,200,.42) 0 6px, rgba(221,214,200,.16) 6px 12px);
}
.dia-cel.min-noites { cursor: help; }
.dia-cel.disponivel { background: rgba(107,143,111,.24); color: var(--verde-escuro); border-color: rgba(107,143,111,.45); }
.dia-cel.disponivel .dia-num { font-weight: 800; }
.dia-cel.disponivel:hover:not(:disabled) { background: rgba(107,143,111,.4); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(31,61,43,.18); }
.dia-cel.so-entrada, .dia-cel.so-saida { color: var(--verde-escuro); }
.dia-cel.so-entrada .dia-num, .dia-cel.so-saida .dia-num { font-weight: 800; }
.dia-cel.so-entrada { background: rgba(201,154,60,.25); }
.dia-cel.so-entrada:hover:not(:disabled) { background: rgba(201,154,60,.4); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(31,61,43,.18); }
.dia-cel.so-saida { background: rgba(107,74,50,.18); }
.dia-cel.so-saida:hover:not(:disabled) { background: rgba(107,74,50,.3); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(31,61,43,.18); }
.dia-cel.so-entrada::before {
    content: ''; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--dourado);
}
.dia-icone-saida { font-size: 1rem; line-height: 1; }
/* Célula "respirando": só nos dias que já podem ser clicados como saída (antes disso fica parada). */
.dia-cel.so-saida.aceso { animation: respira-saida 1.7s ease-in-out infinite; }
@keyframes respira-saida {
    0%, 100% { background: rgba(107,74,50,.18); }
    50% { background: rgba(107,74,50,.6); }
}
.dia-cel:disabled { cursor: not-allowed; }
.dia-cel.so-saida:disabled { cursor: default; opacity: .75; }

/* Um quadradinho por studio (01 a 04): verde = livre, dourado = só entrada, marrom = só saída, cinza = ocupado. */
.dia-studios { display: flex; gap: 2px; justify-content: center; }
.dia-studios i {
    width: 7px; height: 7px; border-radius: 2px; background: #e6dfd0; display: block; font-style: normal; font-size: 0;
}
.dia-studios i.livre { background: var(--verde-claro); }
.dia-studios i.so-entrada { background: var(--dourado); }
.dia-studios i.so-saida { background: var(--marrom); }
.dia-studios i.ocupado { background: #d9d1bf; }
.dia-studios i.sem-dado { background: transparent; border: 1px dashed #d4cdbd; }
@media (min-width: 1100px) {
    .dia-studios i { width: 14px; height: 14px; font-size: 8.5px; font-weight: 800; color: #fff; display: grid; place-items: center; line-height: 1; border-radius: 3px; }
    .dia-studios i.ocupado { color: #8a8474; }
    .dia-studios i.sem-dado { color: #b3ad9d; }
}

/* Hoje */
.dia-cel.hoje .dia-num { background: var(--dourado); color: var(--verde-escuro); border-radius: 999px; padding: 3px 6px; margin: -3px 0; }

/* Faixa entre a entrada e a saída (e pré-visualização ao passar o mouse) */
.celula.faixa { background: rgba(232,199,122,.42); }
.celula.prev { background: rgba(232,199,122,.26); }
.celula.faixa:nth-child(7n+1), .celula.prev:nth-child(7n+1) { border-radius: 14px 0 0 14px; }
.celula.faixa:nth-child(7n), .celula.prev:nth-child(7n) { border-radius: 0 14px 14px 0; }
.celula.faixa > .dia-cel, .celula.prev > .dia-cel {
    background: transparent; border-color: transparent; box-shadow: none; transform: none; animation: none; color: var(--verde-escuro);
}
.celula.faixa-ini { background: linear-gradient(90deg, transparent 50%, rgba(232,199,122,.42) 50%); }
.celula.faixa-fim { background: linear-gradient(90deg, rgba(232,199,122,.42) 50%, transparent 50%); }
.celula.prev-ini { background: linear-gradient(90deg, transparent 50%, rgba(232,199,122,.26) 50%); }
.celula.prev-fim { background: linear-gradient(90deg, rgba(232,199,122,.26) 50%, transparent 50%); }
.celula.faixa-ini > .dia-cel, .celula.faixa-fim > .dia-cel, .celula.prev-fim > .dia-cel { border-radius: 12px; }

.dia-cel.extremo {
    background: var(--verde-escuro); color: var(--branco); border-color: var(--verde-escuro); box-shadow: 0 4px 12px rgba(31,61,43,.35);
}
.celula.faixa-ini > .dia-cel.extremo, .celula.faixa-fim > .dia-cel.extremo { background: var(--verde-escuro); color: var(--branco); box-shadow: 0 4px 12px rgba(31,61,43,.35); }
.dia-cel.extremo .dia-studios, .dia-cel.extremo .dia-icone-saida { display: none; }
.dia-cel.extremo .dia-preco { color: var(--dourado-claro); }
.dia-cel.extremo.hoje .dia-num { background: transparent; color: var(--branco); padding: 0; margin: 0; }
.dia-cel.aguardando-saida { border-color: var(--dourado); }

/* Carregando: esqueleto pulsando no lugar dos dias */
.grade-dias.carregando .dia-cel.sem-dado {
    color: transparent; min-height: 62px; border-radius: 12px;
    background: linear-gradient(90deg, #f0e9da 25%, #f8f3e8 50%, #f0e9da 75%); background-size: 200% 100%;
    animation: cal-brilho 1.4s ease-in-out infinite;
}
@keyframes cal-brilho { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
    .dia-cel.so-saida.aceso { animation: none; background: rgba(107,74,50,.4); }
    .grade-dias.carregando .dia-cel.sem-dado, .cal-spinner { animation: none; }
}

.datas-resumo {
    margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
    font-size: .9rem; background: var(--creme); border-radius: 10px; padding: 10px 14px;
}
.datas-resumo b { color: var(--verde-escuro); }
.datas-resumo > span { flex: 1 1 220px; min-width: 0; line-height: 1.45; }
.link-limpar {
    display: inline-flex; align-items: center; gap: 7px; flex: none;
    font: 800 .8rem 'Nunito', sans-serif; letter-spacing: .2px; color: var(--marrom);
    background: var(--branco); border: 1.5px solid #d9cfba; border-radius: 999px; padding: 6px 14px 6px 8px;
    cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.link-limpar::before {
    content: '×'; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
    background: rgba(107,74,50,.12); font-size: 1.05rem; line-height: 1; padding-bottom: 1px; transition: background .15s;
}
.link-limpar:hover { background: var(--marrom); border-color: var(--marrom); color: var(--branco); box-shadow: 0 3px 10px rgba(107,74,50,.25); }
.link-limpar:hover::before { background: rgba(255,255,255,.22); }
.link-limpar:focus-visible { outline: 3px solid var(--dourado); outline-offset: 2px; }
.link-limpar[hidden] { display: none; }

@media (max-width: 520px) {
    .dia-cel { min-height: 54px; padding: 5px 1px 4px; border-radius: 10px; gap: 3px; }
    .celula > .dia-cel { margin: 0 1px; width: calc(100% - 2px); }
    .dia-num { font-size: .92rem; }
    .dia-preco { font-size: .58rem; }
    .dia-tag { font-size: .5rem; letter-spacing: 0; }
    .btn-hoje { padding: 6px 11px; }
    .calendario-nav h3 { min-width: 8em; font-size: 1.05rem; }
    .calendario-nav button { width: 34px; height: 34px; }
    .grade-dias.carregando .dia-cel.sem-dado { min-height: 54px; }
}

.horario-aviso {
    margin-top: 12px; font-size: .8rem; color: var(--marrom); background: rgba(201,154,60,.12);
    border-radius: 8px; padding: 8px 12px; line-height: 1.5;
}
.horario-aviso-confirmacao { margin: 10px 0; }

.resultados-area { padding: 26px; }
.resultados-area h4 { margin: 0 0 14px; font-size: 1.05rem; }
.msg-suave { color: var(--texto-suave); font-size: .95rem; }
.msg-erro { color: var(--erro); font-size: .95rem; font-weight: 700; }

.lista-studios-disp { display: flex; flex-direction: column; gap: 12px; }
.card-studio-disp {
    border: 1px solid var(--creme-escuro); border-radius: 12px; padding: 10px 14px 14px; transition: box-shadow .15s;
}
.card-studio-disp:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.card-topo { display: flex; gap: 14px; align-items: center; }
.card-studio-disp img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex: none; }
.card-studio-disp .info { flex: 1; min-width: 0; }
.card-studio-disp .info b { display: block; color: var(--verde-escuro); }
.card-studio-disp .preco { color: var(--verde-escuro); font-weight: 800; font-size: 1.05rem; white-space: nowrap; text-align: right; }
.card-studio-disp .preco .preco-de { display: block; font-weight: 400; font-size: .78rem; color: var(--texto-suave); text-decoration: line-through; }
.card-studio-disp .preco .preco-desconto { display: block; font-weight: 700; font-size: .72rem; color: var(--marrom); }
.btn-escolher {
    background: var(--verde-escuro); color: var(--branco); border: none; padding: 10px 18px;
    border-radius: 999px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.btn-escolher:hover { background: var(--verde); }

.preco-confirmado { background: var(--creme-escuro); border-radius: 12px; padding: 16px; margin-bottom: 18px; }
.preco-confirmado .preco-final { font-size: 1.4rem; font-weight: 800; color: var(--verde-escuro); }
.preco-confirmado .preco-de { text-decoration: line-through; color: var(--texto-suave); margin-right: 8px; }
.preco-confirmado small { color: var(--marrom); font-weight: 700; }

.comparativo-canais { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #ddd6c8; }
.comparativo-titulo { margin: 0 0 8px; font-size: .78rem; color: var(--texto-suave); }
.comparativo-linha { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--texto-suave); padding: 6px 0; }
.comparativo-linha span:first-child { display: flex; align-items: center; gap: 8px; }
.comparativo-icone {
    display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
    border-radius: 50%; background: var(--creme-escuro); font-style: normal; font-size: .95rem; flex: none;
}
.comparativo-linha span:last-child { text-decoration: line-through; }
.comparativo-linha.direto { color: var(--verde-escuro); font-weight: 800; border-top: 1px solid #ddd6c8; margin-top: 4px; padding-top: 10px; }
.comparativo-linha.direto span:last-child { text-decoration: none; }
.comparativo-linha.direto .comparativo-icone { background: var(--dourado); }
.comparativo-economia { margin: 8px 0 0; font-size: .85rem; font-weight: 700; color: var(--marrom); }
.comparativo-taxa { margin: 6px 0 0; font-size: .8rem; color: var(--texto-suave); }

.form-hospede label { display: block; font-size: .85rem; font-weight: 700; color: var(--verde-escuro); margin-bottom: 14px; }
.form-hospede input, .form-hospede textarea {
    width: 100%; margin-top: 5px; padding: 11px 13px; border: 1px solid #ddd6c8; border-radius: 8px;
    font-family: inherit; font-size: .95rem;
}
.form-hospede .opcional { font-weight: 400; color: var(--texto-suave); }
.form-hospede label.check-horario {
    display: flex; align-items: flex-start; gap: 8px; font-weight: 400; font-size: .85rem;
    color: var(--texto-suave); background: rgba(201,154,60,.12); border-radius: 8px; padding: 10px 12px;
}
.form-hospede .check-horario input { width: auto; margin: 2px 0 0; flex: none; }
.btn-principal {
    width: 100%; background: var(--dourado); color: var(--verde-escuro); border: none;
    padding: 15px; border-radius: 999px; font-weight: 800; font-size: 1.05rem; cursor: pointer;
}
.btn-principal:hover { background: var(--dourado-claro); }
.btn-principal:disabled { opacity: .5; cursor: not-allowed; }
.tiny-nota { font-size: .78rem; color: var(--texto-suave); text-align: center; margin-top: 10px; }
.link-trocar { display: inline-block; margin-bottom: 14px; font-size: .88rem; color: var(--marrom); cursor: pointer; text-decoration: underline; background: none; border: none; padding: 0; }

/* ---------- Studios (galeria) ---------- */

.studios-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 760px) { .studios-grid { grid-template-columns: 1fr; } }

.card-studio {
    background: var(--branco); border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra);
}
.carrossel { position: relative; aspect-ratio: 4/3; background: var(--creme-escuro); overflow: hidden; }
.carrossel img { width: 100%; height: 100%; object-fit: cover; }
.carrossel-seta {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.85);
    border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1rem; color: var(--verde-escuro);
}
.carrossel-seta.esq { left: 10px; } .carrossel-seta.dir { right: 10px; }
.carrossel-pontos { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.carrossel-pontos span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); }
.carrossel-pontos span.on { background: var(--dourado); }

.card-studio-body { padding: 20px; }
.card-studio-body p { color: var(--texto-suave); font-size: .92rem; margin: 8px 0 16px; }
.btn-secundario {
    display: inline-block; background: var(--verde-escuro); color: var(--branco); text-decoration: none;
    padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: .92rem; border: none; cursor: pointer;
}
.btn-secundario:hover { background: var(--verde); }

/* ---------- Sobre Manaus ---------- */

.secao-manaus { background: var(--branco); }
.secao-manaus-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.secao-manaus-grid > div:first-child p { color: var(--texto-suave); line-height: 1.7; margin: 14px 0; }
.manaus-destaques { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.manaus-item {
    display: flex; align-items: flex-start; gap: 12px; background: var(--creme-escuro);
    border-radius: 12px; padding: 18px 16px; transition: transform .2s ease, box-shadow .2s ease;
}
.manaus-item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(31,61,43,.1); }
.manaus-item .icone { font-size: 1.6rem; line-height: 1; }
.manaus-item b { display: block; color: var(--verde-escuro); font-size: .92rem; }
.manaus-item small { color: var(--texto-suave); font-size: .8rem; }

/* ---------- Endereço/mapa ---------- */

.secao-endereco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.endereco-linha { font-weight: 800; color: var(--verde-escuro); font-size: 1.08rem; margin: 14px 0 4px; }
.endereco-ref { color: var(--texto-suave); font-size: .92rem; margin-bottom: 18px; }
.acesso-info {
    background: var(--branco); border-radius: 12px; padding: 18px 20px; margin-bottom: 22px;
    border-left: 4px solid var(--dourado);
}
.acesso-info h3 { color: var(--verde-escuro); font-size: .95rem; margin-bottom: 8px; }
.acesso-info p { color: var(--texto-suave); font-size: .9rem; line-height: 1.65; }
.mapa-embed { border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); aspect-ratio: 4 / 3; }
.mapa-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Comodidades ---------- */

.amenidades-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 22px; text-align: center; }
.amenidade-item { background: var(--branco); border-radius: 12px; padding: 22px 12px; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.amenidade-item .icone { font-size: 1.8rem; margin-bottom: 8px; }
.amenidade-item span { display: block; font-weight: 700; color: var(--verde-escuro); font-size: .92rem; }

/* ---------- Sucesso ---------- */

.sucesso-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 60px 24px; }
.sucesso { max-width: 520px; text-align: center; background: var(--branco); border-radius: var(--raio); box-shadow: var(--sombra); padding: 46px 34px; }
.sucesso-ico { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--verde-claro); color: var(--branco); font-size: 1.8rem; margin-bottom: 16px; }
.btn-wpp { display: inline-block; background: #25D366; color: var(--branco); text-decoration: none; padding: 13px 28px; border-radius: 999px; font-weight: 800; margin-top: 18px; }
.voltar { display: block; margin-top: 16px; color: var(--texto-suave); text-decoration: underline; }
.pix-box { margin-top: 26px; padding-top: 22px; border-top: 1px dashed #ddd6c8; text-align: left; }
.pix-box h3 { font-size: 1rem; margin-bottom: 4px; }
.pix-box .small { font-size: .82rem; color: var(--texto-suave); margin: 0 0 14px; }
.pix-qrcode { display: flex; justify-content: center; margin-bottom: 14px; }
.pix-qrcode img { border-radius: 8px; border: 1px solid var(--creme-escuro); }
.pix-linha {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
    background: var(--creme-escuro); border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; font-size: .88rem;
}
.pix-linha span { color: var(--texto-suave); }
.pix-linha b { color: var(--verde-escuro); }
.btn-copiar {
    background: var(--branco); border: 1px solid var(--verde-claro); color: var(--verde-escuro);
    padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .8rem; cursor: pointer; white-space: nowrap;
}
.btn-copiar:hover { background: var(--verde-escuro); color: var(--branco); }

/* ---------- Rodapé ---------- */

.rodape { background: var(--verde-escuro); color: rgba(255,255,255,.85); text-align: center; padding: 34px 24px; font-size: .9rem; }
.rodape a { color: var(--dourado-claro); text-decoration: none; }

/* ---------- WhatsApp flutuante ---------- */

.wpp-flutuante {
    position: fixed; bottom: 22px; right: 22px; z-index: 50;
    display: flex; align-items: center; gap: 10px; background: var(--branco);
    border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.2); padding: 8px 8px 8px 16px;
    text-decoration: none; color: var(--texto); font-weight: 700; font-size: .88rem;
}
.wpp-flutuante .bolha-icone { background: #25D366; color: var(--branco); width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.wpp-flutuante small { display: block; font-weight: 400; color: var(--texto-suave); }

@media (max-width: 480px) {
    .wpp-flutuante span { display: none; }
    .wpp-flutuante { padding: 6px; }
}

/* Fica no fim do arquivo de propósito: essas regras têm a MESMA especificidade das que definem
   .secao-manaus-grid/.secao-endereco-grid/.mapa-embed lá em cima, e em empate de especificidade
   quem vem depois no arquivo ganha — se essa media query ficasse antes (como estava, logo depois
   de .studios-grid), a regra de tela grande sempre vencia e o celular nunca via as colunas empilhar. */
@media (max-width: 760px) {
    .secao-manaus-grid, .secao-endereco-grid { grid-template-columns: 1fr; gap: 30px; }
    .mapa-embed { aspect-ratio: 16 / 10; }
}

/* =====================================================================================================================
   Camada de animações do JW Studios (guia do hóspede, painel, limpeza, financeiro e site público).
   Tudo aqui só vale para quem NÃO pediu menos movimento no aparelho (prefers-reduced-motion).
   O motion.js complementa: aparecer ao rolar, contar números e animar o que entra depois.
   ===================================================================================================================== */

/* Estado inicial de quem vai "aparecer" (o motion.js põe e tira essas classes; sem JS nada fica escondido) */
.mx-rv { opacity: 0; transform: translateY(16px) scale(.985); }
.mx-rv.mx-in { opacity: 1; transform: none; transition: opacity .55s ease var(--mx-d, 0ms), transform .6s cubic-bezier(.2, .75, .2, 1) var(--mx-d, 0ms); }
@media print { .mx-rv { opacity: 1 !important; transform: none !important; } }

@media (prefers-reduced-motion: no-preference) {

    /* ---- Troca de página: o conteúdo antigo some e o novo sobe suave ---- */
    @view-transition { navigation: auto; }
    ::view-transition-old(root) { animation: mx-vt-out .16s ease both; }
    ::view-transition-new(root) { animation: mx-vt-in .3s cubic-bezier(.2, .75, .2, 1) both; }

    /* ---- Botões, links de ação e abas: sobem no toque do mouse, afundam ao clicar ---- */
    .btn, .linkbtn, .small-btn, .btn-hero, .btn-principal, .btn-secundario, .btn-jw, .btn-line, .chip, .pill,
    .bar a, .gv-aba, .cx-tab, .mdl-seg, .seg button, .topic, .brand-btn, .qr-btn, .big-btn {
        transition: transform .16s ease, box-shadow .22s ease, background-color .22s ease, color .2s ease, border-color .2s ease, filter .2s ease, opacity .2s ease;
    }
    .btn svg, .small-btn svg, .btn-jw svg, .bar a svg { transition: transform .22s cubic-bezier(.3, 1.5, .5, 1); }

    /* ---- Entradas que não dependem de rolar a página ---- */
    .pg-head, .hello, .hero-small, .ci-gate-card, .login-box, .narrow > h1 { animation: mx-up .6s cubic-bezier(.2, .75, .2, 1) both; }
    .hero .grande, .hero .rot, .hero .linha, .hero-mini { animation: mx-up .6s cubic-bezier(.2, .75, .2, 1) both; }
    .hero .rot { animation-delay: .05s; } .hero .grande { animation-delay: .12s; } .hero .linha { animation-delay: .2s; }
    .hero-mini:nth-child(1) { animation-delay: .15s; } .hero-mini:nth-child(2) { animation-delay: .22s; } .hero-mini:nth-child(3) { animation-delay: .29s; }
    .notice { animation: mx-down .5s cubic-bezier(.2, .8, .2, 1) both; }

    /* ---- Gaveta: cada bloco entra em sequência, e a aba trocada também ---- */
    .gv > * { animation: mx-up .45s cubic-bezier(.2, .75, .2, 1) both; }
    .gv > :nth-child(1) { animation-delay: .03s; } .gv > :nth-child(2) { animation-delay: .07s; } .gv > :nth-child(3) { animation-delay: .11s; }
    .gv > :nth-child(4) { animation-delay: .15s; } .gv > :nth-child(5) { animation-delay: .19s; } .gv > :nth-child(6) { animation-delay: .23s; }
    .gv > :nth-child(n+7) { animation-delay: .27s; }
    .gv-pane.on { animation: mx-fade .3s ease both; }
    .gv-pane.on > * { animation: mx-up .4s cubic-bezier(.2, .75, .2, 1) both; }
    .gv-pane.on > :nth-child(2) { animation-delay: .05s; } .gv-pane.on > :nth-child(3) { animation-delay: .1s; } .gv-pane.on > :nth-child(4) { animation-delay: .15s; }
    .gv-pane.on > :nth-child(5) { animation-delay: .2s; } .gv-pane.on > :nth-child(n+6) { animation-delay: .25s; }
    .gv-check-item, .gv-pend-item, .gv-msg { animation: mx-up .4s cubic-bezier(.2, .75, .2, 1) both; }
    .gv-check-item:nth-child(2n), .gv-pend-item:nth-child(2n) { animation-delay: .06s; }
    .gv-check-item:nth-child(3n), .gv-pend-item:nth-child(3n) { animation-delay: .12s; }

    /* ---- Janelas, menus e balões ---- */
    dialog[open] { animation: mx-dlg .32s cubic-bezier(.2, .8, .2, 1) both; }
    dialog[open]::backdrop { animation: mx-fade .28s ease both; }
    .row-menu-list, .bar-more-menu, .menu-pop-corpo, .mais-menu { animation: mx-menu .2s cubic-bezier(.2, .8, .2, 1) both; transform-origin: top right; }
    .qr-zoom, .zoom-content { animation: mx-dlg .3s cubic-bezier(.2, .8, .2, 1) both; }

    /* ---- Selos de "feito": estouram ao aparecer ---- */
    .ci-step.ok .ci-num, .lp-passos li.feito i, .ci-pill.ok, .ok-inline svg, .esteira-ok svg, .lp-ok svg, .gv-pip, .check-pop,
    .sucesso-ico, .kpi.bom .kpi-ic { animation: mx-pop .55s cubic-bezier(.2, 1.4, .4, 1) both; }
    .lp-passos li.proximo i { animation: mx-respira 2s ease-in-out infinite; }

    /* ---- Barras de progresso e de gráficos: enchem da esquerda para a direita ---- */
    .ci-bar > *, .ci-prog > *, .cx-tl-barra > *, .lp-barra > *, .est-barra > *, .gastar-barra > *, .barra2 > *, .ex-barra > *,
    .barra > *, .linha-barra > *, .linha-fundo > *, .est-ocup > * { animation: mx-fill 1s cubic-bezier(.2, .7, .2, 1) .15s both; }
    /* Gráficos de colunas: crescem de baixo para cima */
    .dcol, .dbars > *, .grafico-barras > * { animation: mx-grow 0.9s cubic-bezier(.2, .7, .2, 1) .1s both; }

    /* ---- Chamar atenção sem gritar ---- */
    .wa-float, .wpp-flutuante { animation: mx-bob 6s ease-in-out 4s infinite; }
    .badge.danger, .sev-alta { animation: mx-respira 2.4s ease-in-out infinite; }
    .qr-pronto, .qr-slot img { animation: mx-pop .6s cubic-bezier(.2, 1.3, .4, 1) both; }

    /* ---- Ícones e imagens ---- */
    .card-studio img, .stay-photo img, .studios-grid img, .photo-card img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }

    @media (hover: hover) {
        .btn:not(:disabled):hover, .btn-hero:hover, .btn-principal:hover, .btn-secundario:hover, .btn-jw:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 40, 30, .18); filter: brightness(1.04); }
        .btn:not(:disabled):active, .linkbtn:active, .small-btn:active, .btn-hero:active, .btn-principal:active, .btn-jw:active { transform: translateY(0) scale(.96); box-shadow: none; filter: none; transition-duration: .06s; }
        .btn:not(:disabled):hover svg, .small-btn:hover svg, .btn-jw:hover svg { transform: scale(1.15) rotate(-6deg); }
        .bar a:hover svg { transform: translateY(-2px) scale(1.1); }
        .linkbtn:hover { transform: translateX(2px); }
        .chip:hover, .pill:hover, .topic:hover, .gv-aba:hover, .cx-tab:hover { transform: translateY(-1px); }
        a.kpi:hover, .cx-card:hover, .esteira-card:hover, .res:hover, .est-item:hover, .cat-card:hover, .cc:hover, a.conta:hover, .card-studio:hover,
        .card-studio-disp:hover, .jw-atalhos .atalho-linha:hover, .cfg-sec:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 40, 30, .16); }
        .card-studio:hover img, .studios-grid > *:hover img, .photo-card:hover img { transform: scale(1.06); }
        .cal-d:hover, .cal-dia:hover, .dia-cel:hover, .cal2-grid > *:hover, .fc-cell:hover { transform: scale(1.04); z-index: 2; }
    }
    a.kpi, .cx-card, .esteira-card, .res, .est-item, .cat-card, .cc, a.conta, .card-studio, .card-studio-disp, .cal-d, .cal-dia, .dia-cel, .fc-cell {
        transition: transform .22s cubic-bezier(.2, .75, .2, 1), box-shadow .25s ease, background-color .2s ease;
    }

    /* ---- Campos: acendem ao focar ---- */
    input, select, textarea { transition: box-shadow .22s ease, border-color .22s ease, background-color .22s ease; }
    input:focus-visible, select:focus-visible, textarea:focus-visible { box-shadow: 0 0 0 3px rgba(31, 111, 92, .2); }
    input[type=checkbox], input[type=radio] { transition: transform .15s ease; }
    input[type=checkbox]:active, input[type=radio]:active { transform: scale(.85); }

    /* ---- Tabelas: linha acende ao passar o mouse ---- */
    .tbl tbody tr, .tabela tbody tr, .tab-j tbody tr, .rec-lin, .parc-lin, .it-row, .cn-linha { transition: background-color .18s ease; }
    @media (hover: hover) {
        .tbl tbody tr:hover, .tabela tbody tr:hover, .tab-j tbody tr:hover, .rec-lin:hover, .parc-lin:hover, .it-row:hover { background: rgba(31, 111, 92, .06); }
    }

    /* ---- Teclas de aviso (contador do menu, selo "novo") ---- */
    .gv-pip, .bar .badge, .menu-count { animation: mx-pop .5s cubic-bezier(.2, 1.4, .4, 1) .2s both; }
}

/* ---- Quadros ---- */
@keyframes mx-vt-out { to { opacity: 0; } }
@keyframes mx-vt-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes mx-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mx-down { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes mx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mx-dlg { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes mx-menu { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes mx-pop { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes mx-fill { from { clip-path: inset(0 100% 0 0 round 99px); } to { clip-path: inset(0 0 0 0 round 99px); } }
@keyframes mx-grow { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes mx-respira { 0%, 100% { box-shadow: 0 0 0 0 rgba(217, 67, 46, .0); } 50% { box-shadow: 0 0 0 6px rgba(217, 67, 46, .18); } }
@keyframes mx-bob { 0%, 88%, 100% { transform: none; } 91% { transform: translateY(-7px); } 94% { transform: translateY(0); } 97% { transform: translateY(-3px); } }
