/* Casa da Praça
   Cores tiradas do logo: terracota #BD7A46, creme #F3F9DD, marrom #754F20, ferrugem #9A5217.
   Cantos: botões em pílula; fotos, cartões e blocos 14px; campos 10px. */

@font-face { font-family: "Gloock"; src: url(../fonts/Gloock-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/Figtree-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Sacramento"; src: url(../fonts/Sacramento-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #FBF9F4;
  --bg-2: #F4EEE5;
  --superficie: #FFFDF9;
  --linha: #E6DCCF;
  --borda-forte: #9C8470;
  --texto: #2E2118;
  --texto-2: #6B5646;
  --destaque: #9A5217;
  --icone: #A65C22;
  --assinatura: #B26F3C;
  --botao: #9A5217;
  --botao-texto: #FFF8EE;
  --botao-hover: #7E420F;
  --erro: #A3301B;
  --terracota: #BD7A46;
  --creme: #F3F9DD;
  --banda-texto: #2A1A0E;
  --sombra: 0 22px 44px -28px rgba(84, 46, 18, .45);
  --raio: 14px;
  --raio-campo: 10px;
  --serif: "Gloock", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Sacramento", "Segoe Script", cursive;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --topo-h: 68px;
  color-scheme: light;
}

/* Padrão: sempre claro. O escuro fica só como opção (?tema=escuro). */
:root[data-theme="escuro"] {
  --bg: #1B1410; --bg-2: #241B15; --superficie: #2B2119; --linha: #3B2F25; --borda-forte: #8A7563;
  --texto: #F3EBDF; --texto-2: #C9B8A5; --destaque: #E3A06B; --icone: #E09A62; --assinatura: #E3A06B;
  --botao: #D98E56; --botao-texto: #1B1410; --botao-hover: #E8A26C; --erro: #FF9C85;
  --sombra: 0 22px 44px -26px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--texto);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
p, li, .txt { text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--destaque) 70%, transparent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--botao); color: var(--botao-texto); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.pular:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primario { background: var(--botao); color: var(--botao-texto); }
.btn-primario:hover { background: var(--botao-hover); }
.btn-secundario { background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1.5px var(--borda-forte); }
.btn-secundario:hover { background: color-mix(in srgb, var(--texto) 6%, transparent); }
.btn-pequeno { height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-icone { width: 46px; height: 46px; padding: 0; }
.btn-largo { width: 100%; }
.btn .i { width: 1.2em; height: 1.2em; }

/* Topo */
#sentinela-topo { position: absolute; top: 0; height: 1px; width: 1px; }
.topo {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.topo.rolou { border-bottom-color: var(--linha); }
.topo-linha { height: var(--topo-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.005em; white-space: nowrap; }
.marca img { width: 44px; height: auto; }
.topo nav ul { display: flex; gap: 30px; }
.topo nav a { text-decoration: none; color: var(--texto-2); font-weight: 500; font-size: .98rem; transition: color .2s; }
.topo nav a:hover { color: var(--texto); }
.so-movel { display: none; }

/* Capa */
.hero { padding: 48px 0 72px; }
.hero-grade { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.assinatura { font-family: var(--script); font-size: 2.2rem; line-height: 1.1; color: var(--assinatura); margin-bottom: 6px; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.7rem, 4.4vw, 3.75rem);
  line-height: 1.03; letter-spacing: -.018em; text-wrap: balance;
}
.hero .sub { margin-top: 20px; font-size: 1.18rem; line-height: 1.55; color: var(--texto-2); max-width: 36ch; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-fotos { position: relative; padding: 0 0 40px 48px; }
.hero-principal { position: relative; border-radius: var(--raio); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--sombra); background: var(--bg-2); }
.hero-principal > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-detalhe {
  position: absolute; left: 0; bottom: 0; width: 29%; aspect-ratio: 3 / 4;
  border-radius: var(--raio); overflow: hidden; border: 6px solid var(--bg); box-shadow: var(--sombra); background: var(--bg-2);
}
.hero-detalhe img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.btn-fotos {
  position: absolute; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--superficie); color: var(--texto); font-weight: 600; font-size: .95rem;
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .35); transition: transform .2s var(--ease);
}
.btn-fotos:hover { transform: translateY(-1px); }
.btn-fotos:active { transform: translateY(1px) scale(.98); }

/* Números */
.fatos { border-block: 1px solid var(--linha); }
.fatos-lista { display: grid; grid-template-columns: repeat(5, 1fr); }
.fatos-lista li { display: flex; align-items: center; justify-content: center; padding: 24px 8px; }
.fatos-lista li + li { border-left: 1px solid var(--linha); }
.fatos-lista li, .fatos-lista a { gap: 12px; color: var(--texto-2); font-size: 1rem; }
.fatos-lista a { display: flex; align-items: center; text-decoration: none; }
.fatos-lista a:hover strong { color: var(--destaque); }
.fatos-lista .i { width: 28px; height: 28px; color: var(--icone); }
.fatos-lista strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--texto); margin-right: 4px; line-height: 1; transition: color .2s; }

/* Seções */
.secao { padding: clamp(72px, 9vw, 120px) 0; }
.secao.alt { background: var(--bg-2); }
.titulo { margin-bottom: 44px; }
.titulo h2, .local-texto h2, .nota h2, .cartao-reserva h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.05rem, 3.6vw, 3rem);
  line-height: 1.07; letter-spacing: -.012em; text-wrap: balance;
}
.titulo p { margin-top: 14px; max-width: 58ch; font-size: 1.12rem; color: var(--texto-2); }

/* Ambientes (botões que abrem a galeria) */
.amb {
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.amb .foto { display: block; position: relative; border-radius: var(--raio); overflow: hidden; background: color-mix(in srgb, var(--texto) 8%, transparent); aspect-ratio: 4 / 3; }
.amb .foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.amb:hover .foto img { transform: scale(1.04); }
.amb .legenda { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.amb .h3 { display: block; font-family: var(--serif); font-size: 1.4rem; line-height: 1.15; }
.amb .txt { display: block; margin-top: 4px; color: var(--texto-2); font-size: 1rem; line-height: 1.45; }
.amb .seta { margin-top: 4px; width: 22px; height: 22px; color: var(--icone); transition: transform .3s var(--ease); }
.amb:hover .seta { transform: translateX(4px); }

.bento {
  display: grid; gap: 36px 22px;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-areas: "sala cozinha quintal" "sala varanda banho";
}
.a-sala { grid-area: sala; } .a-cozinha { grid-area: cozinha; } .a-quintal { grid-area: quintal; }
.a-varanda { grid-area: varanda; } .a-banho { grid-area: banho; }
.a-sala .foto { flex: 1; aspect-ratio: auto; min-height: 360px; }
.a-sala .foto img { object-position: 50% 62%; }
.a-quintal .foto img { object-position: 50% 28%; }
.a-varanda .foto img { object-position: 50% 58%; }

.quartos { display: grid; gap: 36px 22px; grid-template-columns: 1fr 1.1fr; grid-template-areas: "q1 q2" "q1 q3"; }
.q1 { grid-area: q1; } .q2 { grid-area: q2; } .q3 { grid-area: q3; }
.q1 .foto { flex: 1; aspect-ratio: auto; min-height: 420px; }
.q1 .foto img { object-position: 50% 40%; }
.q2 .foto, .q3 .foto { aspect-ratio: 16 / 9; }

/* Comodidades */
.grupos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 56px; }
.grupo h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--linha); }
.grupo li { display: flex; align-items: center; gap: 14px; padding: 9px 0; line-height: 1.35; }
.grupo .i { width: 24px; height: 24px; color: var(--icone); }
.bom-saber {
  margin-top: 56px; padding: 30px 34px; border-radius: var(--raio); background: var(--bg-2);
  display: grid; grid-template-columns: auto 1fr; gap: 20px 48px; align-items: center;
}
.bom-saber h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; white-space: nowrap; }
.bom-saber ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 32px; }
.bom-saber li { display: flex; gap: 12px; align-items: flex-start; color: var(--texto-2); line-height: 1.45; }
.bom-saber .i { width: 26px; height: 26px; color: var(--icone); margin-top: 1px; }

/* Avaliações */
.nota { text-align: center; display: flex; flex-direction: column; align-items: center; }
.estrelas { display: flex; gap: 6px; color: var(--icone); }
.estrelas .i { width: 28px; height: 28px; }
.nota-numero { font-family: var(--serif); font-size: clamp(5rem, 11vw, 7.5rem); line-height: 1; margin: 16px 0 8px; letter-spacing: -.02em; }
.nota h2 { max-width: 20ch; }
.nota-texto { margin-top: 14px; color: var(--texto-2); font-size: 1.08rem; max-width: 62ch; text-wrap: balance; }
.categorias { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 34px 0 36px; max-width: 1100px; }
.categorias li { padding: 10px 16px; border-radius: 999px; background: var(--superficie); box-shadow: inset 0 0 0 1px var(--linha); font-size: .98rem; color: var(--texto-2); }
.categorias strong { color: var(--texto); margin-left: 6px; font-weight: 700; }
.depoimentos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: 1040px; margin: 0 0 40px; text-align: left; }
.depo { margin: 0; padding: 28px 30px 26px; background: var(--superficie); border-radius: var(--raio); box-shadow: inset 0 0 0 1px var(--linha); display: flex; flex-direction: column; gap: 18px; }
.depo blockquote { margin: 0; position: relative; padding-top: 30px; }
.depo blockquote::before { content: "\201C"; position: absolute; top: -6px; left: -2px; font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--assinatura); }
.depo blockquote p { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--texto); }
.depo figcaption { margin-top: auto; color: var(--texto-2); font-size: .95rem; }
.depo figcaption strong { color: var(--texto); }
@media (max-width: 760px) {
  .depoimentos { grid-template-columns: 1fr; gap: 14px; }
  .depo { padding: 24px 22px 22px; }
}

/* Localização */
.local { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.local-texto > p { margin-top: 16px; font-size: 1.12rem; color: var(--texto-2); max-width: 46ch; }
.perto { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.perto li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 12px; border-radius: 999px; background: var(--bg-2); font-size: .98rem; }
.perto .i { width: 20px; height: 20px; color: var(--icone); }
.aviso-endereco { display: flex; gap: 10px; align-items: center; margin-top: 26px; font-size: .95rem; color: var(--texto-2); }
.aviso-endereco .i { color: var(--icone); width: 20px; height: 20px; }
.mapa { border-radius: var(--raio); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); box-shadow: var(--sombra); }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
.link-seta { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; color: var(--destaque); text-decoration: none; }
.link-seta:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Reserva (faixa terracota da marca, igual ao fundo do logo) */
.reservar { background: var(--terracota); color: var(--banda-texto); padding: clamp(72px, 9vw, 112px) 0; }
.reservar-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.logo-grande { width: min(340px, 80%); height: auto; margin-bottom: 28px; }
.reservar-texto p { font-size: 1.2rem; line-height: 1.55; max-width: 40ch; }
.link-insta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; text-decoration: none; color: var(--banda-texto); }
.link-insta:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-insta .i { width: 22px; height: 22px; }
.cartao-reserva { background: var(--superficie); color: var(--texto); border-radius: var(--raio); padding: 36px; box-shadow: 0 24px 50px -30px rgba(60, 28, 6, .4); }
.cartao-reserva h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.cartao-sub { margin-top: 8px; color: var(--texto-2); }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.campo { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.campo-largo { grid-column: 1 / -1; }
.campo label { font-weight: 600; font-size: .95rem; }
.campo input, .campo select {
  height: 50px; width: 100%; padding: 0 14px; border-radius: var(--raio-campo);
  border: 1.5px solid var(--borda-forte); background: var(--bg); color: var(--texto);
  font: inherit; font-size: 1rem;
  min-width: 0; max-width: 100%; display: block; margin: 0;
}
/* iPhone/Android: o campo de data nativo tem largura mínima própria e centraliza o texto */
.campo input[type="date"] {
  -webkit-appearance: none; appearance: none; text-align: left; line-height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%239C8470'%3E%3Cpath d='M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
  padding-right: 44px;
}
.campo input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.campo input[type="date"]::-webkit-datetime-edit { padding: 0; }
.campo input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; }
.campo input:focus, .campo select:focus { outline: 3px solid color-mix(in srgb, var(--destaque) 45%, transparent); outline-offset: 0; border-color: var(--destaque); }
.campo input[aria-invalid="true"] { border-color: var(--erro); }
.ajuda { margin: 10px 0 0; font-size: .95rem; color: var(--texto-2); }
.ajuda:empty { display: none; }
.erro { margin: 8px 0 0; font-size: .95rem; font-weight: 600; color: var(--erro); }
.cartao-reserva .btn-primario { margin-top: 24px; }
.ou { display: flex; align-items: center; gap: 14px; margin: 16px 0; color: var(--texto-2); font-size: .9rem; }
.ou::before, .ou::after { content: ""; flex: 1; height: 1px; background: var(--linha); }

/* Rodapé */
.rodape { background: var(--bg-2); padding: 40px 0; }
.rodape-linha { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rodape-marca { display: flex; align-items: center; gap: 12px; }
.rodape-marca img { width: 44px; }
.rodape-marca strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.rodape-marca span { color: var(--texto-2); font-size: .95rem; }
.rodape-links { display: flex; gap: 24px; flex-wrap: wrap; }
.rodape-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--texto-2); }
.rodape-links a:hover { color: var(--texto); }
.rodape-links .i { width: 22px; height: 22px; color: var(--icone); }
.rodape-copy { color: var(--texto-2); font-size: .92rem; }

/* Barra fixa no celular */
.barra-movel { display: none; }

/* Galeria */
.galeria {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #130E0A; color: #F3EBDF; overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}
.galeria[open] { display: grid; }
.galeria::backdrop { background: #130E0A; }
.gal-topo { display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px 20px; }
.gal-abas { flex: 1; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.gal-abas::-webkit-scrollbar { display: none; }
.gal-abas button {
  flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: #E8DCCB; font-weight: 600; font-size: .92rem; white-space: nowrap;
}
.gal-abas button:hover { background: rgba(255, 255, 255, .14); }
.gal-abas button[aria-selected="true"] { background: #F3EBDF; color: #1B1410; }
.gal-fechar { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .1); color: #F3EBDF; display: grid; place-items: center; }
.gal-fechar:hover { background: rgba(255, 255, 255, .18); }
.gal-fechar .i { width: 22px; height: 22px; }
.gal-palco { position: relative; display: flex; align-items: center; justify-content: center; padding: 8px 76px; min-height: 0; min-width: 0; touch-action: pan-y; }
.gal-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; transition: opacity .25s ease; user-select: none; -webkit-user-drag: none; }
.gal-img.carregando { opacity: .25; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .1); color: #F3EBDF; display: grid; place-items: center; }
.gal-nav:hover { background: rgba(255, 255, 255, .2); }
.gal-nav .i { width: 26px; height: 26px; }
.gal-ant { left: 14px; } .gal-prox { right: 14px; }
.gal-legenda { text-align: center; padding: 10px 16px 4px; font-size: .98rem; color: #CDBDAA; }
.gal-nome { color: #F3EBDF; font-weight: 600; margin-right: 6px; }
.gal-miniaturas { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); scrollbar-width: thin; scrollbar-color: #4a3a2e transparent; }
.gal-miniaturas button { flex: none; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .2s; background: #2a2019; }
.gal-miniaturas button:hover { opacity: .85; }
.gal-miniaturas button[aria-current="true"] { opacity: 1; outline: 2px solid #F3EBDF; outline-offset: -2px; }
.gal-miniaturas img { width: 100%; height: 100%; object-fit: cover; }
body.galeria-aberta { overflow: hidden; }

/* Movimento (só para quem não pediu movimento reduzido) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-revelar] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-revelar].visivel { opacity: 1; transform: none; }
  .bento [data-revelar]:nth-child(2), .quartos [data-revelar]:nth-child(2), .grupos [data-revelar]:nth-child(2) { transition-delay: .08s; }
  .bento [data-revelar]:nth-child(3), .quartos [data-revelar]:nth-child(3), .grupos [data-revelar]:nth-child(3) { transition-delay: .16s; }
  .bento [data-revelar]:nth-child(4) { transition-delay: .12s; }
  .bento [data-revelar]:nth-child(5) { transition-delay: .2s; }
  .hero-texto > *, .hero-principal, .hero-detalhe { animation: entrar 1s var(--ease) both; }
  .hero-texto > :nth-child(2) { animation-delay: .06s; }
  .hero-texto > :nth-child(3) { animation-delay: .12s; }
  .hero-texto > :nth-child(4) { animation-delay: .18s; }
  .hero-principal { animation-delay: .1s; }
  .hero-detalhe { animation-delay: .3s; }
  .galeria[open] { animation: aparecer .3s ease both; }
}
@keyframes entrar { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Tablet */
@media (max-width: 1024px) {
  .topo nav ul { gap: 22px; }
  .hero-grade { gap: 40px; }
  .grupos { gap: 36px 32px; }
  .bom-saber { grid-template-columns: 1fr; }
}

/* Celular e tablet em pé */
@media (max-width: 900px) {
  :root { --topo-h: 60px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .topo nav, .so-desktop { display: none; }
  .so-movel { display: inline-flex; }
  .marca { font-size: 1.2rem; }
  .marca img { width: 38px; }

  .hero { padding: 12px 0 44px; }
  .hero-grade { grid-template-columns: 1fr; gap: 26px; }
  .hero-fotos { order: -1; padding: 0; }
  .hero-principal { aspect-ratio: auto; height: min(44svh, 400px); min-height: 230px; }
  .hero-detalhe { display: none; }
  .assinatura { font-size: 1.85rem; margin-bottom: 2px; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .hero .sub { margin-top: 14px; font-size: 1.08rem; }
  .acoes { margin-top: 24px; }
  .acoes .btn { flex: 1 1 auto; }

  .fatos-lista { grid-template-columns: repeat(2, 1fr); padding: 8px 0; }
  .fatos-lista li { justify-content: flex-start; padding: 14px 4px; }
  .fatos-lista li + li { border-left: 0; }
  .fatos-lista .fato-nota { grid-column: 1 / -1; border-top: 1px solid var(--linha); }

  .local { grid-template-columns: 1fr; gap: 36px; }
  .reservar-grade { grid-template-columns: 1fr; gap: 40px; }
  .logo-grande { width: min(260px, 70%); }
  .grupos { grid-template-columns: 1fr 1fr; }
  .bom-saber ul { grid-template-columns: 1fr; }

  .barra-movel {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--linha);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .barra-movel .btn-primario { flex: 1; }
  .barra-movel.visivel { transform: none; }
  .rodape { padding-bottom: calc(40px + 72px + env(safe-area-inset-bottom)); }

  .gal-palco { padding: 4px 0; }
  .gal-nav { display: none; }
}

@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "sala sala" "cozinha quintal" "varanda banho"; gap: 26px 14px; }
  .a-sala .foto { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .bento .amb:not(.a-sala) .foto { aspect-ratio: 1 / 1; }
  .amb .h3 { font-size: 1.22rem; }
  .amb .txt { font-size: .93rem; }
  .bento .amb:not(.a-sala) .seta { display: none; }

  .quartos { grid-template-columns: 1fr; grid-template-areas: "q1" "q2" "q3"; gap: 30px; }
  .q1 .foto { flex: none; aspect-ratio: 4 / 5; min-height: 0; }

  .grupos { grid-template-columns: 1fr; gap: 30px; }
  .bom-saber { padding: 24px 22px; margin-top: 40px; }
  .titulo { margin-bottom: 32px; }
  .cartao-reserva { padding: 26px 20px; }
  .categorias li { font-size: .92rem; padding: 9px 14px; }
  .rodape-linha { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .campos { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .acoes { flex-direction: column; }
}
