/* Site público (ADENDO-001). Galada nos títulos e Albert Sans no resto, WOFF2 próprias (font-src 'self'). */

@font-face {
    font-family: Galada;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/_ativos/fontes/galada-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Albert Sans";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("/_ativos/fontes/albert-sans-latin.woff2") format("woff2");
}

/* Reservas sobre Arial com a largura e as métricas da fonte real (CLS da troca). */
@font-face {
    font-family: "Galada Fallback";
    src: local("Arial"), local("Liberation Sans"), local("Helvetica");
    size-adjust: 86.5%;
    ascent-override: 119.7%;
    descent-override: 68.5%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "Albert Sans Fallback";
    src: local("Arial"), local("Liberation Sans"), local("Helvetica");
    size-adjust: 103.4%;
    ascent-override: 91.9%;
    descent-override: 24.2%;
    line-gap-override: 0%;
}
/* DEC-38 R-7: só com html.p-fonte; block porque o script do <head> a pré-carrega. */
@font-face {
    font-family: "Atkinson Hyperlegible Next";
    font-style: normal;
    font-weight: 400 700;
    font-display: block;
    src: url("/_ativos/fontes/atkinson-hyperlegible-next-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Atkinson Fallback";
    src: local("Arial"), local("Liberation Sans"), local("Helvetica");
    size-adjust: 99.1%;
    ascent-override: 99.3%;
    descent-override: 31.9%;
    line-gap-override: 0%;
}

:root {
    --creme: #f1eadf;
    --areia: #e5d9c6;
    --campo: #e8decf;
    --linha: #d6c8b4;
    --borda: #bfae98;
    --terracota: #a9542f;
    --terracota-hover: #8e4425;
    --terracota-claro: #d98b63;
    /* Branco sobre terracota: 5,25:1 (o creme dá 4,39:1). */
    --sobre-terracota: #fff;
    --cafe: #2b2118;
    --cafe-2: #3a2e23;
    --cafe-linha: #4a3c2f;
    --texto-2: #5a4a3c;
    --texto-3: #6b5a4a;
    --texto-escuro-2: #cbbfae;
    /* Ponto inativo: 3,2:1 sobre a areia (WCAG 1.4.11). */
    --ponto: #857562;
    --bege-claro: #faf9f5;
    --fonte-titulo: Galada, "Galada Fallback", "Brush Script MT", cursive;
    --fonte-texto: "Albert Sans", "Albert Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --lateral: clamp(20px, 4vw, 56px);
    /* Padrão de espaço (02/11/2026): --vertical do fim da seção anterior ao título, --vao-titulo do título ao conteúdo. */
    --vertical: clamp(40px, min(7vw, 9vh), 96px);
    --vao-titulo: clamp(20px, min(3vw, 4vh), 40px);
    /* Altura da barra de reserva na base, com folga; no desktop o site.js grava a medida real. */
    --barra-reserva: 92px;
    /* Faixa dos fixos da base: 164 + 8 px (DEC-36 §5.6, WCAG 2.4.11). */
    --zona-inferior: calc(172px + env(safe-area-inset-bottom, 0px));
    --largura-maxima: 1360px;
    --suave: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-bottom: calc(var(--zona-inferior) + 8px); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--fonte-texto);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--cafe);
    background: var(--creme);
    overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
/* Link no tom escuro: 6,2:1 sobre o creme. */
a { color: var(--terracota-hover); }
a:hover { color: var(--cafe); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0 0 1rem; font-family: var(--fonte-titulo); font-weight: 400; line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: 24px; }

.miolo { max-width: calc(var(--largura-maxima) + 2 * var(--lateral)); margin-inline: auto; padding-inline: var(--lateral); }
.centro { text-align: center; }
.visualmente-oculto, .hero__titulo-do-video, .contato__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Foco em duas cores (DEC-36 A-03): café por dentro, branco por fora. */
:focus-visible { outline: 3px solid var(--cafe); outline-offset: 2px; box-shadow: 0 0 0 6px #fff; }
[tabindex="-1"]:focus { outline: none; }

.pular { position: absolute; left: -999px; top: 0; z-index: 100; padding: 0.5rem 1rem; background: var(--cafe); color: var(--creme); }
.pular:focus { left: 0; }

.botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--terracota);
    color: var(--sobre-terracota);
    font: 600 0.9375rem/1.2 var(--fonte-texto);
    text-decoration: none;
    cursor: pointer;
}
.botao:hover { background: var(--terracota-hover); color: var(--sobre-terracota); }
.botao--alto { min-height: 58px; font-size: 1.0625rem; }
.botao--contorno-claro { border-color: var(--texto-3); background: transparent; color: var(--creme); }
.botao--contorno-claro:hover { border-color: var(--creme); background: transparent; }

/* Topo */
.topo { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--creme); }
.topo--solido { position: relative; background: var(--cafe); }
.topo__barra { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--lateral); }
.topo__logo { flex: none; text-decoration: none; }
.topo__logo img, .menu-movel__logo { width: auto; height: calc(60px * var(--escala-logo, 0.7)); max-height: 192px; max-width: 60vw; object-fit: contain; filter: brightness(0) invert(1); }
.topo__nome { display: block; color: var(--creme); font: 400 1.75rem/1.2 var(--fonte-titulo); }
.topo__nav { display: none; }
.topo__nav ul { display: flex; gap: 20px; }
.topo__nav a { color: var(--creme); font-size: 1rem; font-weight: 500; text-decoration: none; white-space: nowrap; text-shadow: 0 1px 8px rgb(43 33 24 / 0.35); }
.topo__nav a:hover, .topo__nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.topo__acoes { display: flex; align-items: center; gap: 12px; }
.topo__reservar { display: none; padding: 12px 26px; border-radius: 999px; background: var(--creme); color: var(--cafe); font-size: 0.9375rem; font-weight: 600; line-height: 1.6; text-decoration: none; }
.topo__reservar:hover { background: #fff; }
.topo__menu-botao {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgb(241 234 223 / 0.6);
    border-radius: 50%;
    background: rgb(43 33 24 / 0.25);
    cursor: pointer;
}
.topo__menu-botao span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--creme); }

/* Menu do celular em tela cheia (popover). */
.menu-movel { display: none; }
.menu-movel:popover-open {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 22px 20px 28px;
    border: 0;
    background: var(--cafe);
    color: var(--creme);
}
.menu-movel__cabeca { display: flex; align-items: center; justify-content: space-between; }
.menu-movel__fechar { position: relative; width: 48px; height: 48px; padding: 0; border: 1px solid var(--texto-3); border-radius: 50%; background: transparent; color: var(--creme); cursor: pointer; }
:is(.menu-movel__fechar, .reserva-painel__fechar, .lightbox__fechar, .a11y__fechar)::before, :is(.menu-movel__fechar, .reserva-painel__fechar, .lightbox__fechar, .a11y__fechar)::after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
:is(.menu-movel__fechar, .reserva-painel__fechar, .lightbox__fechar, .a11y__fechar)::after { transform: translate(-50%, -50%) rotate(-45deg); }
.menu-movel__nav { margin-top: 48px; }
.menu-movel__nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--cafe-linha); color: var(--creme); font: 2.125rem/1.2 var(--fonte-titulo); text-decoration: none; }
.menu-movel__idiomas ul { display: flex; gap: 16px; margin-top: 20px; }
.menu-movel__idiomas a { color: var(--creme); font-weight: 600; }
.menu-movel__acoes { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 24px; }
.menu-movel__acoes .botao { width: 100%; }

/* Hero */
.hero { position: relative; height: max(min(100svh, 900px), 480px); overflow: hidden; background: var(--cafe); color: var(--creme); }
.hero__faixa { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero__faixa::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
:is(.hero__slide, .cartao__foto, .zigue__foto, .post__foto, .topo-de-pagina__imagem, .galeria) :is(picture, img) { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(43 33 24 / 0.6) 0%, rgb(43 33 24 / 0) 22%, rgb(43 33 24 / 0) 50%, rgb(43 33 24 / 0.78) 100%); pointer-events: none; }
/* Vídeo invisível até o playing (site.js): nunca é o LCP nem muda o layout. */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.hero__video--tocando { opacity: 1; }
.hero--com-mobile .hero__slide--desktop, .hero__slide--tablet { display: none; }
.hero__base { position: absolute; inset: auto 0 0; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 var(--lateral) clamp(20px, 2.6vw, 48px); }
/* A-15: sem o vídeo tocando (classe, p-mov ou sem JS), o título ocupa o lugar da frase gravada nele. */
.hero__titulo, :is(.hero--sem-video, .p-mov, html:not(.js)) .hero__titulo-do-video { align-self: stretch; width: 100%; max-width: var(--largura-maxima); margin: 0 auto; color: #fff; font: 400 clamp(1.75rem, 2.8vw, 2.625rem)/1.2 var(--fonte-titulo); text-shadow: 0 1px 12px rgb(43 33 24 / 0.55); }
:is(.hero--sem-video, .p-mov, html:not(.js)) .hero__titulo-do-video { position: static; height: auto; overflow: visible; clip-path: none; white-space: normal; }
.hero__base .reserva-faixa { width: 100%; max-width: 1000px; }
/* A-01 (WCAG 2.2.2): pausa do vídeo, fora do fluxo. */
.hero__pausa { position: absolute; right: var(--lateral); bottom: calc(100% + 8px); width: 44px; height: 44px; padding: 0; border: 1px solid rgb(241 234 223 / 0.6); border-radius: 50%; background: rgb(43 33 24 / 0.55); color: var(--creme); cursor: pointer; }
.hero__pausa::before, .hero__pausa::after { content: ""; position: absolute; top: 50%; width: 4px; height: 14px; background: currentColor; transform: translateY(-50%); }
.hero__pausa::before { left: calc(50% - 6px); }
.hero__pausa::after { left: calc(50% + 2px); }
.hero__pausa[aria-pressed="true"]::before { left: calc(50% - 4px); width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; background: none; }
.hero__pausa[aria-pressed="true"]::after { display: none; }
/* A-13: anel de foco por dentro da faixa. */
.hero__faixa:focus-visible { outline-offset: -9px; box-shadow: inset 0 0 0 9px #fff; }

/* Reserva */
.reserva-faixa { position: relative; }
.reserva-pilula, .barra-reserva {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 0;
    border-radius: 999px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.reserva-pilula { min-height: 72px; padding: 12px 12px 12px 22px; background: var(--creme); color: var(--cafe); }
.reserva-resumo { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.reserva-resumo__datas { font-size: 1rem; font-weight: 600; }
.reserva-resumo__hospedes { color: var(--texto-3); font-size: 0.875rem; }
.reserva-pilula__acao, .barra-reserva__acao { display: flex; flex: none; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--terracota); color: var(--sobre-terracota); font-weight: 600; }

/* Barra fixa do celular: aparece quando a pílula sai da tela (site.js). */
.barra-reserva {
    position: fixed;
    inset: auto 12px 12px;
    z-index: 30;
    width: auto;
    min-height: 64px;
    padding: 8px 8px 8px 22px;
    background: var(--cafe);
    color: var(--creme);
    box-shadow: 0 8px 28px rgb(43 33 24 / 0.35);
    transition: transform 0.4s var(--suave), visibility 0.4s;
}
.barra-reserva .reserva-resumo__datas { font-size: 0.9375rem; }
.barra-reserva .reserva-resumo__hospedes { color: var(--texto-escuro-2); font-size: 0.8125rem; }
.barra-reserva:not(.barra-reserva--visivel) { visibility: hidden; transform: translateY(calc(100% + 24px)); }
/* A-02 (WCAG 2.2.2): dois ciclos, 4,8 s. */
.barra-reserva__acao { animation: pulso 2.4s ease-in-out 2; }
@keyframes pulso { 50% { transform: scale(1.04); } }
body:has(:popover-open) .barra-reserva { display: none; }

/* Painel de reserva (bottom sheet) no celular. */
.reserva-painel { display: none; }
.reserva-painel:popover-open {
    position: fixed;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: none;
    max-height: 92dvh;
    margin: 0;
    padding: 10px 20px 24px;
    overflow-y: auto;
    border: 0;
    border-radius: 28px 28px 0 0;
    background: var(--creme);
    color: var(--cafe);
    transition: transform 0.35s var(--suave), overlay 0.35s allow-discrete, display 0.35s allow-discrete;
}
@starting-style { .reserva-painel:popover-open { transform: translateY(100%); } }
.reserva-painel::backdrop { background: rgb(43 33 24 / 0.55); }
.menu-movel::backdrop { background: var(--cafe); }
.reserva-painel__alca { width: 40px; height: 4px; margin: 0 auto; border-radius: 4px; background: var(--borda); }
.reserva-painel__cabeca { display: flex; align-items: center; justify-content: space-between; }
.reserva-painel__titulo { margin: 0; font: 1.75rem/1.2 var(--fonte-titulo); }
.reserva-painel__fechar { position: relative; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--borda); border-radius: 50%; background: transparent; color: var(--cafe); cursor: pointer; }
.reserva-painel__whatsapp { margin: 0; padding: 6px; text-align: center; font-size: 0.9375rem; font-weight: 600; }

.reserva__campos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.reserva__campo { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 13px 15px; border: 1px solid var(--ponto); border-radius: 16px; background: var(--areia); }
.reserva__campo label, .reserva__dica { color: var(--texto-3); font-size: 0.8125rem; line-height: 1.4; }
.reserva__campo input { width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; font: 1rem/1.5 var(--fonte-texto); }
.reserva__campo--contador, .reserva__campo--codigo, .reserva__enviar { grid-column: 1 / -1; }
.reserva__campo--contador {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    grid-template-areas: "rotulo menos valor mais";
    align-items: center;
    gap: 0 14px;
    min-height: 68px;
    padding-block: 7px;
}
.reserva__campo--contador:has(+ .reserva__campo--contador) { border-radius: 16px 16px 0 0; border-bottom: 1px solid var(--linha); }
.reserva__campo--contador + .reserva__campo--contador { margin-top: -8px; border-top: 0; border-radius: 0 0 16px 16px; }
.reserva__rotulo { grid-area: rotulo; display: flex; flex-direction: column; }
.reserva__campo--contador label { color: var(--cafe); font-size: 1rem; font-weight: 600; }
.contador__botao { position: relative; width: 44px; height: 44px; padding: 0; border: 1px solid var(--borda); border-radius: 50%; background: var(--creme); color: var(--cafe); font: 400 1.25rem/1 var(--fonte-texto); cursor: pointer; }
.contador__botao--menos { grid-area: menos; }
.contador__botao--mais { grid-area: mais; }
.contador__botao--menos::before { content: "\2212"; }
.contador__botao--mais::before { content: "+"; }
.contador__botao[aria-disabled="true"] { opacity: 0.4; cursor: default; }
.contador__valor {
    grid-area: valor;
    min-width: 1.5em;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cafe);
    font: 600 1.125rem/1.4 var(--fonte-texto);
    text-align: center;
    text-align-last: center;
    appearance: none;
    cursor: pointer;
}
.reserva__enviar { min-height: 58px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--terracota); color: var(--sobre-terracota); font: 600 1.0625rem/1.2 var(--fonte-texto); cursor: pointer; }
.reserva__enviar:hover { background: var(--terracota-hover); }
.reserva__idades { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0; padding: 0; border: 0; }
.reserva__idades legend { float: left; margin-right: 4px; color: var(--texto-3); font-size: 0.8125rem; }
.reserva__idades select { min-height: 40px; padding: 0 10px; border: 1px solid var(--ponto); border-radius: 12px; background: var(--campo); color: var(--cafe); font: 0.9375rem var(--fonte-texto); }
/* Um seletor de idade por criança, sem JS: com N crianças, somem os seletores depois do N-ésimo. */
.reserva:has(#reserva-criancas option[value="0"]:checked) .reserva__idades { display: none; }
.reserva:has(#reserva-criancas option[value="1"]:checked) .reserva__idades select:nth-of-type(n+2),
.reserva:has(#reserva-criancas option[value="2"]:checked) .reserva__idades select:nth-of-type(n+3),
.reserva:has(#reserva-criancas option[value="3"]:checked) .reserva__idades select:nth-of-type(n+4),
.reserva:has(#reserva-criancas option[value="4"]:checked) .reserva__idades select:nth-of-type(n+5),
.reserva:has(#reserva-criancas option[value="5"]:checked) .reserva__idades select:nth-of-type(n+6),
.reserva:has(#reserva-criancas option[value="6"]:checked) .reserva__idades select:nth-of-type(n+7),
.reserva:has(#reserva-criancas option[value="7"]:checked) .reserva__idades select:nth-of-type(n+8),
.reserva:has(#reserva-criancas option[value="8"]:checked) .reserva__idades select:nth-of-type(n+9) { display: none; }
.reserva__notas { margin: 8px 4px 0; color: var(--texto-2); font-size: 0.8125rem; }
.reserva__notas p { display: inline; }
/* A-07: erro da busca ao lado do campo (422). */
.reserva__erro { margin: 0; color: var(--terracota-hover); font-size: 0.8125rem; font-weight: 600; line-height: 1.4; }
.reserva__campo:has([aria-invalid="true"]) { border-color: var(--terracota-hover); }
.reserva__erro--contador { grid-column: 1 / -1; padding-top: 4px; }
.reserva-erro__lista { margin: 0 auto 2rem; text-align: left; display: inline-block; }
.reserva-erro__lista li { list-style: disc; margin-left: 1.25em; }
main > .reserva-erro { max-width: calc(1000px + 2 * var(--lateral)); margin: 0 auto var(--vertical); padding-inline: var(--lateral); }

.contato-alternativo { padding: 24px; border-radius: 24px; background: var(--creme); color: var(--cafe); text-align: center; }
.contato-alternativo .botao { margin: 4px; }

/* Seções */
.secao { padding-block: var(--vertical); }
/* Seções seguidas no mesmo fundo e a primeira depois do topo da página: um vão só, não dois. */
.zigue + :is(.zigue, .secao--depoimentos), :is(.secao.miolo, .topo-de-pagina) + .secao.miolo { padding-top: 0; }
.secao__titulo { margin: 0 0 var(--vao-titulo); color: var(--cafe); font: clamp(2rem, 3vw, 3rem)/1.1 var(--fonte-titulo); text-align: center; }
.secao__descricao, .zigue__descricao, .comodidades__descricao { max-width: 52ch; margin: calc(0.75rem - var(--vao-titulo)) auto var(--vao-titulo); text-align: center; }
.secao--depoimentos, .secao--blog, .rodape { content-visibility: auto; contain-intrinsic-size: auto 40rem; }


/* Carrossel sobreposto */
.secao--acomodacoes { overflow-x: clip; background: var(--areia); }
.vitrine__cabeca { margin-bottom: var(--vao-titulo); }
.vitrine__titulo { margin: 0; color: var(--cafe); font: clamp(2rem, 2.6vw, 2.75rem)/1.15 var(--fonte-titulo); text-align: center; }
.vitrine__texto { max-width: 46rem; margin: 12px auto 0; color: var(--texto-2); line-height: 1.6; text-align: center; }
.vitrine__cta { margin: var(--vao-titulo) 0 0; }

/* isolation: os z-index dos cartões ficam presos ao carrossel, abaixo da barra flutuante. */
.empilhado { position: relative; isolation: isolate; display: grid; touch-action: pan-y; --passo: 56%; --reducao: 0.12; }
.empilhado__item {
    position: relative;
    grid-area: 1 / 1;
    justify-self: center;
    z-index: calc(10 - var(--abs, 0));
    transform: translateX(calc(var(--rel, 0) * var(--passo))) scale(calc(1 - var(--abs, 0) * var(--reducao)));
    transition: transform 0.8s cubic-bezier(.2, .75, .2, 1), opacity 0.8s, visibility 0.8s;
}
.empilhado__item[data-oculto] { visibility: hidden; opacity: 0; }
.empilhado__item:not([data-ativo]) { cursor: pointer; }
/* O cartão cabe na altura útil acima da barra: a foto (3:2) desce até --foto-max, o que sobra depois dos
   vãos, do título, do corpo e dos pontos (360 px), e a largura acompanha até o dobro da foto. */
.empilhado--acomodacoes { --foto-max: max(150px, calc(100svh - var(--barra-reserva) - var(--vertical) - var(--vao-titulo) - 360px)); }
.empilhado--acomodacoes .empilhado__item { width: min(78vw, 480px, max(300px, calc(var(--foto-max) * 2))); border-radius: 28px; box-shadow: 0 18px 48px rgb(43 33 24 / 0.22); }
.empilhado--acomodacoes .empilhado__item::after { content: ""; position: absolute; inset: 0; border-radius: 28px; background: var(--cafe); opacity: min(0.6, calc(var(--abs, 0) * 0.28)); transition: opacity 0.8s; pointer-events: none; }
.empilhado__pontos { display: flex; justify-content: center; margin-top: clamp(12px, 2.5vh, 24px); }
/* Alvo de 24 px (WCAG 2.5.8); o ponto desenhado tem 8 px, e o ativo 28 px. */
.empilhado__ponto { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.empilhado__ponto::before { content: ""; width: 8px; height: 8px; border-radius: 8px; background: var(--ponto); transition: width 0.4s, background 0.4s; }
.empilhado__ponto[aria-current="true"]::before { width: 28px; background: var(--cafe); }

/* Cartão de acomodação */
.cartao { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 28px; background: var(--creme); color: var(--cafe); }
.cartao__foto { display: block; flex: none; aspect-ratio: 3 / 2; overflow: hidden; background: var(--linha); }
.imagem-padrao { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--cafe); }
span.imagem-padrao img { width: auto; height: auto; max-width: 50%; max-height: 30%; object-fit: contain; }
.imagem-padrao__nome { max-width: 80%; color: var(--creme); font: 400 1.5rem/1.2 var(--fonte-titulo); text-align: center; }
.cartao__corpo { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 22px; }
.cartao__titulo { margin: 0; font: clamp(1.25rem, 1.7vw, 1.625rem)/1.15 var(--fonte-titulo); }
.cartao__titulo a { color: inherit; text-decoration: none; }
.cartao__resumo { display: -webkit-box; overflow: hidden; margin: 0; color: var(--texto-2); font-size: 0.875rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.cartao__fatos { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--texto-2); font-size: 0.8125rem; }
.cartao__fatos li { display: flex; align-items: center; gap: 6px; }
.cartao__fatos svg { flex: none; color: var(--terracota); }
.cartao__mais { align-self: flex-start; display: inline-flex; align-items: center; height: 46px; margin-top: 4px; padding: 0 22px; border-radius: 999px; background: var(--terracota); color: var(--sobre-terracota); font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.cartao__mais:hover { background: var(--terracota-hover); color: var(--sobre-terracota); }
.grade-de-cartoes, .blog__grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px; }

/* Estruturas e Experiências em zigue-zague: as linhas grudam no mesmo topo e a seguinte cobre a
   anterior, que o site.js apaga quando fica toda coberta. */
.zigue { background: #fff; }
.zigue__miolo { max-width: calc(1080px + 2 * var(--lateral)); margin-inline: auto; padding-inline: var(--lateral); }
.zigue__titulo { margin: 0 auto var(--vao-titulo); color: var(--terracota); font: 400 clamp(1.75rem, 2.6vw, 2.5rem)/1.2 var(--fonte-titulo); text-align: center; }
.zigue__descricao, .comodidades__descricao { color: var(--texto-2); }
.zigue__lista { display: flex; flex-direction: column; gap: 28px; }
/* Cada linha ocupa a altura útil entre o topo e a barra de reserva, com o conteúdo no alto: do título à
   primeira linha vale o --vao-titulo. A última não precisa cobrir nada e fica com a própria altura. */
.zigue__item { position: sticky; top: 24px; display: flex; align-items: flex-start; min-height: calc(100svh - 24px - var(--barra-reserva)); background: #fff; }
.zigue__item:last-child { min-height: 0; }
.zigue__item > .zigue__linha { width: 100%; }
.zigue__linha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 39px; background: #fff; transform-origin: 50% 0; }
.zigue__linha[data-coberta] { visibility: hidden; }
.zigue__item--invertido .zigue__foto { order: 2; }
.zigue__foto { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 3px; background: var(--linha); }
.zigue__item-titulo { margin: 0 0 12px; color: var(--terracota); font: 400 clamp(1.375rem, 1.9vw, 1.875rem)/1.15 var(--fonte-titulo); }
.zigue__item-texto { margin: 0; color: var(--texto-2); font-size: 0.9375rem; line-height: 1.55; }
.zigue__link { font-weight: 600; }

/* Depoimentos */
.secao--depoimentos { overflow-x: clip; background: #fff; }
.depoimentos__palco { position: relative; }
.empilhado--depoimentos { --passo: 84%; --reducao: 0.38; }
/* Um depoimento à vista em todos os tamanhos (DEC-48, 02/11/2026). */
.empilhado--depoimentos .empilhado__item:not([data-ativo]) { visibility: hidden; opacity: 0; }
/* Respiro único (02/11/2026): o mesmo valor na borda e a metade entre frase, texto e autor; o cartão tem a altura do próprio texto. */
.depoimento { --respiro: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: calc(var(--respiro) / 2); align-self: start; width: min(84vw, 557px); margin: 0; padding: var(--respiro); border-radius: 24px; background: var(--areia); color: var(--cafe); }
.depoimento blockquote { display: grid; gap: calc(var(--respiro) / 2); margin: 0; }
.depoimento__frase { margin: 0; font: 1.3125rem/1.35 var(--fonte-titulo); }
.depoimento__texto { margin: 0; color: var(--texto-2); font-size: 0.9375rem; line-height: 1.6; }
.depoimento__autor { color: var(--texto-3); font-size: 0.875rem; font-weight: 600; }

/* Blog */
.secao--blog { background: var(--creme); }
.secao--blog .miolo { max-width: calc(1160px + 2 * var(--lateral)); }
.blog__cabeca { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: var(--vao-titulo); }
.blog__titulo { margin: 0; font: clamp(2.75rem, 5.6vw, 5rem)/1.1 var(--fonte-titulo); }
.blog__todos, .reserva-painel__whatsapp a { color: var(--terracota-hover); font-weight: 600; }
.post__link { display: flex; flex-direction: column; gap: 14px; color: var(--cafe); text-decoration: none; }
.post__link:hover .post__titulo { text-decoration: underline; }
.post__foto { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; background: var(--areia); }
.post__meta { color: var(--texto-3); font-size: 0.875rem; }
.post__titulo { margin: 0; font: 1.4375rem/1.25 var(--fonte-titulo); }

/* Páginas internas. Topo em 16:7 da largura com piso. */
.topo-de-pagina__imagem { position: relative; height: max(280px, min(43.75vw, 70svh)); background: var(--cafe); }
.topo-de-pagina--compacto .topo-de-pagina__imagem { height: max(240px, min(36vw, 52svh)); }
.topo-de-pagina__imagem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(43 33 24 / 0.6) 0%, rgb(43 33 24 / 0) 35%); pointer-events: none; }
.topo-de-pagina__texto { padding-block: var(--vertical) 0; text-align: center; }
.topo-de-pagina__subtitulo { color: var(--texto-2); font: 400 clamp(1.1875rem, 1.6vw, 1.375rem)/1.35 var(--fonte-titulo); }
.texto-rico { max-width: 52rem; margin-inline: auto; }
.fatos { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2rem; margin-bottom: 2rem; }
.fatos__rotulo { color: var(--texto-3); font-weight: 600; }
.grupos { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grupo__titulo { margin-bottom: 0.5rem; color: var(--terracota-hover); font: 400 1.25rem/1.2 var(--fonte-titulo); }
.grupo li { padding-block: 0.1rem; }
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.galeria a { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; background: var(--areia); }
/* Página de experiência. */
.trilha { margin-bottom: 16px; color: var(--texto-3); font-size: 0.875rem; }
.trilha ol { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.trilha li + li::before { content: "/"; margin-inline: 8px; color: var(--texto-3); }
.trilha a { color: var(--texto-2); }
.trilha [aria-current] { color: var(--cafe); font-weight: 600; }
.experiencia__texto { font-size: 1.0625rem; line-height: 1.65; }
.experiencia__texto ul { margin-block: 0 1em; padding-left: 1.25em; list-style: disc; }
.experiencia__acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin: 32px 0 0; }
.experiencia__voltar { color: var(--terracota-hover); font-weight: 600; }
.cardapio { padding-block: var(--vertical); background: #fff; }
.cardapio__nota { max-width: 40rem; margin: 0 auto; color: var(--texto-2); text-align: center; }
.cardapio__lista { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 1120px; margin: var(--vao-titulo) auto 0; }
.cardapio__item { padding: 24px; border-radius: 20px; background: var(--creme); }
.cardapio__nome { margin-bottom: 8px; color: var(--terracota-hover); font: 400 clamp(1.375rem, 1.9vw, 1.75rem)/1.15 var(--fonte-titulo); }
.cardapio__descricao { margin: 0; color: var(--texto-2); font-size: 0.9375rem; line-height: 1.6; }
.cardapio__opcoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cardapio__opcoes li { display: inline-flex; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; font-size: 0.9375rem; }
.cardapio__duracao { color: var(--texto-2); }
.cardapio__preco { color: var(--cafe); font-weight: 700; }
.artistas { padding-block: var(--vertical); }
.artistas__lista { display: grid; gap: 40px; max-width: 1120px; margin: var(--vao-titulo) auto 0; }
.artista { display: grid; grid-template-columns: 1fr; gap: 16px; }
.artista__nome { margin-bottom: 4px; color: var(--terracota-hover); font: 400 clamp(1.375rem, 1.9vw, 1.75rem)/1.15 var(--fonte-titulo); }
.artista__perfil { margin: 0 0 8px; color: var(--texto-3); font-size: 0.875rem; }
.artista__bio { margin: 0; color: var(--texto-2); font-size: 0.9375rem; line-height: 1.6; }
.galeria--obras { grid-template-columns: repeat(3, 1fr); }
.galeria--obras a { aspect-ratio: 3 / 4; }
main > .reserva-faixa { max-width: calc(1000px + 2 * var(--lateral)); margin: 0 auto var(--vertical); padding-inline: var(--lateral); }

/* Lightbox da galeria (<dialog> modal). */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(20 15 11 / 0.97); color: var(--creme); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(20 15 11 / 0.6); }
.lightbox__figura { display: grid; place-items: center; gap: 12px; margin: 0; padding: 64px 72px 24px; max-width: 100%; max-height: 100%; }
.lightbox__figura img { width: auto; max-width: min(1600px, calc(100vw - 144px)); height: auto; max-height: calc(100dvh - 140px); border-radius: 8px; object-fit: contain; background: transparent; }
.lightbox__contador { font-size: 0.9375rem; font-weight: 600; }
.lightbox__botao, .lightbox__fechar { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid rgb(241 234 223 / 0.6); border-radius: 50%; background: rgb(43 33 24 / 0.55); color: var(--creme); font: 1.375rem/1 var(--fonte-texto); cursor: pointer; }
.lightbox__botao { top: 50%; transform: translateY(-50%); }
.lightbox__botao--anterior { left: 12px; }
.lightbox__botao--anterior::before { content: "\2190"; }
.lightbox__botao--proxima { right: 12px; }
.lightbox__botao--proxima::before { content: "\2192"; }
.lightbox__fechar { top: 12px; right: 12px; }
.lightbox__fechar::before, .lightbox__fechar::after { width: 20px; }
@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] { animation: aparecer 0.25s var(--suave); }
    @keyframes aparecer { from { opacity: 0; } }
}

/* Rodapé */
.rodape { padding-block: 40px 56px; background: var(--bege-claro); color: var(--texto-2); font: 0.875rem/1.6 var(--fonte-texto); }
.rodape a { color: var(--terracota-hover); }
.rodape a:hover { color: var(--cafe); }
.rodape__grade { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: calc(1080px + 2 * var(--lateral)); }
.rodape__titulo { margin-bottom: 1rem; color: var(--cafe); font: 400 1.4rem/1.25 var(--fonte-titulo); }
.rodape__titulo--logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 64px; }
.rodape p { margin: 0 0 0.75rem; }
.rodape__lista li { padding-block: 0.15rem; }
.rodape__siga { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rodape__rotulo { font: 600 0.75rem/1.4 var(--fonte-texto); letter-spacing: 0.15em; text-transform: uppercase; }
.rodape__redes { display: flex; flex-wrap: wrap; gap: 4px; }
.rodape__redes a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
@media (forced-colors: active) { .rodape__icone { fill: CanvasText; } .rodape__icone circle { fill: Canvas; } }
.rodape__selos { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.rodape__selos img { width: 3.1rem; height: auto; }
.rodape__departamento h3 { margin: 0.75rem 0 0.15rem; color: var(--cafe); font: 600 0.875rem/1.4 var(--fonte-texto); }
/* Linha de 24,5 px: 24 px livres entre os links (WCAG 2.5.8). */
.rodape__departamento p { margin: 0; line-height: 1.75; }
.rodape__endereco { margin-top: 1rem; font-style: normal; }
.rodape__final { margin-top: 2rem; font-size: 0.8rem; text-align: center; }

/* Política de Privacidade (DEC-37 P-5). */
.politica { padding-block: var(--vertical); }
.politica .texto-rico + .texto-rico { margin-top: 2.5rem; }
.politica h2 { margin: 1.5rem 0 0.75rem; color: var(--cafe); font: 400 1.6rem/1.2 var(--fonte-titulo); }
.politica h3 { margin: 1.25rem 0 0.5rem; color: var(--cafe); font: 600 1.05rem/1.3 var(--fonte-texto); }

/* FAQ (DEC-43) */
/* Página Sobre o hotel (DEC-48 §3): texto e galeria em duas colunas a partir de 1.200 px; o texto vem primeiro. */
.sobre { display: grid; gap: 32px; padding-block: var(--vertical); }
.sobre__texto { max-width: 46rem; color: var(--texto-2); line-height: 1.7; }
.sobre__abertura { color: var(--cafe); font-size: 1.125rem; }
.sobre__galeria { min-width: 0; }
.sobre__foto { margin: 0; }
.sobre__foto img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; }
.sobre__foto figcaption { margin-top: 8px; color: var(--texto-3); font-size: 0.875rem; }
.sobre__miniaturas { display: flex; gap: 8px; margin: 12px 0 0; padding: 4px; overflow-x: auto; list-style: none; scroll-padding-inline: 4px; }
.sobre__miniaturas a { display: block; flex: none; width: 96px; border-radius: 12px; overflow: hidden; opacity: 0.7; }
.sobre__miniaturas a[aria-current="true"] { opacity: 1; outline: 3px solid var(--cafe); outline-offset: -3px; }
.sobre__miniaturas img { display: block; width: 100%; height: 64px; object-fit: cover; }
@media (min-width: 1200px) {
    .sobre--com-galeria { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 48px; }
    .sobre--com-galeria .secao__titulo { text-align: start; }
}
.faq__lista { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--cafe-linha); border-radius: 16px; background: #fff; }
.faq__pergunta { display: list-item; min-height: 44px; padding: 10px 20px; color: var(--cafe); font: 600 1.05rem/1.4 var(--fonte-texto); cursor: pointer; }
.faq__pergunta:focus-visible { outline: 3px solid var(--cafe); outline-offset: 3px; border-radius: 16px; }
.faq__resposta { padding: 0 20px 16px; }

/* O WhatsApp é sempre também .contato, que define posição, tamanho e transição. */
.whatsapp { background: #1f8a3b; color: #fff; }
.whatsapp--avatar { background: #fff; }
.whatsapp__foto, .whatsapp__foto img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.whatsapp__selo { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid #fff; border-radius: 50%; background: #1f8a3b; color: #fff; }
.whatsapp__online { position: absolute; top: 1px; right: 1px; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: #2ecc5a; }

/* Botão único de contato (DEC-35 §10). Sobe só por transform (CLS 0). */
.contato { position: fixed; right: 12px; bottom: 12px; z-index: 25; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 2px 8px rgb(0 0 0 / 0.3); transition: transform 0.3s var(--suave); }
.contato--chat { background: var(--terracota-hover); color: #fff; cursor: pointer; }
.contato:focus-visible, .contato__opcao:focus-visible { outline: 3px solid var(--cafe); outline-offset: 3px; box-shadow: 0 0 0 7px #fff; }
.contato[hidden] { display: none; }
.contato__opcoes { position: fixed; inset: auto 12px 84px auto; width: min(320px, calc(100vw - 24px)); margin: 0; padding: 16px; border: 0; border-radius: 16px; background: var(--creme); color: var(--cafe); box-shadow: 0 4px 16px rgb(0 0 0 / 0.3); }
.contato__titulo { margin: 0 0 8px; font-weight: 600; }
.contato__lista { display: grid; gap: 8px; }
.contato__opcao { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 16px; border: 2px solid var(--terracota-hover); border-radius: 999px; background: #fff; color: var(--terracota-hover); font: 600 15px/1.2 var(--fonte-texto); text-decoration: none; cursor: pointer; }
.contato__permissao p { margin: 0 0 12px; }
/* DEC-35 D-18 e DEC-36 D-20: com o chat aberto (classe do consentimento.js), os botões saem. */
html.chat-aberto .contato, html.chat-aberto .a11y__botao, html.chat-aberto [data-esconde-com-chat] { display: none; }
/* 768 a 1.167 px: o formulário flutuante chega à ponta direita e o botão sobe a altura dele
   (--altura-flutuante, do site.js) mais 16 px. */
@media (min-width: 768px) and (max-width: 1167px) {
    body:has(.reserva-painel--flutuante) .contato { transform: translateY(calc(-1 * (var(--altura-flutuante, var(--barra-reserva)) + 16px))); }
    body:has(.reserva-painel--flutuante) .contato__opcoes { bottom: calc(100px + var(--altura-flutuante, var(--barra-reserva))); }
    body:has(.reserva-painel--flutuante):has(.contato__opcoes:popover-open) .a11y__botao { display: none; }
}

/* Aviso de cookies (DEC-37 §6): fixo e escondido no HTML (CLS 0); Aceitar e Recusar no mesmo estilo (F-6). */
.aviso { position: fixed; inset: auto 0 0; z-index: 40; max-height: 60svh; overflow: auto; padding: 16px var(--lateral) calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--creme); color: var(--cafe); box-shadow: 0 -2px 12px rgb(0 0 0 / 0.25); font-size: 15px; line-height: 1.5; }
.aviso__titulo, .preferencias__titulo { margin: 0 0 0.5rem; color: var(--cafe); font: 600 1.05rem/1.3 var(--fonte-texto); }
.aviso__texto { margin: 0 0 12px; }
.aviso__acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.aviso__botao { flex: 1 1 8rem; min-height: 44px; padding: 0 16px; border: 2px solid var(--terracota-hover); border-radius: 999px; background: var(--terracota-hover); color: var(--sobre-terracota); font: 600 15px/1.2 var(--fonte-texto); cursor: pointer; }
.aviso__botao--secundario { background: transparent; color: var(--terracota-hover); }
.aviso__link, .rodape__preferencias { min-height: 44px; padding: 0; border: 0; background: none; color: var(--terracota-hover); font: inherit; text-decoration: underline; cursor: pointer; }
.rodape__preferencias { min-height: 24px; }
.aviso__status { position: fixed; margin: 0; }
.aviso__status:not(:empty) { left: 16px; bottom: 16px; z-index: 41; padding: 8px 14px; border-radius: 8px; background: var(--cafe); color: var(--creme); }
html:has(#aviso-cookies:not([hidden])) { scroll-padding-bottom: var(--altura-aviso, 0px); }
.preferencias { width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 24px; border: 0; border-radius: 16px; background: var(--creme); color: var(--cafe); }
.preferencias::backdrop { background: rgb(43 33 24 / 0.6); }
.preferencias__lista { margin: 0 0 16px; }
.preferencias__categoria { display: grid; grid-template-columns: 24px 1fr; gap: 0 12px; align-items: center; padding-block: 8px; border-top: 1px solid var(--borda); }
.preferencias__categoria input { width: 24px; height: 24px; margin: 0; accent-color: var(--terracota-hover); }
.preferencias__categoria label { display: flex; align-items: center; min-height: 44px; font-weight: 600; cursor: pointer; }
.preferencias__descricao { grid-column: 2; margin: 0 0 4px; color: var(--texto-2); font-size: 14px; }
.preferencias__sempre { margin-left: 6px; color: var(--texto-2); font-weight: 400; }
.preferencias__status { margin: 0 0 12px; font-weight: 600; }

.erro { padding-block: 4rem; text-align: center; }
.neutra { display: grid; min-height: 100vh; place-items: center; }

/* Cartão de suíte no carrossel a partir de 768 px (02/11/2026): foto 3:2, título, resumo de até 4 linhas,
   Saiba mais e, no pé, cama, hóspedes e área. Os cartões têm a altura do mais alto. */
@media (min-width: 768px) {
    .empilhado--acomodacoes .cartao__foto { max-height: var(--foto-max); }
    .empilhado--acomodacoes .cartao__corpo { flex: 1 1 auto; gap: 10px; padding: clamp(16px, 2vw, 24px); }
    .empilhado--acomodacoes .cartao__resumo { font-size: 0.9375rem; line-height: 1.5; -webkit-line-clamp: 4; line-clamp: 4; }
    .empilhado--acomodacoes .cartao__mais { margin-top: auto; }
    .empilhado--acomodacoes .cartao__fatos { order: 1; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--linha); }
}

/* Celular */
@media (max-width: 767px) {
    .lightbox__figura { padding: 72px 8px 88px; }
    .lightbox__figura img { max-width: calc(100vw - 16px); max-height: calc(100dvh - 180px); }
    .lightbox__botao { top: auto; bottom: 16px; transform: none; }
    .lightbox__botao--anterior { left: calc(50% - 64px); }
    .lightbox__botao--proxima { right: calc(50% - 64px); }
    /* Folga para a barra fixa não cobrir o fim do rodapé. */
    body:has(.barra-reserva) .rodape { padding-bottom: 112px; }
    /* Contato acima da barra fixa (12 + 64 + 12 + 16 px) e da área segura. */
    .contato { bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
    .contato__opcoes { bottom: calc(176px + env(safe-area-inset-bottom, 0px)); }
    body:has(:popover-open:not(.contato__opcoes)) .contato { display: none; }
    html:has(.contato) { scroll-padding-bottom: 176px; }
    /* Texto a 200%: a barra de reserva quebra e cobria o botão (WCAG 2.5.8). */
    html.p-t200 body:has(.barra-reserva) .contato { bottom: calc(52px + 4rem + env(safe-area-inset-bottom, 0px)); }
    body:has(#aviso-cookies:not([hidden])) .barra-reserva,
    body:has(#aviso-cookies:not([hidden])) .contato { display: none; }
    .empilhado--acomodacoes { --passo: 30%; }
    /* 02/11/2026: suíte com o texto inteiro. */
    .empilhado--acomodacoes .empilhado__item { width: min(84vw, 440px, calc((100svh - 6.5vh - 270px) * 0.8)); }
    .empilhado--acomodacoes .cartao__corpo { gap: 5px; padding: 12px 16px 14px; overflow: visible; }
    .empilhado--acomodacoes .cartao__titulo { font-size: 1.1875rem; line-height: 1.1; }
    .empilhado--acomodacoes .cartao__resumo { display: block; font-size: 0.8125rem; line-height: 1.35; }
    .empilhado--acomodacoes .cartao__fatos { gap: 2px 10px; font-size: 0.75rem; }
    .empilhado--acomodacoes .cartao__fatos svg { width: 14px; height: 14px; }
    .empilhado--acomodacoes .cartao__mais { height: 36px; margin-top: 2px; padding: 0 16px; font-size: 0.8125rem; }
    .empilhado--depoimentos { --passo: 22%; }
    /* Texto em cima e foto embaixo (14/10/2026). */
    .zigue__item { top: 12px; min-height: calc(100svh - 12px - var(--barra-reserva)); }
    .zigue__linha { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 8px; }
    .zigue__foto { order: 2; }
    .blog__titulo { font-size: clamp(2.5rem, 12vw, 3.5rem); }
    /* Com menu, painel de reserva, escolha do contato ou aviso de cookies na base, o botão de acessibilidade sai ou sobe. */
    body:has(.menu-movel:popover-open, .reserva-painel:popover-open, .contato__opcoes:popover-open) .a11y__botao { display: none; }
    html:has(#aviso-cookies:not([hidden])) .a11y__botao { top: clamp(8px, calc(50% - 22px), calc(100% - var(--altura-aviso, 0px) - 52px)); }
}

/* Desktop */
@media (min-width: 768px) {
    :root { --barra-reserva: 150px; }
    main > .reserva-faixa .reserva { background: var(--areia); }
    .topo__logo img { max-height: none; }
    .topo__barra { max-width: calc(1000px + 2*var(--lateral)); margin-inline: auto; }
    .aviso { left: 16px; bottom: 16px; right: auto; max-width: 420px; border-radius: 16px; box-shadow: 0 4px 16px rgb(0 0 0 / 0.25); }
    .topo__reservar { display: inline-block; }
    .hero--com-mobile .hero__slide--desktop { display: block; }
    .hero--com-mobile .hero__slide--mobile { display: none; }

    /* Barra de reserva em linha: o painel é mostrado sem estar aberto. */
    .reserva-pilula, .barra-reserva { display: none; }
    .reserva-painel, .reserva-painel:popover-open {
        position: static;
        display: block;
        width: auto;
        max-height: none;
        margin: 0;
        padding: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: none;
        color: inherit;
        height: auto;
        inset: auto;
        transform: none;
    }
    .reserva-painel__alca, .reserva-painel__cabeca, .reserva-painel__whatsapp, .reserva__dica { display: none; }
    /* Uma linha só de 768 px para cima (02/11/2026): de 768 a 1.090 px, caixas, textos e botões encolhem
       por clamp até o tamanho do celular; a quebra de linha fica para o celular e para o texto ampliado.
       Igual no hero e flutuando, para o site.js medir a altura num estado e valer no outro. */
    .reserva { --fonte-campo: clamp(0.8125rem, 0.93vw + 0.366rem, 1rem); --fonte-rotulo: clamp(0.6875rem, 0.62vw + 0.39rem, 0.8125rem); padding: clamp(6px, 1.25vw - 3.6px, 10px); border-radius: 24px; background: var(--creme); color: var(--cafe); }
    .reserva__campos { display: flex; gap: clamp(4px, 0.62vw - 0.8px, 6px); }
    .reserva__campos > * { flex: 1 1 0; min-width: 0; }
    .reserva__campo { padding: clamp(5px, calc(1.4vh - 1px), 13px) clamp(8px, 3.4vw - 18px, 19px); background: var(--campo); }
    .reserva__campo label, .reserva__notas { font-size: var(--fonte-rotulo); }
    .reserva__campo input, .contador__valor { font-size: var(--fonte-campo); }
    .reserva__campo--contador,
    .reserva__campo--contador:has(+ .reserva__campo--contador),
    .reserva__campo--contador + .reserva__campo--contador {
        grid-template-columns: 1fr auto auto;
        grid-template-areas: "rotulo menos mais" "valor menos mais";
        gap: 0 clamp(3px, 0.93vw - 4px, 6px);
        min-height: 0;
        margin: 0;
        padding-right: clamp(6px, 2.8vw - 15.5px, 15px);
        border: 1px solid var(--ponto);
        border-radius: 16px;
    }
    .reserva__campo--contador label { color: var(--texto-3); font-weight: 400; }
    .contador__valor { justify-self: start; text-align: left; text-align-last: left; }
    .contador__botao { --lado: clamp(26px, 1.86vw + 11.7px, 32px); width: var(--lado); height: var(--lado); background: transparent; font-size: 1rem; }
    .reserva__enviar { min-height: clamp(48px, 8vh, 64px); padding-inline: clamp(8px, 5vw - 30px, 24px); border-radius: 16px; font-size: var(--fonte-campo); line-height: 1.15; }
    :is(.p-t125, .p-t150, .p-t200, .p-esp) .reserva__campos { flex-wrap: wrap; }
    :is(.p-t125, .p-t150, .p-t200, .p-esp) .reserva__campos > * { flex-basis: 9rem; }
    .reserva__idades { margin: 8px 10px 4px; }

    /* Formulário flutuante na base da tela enquanto o do hero está fora dela e o rodapé não apareceu;
       o site.js reserva a altura de origem. */
    .reserva-painel--flutuante, .reserva-painel--flutuante:popover-open {
        position: fixed;
        inset: auto auto 16px 50%;
        z-index: 30;
        width: min(1000px, calc(100% - 2 * var(--lateral)));
        transform: translateX(-50%);
        animation: subir 0.4s var(--suave);
    }
    .reserva-painel--flutuante .reserva { background: var(--creme); box-shadow: 0 8px 28px rgb(43 33 24 / 0.35); }
    /* Sem contexto de empilhamento na base do hero, o z-index 30 do painel vale para a página. */
    .hero__base:has(.reserva-painel--flutuante) { z-index: auto; }
    @keyframes subir { from { opacity: 0; transform: translate(-50%, 24px); } }

    .grupos { grid-template-columns: repeat(3, 1fr); }
    .galeria { grid-template-columns: repeat(3, 1fr); }
    .cardapio__lista { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .artista { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; align-items: start; }
    .galeria--obras { grid-template-columns: repeat(4, 1fr); }
    .rodape__grade { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet (DEC-40 §18.6): botão de menu até 1199 px. */
@media (min-width: 768px) and (max-width: 1199px) {
    .menu-movel__acoes button { display: none; }
    /* DEC-48 §5: no tablet, o conjunto do tablet no lugar do desktop. */
    .hero--com-tablet .hero__slide--desktop { display: none; }
    .hero__slide--tablet { display: block; }
}
@media (max-width: 1199.98px) {
    .topo__barra--logo-centro { justify-content: center; }
    .topo__barra--logo-centro .topo__acoes { position: absolute; right: var(--lateral); }
}
@media (min-width: 1200px) {
    .topo__nav { display: block; }
    .topo__menu-botao, .menu-movel:popover-open { display: none; }
}

/* Movimento reduzido: com JS decide a classe p-mov do <html> (DEC-36 §5.4); sem JS, o media query. */
@media (prefers-reduced-motion: reduce) {
    .contato { transition: none; }
    html:not(.js) { scroll-behavior: auto; }
    html:not(.js) .hero__video { display: none; }
    html:not(.js) .barra-reserva__acao, html:not(.js) .reserva-painel--flutuante { animation: none; }
    html:not(.js) .barra-reserva, html:not(.js) .reserva-painel:popover-open, html:not(.js) .empilhado__item, html:not(.js) .empilhado__item::after, html:not(.js) .empilhado__ponto::before { transition: none; }
    html:not(.js) .zigue__item { position: static; min-height: 0; }
}
html.p-mov { scroll-behavior: auto; }
.p-mov .hero__video, .p-mov .hero__pausa { display: none; }
.p-mov .barra-reserva__acao, .p-mov .reserva-painel--flutuante, .p-mov .lightbox[open] { animation: none; }
.p-mov .barra-reserva, .p-mov .reserva-painel:popover-open, .p-mov .empilhado__item, .p-mov .empilhado__item::after, .p-mov .empilhado__ponto::before, .p-mov .contato { transition: none; }
.p-mov .zigue__item { position: static; min-height: 0; }

/* Preferências de leitura (DEC-36 §5.7). As fontes estão em rem: o font-size do <html> escala o texto. */
html.p-t125 { font-size: 125%; }
html.p-t150 { font-size: 150%; }
html.p-t200 { font-size: 200%; }
/* Com 150% e 200%, a base do hero desce para o fluxo, sem cortar texto. */
:is(.p-t150, .p-t200) .hero { height: auto; }
:is(.p-t150, .p-t200) .hero__faixa { position: relative; height: max(min(60svh, 640px), 320px); }
:is(.p-t150, .p-t200) .hero__base { position: relative; padding-top: 24px; }
:is(.p-t150, .p-t200) .hero::after { background: linear-gradient(180deg, rgb(43 33 24 / 0.6) 0%, rgb(43 33 24 / 0) 160px); }
:is(.p-t150, .p-t200) .hero__pausa { position: static; align-self: flex-end; }
/* Com texto grande, o botão da pílula e da barra desce para a linha de baixo. */
:is(.p-t150, .p-t200) :is(.reserva-pilula, .barra-reserva) { flex-wrap: wrap; border-radius: 28px; }
:is(.p-t150, .p-t200) :is(.reserva-pilula__acao, .barra-reserva__acao) { flex: 1 1 auto; justify-content: center; }
/* Espaçamento do critério 1.4.12. */
html.p-esp *, html.p-esp *::before, html.p-esp *::after { line-height: 1.5 !important; letter-spacing: 0.12em !important; word-spacing: 0.16em !important; }
html.p-esp p { margin-bottom: 2em !important; }
/* A-12: com texto maior ou espaçado, o cartão não corta texto. */
:is(.p-esp, .p-t150, .p-t200) .cartao__titulo { overflow: visible; white-space: normal; text-overflow: clip; text-wrap: balance; }
:is(.p-esp, .p-t150, .p-t200) .cartao__resumo { display: block; overflow: visible; -webkit-line-clamp: unset; line-clamp: none; }
:is(.p-esp, .p-t150, .p-t200) .empilhado--acomodacoes .cartao__fatos { flex-wrap: wrap; overflow: visible; white-space: normal; }
:is(.p-esp, .p-t125, .p-t150, .p-t200) .cartao__mais { height: auto; min-height: 44px; }
.p-sub a { text-decoration: underline !important; text-underline-offset: 0.15em; }
/* Alto contraste (§5.8): fundos claros em branco, texto, borda e destaque em café. Com cores forçadas, não age. */
@media (forced-colors: none) {
    html.p-con {
        --creme: #fff;
        --areia: #fff;
        --campo: #fff;
        --bege-claro: #fff;
        --texto-2: #2b2118;
        --texto-3: #2b2118;
        --terracota: #2b2118;
        --terracota-hover: #2b2118;
        --borda: #2b2118;
        --linha: #2b2118;
        --ponto: #2b2118;
    }
    .p-con .botao--contorno-claro, .p-con .menu-movel__fechar { border-color: #fff; }
    .p-con .hero::after { background: linear-gradient(180deg, rgb(43 33 24 / 0.85) 0%, rgb(43 33 24 / 0) 22%, rgb(43 33 24 / 0) 50%, rgb(43 33 24 / 0.85) 100%); }
    .p-con .topo-de-pagina__imagem::after { background: linear-gradient(180deg, rgb(43 33 24 / 0.85) 0%, rgb(43 33 24 / 0) 35%); }
    .p-con .reserva__campo, .p-con .reserva__idades select, .p-con .contador__botao { border-color: #2b2118; }
}

/* DEC-38 §4.2: filtro só no <html> (P-1); no escuro, as fotos voltam invertidas. */
@media (forced-colors: none) {
    html.p-escuro { --f-contraste: invert(1) hue-rotate(180deg); }
    html.p-inv { --f-contraste: invert(1); }
    html.p-sat { --f-cor: saturate(1.6); }
    html.p-dessat { --f-cor: saturate(0.4); }
    html.p-cinza { --f-cor: grayscale(1); }
    html:is(.p-escuro, .p-inv, .p-sat, .p-dessat, .p-cinza) { background: var(--creme); filter: var(--f-contraste, ) var(--f-cor, ); }
    .p-escuro :is(img, video):not(.topo__logo img, .menu-movel__logo, .imagem-padrao img) { filter: invert(1) hue-rotate(180deg); }
}
/* R-3 a R-8, C-3 e C-4 da DEC-38. */
html.p-foco :focus-visible { outline: 4px solid var(--cafe) !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px #fff, 0 0 0 10px var(--cafe) !important; }
html.p-dlink a[href] { outline: 2px solid currentColor; outline-offset: 2px; text-decoration: underline 2px !important; text-underline-offset: 0.15em; }
html.p-dtit :is(h1, h2, h3, h4) { outline: 2px dashed currentColor; outline-offset: 0.25em; }
@media (pointer: fine) {
    html.p-cursor, html.p-cursor * { cursor: url("/_ativos/cursores/seta.svg") 6 4, url("/_ativos/cursores/seta.png") 6 4, auto !important; }
    html.p-cursor :is(a[href], button, label, summary, select, [role="button"], input[type="checkbox"], input[type="radio"]),
    html.p-cursor :is(a[href], button, label, summary, [role="button"]) * { cursor: url("/_ativos/cursores/mao.svg") 20 3, url("/_ativos/cursores/mao.png") 20 3, pointer !important; }
    html.p-cursor :is(input:not([type="checkbox"], [type="radio"], [type="button"], [type="submit"]), textarea) { cursor: text !important; }
}
html.p-fonte { --fonte-texto: "Atkinson Hyperlegible Next", "Atkinson Fallback", sans-serif; --fonte-titulo: var(--fonte-texto); }
/* R-8: opacity mantém o espaço e o alt; o logotipo continua visível. */
html.p-sem-img :is(img, video):not(.topo__logo img, .menu-movel__logo, .imagem-padrao img, .whatsapp__foto img) { opacity: 0 !important; }
html.p-sem-img :has(> picture, > img:not(.topo__logo img, .menu-movel__logo, .imagem-padrao img)):not(picture, .hero *, .topo-de-pagina *, .topo__logo, .menu-movel__cabeca, .imagem-padrao, .whatsapp) { background-color: var(--areia); }
html.p-esq body :not(button, input, select, textarea) { text-align: start !important; }
html.p-alvo :is(nav, footer, .cartao, .menu-movel) a[href] { display: inline-flex; align-items: center; min-height: 44px; }
html.p-alvo :is(a[href], button, select, summary) { min-width: 44px; }
html.p-alvo :is(button, select, summary) { min-height: 44px; }

/* Botão e painel de acessibilidade (DEC-36 §5): meio da lateral direita, fora da zona dos fixos da base (§5.6). */
.a11y__botao { position: fixed; right: 0; top: clamp(8px, calc(50% - 22px), calc(100% - var(--zona-inferior) - 52px)); z-index: 29; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px 0 0 12px; background: var(--cafe); color: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / 0.3); cursor: pointer; }
.a11y__botao:hover { background: var(--cafe-2); }
.a11y__painel { display: none; }
.a11y__painel:popover-open {
    position: fixed;
    inset: 8px 52px var(--zona-inferior) auto;
    display: block;
    width: min(22rem, calc(100vw - 60px));
    height: fit-content;
    max-height: calc(100dvh - var(--zona-inferior) - 8px);
    margin: auto 0;
    padding: 20px;
    overflow-y: auto;
    border: 1px solid var(--ponto);
    border-radius: 16px;
    background: var(--creme);
    color: var(--cafe);
    box-shadow: 0 8px 28px rgb(43 33 24 / 0.35);
}
.a11y__titulo { margin: 0 48px 4px 0; font: 1.75rem/1.2 var(--fonte-titulo); }
.a11y__fechar { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ponto); border-radius: 50%; background: transparent; color: var(--cafe); cursor: pointer; }
.a11y__apoio, .a11y__sem-js { margin: 0 0 12px; color: var(--texto-2); font-size: 0.875rem; }
.js .a11y__sem-js, html:not(.js) .a11y__controles { display: none; }
/* DEC-38 §5.3: inert e esmaecidos até o a11y.js chegar. */
.a11y__controles[inert] { opacity: 0.6; }
.a11y__grupo { margin: 0 0 8px; padding: 0; border: 0; }
.a11y__grupo legend { padding: 0; font-weight: 600; }
.a11y__tamanhos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.a11y__opcao, .a11y__linha { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.a11y__linha { font-weight: 500; }
.a11y__opcao input, .a11y__linha input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--cafe); }
.a11y__acao { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 8px; padding: 0 16px; border: 1px solid var(--cafe); border-radius: 999px; background: var(--cafe); color: #fff; font: 600 0.9375rem/1.2 var(--fonte-texto); cursor: pointer; }
.a11y__acao--secundaria { background: transparent; color: var(--cafe); }
.a11y__acao[aria-busy="true"] { cursor: progress; opacity: 0.8; }
.a11y__declaracao { margin: 16px 0 0; font-size: 0.875rem; font-weight: 600; }

/* Declaração e recursos acessíveis (DEC-36 §7 e §8) */
.declaracao { max-width: calc(52rem + 2 * var(--lateral)); padding-block: var(--vertical); }
.declaracao h2 { margin: 2.5rem 0 0.75rem; color: var(--cafe); font-size: 1.75rem; }
.declaracao h3 { margin: 1.25rem 0 0.35rem; font: 600 1rem/1.4 var(--fonte-texto); }
.declaracao__lista li { margin-left: 1.25em; padding-block: 0.15rem; list-style: disc; }
.acessibilidade-da-acomodacao .declaracao__lista { max-width: 52rem; margin-inline: auto; }
.acessibilidade-da-acomodacao .grupo__titulo { max-width: 52rem; margin: 1.5rem auto 0.5rem; }

/* Termos do catálogo com ícone (SVG inline 24 x 24). */
.icone-termo { display: inline-flex; flex: none; width: 1.5rem; height: 1.5rem; color: var(--terracota-hover); }
.icone-termo svg { width: 100%; height: 100%; }
.termo-com-icone { display: flex; align-items: center; gap: 0.6rem; }
.comodidades__lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.9rem 1.5rem; }
.comodidades__item { display: flex; align-items: center; gap: 0.7rem; }
