/* Chalé Vista Alegre · prévia GlassDoc
   Referências: listagem do Airbnb (cartões com carrossel), barra de reserva de hotel e foto presa que troca com a rolagem.
   Paleta do próprio chalé: madeira escura, parede clara, tijolo. */
@font-face { font-family: 'Cabinet'; src: url(fonts/CabinetGrotesk-Variable.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Author'; src: url(fonts/Author-Variable.woff2) format('woff2'); font-weight: 200 700; font-display: swap; }
@font-face { font-family: 'Excon'; src: url(fonts/Excon-Variable.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Supreme'; src: url(fonts/Supreme-Variable.woff2) format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --escuro: #17110d;
  --claro: #f6f3ef;
  --papel: #fff;
  --tijolo: #b04f27;
  --tijolo-esc: #93401e;
  --texto: #221a14;
  --apoio: #5e5148;
  --fio: #e5ded6;
  --suave: #f0ebe5;
  --tit: 'Cabinet', system-ui, sans-serif;
  --txt: 'Author', system-ui, sans-serif;
  --peso: 800;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --lado: max(28px, calc((100vw - 1320px) / 2));
}
:root[data-gama="2"] { --tit: 'Excon', system-ui, sans-serif; --txt: 'Supreme', system-ui, sans-serif; --peso: 700; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--claro); color: var(--texto); font: 450 18px/1.6 var(--txt); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.travado { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
svg.zap, svg.air { fill: currentColor; stroke: none; }
h1, h2, h3 { font-family: var(--tit); font-weight: var(--peso); letter-spacing: -.028em; line-height: 1.02; margin: 0; padding-top: .06em; }
:focus-visible { outline: 2px solid var(--tijolo); outline-offset: 3px; }

/* ---------- Topo ---------- */
.topo { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; padding: 18px var(--lado); color: #fff; transition: transform .5s var(--ease), background .4s, padding .4s; }
.topo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(23, 17, 13, .72); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); opacity: 0; transition: opacity .4s; }
.topo.solido { padding-top: 12px; padding-bottom: 12px; }
.topo.solido::before { opacity: 1; }
.topo.escondido { transform: translateY(-110%); }
.marca { font: var(--peso) 24px/1 var(--tit); letter-spacing: -.03em; text-decoration: none; }
.topo-nav { display: flex; gap: 4px; margin-left: auto; }
.topo-nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 16.5px; transition: background .3s; }
.topo-nav a:hover { background: rgba(255, 255, 255, .12); }
.topo-res { min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; font-weight: 650; font-size: 16px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: background .3s; }
.topo-res:hover { background: rgba(255, 255, 255, .2); }

/* ---------- Abertura ---------- */
.abre { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--escuro); color: #fff; }
.abre-foto { position: absolute; inset: 0; clip-path: inset(var(--jan, 0px) round var(--jan-r, 0px)); }
.abre-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(var(--zoom, 1)); transform-origin: 50% 40%; }
.abre-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 10, 7, .45) 0%, rgba(14, 10, 7, 0) 22%, rgba(14, 10, 7, 0) 45%, rgba(14, 10, 7, .82) 100%); }
.abre-conteudo { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--lado) clamp(28px, 5.5vh, 56px); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.abre-onde { margin: 0 0 12px; font-size: 17px; color: #efe7df; }
.abre h1 { font-size: clamp(56px, 8.4vw, 132px); line-height: .92; letter-spacing: -.04em; }
.barra { flex: none; display: flex; align-items: stretch; background: var(--papel); color: var(--texto); border-radius: 20px; padding: 8px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.barra-campo { display: grid; gap: 2px; align-content: center; text-align: left; border: 0; background: none; padding: 8px 22px; min-width: 150px; border-radius: 14px; transition: background .25s; }
.barra-campo + .barra-campo { box-shadow: -1px 0 0 var(--fio); }
.barra-campo:hover { background: var(--suave); box-shadow: none; }
.barra-campo small { font-size: 13.5px; font-weight: 650; color: var(--apoio); }
.barra-campo span { font-size: 17px; font-weight: 600; white-space: nowrap; }
.barra-ir { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 14px; padding: 0 22px; margin-left: 6px; background: var(--tijolo); color: #fff; font-weight: 650; font-size: 17px; transition: background .3s; }
.barra-ir:hover { background: var(--tijolo-esc); }
.barra-ir svg { font-size: 20px; transition: transform .4s var(--ease); }
.barra-ir:hover svg { transform: translateX(3px); }

.anima .abre-texto > *, .anima .barra { opacity: 0; transform: translateY(24px); animation: sobe 1.1s var(--ease) forwards; }
.anima .abre-onde { animation-delay: .3s !important; }
.anima .abre h1 { animation-delay: .42s !important; }
.anima .barra { animation-delay: .7s; }
@keyframes sobe { to { opacity: 1; transform: none; } }

/* ---------- Chalés ---------- */
.chales { padding: 110px var(--lado) 90px; }
.chales-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; }
.chales h2 { font-size: clamp(38px, 4.6vw, 66px); }
.selo-air { display: flex; align-items: center; gap: 16px; max-width: 360px; }
.selo-air .air { flex: none; font-size: 40px; color: #ff385c; }
.selo-air b { display: block; font: var(--peso) 22px/1.2 var(--tit); letter-spacing: -.02em; }
.selo-air span { font-size: 15.5px; color: var(--apoio); line-height: 1.4; display: block; }
.lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ch { display: grid; gap: 14px; cursor: pointer; }
.ch-fotos { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--fio); }
.ch-trilho { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ch-trilho::-webkit-scrollbar { display: none; }
.ch-trilho img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.ch-seta { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--texto); font-size: 18px; opacity: 0; transition: opacity .3s, transform .3s var(--ease); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.ch-seta.ant { left: 12px; } .ch-seta.prox { right: 12px; }
.ch-seta:hover { transform: scale(1.06); }
.ch:hover .ch-seta, .ch-seta:focus-visible { opacity: 1; }
.ch-pontos { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.ch-pontos i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background .3s, transform .3s; }
.ch-pontos i.on { background: #fff; transform: scale(1.2); }
.ch-tag { position: absolute; left: 14px; top: 14px; padding: 7px 13px; border-radius: 999px; background: var(--papel); font-size: 14.5px; font-weight: 650; box-shadow: 0 4px 14px rgba(0, 0, 0, .14); }
.ch-linha { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ch h3 { font-size: 28px; letter-spacing: -.02em; }
.ch-nota { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 16.5px; white-space: nowrap; }
.ch-nota svg { fill: currentColor; stroke: none; font-size: 14px; }
.ch-nota span { color: var(--apoio); font-weight: 450; }
.ch p { margin: -8px 0 0; color: var(--apoio); font-size: 16.5px; line-height: 1.45; }
.ch-ver { justify-self: start; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; font-weight: 650; font-size: 16.5px; color: var(--tijolo); }
.ch-ver svg { transition: transform .35s var(--ease); }
.ch:hover .ch-ver svg { transform: translateX(4px); }
.todos-tem { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--fio); color: var(--apoio); font-size: 17px; max-width: 70ch; }

/* ---------- Um dia aqui ---------- */
.dia { position: relative; background: var(--escuro); color: #fff; }
.dia-palco { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.dia-palco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.1s var(--ease), transform 6s linear; }
.dia-palco img.on { opacity: 1; transform: scale(1); }
.dia-palco::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 10, 7, .55) 0%, rgba(14, 10, 7, 0) 30%, rgba(14, 10, 7, 0) 50%, rgba(14, 10, 7, .8) 100%); }
.dia-tit { position: absolute; top: 96px; left: var(--lado); z-index: 2; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.015em; color: #f2ebe4; }
.dia-passos { list-style: none; margin: -100svh 0 0; padding: 0; position: relative; z-index: 2; }
.dia-passos li { height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--lado) 13vh; }
.dia-passos .hora-mask { display: block; overflow: hidden; padding-top: .08em; }
.dia-passos .hora { display: block; font: var(--peso) clamp(96px, 13vw, 200px)/.85 var(--tit); letter-spacing: -.05em; color: #fff; text-shadow: 0 2px 40px rgba(0, 0, 0, .35); transform: translateY(105%); transition: transform 1.1s var(--ease); }
.dia-passos .linha { display: block; width: min(360px, 70vw); height: 2px; margin: 22px 0 18px; background: rgba(255, 255, 255, .25); border-radius: 2px; overflow: hidden; }
.dia-passos .linha::after { content: ''; display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .25s; }
.dia-passos .txt { font: 700 clamp(30px, 3.4vw, 52px)/1.08 var(--tit); letter-spacing: -.025em; max-width: 16ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.dia-passos .txt span { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(6px); transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s; transition-delay: calc(.35s + var(--i) * 70ms); }
.dia-passos li.ativo .hora { transform: none; }
.dia-passos li.ativo .linha::after { transform: scaleX(1); }
.dia-passos li.ativo .txt span { opacity: 1; transform: none; filter: none; }
.dia-palco::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 80% at 0% 100%, rgba(14, 10, 7, .7) 0%, rgba(14, 10, 7, 0) 60%); }
.dia-palco img.on { animation: aproxima 7s linear forwards; }
@keyframes aproxima { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .dia-passos .hora, .dia-passos .txt span { transform: none; opacity: 1; filter: none; transition: none; } .dia-passos .linha::after { transform: scaleX(1); } .dia-palco img.on { animation: none; } }
.dia-pontos { position: absolute; right: var(--lado); top: 50%; translate: 0 -50%; z-index: 3; display: grid; gap: 10px; }
.dia-pontos i { display: block; width: 4px; height: 26px; border-radius: 4px; background: rgba(255, 255, 255, .3); transition: background .4s, height .4s var(--ease); }
.dia-pontos i.on { background: #fff; height: 46px; }

/* ---------- Avaliações ---------- */
.aval { padding: 100px 0 100px var(--lado); }
.aval-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-right: var(--lado); margin-bottom: 34px; }
.aval h2 { font-size: clamp(38px, 4.6vw, 66px); }
.aval-cab p { margin: 0; max-width: 34ch; color: var(--apoio); font-size: 17px; }
.aval-trilho { display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 82vw); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--lado) 8px 0; scroll-padding-left: 0; scrollbar-width: none; }
.aval-trilho::-webkit-scrollbar { display: none; }
.av { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 18px; background: var(--papel); }
.av-topo { display: flex; align-items: center; gap: 12px; }
.av-foto { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-weight: 700; flex: none; }
.av-nome { font-weight: 650; line-height: 1.2; }
.av-quando { font-size: 14.5px; color: var(--apoio); }
.av-fonte { margin-left: auto; width: 22px; height: 22px; flex: none; }
.av-estrelas { color: var(--texto); letter-spacing: 2px; font-size: 15px; line-height: 1; }
.av p { margin: 0; font-size: 18px; line-height: 1.55; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--escuro); color: #efe8e1; padding: 96px var(--lado) 34px; }
.rodape-grade { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.rodape h2 { font-size: clamp(38px, 4.6vw, 66px); color: #fff; }
.end { margin: 20px 0 10px; font-size: 20px; color: #fff; }
.perto { margin: 0 0 28px; color: #c9bdb2; max-width: 40ch; }
.rodape-bts { display: flex; flex-wrap: wrap; gap: 10px; }
.bt { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16.5px; transition: background .3s; }
.bt-claro { background: #fff; color: var(--texto); }
.bt-claro:hover { background: #ece5de; }
.bt-linha { border: 1px solid rgba(255, 255, 255, .22); }
.bt-linha:hover { background: rgba(255, 255, 255, .08); }
.bt .zap { font-size: 19px; }
.mapa { position: relative; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: #2a211b; }
.mapa img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .4s, transform 1.2s var(--ease); }
.mapa:hover img { opacity: .9; transform: scale(1.03); }
.mapa-bt { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 13px 22px; border-radius: 999px; color: #fff; background: rgba(23, 17, 13, .45); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-weight: 600; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rodape-pe { margin-top: 80px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; color: #b3a69a; font-size: 15.5px; }

/* ---------- Botão do celular ---------- */
.cel-res { display: none; }

/* ---------- Gaveta ---------- */
.gaveta { position: fixed; inset: 0; z-index: 60; }
.gaveta[hidden] { display: none; }
.gaveta-fundo { position: absolute; inset: 0; background: rgba(14, 10, 7, .55); opacity: 0; transition: opacity .45s; }
.gaveta-painel { position: absolute; top: 0; right: 0; bottom: 0; width: min(1120px, 96vw); background: var(--claro); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .6s var(--ease); }
.gaveta.aberta .gaveta-fundo { opacity: 1; }
.gaveta.aberta .gaveta-painel { transform: none; }
.g-topo { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 16px; padding: 14px 28px; background: rgba(246, 243, 239, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--fio); }
.g-abas { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.g-abas button { flex: none; display: flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 12px; border: 0; background: none; font-weight: 600; font-size: 16px; color: var(--apoio); transition: background .25s, color .25s; }
.g-abas img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.g-abas button:hover { background: var(--suave); }
.g-abas button[aria-selected="true"] { background: var(--escuro); color: #fff; }
.g-fechar { margin-left: auto; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--suave); font-size: 20px; }
.g-corpo { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 40px; padding: 30px 28px 48px; align-items: start; }
.g-info h2 { font-size: clamp(38px, 4vw, 56px); }
.g-sub { margin: 8px 0 22px; color: var(--apoio); font-size: 17px; }
.g-sub b { color: var(--texto); }
.mosaico { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 170px); gap: 8px; border-radius: 16px; overflow: hidden; }
.mosaico button { position: relative; padding: 0; border: 0; background: var(--fio); overflow: hidden; }
.mosaico button:first-child { grid-row: span 2; }
.mosaico img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.mosaico button:hover img { transform: scale(1.04); filter: brightness(.92); }
.mosaico .mais { position: absolute; right: 10px; bottom: 10px; padding: 8px 13px; border-radius: 10px; background: var(--papel); font-size: 14.5px; font-weight: 650; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.tem { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 14px; }
.tem li { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 1.25; }
.tem svg { flex: none; font-size: 24px; color: var(--tijolo); }
.regras { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--fio); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.regras dt { font-size: 14.5px; color: var(--apoio); }
.regras dd { margin: 2px 0 0; font-weight: 600; font-size: 16px; }

.res { position: sticky; top: 92px; display: grid; gap: 16px; padding: 22px; border-radius: 20px; background: var(--papel); box-shadow: 0 24px 60px -34px rgba(23, 17, 13, .45); }
.res h3 { font-size: 24px; letter-spacing: -.02em; }
.campo { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.rotulo { padding: 0; font-size: 15px; font-weight: 650; }
.opcoes { display: flex; flex-wrap: wrap; gap: 6px; }
.opcoes label { position: relative; }
.opcoes input { position: absolute; opacity: 0; pointer-events: none; }
.opcoes span { display: block; padding: 9px 13px; border-radius: 10px; background: var(--suave); font-size: 15.5px; cursor: pointer; transition: background .25s, color .25s; }
.opcoes label:hover span { background: #e7e0d8; }
.opcoes input:checked + span { background: var(--escuro); color: #fff; }
.opcoes input:focus-visible + span { outline: 2px solid var(--tijolo); outline-offset: 2px; }
.datas { display: grid; grid-template-columns: 1fr 1fr; border-radius: 12px; background: var(--suave); overflow: hidden; }
.data-bt { border: 0; background: none; padding: 11px 14px; text-align: left; display: grid; gap: 2px; }
.data-bt + .data-bt { border-left: 1px solid #e0d8cf; }
.data-bt small { font-size: 13.5px; color: var(--apoio); font-weight: 650; }
.data-bt span { font-size: 16.5px; font-weight: 600; }
.cal-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal-topo strong { font-weight: 650; font-size: 17px; }
.cal-nav { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--suave); font-size: 18px; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-sem, .cal-dias { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal-sem span { font-size: 13.5px; color: var(--apoio); padding: 4px 0; font-weight: 600; }
.dia-c { position: relative; height: 42px; border: 0; background: none; font-size: 16px; font-variant-numeric: tabular-nums; z-index: 0; }
.dia-c::before { content: ''; position: absolute; inset: 2px; border-radius: 50%; z-index: -1; transition: background .2s; }
.dia-c:hover:not(:disabled)::before { background: var(--suave); }
.dia-c:disabled { color: #cbc2b9; cursor: default; }
.dia-c.hoje { font-weight: 700; }
.dia-c.meio { background: #f4e5dc; }
.dia-c.ini.tem-fim { background: linear-gradient(90deg, transparent 50%, #f4e5dc 50%); }
.dia-c.fim { background: linear-gradient(90deg, #f4e5dc 50%, transparent 50%); }
.dia-c.ini, .dia-c.fim { color: #fff; font-weight: 700; }
.dia-c.ini::before, .dia-c.fim::before { background: var(--tijolo) !important; }
.dia-c.antes { color: #cbc2b9; }
.cal-dica { margin: 6px 0 0; font-size: 15.5px; color: var(--apoio); min-height: 1.5em; }
.cal-dica b { color: var(--texto); }
.linha2 { display: grid; grid-template-columns: auto 1fr; gap: 22px; }
.passo { display: inline-flex; align-items: center; gap: 4px; border-radius: 12px; background: var(--suave); padding: 4px; }
.passo button { width: 38px; height: 38px; border-radius: 9px; border: 0; background: var(--papel); font-size: 20px; line-height: 1; }
.passo button:disabled { opacity: .35; cursor: default; }
.passo output { min-width: 30px; text-align: center; font-weight: 650; }
.chave { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 46px; font-size: 16px; }
.chave input { position: absolute; opacity: 0; }
.chave i { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #dbd2c8; transition: background .25s; flex: none; }
.chave i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.chave input:checked + i { background: var(--tijolo); }
.chave input:checked + i::after { transform: translateX(18px); }
.chave input:focus-visible + i { outline: 2px solid var(--tijolo); outline-offset: 2px; }
.texto { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid #e0d8cf; background: var(--papel); font: inherit; font-size: 16.5px; color: var(--texto); }
.texto:focus { outline: none; border-color: var(--texto); }
.balao { margin: 0; padding: 12px 14px; border-radius: 4px 14px 14px 14px; background: #e7f6dc; color: #1d2a16; font-size: 15.5px; line-height: 1.5; white-space: pre-line; }
.enviar { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 14px; background: var(--tijolo); color: #fff; text-decoration: none; font-weight: 650; font-size: 17.5px; transition: background .3s; }
.enviar:hover { background: var(--tijolo-esc); }
.enviar .zap { font-size: 22px; }
.enviar[aria-disabled="true"] { background: #d2c8be; pointer-events: none; }
.res-pe { margin: -4px 0 0; text-align: center; font-size: 14.5px; color: var(--apoio); }

/* ---------- Tela cheia ---------- */
.luz { position: fixed; inset: 0; z-index: 80; background: #0d0a08; color: #fff; display: grid; grid-template-rows: auto 1fr; }
.luz[hidden] { display: none; }
.luz-topo { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 16px; }
.luz-bt { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); font-size: 22px; color: #fff; }
.luz-fig { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; min-height: 0; padding: 0 84px 22px; }
.luz-fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; min-height: 0; }
.luz-fig figcaption { margin-top: 12px; color: #d8cec5; }
.luz-nav { position: absolute; top: 50%; translate: 0 -50%; }
.luz-nav.ant { left: 18px; } .luz-nav.prox { right: 18px; }

/* ---------- Revelação ---------- */
.anima .rev { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.anima .rev.visto { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .abre-conteudo { flex-direction: column; align-items: stretch; gap: 26px; }
  .barra { align-self: flex-start; }
  .g-corpo { grid-template-columns: minmax(0, 1fr); }
  .res { position: static; }
  .tem, .regras { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .topo-nav { display: none; }
  .topo-res { margin-left: auto; }
  .lista { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--lado) * -1); padding: 0 var(--lado) 4px; scroll-padding: 0 var(--lado); scrollbar-width: none; }
  .lista::-webkit-scrollbar { display: none; }
  .ch { scroll-snap-align: start; }
  .chales-cab, .aval-cab { flex-direction: column; align-items: flex-start; }
  .rodape-grade { grid-template-columns: 1fr; }
}

/* ---------- Celular ---------- */
@media (max-width: 640px) {
  :root { --lado: 20px; }
  body { font-size: 17px; }
  .topo { padding-top: 14px; padding-bottom: 14px; }
  .marca { font-size: 21px; }
  .topo-res { min-height: 42px; padding: 0 18px; font-size: 15.5px; }
  .abre { min-height: 600px; }
  .abre h1 { font-size: clamp(52px, 15.5vw, 74px); }
  .barra { align-self: stretch; padding: 6px; border-radius: 18px; }
  .barra-campo { min-width: 0; flex: 1; padding: 8px 12px; }
  .barra-campo:first-child { display: none; }
  .barra-campo:nth-child(2) { box-shadow: none; }
  .barra-campo span { font-size: 16px; }
  .barra-ir { padding: 0 16px; margin-left: 4px; }
  .barra-ir span { display: none; }
  .barra-ir svg { font-size: 22px; }
  .chales { padding: 76px var(--lado) 64px; }
  .chales-cab { margin-bottom: 28px; gap: 22px; }
  .lista { grid-auto-columns: 86%; gap: 14px; }
  .ch-seta { display: none; }
  .ch h3 { font-size: 25px; }
  .dia-tit { top: 84px; }
  .dia-passos li { padding-bottom: 22vh; }
  .dia-pontos { right: 14px; }
  .aval { padding: 76px 0 76px var(--lado); }
  .av { padding: 22px; }
  .av p { font-size: 17px; }
  .rodape { padding-top: 76px; padding-bottom: 100px; }
  .rodape-pe { margin-top: 56px; flex-direction: column; align-items: flex-start; }
  .cel-res { position: fixed; z-index: 25; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border: 0; border-radius: 18px; background: var(--tijolo); color: #fff; text-align: left; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); transition: transform .5s var(--ease), opacity .4s; }
  .cel-res.some { transform: translateY(150%); opacity: 0; }
  .cel-res b { display: block; font-size: 17px; }
  .cel-res small { font-size: 14px; opacity: .88; }
  .cel-res i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .16); font-size: 22px; }
  .gaveta-painel { width: 100%; transform: translateY(100%); }
  .g-topo { padding: 10px 12px; gap: 8px; }
  .g-abas button { padding: 4px 10px 4px 4px; font-size: 15px; gap: 8px; }
  .g-abas img { width: 34px; height: 34px; }
  .g-fechar { width: 42px; height: 42px; }
  .g-corpo { padding: 22px 16px 40px; gap: 28px; }
  .mosaico { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 0; margin: 0 -16px; padding: 0 16px; gap: 8px; scrollbar-width: none; }
  .mosaico::-webkit-scrollbar { display: none; }
  .mosaico button { flex: 0 0 84%; aspect-ratio: 4 / 3.2; border-radius: 14px; scroll-snap-align: center; }
  .mosaico .mais { display: none; }
  .tem { gap: 14px 10px; }
  .res { padding: 18px 14px; }
  .linha2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .luz-fig { padding: 0 0 80px; }
  .luz-nav { top: auto; bottom: 18px; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  .anima .abre-texto > *, .anima .barra, .anima .rev { opacity: 1; transform: none; animation: none; transition: none; }
  .dia-palco img { transition: opacity .3s; transform: none !important; }
  html { scroll-behavior: auto; }
}
