/* Pousada Villaggio · prévia Reserva Direta · criação própria (01/12/2026) */
:root {
  --mata: #1d3b2f;
  --mata-2: #28503f;
  --creme: #f4ece0;
  --papel: #fbf7f0;
  --terracota: #a94f2a;
  --ouro: #e3b448;
  --azul: #3c6c96;
  --tinta: #1c1b18;
  --tinta-2: #4a463f;
  --whats: #15724a;
  --whats-escuro: #0f5a3a;
  --serifa: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --larg: 1240px;
  --margem: clamp(20px, 5vw, 64px);
  --raio: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.08; text-wrap: balance; }
h2 { font-family: var(--serifa); font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); letter-spacing: -.01em; }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
section { position: relative; }
:focus-visible { outline: 3px solid var(--mata); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(227, 180, 72, .55); }
.abertura :focus-visible, .estrutura :focus-visible, .rodape :focus-visible, .reservar-destaque :focus-visible, .topo:not(.rolou) :focus-visible { outline-color: var(--ouro); box-shadow: 0 0 0 6px rgba(12, 26, 20, .6); }

.rotulo {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terracota); margin-bottom: 14px;
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none; line-height: 1.2;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-whats { background: var(--whats); color: #fff; box-shadow: 0 8px 22px -10px rgba(21, 114, 74, .8); }
.btn-whats:hover { background: var(--whats-escuro); }
.btn-claro { background: rgba(251, 247, 240, .14); color: #fff; border: 1px solid rgba(251, 247, 240, .6); backdrop-filter: blur(6px); }
.btn-claro:hover { background: rgba(251, 247, 240, .26); }
.btn-escuro { background: var(--mata); color: var(--creme); }
.btn-escuro:hover { background: var(--mata-2); }
.btn-grande { font-size: 1.15rem; padding: 16px 30px; min-height: 58px; }
.ico-whats { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* Cabeçalho */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  height: 66px; padding: 0 var(--margem);
  color: #fff;
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.topo.rolou { background: rgba(251, 247, 240, .94); color: var(--tinta); box-shadow: 0 1px 0 rgba(28, 27, 24, .08); backdrop-filter: blur(10px); }
.marca { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.marca-nome { font-family: var(--serifa); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; }
.marca-sub { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; opacity: .85; }
.menu { display: flex; gap: 26px; font-size: .92rem; font-weight: 600; }
.menu a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.menu a:hover { border-color: currentColor; }
.btn-topo { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.menu-botao { display: none; }

/* Abertura */
.abertura { min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--mata); }
.abertura-foto, .abertura-foto picture { position: absolute; inset: 0; }
.abertura-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform-origin: 50% 60%; }
.abertura-foto::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 26, 20, .72) 0%, rgba(12, 26, 20, .45) 38%, rgba(12, 26, 20, 0) 68%),
    linear-gradient(180deg, rgba(12, 26, 20, .45) 0%, rgba(12, 26, 20, 0) 26%, rgba(12, 26, 20, .2) 50%, rgba(12, 26, 20, .85) 100%);
}
.abertura-titulo, .abertura-texto { text-shadow: 0 2px 18px rgba(8, 18, 14, .45); }
.abertura-conteudo { position: relative; width: 100%; max-width: var(--larg); margin: 0 auto; padding: 120px var(--margem) clamp(36px, 6vh, 64px); }
.abertura-titulo { font-family: var(--serifa); font-size: clamp(2.7rem, 1.4rem + 6.2vw, 6.6rem); letter-spacing: -.02em; line-height: .98; }
.abertura-titulo .linha { display: block; overflow: hidden; padding-bottom: .08em; }
.abertura-titulo .linha > span { display: inline-block; }
.abertura-titulo em { font-style: italic; color: var(--ouro); }
.abertura-texto { max-width: 34rem; margin-top: 22px; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: rgba(255, 255, 255, .92); }
.abertura-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.abertura-fatos {
  list-style: none; padding: 18px 0 0; margin: 34px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: .92rem; color: rgba(255, 255, 255, .88);
}
.abertura-fatos strong { font-family: var(--serifa); font-size: 1.2rem; font-weight: 600; color: #fff; }

/* A pousada */
.pousada {
  max-width: var(--larg); margin: 0 auto; padding: clamp(80px, 12vw, 150px) var(--margem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: center;
}
.pousada-texto h2 { margin-bottom: 22px; }
.pousada-texto p:last-child { color: var(--tinta-2); max-width: 30rem; }
.pousada-mosaico { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.pousada-mosaico figure { overflow: hidden; border-radius: var(--raio); background: var(--creme); }
.pousada-mosaico img { width: 100%; height: 100%; object-fit: cover; }
.mosaico-a { grid-column: 1 / 3; aspect-ratio: 16 / 10; }
.mosaico-b { aspect-ratio: 4 / 5; }
.mosaico-c { aspect-ratio: 4 / 5; margin-top: clamp(24px, 6vw, 70px); }

/* Estrutura */
.estrutura { background: var(--mata); color: var(--creme); padding: clamp(80px, 11vw, 140px) var(--margem); overflow: hidden; }
.estrutura-fundo { position: absolute; inset: 0; color: rgba(244, 236, 224, .07); pointer-events: none; }
.estrutura h2 { position: relative; max-width: var(--larg); margin: 0 auto 52px; }
.estrutura-lista {
  position: relative; list-style: none; padding: 0; margin: 0 auto; max-width: var(--larg);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px;
}
.estrutura-lista li { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(244, 236, 224, .2); }
.estrutura-lista p { font-size: .95rem; color: rgba(244, 236, 224, .78); margin-top: 4px; }
.ico { width: 46px; height: 46px; fill: none; stroke: var(--ouro); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Suítes */
.suites { background: var(--creme); }
.suites-palco {
  min-height: 100svh; display: grid; grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr);
  align-items: center; gap: clamp(28px, 4vw, 56px); padding: 90px 0 70px var(--margem); overflow: hidden;
}
.suites-texto h2 { margin-bottom: 20px; }
.suites-texto p { color: var(--tinta-2); margin-bottom: 28px; max-width: 26rem; }
.suites-janela { overflow: hidden; }
.suites-faixa { list-style: none; margin: 0; padding: 0 var(--margem) 0 0; display: flex; gap: 18px; width: max-content; }
.suites-faixa li { width: clamp(240px, 26vw, 360px); aspect-ratio: 4 / 5; border-radius: var(--raio); overflow: hidden; flex: none; background: #e9dfcf; }
.suites-faixa li:nth-child(even) { margin-top: 48px; }
.suites-faixa img { width: 100%; height: 100%; object-fit: cover; }

/* Grupos */
.grupos { padding: clamp(70px, 10vw, 130px) 0 clamp(80px, 10vw, 130px); }
.grupos-foto { max-width: var(--larg); margin: 0 auto; padding: 0 var(--margem); }
.grupos-foto img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--raio); }
.grupos-texto {
  position: relative; z-index: 2; max-width: 760px; margin: clamp(-90px, -8vw, -40px) auto 0; padding: clamp(28px, 4vw, 52px);
  background: var(--papel); border-radius: var(--raio); box-shadow: 0 30px 60px -40px rgba(28, 27, 24, .45);
  margin-left: max(var(--margem), calc((100% - var(--larg)) / 2 + var(--margem)));
}
.grupos-texto h2 { margin-bottom: 16px; }
.grupos-texto > p:not(.rotulo) { color: var(--tinta-2); }
.grupos-fatos { list-style: none; padding: 0; margin: 26px 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.grupos-fatos li { padding: 10px 16px; border: 1px solid rgba(28, 27, 24, .16); border-radius: 999px; font-size: .95rem; }
.grupos-fatos strong { font-family: var(--serifa); font-weight: 600; color: var(--terracota); }

/* Reservar */
.reservar {
  max-width: var(--larg); margin: 0 auto; padding: 0 var(--margem) clamp(80px, 11vw, 140px);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: stretch;
}
.reservar-destaque {
  position: relative; overflow: hidden; padding: clamp(32px, 5vw, 64px); border-radius: var(--raio);
  background: var(--terracota); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px;
  background-image: linear-gradient(160deg, rgba(169, 79, 42, .2), rgba(120, 50, 22, .85)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg fill='none' stroke='%23f4ece0' stroke-opacity='.22' stroke-width='1.2'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z'/%3E%3Ccircle cx='28' cy='28' r='7'/%3E%3Cpath d='M0 0Q14 14 0 28M56 0Q42 14 56 28M0 56Q14 42 0 28M56 56Q42 42 56 28'/%3E%3C/g%3E%3C/svg%3E");
}
.reservar-destaque .rotulo { color: var(--creme); }
.reservar-destaque h2 { margin-bottom: 16px; }
.reservar-destaque h2 .linha { display: block; overflow: hidden; padding-bottom: .06em; }
.reservar-destaque h2 .linha > span { display: inline-block; }
.reservar-destaque p:last-child { color: rgba(255, 255, 255, .9); max-width: 28rem; }
.reservar-passos { position: relative; padding: 8px 0 0; }
.reservar-passos h3 { font-family: var(--serifa); font-weight: 400; font-size: 1.7rem; margin-bottom: 26px; }
.reservar-passos ol { list-style: none; padding: 0 0 0 34px; margin: 0 0 32px; display: grid; gap: 26px; position: relative; }
.reservar-passos li { position: relative; display: flex; flex-direction: column; }
.reservar-passos li::before {
  content: ""; position: absolute; left: -34px; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--papel); border: 3px solid var(--terracota);
}
.reservar-passos li span { color: var(--tinta-2); }
.passos-linha { position: absolute; left: 6px; top: 78px; width: 2px; height: calc(100% - 190px); overflow: visible; }
.passos-linha path { stroke: var(--terracota); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }

/* Avaliações */
.avaliacoes { background: var(--creme); padding: clamp(70px, 9vw, 120px) var(--margem); }
.avaliacoes h2 { max-width: var(--larg); margin: 0 auto 40px; }
.avaliacoes-notas { max-width: var(--larg); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); }
.nota { display: flex; align-items: baseline; gap: 18px; padding-top: 22px; border-top: 2px solid var(--tinta); }
.nota strong { font-family: var(--serifa); font-weight: 400; font-size: clamp(4rem, 2.5rem + 6vw, 7.5rem); line-height: .9; color: var(--mata); }
.nota span { font-size: 1.05rem; color: var(--tinta-2); max-width: 14rem; }

/* Informações */
.informacoes {
  max-width: var(--larg); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--margem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: start;
}
.informacoes-foto { border-radius: var(--raio); overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: 96px; }
.informacoes-foto img { width: 100%; height: 118%; object-fit: cover; }
.informacoes-texto h2 { margin-bottom: 30px; }
.respostas { margin: 0 0 34px; display: grid; gap: 0; }
.respostas > div { padding: 18px 0; border-bottom: 1px solid rgba(28, 27, 24, .14); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 20px; }
.respostas dt { font-weight: 700; }
.respostas dd { margin: 0; color: var(--tinta-2); }

/* Rodapé */
.rodape { background: var(--mata); color: var(--creme); text-align: center; padding: clamp(80px, 10vw, 130px) var(--margem) 44px; }
.rodape-chamada { font-family: var(--serifa); font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem); line-height: 1.05; margin-bottom: 30px; }
.rodape-linhas { margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(244, 236, 224, .18); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: .9rem; color: rgba(244, 236, 224, .75); }
.rodape-linhas a { text-decoration: none; }
.rodape-linhas a:hover { text-decoration: underline; }

/* Estados iniciais do movimento (só com JS e sem movimento reduzido) */
.com-movimento [data-anim="subir"], .com-movimento [data-anim="nota"], .com-movimento [data-anim="angulo"] { opacity: 0; }
.com-movimento [data-anim="linha"], .com-movimento [data-anim="linha-scroll"] { transform: translateY(105%); }
.com-movimento [data-anim="passo"] { opacity: 0; }
.com-movimento [data-anim="janela"] { clip-path: inset(18% 18% 18% 18%); }
.com-movimento [data-anim="janela"] img { transform: scale(1.18); }

/* Tablet */
@media (max-width: 1024px) {
  .estrutura-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pousada, .informacoes { grid-template-columns: 1fr; }
  .informacoes-foto { position: relative; top: 0; max-width: 520px; }
  .reservar { grid-template-columns: 1fr; }
}

/* Celular */
@media (max-width: 760px) {
  .menu {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--margem) 20px;
    background: var(--papel); color: var(--tinta); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu a { padding: 14px 0; border-bottom: 1px solid rgba(28, 27, 24, .1); font-size: 1.05rem; }
  .menu.aberto { opacity: 1; visibility: visible; transform: none; }
  .menu-botao {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px;
    border: 0; background: transparent; color: inherit; padding: 10px; cursor: pointer;
  }
  .menu-botao span { display: block; height: 2px; background: currentColor; transition: transform .25s; }
  .menu-botao[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-botao[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .topo { gap: 10px; }
  .btn-topo span { display: none; }
  .btn-topo { padding: 8px 12px; }
  .marca-sub { font-size: .55rem; }
  .abertura-acoes .btn { width: 100%; justify-content: center; }
  .abertura-foto img { object-position: 50% 40%; }
  .abertura-foto::after {
    background: linear-gradient(180deg, rgba(12, 26, 20, .5) 0%, rgba(12, 26, 20, .1) 18%, rgba(12, 26, 20, .55) 42%, rgba(12, 26, 20, .9) 70%, rgba(12, 26, 20, .94) 100%);
  }
  .abertura-titulo { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .estrutura-lista { grid-template-columns: 1fr; gap: 28px; }
  .estrutura-lista li { flex-direction: row; align-items: flex-start; }
  .suites-palco { grid-template-columns: 1fr; min-height: 0; padding: 80px 0 70px; }
  .suites-texto { padding: 0 var(--margem); }
  .suites-janela { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .suites-janela::-webkit-scrollbar { display: none; }
  .suites-faixa { padding: 0 var(--margem); }
  .suites-faixa li { width: 74vw; scroll-snap-align: center; }
  .suites-faixa li:nth-child(even) { margin-top: 0; }
  .grupos-foto img { aspect-ratio: 4 / 3; }
  .grupos-texto { margin: -40px var(--margem) 0; }
  .avaliacoes-notas { grid-template-columns: 1fr; }
  .respostas > div { grid-template-columns: 1fr; gap: 4px; }
  .rodape .btn-grande { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .topo, .menu { transition: none; }
}
