@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');

:root {
  --bg: #faf7f2;
  --bg-sand: #f2ebe0;
  --bg-forest: #1e3328;
  --fg: #2a2018;
  --fg-muted: #7a6e61;
  --fg-soft: rgba(255, 255, 255, .72);
  --card-bg: #ffffff;
  --border: #e3d9cc;
  --gold: #b8922e;
  --gold-light: #d4a843;
  --rust: #b85530;
  --whats: #1fae56;
  --forest-text: #f0ebe0;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 2px 12px rgba(42, 32, 24, .06), 0 16px 40px -20px rgba(42, 32, 24, .25);
  --shadow-lg: 0 8px 40px rgba(42, 32, 24, .18);
  --transition: .5s cubic-bezier(.4, 0, .2, 1);
}

/* ----- Reset ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ----- Base ----- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-light) transparent;
  
  /* CRUCIAL: Trava o eixo horizontal globalmente na raiz */
  overflow-x: hidden;
  width: 100%; /* Corrigido de 100vw para 100% para evitar scroll horizontal fantasma */
  max-width: 100%;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background-color: var(--gold-light);
  border-radius: 99px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--gold);
}

@media (max-width: 768px) {
  ::-webkit-scrollbar {
    width: 0px; 
    background: transparent; 
  }
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  
  /* Mantém o overflow-x hidden no body por segurança redobrada */
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
}

h3 {
  font-size: 1.5rem;
}

em {
  font-style: italic;
}

p {
  max-width: 60ch;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-sand {
  background: var(--bg-sand);
}

.section-forest {
  background: var(--bg-forest);
  color: var(--forest-text);
}

.section-header {
  max-width: 54rem;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-top: 10px;
}

.section-sub {
  margin-top: 14px;
  color: var(--fg-muted);
  font-size: 1.05rem;
}

.section-sub.soft {
  color: rgba(240, 235, 224, .72);
}

.section-header.light h2 {
  color: var(--forest-text);
}

.eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-light {
  color: var(--gold-light);
}

.muted {
  color: var(--fg-muted);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: .95rem;
  padding: .85rem 1.75rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: .6rem 1.2rem;
  font-size: .875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  box-shadow: 0 6px 24px rgba(184, 146, 46, .35);
}

.btn-primary:hover {
  box-shadow: 0 10px 32px rgba(184, 146, 46, .45);
}

.btn-whats {
  background: var(--whats);
  color: #fff;
  box-shadow: 0 6px 24px rgba(31, 174, 86, .3);
}

.btn-whats:hover {
  box-shadow: 0 10px 32px rgba(31, 174, 86, .4);
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .42);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .15);
}

.btn-outline {
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--fg);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(184, 146, 46, .06);
}

.btn-outline-dark {
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  color: var(--fg);
}

.btn-outline-dark:hover {
  border-color: var(--gold);
}

/* ----- Navigation ----- */
.nav-bar {
  position: fixed; 
  top: 0;
  left: 0;         
  width: 100%;     
  z-index: 100;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  background: rgba(250, 247, 242, .92); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.nav-bar.scrolled {
  border-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-brand {
  display: flex;
  flex-direction: row; 
  align-items: center; 
  gap: 12px; 
  flex-shrink: 0; 
}

.nav-brand-img {
  height: 40px; 
  width: auto;
  object-fit: contain;
}

.nav-brand-text {
  display: flex;
  flex-direction: column; 
  line-height: 1.2; 
  & span {
    font-family: "Fraunces", serif;
    font-size: 16px;
  }
}

.nav-links {
  display: none;
  gap: 28px;
  font-size: .9rem;
  color: var(--fg-muted);
}

.nav-links a {
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--fg);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  margin-right: -12px;
  touch-action: manipulation;
  position: relative;
  z-index: 10000;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu a {
  font-size: 1.05rem;
  color: var(--fg-muted);
}

.mobile-menu nav a {
  transition: color var(--transition);
}

.mobile-menu nav a:hover {
  color: var(--fg);
}

.nav-cta {
  display: none;
}

@media (min-width: 640px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.15);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(20, 12, 6, .92) 0%,
      rgba(20, 12, 6, .45) 45%,
      rgba(20, 12, 6, .2) 100%);
}

.hero-content {
  position: relative;
  padding-bottom: 72px;
  padding-top: 100px;
  color: #fff;
  will-change: transform;
}

.hero-eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero-title {
  color: #fff;
  max-width: 14ch;
}

.hero-title em {
  color: var(--gold-light);
  font-style: italic;
}

.hero-subtitle {
  margin-top: 20px;
  max-width: 34rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-bounce 2.2s ease-in-out infinite;
}

.scroll-dot {
  animation: scroll-dot 2.2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@keyframes scroll-dot {
  0%, 100% { cy: 8; opacity: .8; }
  50% { cy: 18; opacity: .4; }
}

/* ----- Highlights Bar ----- */
.highlights-bar {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}

.highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .highlights-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.highlights-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  font-size: .88rem;
  font-weight: 400;
  color: var(--fg-muted);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.highlights-list li:last-child {
  border-right: none;
}

.highlights-list li svg {
  flex-shrink: 0;
  color: var(--gold);
}

@media (min-width: 768px) {
  .highlights-list li {
    border-bottom: none;
  }
}

/* ----- História ----- */
.historia-grid {
  display: grid;
  gap: 56px;
}

@media (min-width: 1024px) {
  .historia-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.historia-images {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
  align-items: start;
}

.hist-img-main img {
  width: 100%;
  height: 36rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hist-img-secondary {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 48px;
}

.hist-img-secondary img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hist-img-secondary img:first-child {
  height: 18rem;
}

.hist-img-signs {
  height: auto !important;
}

.historia-text .eyebrow {
  margin-bottom: 12px;
}

.historia-text h2 {
  margin-bottom: 24px;
}

.historia-text p {
  color: var(--fg-muted);
  margin-bottom: 14px;
}

.historia-text .btn {
  margin-top: 12px;
}

/* ----- Chalés ----- */
.chale-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
  /* Configuração mobile: empilhado */
  display: flex;
  flex-direction: column; 
}

.chale-card:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .chale-card {
    display: grid;
    /* Força exatamente 50/50, previne que a imagem esprema o texto */
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
  }

  .chale-card.reversed .chale-media {
    order: 2;
  }
}

.chale-media {
  background: #1a1410;
  display: flex;
  flex-direction: column;
}

.chale-photo-wrap {
  position: relative;
  flex: none;
  width: 100%;
  /* Usa aspect-ratio em vez de height fixa para não distorcer no mobile */
  aspect-ratio: 16 / 11; 
}

.chale-photo-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s ease;
}

@media (min-width: 1024px) {
  .chale-media {
    height: 100%;
  }

  .chale-photo-wrap {
    aspect-ratio: auto;
    height: auto;
    flex: 1;
  }
}

.chale-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 252, 248, .93);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  backdrop-filter: blur(4px);
}

.chale-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: rgba(0, 0, 0, .35);
}

.chale-thumbs::-webkit-scrollbar {
  display: none;
}

.chale-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .2);
  background: none;
  cursor: pointer;
  padding: 0;
  opacity: .6;
  transition: opacity var(--transition), border-color var(--transition);
}

.chale-thumb[aria-current="true"] {
  border-color: var(--gold);
  opacity: 1;
}

.chale-thumb:hover:not([aria-current="true"]) {
  opacity: .85;
  border-color: rgba(255, 255, 255, .45);
}

.chale-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chale-info {
  /* Reduzido o padding padrão para não espremer em telas menores */
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 1024px) {
  .chale-info {
    padding: 44px 40px;
    gap: 24px;
  }
}

.chale-info .eyebrow {
  margin-bottom: 6px;
}

.chale-info h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}

.chale-chamada {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-top: 4px;
}

.chale-desc {
  color: var(--fg-muted);
  font-size: .95rem;
  margin-top: 8px;
}

.comodidades {
  display: grid;
  gap: 8px;
  font-size: .9rem;
}

@media (min-width: 500px) {
  .comodidades {
    grid-template-columns: 1fr 1fr;
  }
}

.comodidades li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.comodidades li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: .55em;
}

.chale-superior {
  background: #f6f0e6;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: .9rem;
  line-height: 1.6;
  max-width: none;
}

.chale-superior strong {
  color: var(--gold);
}

.chale-precos {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.precos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.preco-item {
  padding: 16px;
  border-right: 1px solid var(--border);
}

.preco-item:last-child {
  border-right: none;
}

.preco-item.destaque {
  background: #fdf7ed;
}

.preco-label {
  font-size: clamp(.58rem, 1vw, .68rem);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--fg-muted);
  line-height: 1.4;
}

.preco-val {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-top: 4px;
  color: var(--fg);
  white-space: nowrap;
}

.preco-item.destaque .preco-val {
  color: var(--gold);
}

.preco-note {
  padding: 10px 16px;
  font-size: .75rem;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  background: var(--bg-sand);
  max-width: none;
}

/* ----- Área Externa ----- */
.ext-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .ext-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
}

.ext-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ext-photo-main {
  grid-column: 1 / -1;
  width: 100%;
  height: 22rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.ext-photo-sec {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ext-features li {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 20px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  transition: transform var(--transition);
}

.ext-features li:last-child {
  border-bottom: none;
}

.ext-features li:hover {
  background: transparent;
  transform: translateX(6px);
}

.ext-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: 50%;
  color: var(--gold-light);
}

.ext-features li:hover .ext-icon {
  transform: scale(1.12) rotate(-3deg);
  border-color: var(--gold-light);
}

.ext-features h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--forest-text);
  margin-bottom: 4px;
}

.ext-features p {
  font-size: .9rem;
  color: rgba(240, 235, 224, .68);
  max-width: 40ch;
}

/* ----- Serviços ----- */
.servicos-header {
  display: grid;
  gap: 36px;
  margin-bottom: 48px;
  align-items: end;
}

@media (min-width: 768px) {
  .servicos-header {
    grid-template-columns: 1.2fr 1fr;
  }
}

.servicos-header h2 {
  margin-top: 10px;
}

.servicos-header .muted {
  margin-top: 12px;
}

.servicos-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.servicos-photos img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.servicos-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .servicos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.servico-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.servico-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.servico-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.servico-header h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.servico-price {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rust);
  white-space: nowrap;
  flex-shrink: 0;
}

.servico-card p {
  font-size: .88rem;
  color: var(--fg-muted);
}

/* * ════════════════════ DEPOIMENTOS ════════════════════ */
.depoimento-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.depoimento-photos img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.depoimentos {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: 6rem;
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 10px 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 2rem;
}

.depoimento-card {
  flex: 0 0 100%;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
}

@media (min-width: 640px) {
  .depoimento-card {
    flex: 0 0 calc((100% - 2rem) / 2);
  }
}

@media (min-width: 1024px) {
  .depoimento-card {
    flex: 0 0 calc((100% - 6rem) / 4);
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(42, 32, 24, 0.15);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

.estrelas {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.depoimento-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--fg);
  font-style: italic;
  flex: 1;
}

.depoimento-autor {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e8e3dd;
}

.autor-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "frances", serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  flex-shrink: 0;
}

.depoimento-autor strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
}

.depoimento-autor span {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* ----- Reservas ----- */
.reservas-grid {
  display: grid;
  gap: 48px;
}

.whats-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whats-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(240, 235, 224, .5);
  padding-left: 2px;
}

.whats-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whats);
  box-shadow: 0 0 0 3px rgba(31, 174, 86, .2);
  animation: whats-pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes whats-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(31, 174, 86, .2); }
  50%       { box-shadow: 0 0 0 6px rgba(31, 174, 86, 0); }
}

/* Airbnb */
.airbnb-chales {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.airbnb-divider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.airbnb-divider::before,
.airbnb-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .1);
}

.airbnb-divider span {
  font-size: 11px;
  color: rgba(240, 235, 224, .4);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

.airbnb-chale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition: background .2s ease, border-color .2s ease;
}

.airbnb-chale:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, .18);
}

.airbnb-chale-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.airbnb-chale-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.airbnb-chale-icon.bosque {
  background: rgba(46, 107, 69, .4);
  color: #7dcf96;
}

.airbnb-chale-icon.sol {
  background: rgba(184, 146, 46, .3);
  color: var(--gold-light);
}

.airbnb-chale-info div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.airbnb-chale-info strong {
  font-size: 13.5px;
}

.airbnb-chale-info span {
  font-size: 11px;
  opacity: 0.55;
}

.airbnb-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}

.airbnb-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, .28);
  transform: translateY(-1px);
}

.airbnb-btn i {
  font-size: 10px;
  opacity: .7;
}

@media (max-width: 600px) {
  .airbnb-chale {
    align-items: flex-start;
    flex-direction: column;
  }
  .airbnb-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .reservas-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.pagamentos {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.pagamento-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.pagamento-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 12px;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.pagamento-item strong {
  display: block;
  margin-bottom: 4px;
}

.pagamento-item p {
  font-size: .9rem;
  color: var(--fg-muted);
}

.checkin-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--fg-muted);
  margin-top: 8px;
}

.reservas-cta {
  background: var(--fg);
  color: var(--forest-text);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 2px solid var(--gold);
}

.reservas-eyebrow {
  color: var(--gold-light) !important;
  opacity: 1 !important;
}

.reservas-cta h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  color: #fff;
  margin-top: -4px;
}

.reservas-cta p {
  font-size: .95rem;
  color: rgba(240, 235, 224, .7);
  line-height: 1.6;
}

.reservas-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.reservas-links .btn-outline-dark {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
  color: var(--forest-text);
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}

.reservas-links .btn-outline-dark:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .28);
}

.airbnb-note {
  font-size: .88rem;
  color: rgba(240, 235, 224, .5);
}

.airbnb-note strong {
  color: rgba(240, 235, 224, .8);
}

/* ----- Footer ----- */
footer {
  background: var(--bg-forest);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-brand {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: auto;
  }
}

.footer-brand img {
  width: 160px;
  height:100px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(249, 247, 244, 0.4);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(249, 247, 244, 0.5);
  font-size: 0.85rem;
  transition: border-color var(--transition), color var(--transition);
}

.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-links h4,
.footer-contato h4 {
  font-family: 'Fraunces', serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(249, 247, 244, 0.4);
  margin-bottom: 1.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(249, 247, 244, 0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-contato {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contato p {
  font-size: 0.85rem;
  color: rgba(249, 247, 244, 0.55);
  line-height: 1.6;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  max-width: none;
}

.footer-contato i {
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-tel-wpp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(249, 247, 244, 0.6);
  transition: color var(--transition);
}

.footer-tel-wpp:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(249, 247, 244, 0.3);
}

.hrdev {
  color: var(--gold);
  transition: color var(--transition);
}

.hrdev:hover {
  color: var(--gold-light);
}

/* ═══════════════════════════════════════════════════
   MODAL — Calendário de Disponibilidade
   ═══════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 12, 6, 0.75);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--fg);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  padding: 40px 44px 36px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
  transform: translateY(20px) scale(.98);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: none;
}

.modal-box::-webkit-scrollbar {
  display: none;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .55);
  transition: background var(--transition), color var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.modal-header {
  margin-bottom: 32px;
  text-align: center;
}

.modal-header .eyebrow {
  color: var(--gold-light);
  margin-bottom: 8px;
}

.modal-header h3 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  font-weight: 500;
}

.cal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 56px 0;
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
}

.cal-spinner {
  width: 32px;
  height: 32px;
  border: 2.5px solid rgba(255, 255, 255, .12);
  border-top-color: var(--gold-light);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.cal-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 0;
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
  text-align: center;
}

.cal-error svg {
  color: rgba(255, 255, 255, .3);
}

.cal-error p {
  max-width: 28ch;
}

.cal-error .btn-outline {
  border-color: rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .06);
}

.cal-nav {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}

.cal-nav-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  margin-top: 4px;
}

.cal-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.cal-nav-btn:disabled {
  opacity: .3;
  cursor: default;
}

.cal-months {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.cal-month-title {
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px 0;
}

.cal-weekday {
  text-align: center;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .35);
  padding-bottom: 8px;
}

.cal-day {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 400;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  user-select: none;
}

.cal-day--passado {
  color: rgba(255, 255, 255, .2);
  cursor: default;
}

.cal-day--indisponivel.cal-day--hoje {
  color: rgba(255, 255, 255, .22) !important;
  background: rgba(255, 255, 255, .04) !important;
  border-color: rgba(255, 255, 255, .15) !important;
  text-decoration: line-through;
  cursor: not-allowed;
}

.cal-day--indisponivel {
  color: rgba(255, 255, 255, .22);
  cursor: not-allowed;
  background: rgba(255, 255, 255, .04);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, .15);
}

.cal-day--disponivel {
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
}

.cal-day--disponivel:hover {
  background: rgba(184, 146, 46, .25);
  color: var(--gold-light);
}

.cal-day--hoje {
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-weight: 600;
}

.cal-day--checkin,
.cal-day--checkout {
  background: var(--gold) !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px;
}

.cal-day--checkin {
  border-radius: 6px 0 0 6px;
}

.cal-day--checkout {
  border-radius: 0 6px 6px 0;
}

.cal-day--checkin.cal-day--checkout {
  border-radius: 6px;
}

.cal-day--range {
  background: rgba(184, 146, 46, .18);
  color: var(--gold-light);
  border-radius: 0;
}

.cal-day--range-blocked {
  background: rgba(184, 146, 46, .08);
  color: rgba(255, 255, 255, .25);
}

.cal-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.cal-bar-field {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .5);
  flex: 1;
  min-width: 130px;
}

.cal-bar-field--checkin {
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--gold-light);
}

.cal-bar-label {
  display: block;
  font-size: .6rem;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .35);
  margin-bottom: 2px;
}

.cal-bar-value {
  display: block;
  font-size: .88rem;
  color: rgba(255, 255, 255, .8);
}

.cal-bar-value--set {
  color: #fff;
  font-weight: 500;
}

.cal-bar-arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, .3);
}

.cal-bar-sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, .1);
  flex-shrink: 0;
  display: none;
}

@media (min-width: 600px) {
  .cal-bar-sep {
    display: block;
  }
}

.cal-bar-field--hospedes {
  justify-content: flex-start;
  flex: 0 0 auto;
}

.cal-hospedes-ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.cal-hospedes-ctrl span {
  font-size: .95rem;
  font-weight: 500;
  color: #fff;
  min-width: 16px;
  text-align: center;
}

.cal-hospedes-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .75);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.cal-hospedes-btn:hover {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.cal-hospedes-btn:disabled {
  opacity: .3;
  cursor: default;
}

.cal-bar-clear {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .5);
  font-size: .8rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.cal-bar-clear:hover {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
}

.cal-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}

.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .75rem;
  color: rgba(255, 255, 255, .4);
}

.cal-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.cal-legend-dot--disp {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
}

.cal-legend-dot--indisp {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
}

.cal-legend-dot--hoje {
  border: 1.5px solid rgba(255, 255, 255, .35);
  background: transparent;
}

.cal-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .3);
  max-width: none;
}

.cal-hint svg {
  flex-shrink: 0;
  color: var(--gold);
}

.modal-footer {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-submit {
  width: 100%;
  justify-content: center;
}

.modal-note {
  font-size: .78rem;
  color: rgba(255, 255, 255, .35);
  text-align: center;
  max-width: none;
}

@media (max-width: 640px) {
  .modal-box {
    padding: 28px 20px 24px;
    border-radius: var(--radius);
  }

  .cal-months {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cal-bar {
    padding: 12px 14px;
  }

  .cal-bar-sep {
    display: none;
  }

  .cal-bar-arrow {
    display: none;
  }
}

/* ----- FAB WhatsApp ----- */
.fab-whats {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 56px;
  height: 56px;
  background: var(--whats);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(31, 174, 86, .45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.fab-whats:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(31, 174, 86, .55);
}

/* =========================================
   RESPONSIVIDADE TOTAL (TABLETS E CELULARES)
   ========================================= */

/* Estágio 1: Tablets e Desktops pequenos (até 1023px) */
/* Neste ponto, os chalés, história e serviços ficam empilhados elegantemente */
@media (max-width: 1023px) {
  /* Evita que as imagens da história fiquem espremidas ao lado do texto */
  .historia-images {
    grid-template-columns: 1fr;
  }

  .hist-img-secondary {
    flex-direction: row;
    padding-top: 16px;
  }

  .hist-img-secondary img {
    height: 16rem;
  }
}

/* Estágio 1.5: Adaptação das tabelas de preços */
@media (max-width: 768px) {
  .precos-grid {
    grid-template-columns: 1fr 1fr;
  }

  .preco-item:nth-child(3) {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid var(--border);
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: left;
  }

  .footer-contato p {
    justify-content: flex-start;
  }

  .social-links {
    justify-content: flex-start;
  }

  .reservas-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .reservas-links .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding-bottom: 5.5rem;
  }
}

/* Estágio 2: Celulares padrão (até 640px) */
@media (max-width: 640px) {
  /* Tabela de preços vira lista */
  .precos-grid {
    grid-template-columns: 1fr;
  }

  .preco-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .preco-item:last-child {
    border-bottom: none;
  }

  .highlights-list {
    grid-template-columns: 1fr;
  }

  .highlights-list li {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .highlights-list li:last-child {
    border-bottom: none;
  }

  .ext-photos,
  .servicos-photos,
  .depoimento-photos {
    grid-template-columns: 1fr;
  }
}

/* Estágio 3: Celulares pequenos (até 480px) */
@media (max-width: 480px) {
  .section {
    padding: 56px 0;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-content {
    padding-top: 50px;
  }

  .comodidades {
    grid-template-columns: 1fr;
  }

  .hist-img-main img {
    height: 20rem;
  }

  .hist-img-secondary {
    flex-direction: column;
  }

  .hist-img-secondary img {
    height: auto;
  }

  .hist-img-secondary img:first-child {
    height: 14rem;
  }

  .ext-photo-main {
    height: 16rem;
  }

  .ext-photo-sec {
    height: 12rem;
  }

  .pagamento-item {
    flex-direction: column;
    gap: 12px;
  }
}

/* ============================================================
   ANIMAÇÕES & SCROLL SUAVE
   ============================================================ */

/* ----- Tokens de animação ----- */
:root {
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-out-back: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: .35s;
  --dur-normal: .55s;
  --dur-slow: .8s;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-left {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fade-right {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow { animation: fade-up var(--dur-normal) var(--ease-out-expo) .1s both; }
.hero-title { animation: fade-up var(--dur-slow) var(--ease-out-expo) .25s both; }
.hero-subtitle { animation: fade-up var(--dur-slow) var(--ease-out-expo) .4s both; }
.hero-actions { animation: fade-up var(--dur-normal) var(--ease-out-expo) .55s both; }
.hero-scroll { animation: fade-in var(--dur-slow) ease 1.2s both; }
.highlights-bar { animation: slide-down var(--dur-normal) var(--ease-out-expo) .7s both; }

[data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
}

[data-reveal="up"] { transform: translateY(36px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="fade"] { transform: none; }

[data-reveal].revealed {
  animation: none;
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-normal) var(--ease-out-expo),
    transform var(--dur-normal) var(--ease-out-expo);
}

[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }
[data-reveal][data-delay="6"] { transition-delay: .48s; }

.nav-bar { animation: slide-down var(--dur-normal) var(--ease-out-expo) both; }

.chale-thumb img { transition: transform .4s var(--ease-out-expo); }
.chale-thumb:hover img { transform: scale(1.08); }

.chale-main-img { transition: opacity .3s ease, transform .5s var(--ease-out-expo); }
.chale-main-img.is-switching { opacity: 0; transform: scale(1.03); }

.servico-card { transition: transform var(--transition), box-shadow var(--transition); }
.servico-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.depoimento-card { transition: transform var(--transition), box-shadow var(--transition); }
.depoimento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

@keyframes icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.highlights-list li:hover svg { animation: icon-pulse .5s var(--ease-out-back); }

.ext-icon { transition: transform var(--transition), background var(--transition); }
.ext-features li:hover .ext-icon { transform: scale(1.12) rotate(-3deg); }

.btn {
  transition:
    transform var(--dur-fast) var(--ease-out-back),
    box-shadow var(--transition),
    opacity var(--transition),
    background var(--transition);
}

.btn:active { transform: scale(.97) translateY(1px) !important; }

@keyframes fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 174, 86, .5); }
  70% { box-shadow: 0 0 0 16px rgba(31, 174, 86, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 174, 86, 0); }
}

.fab-whats { animation: fab-pulse 2.8s ease-out 3s infinite; }

img { transition: opacity .4s ease; }
img.lazy-hidden { opacity: 0; }
img.lazy-loaded { opacity: 1; }

.hist-img-main img,
.hist-img-secondary img {
  transition: transform .6s var(--ease-out-expo);
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

[hidden] { display: none !important; }

/* ================================================================
   PATCH RESPONSIVO
   ================================================================ */

.chale-card,
.chale-info,
.historia-grid,
.historia-text,
.ext-grid,
.ext-features,
.reservas-grid,
.servicos-grid,
.footer-inner {
  min-width: 0;
}

.chale-info,
.historia-text {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ── Chalé card: breakpoint para telas intermediárias largas (1024–1250px) ──────── */
@media (min-width: 1024px) and (max-width: 1250px) {
  .chale-info {
    padding: 26px 22px;
    gap: 16px;
  }
  .chale-chamada { font-size: 0.93rem; }
  .chale-desc { font-size: 0.88rem; }
  .precos-grid { grid-template-columns: 1fr 1fr; }
  .preco-item:nth-child(3) {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .preco-val { font-size: 1.1rem; }
  .preco-label { font-size: 0.59rem; letter-spacing: .1em; }
  .chale-superior { font-size: 0.85rem; padding: 12px 14px; }
  .comodidades { font-size: 0.85rem; gap: 6px; }
}

@media (max-width: 1023px) {
  .section { padding: clamp(48px, 6vw, 72px) 0; }
  .depoimentos {
    padding-top: clamp(48px, 6vw, 72px);
    padding-bottom: 4.5rem;
  }
  .section-header { margin-bottom: 40px; }
}

@media (max-width: 768px) {
  .hero { min-height: 92vh; }
  .hero-content { padding-top: 90px; padding-bottom: 60px; }
  .hero-subtitle { font-size: 1rem; margin-top: 14px; }
  .hero-actions { gap: 10px; margin-top: 26px; }
}

@media (max-width: 560px) {
  .hero { min-height: 90vh; }
  .hero-content { padding-top: 80px; padding-bottom: 52px; }
  .hero-title { font-size: clamp(2.4rem, 9vw, 3.4rem); max-width: 100%; }
  .hero-subtitle { font-size: 0.95rem; max-width: 100%; }
  .hero-actions .btn { padding: 0.75rem 1.4rem; font-size: 0.9rem; }
}

@media (max-width: 380px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (min-width: 641px) and (max-width: 767px) {
  .highlights-list { grid-template-columns: 1fr 1fr; }
  .highlights-list li { border-bottom: 1px solid var(--border); }
  .highlights-list li:nth-child(2n) { border-right: none; }
  .highlights-list li:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 1100px) {
  .hist-img-main img { height: clamp(18rem, 30vw, 36rem); }
}

@media (max-width: 640px) {
  .historia-grid { gap: 32px; }
  .hist-img-main img { height: 18rem; }
  .hist-img-secondary { flex-direction: row; gap: 10px; padding-top: 0; }
  .hist-img-secondary img { height: 12rem !important; }
  .section-header { margin-bottom: 32px; }
  .section-sub { font-size: 0.93rem; }
}

@media (max-width: 640px) {
  .chale-info h3 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .chale-info { padding: 22px 18px; gap: 16px; }
  .chale-info h3 { font-size: 1.6rem; }
  .chale-superior { font-size: 0.88rem; }
}

@media (max-width: 640px) {
  .ext-photo-main { height: 18rem; }
  .ext-photo-sec { height: 11rem; }
  .ext-features li { padding: 16px 0; gap: 16px; }
  .ext-features h3 { font-size: 0.95rem; }
  .ext-features p { font-size: 0.85rem; }
}

@media (max-width: 420px) {
  .ext-photos { grid-template-columns: 1fr; }
  .ext-photo-sec { height: 14rem; }
  .ext-photo-main { height: 16rem; }
}

@media (max-width: 640px) {
  .servicos-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .servicos-photos { grid-template-columns: 1fr 1fr; }
  .servicos-photos img { height: 9rem; }
}

@media (max-width: 480px) {
  .servicos-photos { grid-template-columns: 1fr; }
  .servicos-photos img { height: 12rem; width: 100%; }
}

@media (max-width: 480px) {
  .depoimento-card { padding: 1.5rem 1.25rem; }
  .depoimento-card p { font-size: 0.88rem; }
}

@media (max-width: 640px) {
  .reservas-cta { padding: 28px 22px; }
  .reservas-cta h3 { font-size: 1.5rem; }
  .checkin-info { flex-wrap: wrap; }
  .pagamentos { gap: 12px; }
}

@media (max-width: 500px) {
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 28px 16px 20px;
    max-height: 95vh;
    width: 100%;
    max-width: 100%;
  }
  .modal-header h3 { font-size: 1.6rem; }
  .modal-close { top: 14px; right: 14px; }
  .cal-day { font-size: 0.75rem; }
  .cal-weekday { font-size: 0.6rem; }
}

@media (max-width: 380px) {
  .nav-brand-text span { font-size: 14px; }
  .nav-brand-img { height: 34px; }
  .nav-inner { gap: 12px; }
}

@media (max-width: 480px) {
  .footer-inner { padding: 3.5rem 1rem 2rem; gap: 2rem; }
  .footer-bottom { padding: 1.25rem 1rem; padding-bottom: 5.5rem; }
  .footer-brand img { width: 130px; height: 80px; }
  .footer-brand p { font-size: 0.82rem; }
}

@supports (padding: env(safe-area-inset-bottom)) {
  .fab-whats {
    right: max(20px, env(safe-area-inset-right, 20px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-menu.open { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  @media (max-width: 768px) {
    .footer-bottom { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
  }
}

@media print {
  .nav-bar,
  .fab-whats,
  .modal-overlay,
  .nav-toggle,
  .mobile-menu,
  .hero-scroll { display: none !important; }
  .section { padding: 40px 0 !important; }
}