/* =========================================================
   Pousada Caminho do Mar — estilos
   Estrutura: 1. Fontes  2. Variáveis  3. Base  4. Utilitários
   5. Botões  6. Cabeçalho  7. Seções (na ordem da página)
   8. Componentes globais (WhatsApp, visualizador, cookies)
   9. Animações e movimento reduzido
   Ao mudar este arquivo, aumente o ?v=N no <link> do index.html.
   ========================================================= */

/* ---------- 1. Fontes (arquivos locais, licença OFL) ---------- */
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 2. Variáveis (cores tiradas da pousada) ---------- */
:root {
  /* Madeira escura das vigas e portas */
  --madeira: #2b1b10;
  --madeira-2: #412a19;
  /* Azul do losango da placa */
  --azul: #2e5f92;
  --azul-escuro: #234a73;
  /* Amarelo das paredes dos bangalôs: cor de ação (Reservar) */
  --amarelo: #f3be2e;
  --amarelo-hover: #e6ab12;
  --amarelo-claro: #fff4d4;
  /* Vermelho da estrela: só na logo */
  --estrela: #d04e33;

  --branco: #ffffff;
  --texto: #2b1b10;
  --texto-suave: #5e4b3c;
  --texto-claro: #eee5d8;
  --linha: #ebe2d3;

  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 2.2vw, 24px);
  --container: 1240px;
  --radius-lg: clamp(20px, 2.4vw, 32px);
  --radius-md: 18px;
  --section-y: clamp(72px, 9vw, 128px);
  --shadow: 0 10px 30px -12px rgba(43, 27, 16, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto-suave);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  margin: 0;
  color: var(--texto);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.012em; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
address { font-style: normal; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .bangalo :focus-visible, .faixa :focus-visible,
.rodape__card :focus-visible, .lightbox :focus-visible, .mapa :focus-visible { outline-color: var(--amarelo); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- 4. Utilitários ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--madeira); color: var(--branco); padding: 12px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: var(--gutter); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 720px; }
.section-head--split {
  max-width: none; display: flex; flex-wrap: wrap; gap: 24px 48px;
  align-items: flex-end; justify-content: space-between;
}
.section-head--split h2 { max-width: 15ch; }
.link { color: var(--azul); font-weight: 650; text-underline-offset: 4px; }
.link:hover { color: var(--azul-escuro); }

/* ---------- 5. Botões (todos em pílula) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.8rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 720; font-size: 1rem; line-height: 1; text-decoration: none; letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amarelo); color: var(--madeira); }
.btn--primary:hover { background: var(--amarelo-hover); }
.btn--outline { border-color: var(--madeira); color: var(--madeira); background: transparent; }
.btn--outline:hover { background: var(--madeira); color: var(--branco); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--branco); background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--branco); }
.btn--light { background: var(--branco); color: var(--madeira); }
.btn--light:hover { background: var(--amarelo-claro); }
.btn--sm { min-height: 42px; padding: 0.6rem 1.15rem; font-size: 0.9375rem; }
.btn .icon { width: 1.15em; height: 1.15em; }

/* ---------- 6. Cabeçalho ---------- */
.site-header {
  position: fixed; z-index: 40; top: calc(var(--gutter) + 8px); left: 0; right: 0;
  padding-inline: calc(var(--gutter) + clamp(8px, 2vw, 24px));
  transition: top 0.3s var(--ease);
}
.site-header__inner {
  position: relative; display: flex; align-items: center; gap: 16px;
  max-width: 1328px; margin-inline: auto; padding: 10px 10px 10px 14px; border-radius: 999px;
  color: var(--branco);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}
.site-header[data-scrolled="true"] { top: 10px; }
.site-header[data-scrolled="true"] .site-header__inner {
  background: rgba(255, 255, 255, 0.94); color: var(--madeira);
  box-shadow: 0 8px 28px -14px rgba(43, 27, 16, 0.45);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; margin-right: auto; }
.brand__mark { width: 44px; height: 44px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25)); }
.site-header[data-scrolled="true"] .brand__mark { filter: none; }
.brand__text { display: flex; flex-direction: column; white-space: nowrap; font-weight: 780; font-size: 1.125rem; line-height: 1.05; letter-spacing: -0.02em; }
.brand__small { font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.01em; opacity: 0.85; }

.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 620; font-size: 0.96875rem; color: inherit; transition: background-color 0.2s var(--ease);
}
.nav__list a:hover { background: rgba(255, 255, 255, 0.16); }
.site-header[data-scrolled="true"] .nav__list a:hover { background: var(--amarelo-claro); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor;
  background: transparent; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: var(--branco); color: var(--madeira); border-radius: 24px; padding: 10px;
    box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .site-header[data-menu-open="true"] .nav { visibility: visible; opacity: 1; transform: none; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__list a { padding: 14px 18px; font-size: 1.0625rem; border-radius: 16px; }
  .nav__list a:hover { background: var(--amarelo-claro); }
  .site-header[data-menu-open="true"] .site-header__inner { background: var(--branco); color: var(--madeira); }
}
@media (max-width: 420px) {
  .brand__mark { width: 36px; height: 36px; }
  .brand__text { font-size: 0.9375rem; }
  .brand__small { font-size: 0.75rem; }
  .site-header__cta { padding-inline: 0.95rem; }
  .site-header__inner { gap: 10px; }
}

/* ---------- 7.1 Hero ---------- */
.hero { padding: var(--gutter); }
.hero__card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); isolation: isolate;
  height: min(calc(100svh - 2 * var(--gutter)), 900px); min-height: 600px;
  max-width: 1328px; margin-inline: auto; background: var(--madeira);
}
.hero__card picture, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 60%; }
.hero__card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(25, 14, 6, 0.55) 0%, rgba(25, 14, 6, 0) 24%),
    linear-gradient(0deg, rgba(25, 14, 6, 0.82) 0%, rgba(25, 14, 6, 0.45) 38%, rgba(25, 14, 6, 0) 65%);
}
.hero__content {
  position: absolute; z-index: 2; inset: auto 0 0 0;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px 64px; align-items: end;
  padding: clamp(24px, 4.5vw, 64px);
}
.hero__title {
  color: var(--branco); font-size: clamp(2.6rem, 6.4vw, 5.25rem); font-weight: 800;
  line-height: 1.0; letter-spacing: -0.035em; max-width: 12ch;
}
.hero__aside { display: grid; gap: 24px; max-width: 440px; justify-self: end; }
.hero__lead { color: rgba(255, 255, 255, 0.9); font-size: 1.0625rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hero__price { color: rgba(255, 255, 255, 0.88); font-size: 0.9375rem; line-height: 1.35; }
.hero__price strong { color: var(--branco); font-size: 1.125rem; }
@media (max-width: 859px) {
  .hero__card { min-height: 640px; }
  .hero__content { grid-template-columns: 1fr; gap: 20px; }
  .hero__aside { justify-self: start; }
}

/* ---------- 7.2 Diferenciais ---------- */
.beneficios__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(24px, 4vw, 56px);
}
.beneficio__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: 18px; background: var(--amarelo-claro); color: var(--azul); margin-bottom: 20px;
}
.beneficio__icon .icon { width: 26px; height: 26px; }
.beneficio h3 { margin-bottom: 8px; }
.beneficio p { max-width: 36ch; }
@media (max-width: 899px) { .beneficios__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) {
  .beneficios__grid { grid-template-columns: 1fr; gap: 28px; }
  .beneficio { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
  .beneficio__icon { width: 48px; height: 48px; border-radius: 14px; margin: 0; grid-row: span 2; }
  .beneficio h3 { margin: 2px 0 4px; }
}

/* ---------- 7.3 A família ---------- */
.sobre { padding-top: 0; }
.sobre__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.sobre__media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--madeira); }
.sobre__media picture, .sobre__img { width: 100%; height: 100%; }
.sobre__img { object-fit: cover; }
.sobre__text { display: grid; gap: 20px; }
.sobre__text h2 { margin-bottom: 4px; }
.sobre__actions { margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--overlay { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.95); color: var(--madeira); font-weight: 650; font-size: 0.875rem; line-height: 1.2;
}
.chip .icon { color: var(--azul); width: 18px; height: 18px; }
@media (max-width: 859px) { .sobre__grid { grid-template-columns: 1fr; } }
@media (max-width: 559px) {
  .sobre__media { overflow: visible; aspect-ratio: auto; background: none; }
  .sobre__media picture { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
  .chips--overlay { position: static; margin-top: 14px; }
  .chips--overlay .chip { background: var(--amarelo-claro); }
}

/* ---------- 7.4 O bangalô ---------- */
.bangalo {
  background: var(--madeira); color: var(--texto-claro); border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 72px);
}
.bangalo h2 { color: var(--branco); }
.bangalo__head { display: grid; gap: 16px; max-width: 620px; margin-bottom: clamp(32px, 4vw, 48px); }
.bangalo__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.bangalo__fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.foto {
  display: block; padding: 0; border: 0; background: var(--madeira-2); border-radius: var(--radius-md);
  overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3;
}
.foto--grande { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.foto picture, .foto__img { width: 100%; height: 100%; }
.foto__img { object-fit: cover; transition: transform 0.6s var(--ease); }
.foto:hover .foto__img { transform: scale(1.04); }
.bangalo__info { display: grid; gap: 28px; }
.comodidades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; font-size: 1rem; line-height: 1.35; }
.comodidades li { display: flex; align-items: flex-start; gap: 12px; }
.comodidades .icon { color: var(--amarelo); width: 22px; height: 22px; margin-top: -1px; }
.bangalo__preco { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 24px; display: grid; gap: 6px; }
.bangalo__valor { color: var(--branco); font-size: 1.25rem; font-weight: 600; }
.bangalo__valor strong { color: var(--amarelo); font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.bangalo__nota { font-size: 0.9375rem; color: rgba(238, 229, 216, 0.8); }
.bangalo__info .btn { justify-self: start; }
@media (max-width: 959px) { .bangalo__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .comodidades { grid-template-columns: 1fr; } }

/* ---------- 7.5 Faixa de chamada ---------- */
.faixa { padding-top: 0; }
.faixa__card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); isolation: isolate;
  min-height: clamp(380px, 42vw, 500px); display: flex; align-items: center; background: var(--madeira);
}
.faixa__card picture, .faixa__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.faixa__img { object-fit: cover; object-position: 50% 45%; }
.faixa__card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(25, 14, 6, 0.85) 0%, rgba(25, 14, 6, 0.55) 45%, rgba(25, 14, 6, 0.05) 85%);
}
.faixa__content { position: relative; z-index: 2; display: grid; gap: 18px; max-width: 560px; padding: clamp(28px, 5vw, 72px); justify-items: start; }
.faixa__content h2 { color: var(--branco); }
.faixa__content p { color: rgba(255, 255, 255, 0.9); max-width: 42ch; }
.faixa__content .btn { margin-top: 6px; }

/* ---------- 7.6 Galeria ---------- */
.galeria { padding-top: 0; }
.galeria__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 19vw, 250px); gap: 12px; grid-auto-flow: dense; }
.g-item { padding: 0; border: 0; background: var(--linha); border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; }
.g-item picture, .g-item__img { width: 100%; height: 100%; }
.g-item__img { object-fit: cover; transition: transform 0.6s var(--ease); }
.g-item:hover .g-item__img { transform: scale(1.04); }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }
@media (max-width: 699px) {
  .galeria__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
}

/* ---------- 7.7 Localização ---------- */
.local { padding-top: 0; }
.local__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.local__text { display: grid; gap: 24px; justify-items: start; }
.local__endereco { color: var(--texto); font-size: 1.1875rem; font-weight: 600; line-height: 1.45; }
.distancias { display: grid; gap: 14px; }
.distancias li { display: flex; gap: 14px; align-items: flex-start; }
.distancias .icon { color: var(--azul); width: 24px; height: 24px; margin-top: 1px; }
.distancias strong { color: var(--texto); }
.local__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.mapa { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; background: var(--madeira); }
.mapa picture, .mapa__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapa__img { object-fit: cover; }
.mapa__overlay {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
  background: rgba(25, 14, 6, 0.42); text-align: center; padding: 24px;
}
.mapa__aviso { color: rgba(255, 255, 255, 0.92); font-size: 0.875rem; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 859px) { .local__grid { grid-template-columns: 1fr; } }

/* ---------- 7.8 Perguntas frequentes ---------- */
.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px clamp(36px, 6vw, 88px); align-items: start; }
.faq__grid h2 { max-width: 10ch; }
.faq__list details { border-bottom: 1px solid var(--linha); }
.faq__list details:first-child { border-top: 1px solid var(--linha); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; color: var(--texto); font-weight: 680; font-size: 1.0625rem; line-height: 1.4;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--amarelo-claro) no-repeat center / 14px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%232e5f92' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 0.25s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 56px 24px 0; }
@media (max-width: 859px) { .faq__grid { grid-template-columns: 1fr; } .faq__grid h2 { max-width: none; } }

/* ---------- 7.9 Rodapé ---------- */
.rodape { padding-top: 0; padding-bottom: var(--gutter); }
.rodape > .container { width: min(100% - 2 * var(--gutter), 1328px); }
.rodape__card { background: var(--madeira); color: var(--texto-claro); border-radius: var(--radius-lg); padding: clamp(32px, 5.5vw, 80px); }
.rodape__cta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px;
  padding-bottom: clamp(36px, 5vw, 56px); margin-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.rodape__cta h2 { color: var(--branco); max-width: 14ch; }
.rodape__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rodape__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; font-size: 0.96875rem; }
.rodape__marca { display: grid; gap: 16px; align-content: start; }
.rodape__marca p { max-width: 30ch; color: rgba(238, 229, 216, 0.8); }
.brand--light { color: var(--branco); margin-right: 0; }
.brand--light .brand__mark { filter: none; }
.rodape__titulo { color: var(--branco); font-size: 0.96875rem; margin-bottom: 14px; letter-spacing: 0; }
.rodape__lista { display: grid; gap: 10px; }
.rodape__lista a, .link-button { color: inherit; text-decoration: none; }
.rodape__lista a:hover, .link-button:hover { color: var(--amarelo); text-decoration: underline; text-underline-offset: 4px; }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.rodape__legal { margin-top: clamp(36px, 5vw, 56px); font-size: 0.875rem; color: rgba(238, 229, 216, 0.65); }
@media (max-width: 899px) { .rodape__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rodape__marca { grid-column: 1 / -1; } }
@media (max-width: 499px) { .rodape__grid { grid-template-columns: 1fr; } }

/* ---------- 8. Componentes globais ---------- */
/* WhatsApp flutuante */
.wa-float {
  position: fixed; z-index: 45; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px);
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: var(--branco); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }

/* Visualizador de fotos */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #140c07; color: var(--branco);
}
.lightbox[open] { display: grid; place-items: center; animation: lb-in 0.25s var(--ease); }
.lightbox::backdrop { background: rgba(18, 11, 6, 0.96); }
.lightbox__figure { margin: 0; display: grid; gap: 14px; justify-items: center; padding: 72px 72px 32px; }
.lightbox__img { max-width: min(100%, 1400px); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lightbox__caption { max-width: 64ch; text-align: center; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.85); }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12); color: var(--branco); cursor: pointer; transition: background-color 0.2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__btn .icon { width: 26px; height: 26px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 699px) {
  .lightbox__figure { padding: 72px 12px 96px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}
body:has(.lightbox[open]) { overflow: hidden; }

/* Banner de cookies (CookieConsent) com as cores da pousada */
#cc-main {
  --cc-font-family: var(--font);
  --cc-btn-primary-bg: var(--amarelo);
  --cc-btn-primary-color: var(--madeira);
  --cc-btn-primary-border-color: var(--amarelo);
  --cc-btn-primary-hover-bg: var(--amarelo-hover);
  --cc-btn-primary-hover-color: var(--madeira);
  --cc-btn-primary-hover-border-color: var(--amarelo-hover);
  --cc-btn-secondary-bg: #f3ece1;
  --cc-btn-secondary-color: var(--madeira);
  --cc-btn-secondary-border-color: #f3ece1;
  --cc-btn-secondary-hover-bg: var(--linha);
  --cc-btn-secondary-hover-border-color: var(--linha);
  --cc-primary-color: var(--madeira);
  --cc-secondary-color: var(--texto-suave);
  --cc-btn-border-radius: 999px;
  --cc-modal-border-radius: 20px;
  --cc-toggle-on-bg: var(--azul);
}

/* ---------- 9. Animação de entrada (um único momento) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: hero-img 1.8s var(--ease) both; }
  .hero__title { animation: hero-up 0.9s 0.15s var(--ease) both; }
  .hero__aside { animation: hero-up 0.9s 0.35s var(--ease) both; }
  .site-header__inner { animation: hero-fade 0.8s 0.1s var(--ease) both; }
}
@keyframes hero-img { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hero-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Páginas internas (privacidade e 404) ---------- */
.pagina { padding-top: 140px; }
.pagina .site-header .site-header__inner { background: var(--branco); color: var(--madeira); box-shadow: 0 8px 28px -14px rgba(43, 27, 16, 0.45); }
.pagina .brand__mark { filter: none; }
.texto-longo { max-width: 72ch; display: grid; gap: 18px; }
.texto-longo h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 8px; }
.texto-longo h2 { font-size: 1.5rem; margin-top: 20px; }
.texto-longo ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.texto-longo a { color: var(--azul); }
