:root {
  --fundo: #fbf8f3;
  --fundo-alt: #f3ede4;
  --cartao: #ffffff;
  --texto: #2b2724;
  --suave: #675e56;
  --linha: #e4dbcf;
  --acento: #8a5a3b;
  --escuro: #141414;
  --zap: #1a8a4a;
  --zap-hover: #157540;
  --erro: #b3261e;
  --raio: 14px;
  --sombra: 0 1px 2px rgba(43, 39, 36, .06), 0 6px 20px rgba(43, 39, 36, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--acento); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.sobretitulo {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--acento); margin-bottom: .5em;
}
.ico { width: 1.2em; height: 1.2em; flex: none; }
.ico--grande { width: 32px; height: 32px; color: var(--acento); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--zap { background: var(--zap); color: #fff; }
.btn--zap:hover { background: var(--zap-hover); }
.btn--contorno { border-color: var(--texto); color: var(--texto); background: transparent; }
.btn--contorno:hover { background: var(--texto); color: var(--fundo); }
.btn--pequeno { min-height: 40px; padding: .4em 1em; font-size: .95rem; }
.btn--bloco { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #e0a96d; outline-offset: 2px; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 20; background: var(--escuro); }
.topo__inner {
  max-width: 1120px; margin: 0 auto; padding: 6px 16px;
  display: flex; align-items: center; gap: 24px;
}
.topo__marca img { height: 56px; width: auto; }
.topo__nav { display: flex; gap: 22px; margin-left: auto; }
.topo__nav a { color: #e9e4dd; text-decoration: none; font-weight: 600; font-size: .95rem; }
.topo__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.topo .btn--zap { margin-left: 0; }
@media (max-width: 760px) {
  html { scroll-padding-top: 112px; }
  .topo__inner { flex-wrap: wrap; row-gap: 0; padding-bottom: 0; }
  .topo .btn--zap { margin-left: auto; }
  .topo__nav {
    order: 3; margin: 0 -16px; padding: 8px 16px 10px; gap: 14px; justify-content: space-between;
    width: calc(100% + 32px); overflow-x: auto; scrollbar-width: none;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .topo__nav::-webkit-scrollbar { display: none; }
  .topo__nav a { white-space: nowrap; font-size: .85rem; }
}

/* Hero */
.hero { display: grid; background: var(--fundo); }
.hero__foto { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero__texto { padding: 20px 16px 36px; max-width: 640px; }
.hero__texto h1 { margin-bottom: .35em; }
.hero__lead { margin-bottom: 0; }
.hero__acoes { margin-top: 1.1em !important; }
.hero__lead { font-size: 1.15rem; color: var(--suave); }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.25fr 1fr; align-items: center; max-width: 1280px; margin: 0 auto; }
  .hero__foto { aspect-ratio: auto; height: calc(100vh - 68px); max-height: 720px; min-height: 480px; }
  .hero__texto { padding: 40px 48px; }
}

/* Jingle em destaque */
.jingle {
  margin-top: 24px; max-width: 460px; padding: 14px 18px 12px 14px;
  display: flex; align-items: center; gap: 14px;
  background: var(--escuro); color: #fff; border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 20, 20, .18);
}
.jingle__play {
  flex: none; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: #e0a96d; color: var(--escuro);
  transition: transform .15s;
  animation: jingle-pulso 2.4s ease-out infinite;
}
.jingle__play:hover { transform: scale(1.06); }
.jingle__play svg { width: 26px; height: 26px; }
.jingle__ico-pausa { display: none; }
.jingle.tocando .jingle__ico-play { display: none; }
.jingle.tocando .jingle__ico-pausa { display: block; }
.jingle.tocando .jingle__play, .jingle.ja-tocou .jingle__play { animation: none; }
@keyframes jingle-pulso {
  0% { box-shadow: 0 0 0 0 rgba(224, 169, 109, .6); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(224, 169, 109, 0); }
}
.jingle__info { flex: 1; min-width: 0; }
.jingle__titulo { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 800; font-size: 1rem; }
.jingle__eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.jingle__eq i { width: 3px; height: 4px; background: #e0a96d; border-radius: 1px; }
.jingle.tocando .jingle__eq i { animation: jingle-eq .9s ease-in-out infinite; }
.jingle.tocando .jingle__eq i:nth-child(2) { animation-delay: -.3s; }
.jingle.tocando .jingle__eq i:nth-child(3) { animation-delay: -.6s; }
.jingle.tocando .jingle__eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes jingle-eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.jingle__barra { position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .2); cursor: pointer; }
.jingle__barra::before { content: ""; position: absolute; inset: -10px 0; } /* área de toque maior */
.jingle__progresso { width: 0; height: 100%; border-radius: 3px; background: #e0a96d; }
.jingle__tempo { display: flex; justify-content: space-between; margin: 6px 0 0; font-size: .78rem; color: #bdb6ad; font-variant-numeric: tabular-nums; }
.jingle__play:focus-visible, .jingle__barra:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .jingle__play, .jingle.tocando .jingle__eq i { animation: none; }
}

/* Comodidades */
.comodidades { background: var(--cartao); border-block: 1px solid var(--linha); }
.comodidades__lista {
  list-style: none; margin: 0 auto; padding: 22px 16px; max-width: 1120px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px;
}
.comodidades__lista li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-weight: 700; font-size: .98rem; }
@media (min-width: 760px) { .comodidades__lista { grid-template-columns: repeat(4, 1fr); } }

/* Seções */
.secao { padding: 64px 0; }
.secao--alt { background: var(--fundo-alt); }
.secao__intro { max-width: 640px; color: var(--suave); font-size: 1.1rem; }

/* Acomodações */
.tipos { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.tipos li {
  display: flex; align-items: baseline; gap: 8px; padding: 10px 18px;
  background: var(--cartao); border: 1px solid var(--linha); border-radius: 999px;
}
.tipos span { color: var(--suave); font-size: .9rem; }

.galeria { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.galeria__item { margin: 0; position: relative; border-radius: var(--raio); overflow: hidden; background: var(--linha); }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.galeria__item--largo { grid-column: 1 / -1; }
.galeria__item--largo img { aspect-ratio: 16 / 10; object-position: center 70%; }
.galeria__item figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 12px; border-radius: 999px;
  background: rgba(20, 20, 20, .72); color: #fff; font-size: .85rem; font-weight: 700;
}
@media (min-width: 900px) {
  .galeria { grid-template-columns: 2fr 1fr 1fr; }
  .galeria__item--largo { grid-column: auto; }
  .galeria__item--largo img { aspect-ratio: auto; }
}

.cafe {
  margin-top: 40px; display: grid; gap: 0; background: var(--cartao);
  border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra);
}
.cafe__fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.cafe__fotos img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 60%; }
.cafe__texto { padding: 24px; align-self: center; }
.cafe__texto p { color: var(--suave); margin: 0; }
@media (min-width: 760px) {
  .cafe { grid-template-columns: 1.4fr 1fr; }
  .cafe__texto { padding: 40px; }
}

/* História */
.historia { display: grid; gap: 32px; align-items: center; }
.historia__texto p { max-width: 60ch; }
.historia__foto { border-radius: var(--raio); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--sombra); }
@media (min-width: 900px) {
  .historia { grid-template-columns: 1.3fr 1fr; gap: 56px; }
}

/* Localização */
.local { display: grid; gap: 28px; }
.local address { font-style: normal; font-size: 1.1rem; margin-bottom: .8em; }
.link { font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }
.local__fotos { display: grid; gap: 16px; grid-template-columns: 1fr; }
.local__foto { margin: 0; }
.local__foto img { border-radius: var(--raio); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 55%; }
.local__foto--fachada img { object-position: center 40%; }
.local__par { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.local__par img { aspect-ratio: 2 / 3; object-position: center 60%; }
.local__foto figcaption { font-size: .9rem; color: var(--suave); margin-top: 6px; }
.local__mapa iframe { width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: var(--raio); background: var(--linha); }
.mapa-cartao {
  height: 100%; min-height: 260px; padding: 28px 22px; border-radius: var(--raio);
  background: var(--cartao); border: 1px solid var(--linha); box-shadow: var(--sombra);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.mapa-cartao p { margin: 0 0 4px; color: var(--suave); }
.mapa-cartao .mapa-cartao__titulo { color: var(--texto); font-weight: 800; font-size: 1.1rem; }
.mapa-cartao__pino { width: 44px; height: 44px; color: var(--acento); margin-bottom: 10px; }
.mapa-cartao__acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.btn--escuro { background: var(--texto); color: #fff; }
.btn--escuro:hover { background: #000; }
@media (min-width: 640px) { .local__fotos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .local { grid-template-columns: 1fr 1.2fr; gap: 32px 48px; }
  .local__fotos { grid-column: 1 / -1; order: 3; }
}

/* Contato */
.contato { display: grid; gap: 20px; margin-top: 28px; align-items: start; }
@media (min-width: 860px) { .contato { grid-template-columns: 1fr 1.4fr; } }

.cartao {
  position: relative; background: var(--cartao); border: 1px solid var(--linha);
  border-radius: var(--raio); padding: 28px 22px 24px; box-shadow: var(--sombra);
}
.cartao h3 { padding-right: 40px; }
.cartao > p { color: var(--suave); }
.cartao__num {
  position: absolute; top: 20px; right: 20px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--fundo-alt); color: var(--acento); font-weight: 800;
}
.cartao__fone { text-align: center; margin: 12px 0 0; font-weight: 700; font-size: 1.15rem; }

.campo { display: block; margin-bottom: 14px; }
.campo span { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 4px; }
.campo input {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--texto);
  background: var(--fundo); border: 1.5px solid var(--linha); border-radius: 10px;
}
.campo input:focus { border-color: var(--acento); }
.campo input[aria-invalid="true"] { border-color: var(--erro); }
.campo-duplo { display: grid; gap: 0 12px; grid-template-columns: 1fr; }
@media (min-width: 420px) { .campo-duplo { grid-template-columns: 1fr 1fr; } }

.form__resumo { min-height: 1.6em; margin: 0 0 6px; color: var(--acento); font-weight: 700; }
.form__erro { min-height: 0; margin: 0 0 10px; color: var(--erro); font-weight: 700; }
.form__erro:empty { margin: 0; }
.form__nota { font-size: .85rem; color: var(--suave); margin: 10px 0 0; text-align: center; }

.info { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; }
.info li { padding-left: 16px; border-left: 3px solid var(--acento); color: var(--suave); }
.info strong { display: block; color: var(--texto); }
@media (min-width: 760px) { .info { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Rodapé */
.rodape { background: var(--escuro); color: #d9d3cb; padding: 32px 0 96px; font-size: .95rem; }
.rodape__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.rodape img { width: 120px; }
.rodape p { margin: 0 0 4px; }
.rodape a { color: #fff; }

/* WhatsApp flutuante */
.zap-flutuante {
  position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--zap); color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.zap-flutuante .ico { width: 30px; height: 30px; }
.zap-flutuante:hover { background: var(--zap-hover); }
.zap-flutuante { transition: opacity .25s, transform .25s; }
.zap-flutuante.escondido { opacity: 0; transform: translateY(20px); pointer-events: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
