/* =========================================================
   Pousada Dona Bia — estilos
   Paleta tirada da própria pousada: fachada amarela, telhas
   terracota, palmeiras e piscina, sobre um fundo de areia.
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --areia: #f7f1e6;
  --areia-2: #efe4d0;
  --papel: #fffdf8;
  --tinta: #1d2723;
  --tinta-2: #4f5b55;
  --palmeira: #1f3b33;
  --palmeira-2: #2c5246;
  --sol: #ecbd4f;
  --sol-2: #f5d27e;
  --terracota: #b4532f;
  --mar: #2b8fb6;
  --linha: rgba(29, 39, 35, .12);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --raio: 22px;
  --raio-sm: 14px;
  --sombra: 0 24px 60px -24px rgba(31, 59, 51, .35);
  --sombra-sm: 0 8px 24px -12px rgba(31, 59, 51, .3);
  --gutter: clamp(16px, 4vw, 40px);
  --largura: 1200px;
  --topo-h: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topo-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--areia);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.08; }
p { margin: 0 0 1em; }
.sprite { display: none; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 6px; }

.pular {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--papel); padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.pular:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--largura)); margin-inline: auto; }
.secao { padding-block: clamp(72px, 10vw, 130px); }

.sobretitulo {
  display: inline-flex; align-items: center; gap: .5em;
  margin: 0 0 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--terracota);
}
.titulo {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 450;
  letter-spacing: -.015em;
  font-variation-settings: "SOFT" 50, "opsz" 96;
  margin-bottom: .55em;
  text-wrap: balance;
}
.titulo em, .hero__titulo em { font-style: italic; font-weight: 400; color: var(--palmeira-2); }
.cabecalho { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.cabecalho--linha { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 1.5em;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sol { background: var(--sol); color: var(--tinta); box-shadow: 0 10px 26px -10px rgba(236, 189, 79, .8); }
.btn--sol:hover { background: var(--sol-2); }
.btn--escuro { background: var(--palmeira); color: var(--papel); }
.btn--escuro:hover { background: var(--palmeira-2); }
.btn--contorno { background: transparent; color: var(--palmeira); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--vidro { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--vidro:hover { background: rgba(255, 255, 255, .24); }
.btn--sm { min-height: 42px; padding: 0 1.1em; font-size: .88rem; }
.btn--grande { min-height: 60px; padding: 0 2em; font-size: 1.05rem; }
.btn--bloco { width: 100%; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--topo-h);
  color: #fff;
  transition: background-color .35s, color .35s, box-shadow .35s, transform .35s var(--ease);
}
.topo--solido {
  background: rgba(247, 241, 230, .88);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  color: var(--tinta);
  box-shadow: 0 1px 0 var(--linha);
}
.topo--oculto { transform: translateY(-100%); }
.topo__inner { height: 100%; display: flex; align-items: center; gap: 24px; width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.marca { display: flex; flex-direction: column; line-height: 1; text-decoration: none; margin-right: auto; }
.marca__pre { font-size: .62rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; opacity: .85; }
.marca__nome { font-family: var(--serif); font-size: 1.6rem; font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.nav { display: flex; gap: 4px; }
.nav a {
  position: relative; padding: 8px 12px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; text-decoration: none; opacity: .9;
  transition: opacity .2s, background-color .2s;
}
.nav a:hover { opacity: 1; background: rgba(127, 127, 127, .14); }
.nav a.ativo { opacity: 1; }
.nav a.ativo::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sol); }
.menu-btn { display: none; width: 46px; height: 46px; place-items: center; border: 0; border-radius: 50%; background: rgba(127, 127, 127, .16); }
.menu-btn .ic { width: 22px; height: 22px; }

/* ---------- Abertura ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--palmeira);
}
.hero__fundo { position: absolute; inset: 0; z-index: -1; }
.hero__fundo-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.hero__fundo::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 75% 50%, transparent 0%, rgba(20, 38, 33, .55) 70%),
    linear-gradient(90deg, rgba(20, 38, 33, .82) 0%, rgba(20, 38, 33, .35) 60%, rgba(20, 38, 33, .2) 100%);
}
.hero__grade {
  width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(32px, 6vw, 96px);
  padding-block: calc(var(--topo-h) + 32px) 64px;
}
.hero__local { color: var(--sol-2); }
.hero__local .ic { width: 1.1em; height: 1.1em; }
.hero__titulo {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 400; letter-spacing: -.03em; line-height: .95;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  margin-bottom: .35em;
}
.hero__titulo em { color: var(--sol-2); }
.hero__sub { max-width: 30em; font-size: clamp(1.02rem, 1.4vw, 1.2rem); opacity: .92; margin-bottom: 2em; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__moldura {
  position: relative; margin: 0; justify-self: center;
  height: min(78vh, 760px); aspect-ratio: 9 / 16;
  border-radius: 32px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .18);
  transform: rotate(2deg);
  animation: moldura 1.4s var(--ease) both .2s;
}
@keyframes moldura { from { opacity: 0; transform: translateY(40px) rotate(6deg); } }
.hero__video { width: 100%; height: 100%; object-fit: cover; background: var(--palmeira); }
.hero__pausa {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; color: #fff;
  background: rgba(0, 0, 0, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero__pausa .ic { width: 16px; height: 16px; }
.hero__texto > * { animation: subir 1s var(--ease) both; }
.hero__texto > :nth-child(2) { animation-delay: .1s; }
.hero__texto > :nth-child(3) { animation-delay: .2s; }
.hero__texto > :nth-child(4) { animation-delay: .3s; }
@keyframes subir { from { opacity: 0; transform: translateY(24px); } }
.hero__rolar {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; opacity: .8; animation: quicar 2.2s ease-in-out infinite;
}
@keyframes quicar { 50% { transform: translateY(6px); } }

/* ---------- Destaques ---------- */
.destaques { background: var(--palmeira); color: var(--papel); }
.destaques__lista {
  list-style: none; margin: 0 auto; padding: clamp(28px, 4vw, 44px) var(--gutter);
  max-width: var(--largura);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.destaques__lista li { display: flex; flex-direction: column; gap: 4px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .18); }
.destaques__num { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; color: var(--sol-2); font-variant-numeric: tabular-nums; }
.destaques__rot { font-size: .88rem; opacity: .8; }

/* ---------- A pousada ---------- */
.pousada__grade { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.pousada__fotos { position: relative; padding: 0 18% 18% 0; }
.pousada__foto { border-radius: var(--raio); box-shadow: var(--sombra); object-fit: cover; }
.pousada__foto--a { width: 100%; aspect-ratio: 4 / 5; }
.pousada__foto--b { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 6px solid var(--areia); }
.pousada__selo {
  position: absolute; left: -14px; top: 28px;
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--sol); color: var(--tinta);
  font-family: var(--serif); font-size: 1.6rem; line-height: 1; font-style: italic;
  box-shadow: var(--sombra-sm); rotate: -10deg;
}
.pousada__selo span { font-family: var(--sans); font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.pousada__texto p { color: var(--tinta-2); max-width: 34em; }
.pousada__pontos { list-style: none; padding: 0; margin: 2em 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pousada__pontos li {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .55em 1em; border-radius: 999px;
  background: var(--papel); box-shadow: inset 0 0 0 1px var(--linha);
  font-size: .9rem; font-weight: 600;
}
.pousada__pontos .ic { color: var(--terracota); }

/* ---------- Estrutura (bento) ---------- */
.estrutura { background: var(--papel); }
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(250px, 34vh));
}
.bento__card {
  position: relative; overflow: hidden; margin: 0;
  border-radius: var(--raio); background: var(--palmeira); color: #fff;
  isolation: isolate;
}
.bento__card--grande { grid-column: span 2; grid-row: span 2; }
.bento__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease); }
.bento__card:hover img { transform: scale(1.06); }
.bento__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(15, 30, 26, .85) 100%); }
.bento__info { position: absolute; inset: auto 0 0; padding: 22px; }
.bento__info .ic { width: 28px; height: 28px; color: var(--sol-2); margin-bottom: 10px; }
.bento__info h3 { font-family: var(--serif); font-size: 1.45rem; margin-bottom: .25em; }
.bento__info p { margin: 0; font-size: .92rem; opacity: .88; }
.bento__card--grande .bento__info { padding: 32px; }
.bento__card--grande h3 { font-size: 2rem; }

.extras { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.extras li {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .7em 1.2em; border-radius: 999px;
  background: var(--areia); font-weight: 600; font-size: .92rem;
}
.extras .ic { color: var(--palmeira-2); }

/* ---------- Grupos ---------- */
.grupos {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 80vh; display: grid; align-items: center;
  color: #fff; padding-block: 96px;
}
.grupos__img { position: absolute; inset: 0; width: 100%; height: 130%; object-fit: cover; z-index: -2; will-change: transform; }
.grupos::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 38, 33, .9) 0%, rgba(20, 38, 33, .55) 55%, rgba(20, 38, 33, .2) 100%); }
.grupos__conteudo { max-width: var(--largura); }
.grupos__conteudo > * { max-width: 560px; }
.grupos .sobretitulo { color: var(--sol-2); }
.grupos .titulo em { color: var(--sol-2); }
.grupos p { font-size: 1.08rem; opacity: .92; margin-bottom: 1.8em; }
.grupos strong { color: var(--sol-2); }

/* ---------- Quartos ---------- */
.comodidades { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--tinta-2); font-weight: 600; font-size: .93rem; }
.comodidades li { display: inline-flex; align-items: center; gap: .5em; }
.comodidades .ic { color: var(--terracota); }
.carrossel__setas { display: flex; gap: 10px; flex: none; }
.seta {
  width: 50px; height: 50px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--papel); box-shadow: inset 0 0 0 1px var(--linha);
  transition: background-color .2s, color .2s;
}
.seta:hover { background: var(--palmeira); color: #fff; }
.carrossel {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26vw, 340px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px max(var(--gutter), (100vw - var(--largura)) / 2) 24px;
  scroll-padding-inline: max(var(--gutter), (100vw - var(--largura)) / 2);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.carrossel::-webkit-scrollbar { display: none; }
.carrossel__item { margin: 0; scroll-snap-align: start; border-radius: var(--raio); overflow: hidden; cursor: zoom-in; box-shadow: var(--sombra-sm); }
.carrossel__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .8s var(--ease); }
.carrossel__item:hover img { transform: scale(1.05); }
.quartos__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 28px 32px; border-radius: var(--raio); background: var(--papel); box-shadow: inset 0 0 0 1px var(--linha); }
.quartos__cta p { margin: 0; max-width: 36em; color: var(--tinta-2); }

/* ---------- Galeria ---------- */
.galeria { background: var(--papel); }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtro {
  border: 0; padding: .65em 1.2em; border-radius: 999px;
  background: var(--areia); font-weight: 600; font-size: .9rem;
  transition: background-color .25s, color .25s;
}
.filtro:hover { background: var(--areia-2); }
.filtro.ativo { background: var(--palmeira); color: var(--papel); }
.mosaico { columns: 4 220px; column-gap: 14px; }
.mosaico figure {
  margin: 0 0 14px; break-inside: avoid;
  border-radius: var(--raio-sm); overflow: hidden; cursor: zoom-in;
  transition: opacity .4s, transform .4s var(--ease);
}
.mosaico figure:nth-child(3n+1) img { aspect-ratio: 3 / 4; }
.mosaico figure:nth-child(3n+2) img { aspect-ratio: 4 / 5; }
.mosaico figure:nth-child(3n) img { aspect-ratio: 1 / 1; }
.mosaico img { width: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.mosaico figure:hover img { transform: scale(1.05); }
.mosaico figure.oculta { display: none; }

/* ---------- Localização ---------- */
.local__grade { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.local__end { display: flex; gap: 12px; font-style: normal; font-weight: 600; font-size: 1.05rem; margin-bottom: 28px; }
.local__end .ic { color: var(--terracota); margin-top: 3px; }
.local__lista { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 4px; }
.local__lista li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--linha); }
.local__lista .ic { width: 26px; height: 26px; color: var(--palmeira-2); margin-top: 2px; }
.local__lista strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.local__lista span { color: var(--tinta-2); font-size: .95rem; }
.local__acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.local__mapa { position: relative; border-radius: var(--raio); overflow: hidden; aspect-ratio: 4 / 5; background: var(--areia-2); box-shadow: var(--sombra); }
.local__mapa > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.local__mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.local__mapa-aviso {
  position: absolute; inset: auto 16px 16px; padding: 22px; border-radius: var(--raio-sm);
  background: rgba(255, 253, 248, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; gap: 10px; justify-items: start;
}
.local__mapa-aviso .ic { width: 28px; height: 28px; color: var(--terracota); }
.local__mapa-aviso p { margin: 0; font-size: .92rem; color: var(--tinta-2); }

/* ---------- Informações ---------- */
.info { background: var(--areia-2); }
.info__grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info__card {
  padding: 30px; border-radius: var(--raio); background: var(--papel);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.info__card:hover { transform: translateY(-4px); box-shadow: var(--sombra-sm); }
.info__card .ic { width: 32px; height: 32px; color: var(--terracota); margin-bottom: 18px; }
.info__card h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .4em; }
.info__card p { margin: 0; color: var(--tinta-2); font-size: .95rem; }

/* ---------- Contato ---------- */
.contato { background: var(--palmeira); color: var(--papel); padding-block: clamp(72px, 10vw, 120px); }
.contato .sobretitulo { color: var(--sol-2); }
.contato .titulo em { color: var(--sol-2); }
.contato__grade { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contato__sub { opacity: .85; font-size: 1.08rem; margin-bottom: 2em; }
.contato__canais { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contato__canais a {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  border-radius: var(--raio-sm); background: rgba(255, 255, 255, .07); text-decoration: none;
  transition: background-color .25s, transform .25s var(--ease);
  overflow-wrap: anywhere;
}
.contato__canais a:hover { background: rgba(255, 255, 255, .13); transform: translateX(4px); }
.contato__canais .ic { width: 26px; height: 26px; color: var(--sol-2); }
.contato__canais small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

/* ---------- Rodapé ---------- */
.rodape { background: #172d27; color: rgba(255, 253, 248, .75); padding-block: 44px calc(44px + env(safe-area-inset-bottom)); text-align: center; font-size: .9rem; }
.rodape__inner { display: grid; gap: 6px; justify-items: center; }
.marca--rodape { color: var(--papel); margin: 0 0 8px; align-items: center; }
.rodape p { margin: 0; }
.rodape__mini { font-size: .8rem; opacity: .7; margin-top: 10px !important; }

/* ---------- Botão flutuante ---------- */
.flutuante {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40;
  width: 62px; height: 62px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8);
  transition: transform .3s var(--ease), opacity .3s;
}
.flutuante .ic { width: 32px; height: 32px; }
.flutuante::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: pulso 2.6s ease-out infinite; }
@keyframes pulso { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.flutuante:hover { transform: scale(1.07); }
.flutuante.escondido { opacity: 0; transform: scale(.6); pointer-events: none; }

/* ---------- Som ambiente ---------- */
.som {
  position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 18px 0 16px;
  border: 0; border-radius: 999px;
  background: rgba(20, 38, 33, .72); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .16);
  font-size: .84rem; font-weight: 700;
  transition: background-color .3s, transform .3s var(--ease);
}
.som:hover { transform: translateY(-2px); background: rgba(20, 38, 33, .88); }
.som__barras { display: flex; align-items: end; gap: 3px; height: 16px; }
.som__barras i { width: 3px; height: 30%; border-radius: 2px; background: var(--sol-2); transition: height .4s; }
.som[aria-pressed="true"] .som__barras i { animation: barra 1.1s ease-in-out infinite; }
.som[aria-pressed="true"] .som__barras i:nth-child(2) { animation-delay: -.3s; }
.som[aria-pressed="true"] .som__barras i:nth-child(3) { animation-delay: -.6s; }
.som[aria-pressed="true"] .som__barras i:nth-child(4) { animation-delay: -.9s; }
@keyframes barra { 0%, 100% { height: 25%; } 50% { height: 100%; } }
/* convite discreto: as barras "respiram" enquanto o som está desligado */
.som[aria-pressed="false"] .som__barras i { animation: respira 2.4s ease-in-out infinite; }
.som[aria-pressed="false"] .som__barras i:nth-child(2) { animation-delay: .15s; }
.som[aria-pressed="false"] .som__barras i:nth-child(3) { animation-delay: .3s; }
.som[aria-pressed="false"] .som__barras i:nth-child(4) { animation-delay: .45s; }
@keyframes respira { 0%, 100% { height: 25%; } 50% { height: 55%; } }
.som[aria-busy="true"] { opacity: .75; cursor: progress; }
.som__balao {
  position: fixed; left: 20px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 41;
  max-width: calc(100vw - 110px);
  padding: 10px 16px; border: 0; border-radius: 16px 16px 16px 4px;
  background: var(--papel); color: var(--tinta);
  box-shadow: var(--sombra);
  font-size: .84rem; font-weight: 600; text-align: left; line-height: 1.4;
  opacity: 0; transform: translateY(10px) scale(.96); transform-origin: bottom left;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.som__balao.visivel { opacity: 1; transform: none; }
.som__balao u { text-decoration-color: var(--terracota); text-underline-offset: 3px; }

/* ---------- Diálogos ---------- */
dialog { padding: 0; border: 0; color: inherit; }
dialog::backdrop { background: rgba(15, 30, 26, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
body:has(dialog[open]) { overflow: hidden; }

.painel {
  width: min(100% - 32px, 480px); max-height: calc(100dvh - 32px);
  border-radius: 26px; background: var(--papel); box-shadow: var(--sombra);
}
.painel[open] { animation: painel .45s var(--ease); }
@keyframes painel { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.painel__form { padding: 28px; display: grid; gap: 18px; }
.painel__topo { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.painel__topo .sobretitulo { margin-bottom: .3rem; color: #1a9e4b; }
.painel__topo h2 { font-family: var(--serif); font-size: 1.6rem; }
.painel__fechar { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--areia); flex: none; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: .92rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: .55em 1.05em; border-radius: 999px; background: var(--areia); font-weight: 600; font-size: .9rem; transition: background-color .2s, color .2s; }
.chips input:checked + span { background: var(--palmeira); color: var(--papel); }
.chips input:focus-visible + span { outline: 3px solid var(--sol); outline-offset: 2px; }
.painel__campos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 90px; gap: 10px; }
.painel__form > *, .painel label, .painel input { min-width: 0; }
.painel input[type="date"] { -webkit-appearance: none; appearance: none; }
.painel__campos[hidden] { display: none; }
.painel label:not(.chips label) { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--tinta-2); }
.painel small { font-weight: 500; }
.painel input[type="date"], .painel input[type="number"], .painel input[type="text"] {
  width: 100%; min-height: 46px; padding: 0 12px;
  border: 1.5px solid var(--linha); border-radius: 12px; background: #fff;
  font: inherit; font-size: 16px; color: var(--tinta);
}
.painel input:focus { outline: none; border-color: var(--palmeira-2); box-shadow: 0 0 0 3px rgba(44, 82, 70, .15); }
.painel__previa { padding: 14px 16px; border-radius: 14px 14px 14px 4px; background: #dcf8c6; font-size: .9rem; }
.painel__previa small { display: block; color: #4a6b4f; margin-bottom: 4px; }
.painel__previa p { margin: 0; white-space: pre-line; color: #1d2b1f; }
.painel__nota { margin: 0; font-size: .78rem; color: var(--tinta-2); text-align: center; }
.texto-legal { font-size: .95rem; color: var(--tinta-2); }

/* Visualizador */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  background: rgba(10, 18, 16, .96); color: #fff;
  display: none; place-items: center;
}
.lightbox[open] { display: grid; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 12px; max-width: 92vw; }
.lightbox__fig img { max-height: 84dvh; max-width: 92vw; width: auto; border-radius: 12px; touch-action: pan-y; user-select: none; transition: opacity .25s; }
.lightbox__fig figcaption { font-size: .9rem; opacity: .75; text-align: center; padding-inline: 16px; }
.lightbox__btn {
  position: absolute; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff;
  transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox__fechar { top: 16px; right: 16px; }
.lightbox__ant { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__prox { right: 16px; top: 50%; translate: 0 -50%; }

/* ---------- Animação de entrada ---------- */
.js .revelar { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .revelar.visivel { opacity: 1; transform: none; }
.destaques__lista .revelar:nth-child(2), .bento .revelar:nth-child(2), .info__grade .revelar:nth-child(2) { transition-delay: .08s; }
.destaques__lista .revelar:nth-child(3), .bento .revelar:nth-child(3), .info__grade .revelar:nth-child(3) { transition-delay: .16s; }
.destaques__lista .revelar:nth-child(4), .bento .revelar:nth-child(4), .info__grade .revelar:nth-child(4) { transition-delay: .24s; }
.bento .revelar:nth-child(5), .info__grade .revelar:nth-child(5) { transition-delay: .32s; }
.info__grade .revelar:nth-child(6) { transition-delay: .4s; }

/* ---------- Página 404 ---------- */
.pagina-erro { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; background: var(--palmeira); color: var(--papel); }
.erro { width: min(100% - 2 * var(--gutter), 560px); padding-block: 48px; display: grid; justify-items: center; text-align: center; gap: 6px; }
.erro .marca { margin: 0 0 32px; align-items: center; }
.erro__codigo { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 22vw, 9rem); line-height: 1; color: var(--sol-2); }
.erro .titulo em { color: var(--sol-2); }
.erro__texto { opacity: .85; margin-bottom: 1.6em; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .nav a { padding: 8px 9px; font-size: .85rem; }
}

@media (max-width: 960px) {
  :root { --topo-h: 64px; }
  .menu-btn { display: grid; }
  .topo__cta span { display: none; }
  .topo__cta { width: 46px; padding: 0; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    background: var(--palmeira); color: var(--papel);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav a { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; padding: 8px 20px; }
  .nav a.ativo::after { bottom: 50%; left: 0; }
  .menu-aberto .nav { opacity: 1; visibility: visible; }
  .menu-aberto .topo { color: var(--papel); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-aberto { overflow: hidden; }

  /* Abertura: vídeo em tela cheia no celular */
  .hero { align-items: end; }
  .hero__fundo { display: none; }
  .hero__grade { display: block; padding: 0; width: 100%; }
  .hero__moldura {
    position: absolute; inset: 0; z-index: -1;
    height: auto; aspect-ratio: auto; border-radius: 0; box-shadow: none;
    transform: none; animation: none;
  }
  .hero__moldura::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 30, 26, .55) 0%, rgba(15, 30, 26, 0) 20%, rgba(15, 30, 26, .2) 36%, rgba(15, 30, 26, .78) 60%, rgba(15, 30, 26, .94) 100%);
  }
  .hero__local { font-size: .68rem; letter-spacing: .14em; }
  .hero__pausa { top: calc(var(--topo-h) + 8px); bottom: auto; right: var(--gutter); }
  .hero__texto { padding: 0 var(--gutter) calc(80px + env(safe-area-inset-bottom)); }
  .hero__titulo { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero__rolar { display: none; }

  .destaques__lista { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .pousada__grade, .local__grade, .contato__grade { grid-template-columns: 1fr; }
  .pousada__fotos { max-width: 520px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 260px; }
  .bento__card--grande { grid-row: span 2; }
  .info__grade { grid-template-columns: 1fr 1fr; }
  .local__mapa { aspect-ratio: 1 / 1; }
}

@media (max-width: 600px) {
  .hero__acoes .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .bento__card--grande { grid-column: auto; grid-row: span 1; }
  .bento__card--grande .bento__info { padding: 22px; }
  .bento__card--grande h3 { font-size: 1.6rem; }
  .info__grade { grid-template-columns: 1fr; }
  .info__card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 22px; }
  .info__card .ic { grid-row: span 2; margin: 2px 0 0; }
  .cabecalho--linha .carrossel__setas { display: none; }
  .carrossel { grid-auto-columns: 78vw; }
  .quartos__cta { flex-direction: column; align-items: stretch; padding: 22px; }
  .mosaico { columns: 2; column-gap: 10px; }
  .mosaico figure { margin-bottom: 10px; }
  .painel__campos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .painel__campos label:last-child { grid-column: span 2; }
  .painel__form { padding: 22px; }
  .lightbox__ant, .lightbox__prox { display: none; }
  .flutuante { width: 56px; height: 56px; right: 16px; }
  .som { left: 16px; height: 44px; padding: 0 14px; font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .revelar { opacity: 1; transform: none; }
}
