:root {
  --color-bg: #f6f3ee;
  --color-surface: #fffdf8;
  --color-text: #1f2a1f;
  --color-muted: #5a675d;
  --color-primary: #2f5d44;
  --color-primary-2: #3f6f55;
  --color-accent: #8d6844;
  --color-border: #d9d4ca;
  --color-overlay: rgba(16, 22, 16, 0.48);

  --container: 1160px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 6px 18px rgba(23, 27, 24, 0.08);
  --shadow-md: 0 14px 40px rgba(23, 27, 24, 0.12);

  --space-2xs: 0.4rem;
  --space-xs: 0.65rem;
  --space-sm: 0.9rem;
  --space-md: 1.2rem;
  --space-lg: 1.8rem;
  --space-xl: 2.6rem;
  --space-2xl: clamp(3rem, 6vw, 5.5rem);

  --fs-xs: clamp(0.82rem, 0.2vw + 0.76rem, 0.92rem);
  --fs-sm: clamp(0.94rem, 0.2vw + 0.86rem, 1.04rem);
  --fs-base: clamp(1rem, 0.35vw + 0.92rem, 1.1rem);
  --fs-lg: clamp(1.22rem, 0.65vw + 1.05rem, 1.45rem);
  --fs-xl: clamp(1.65rem, 1.2vw + 1.32rem, 2.45rem);
  --fs-2xl: clamp(2rem, 3vw + 1.35rem, 3.7rem);

  --font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-title: "Trebuchet MS", "Segoe UI", sans-serif;

  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background:
    radial-gradient(circle at 8% 6%, #ffffff 0, #f6f3ee 34%),
    radial-gradient(circle at 92% 2%, #ece6dc 0, transparent 40%),
    var(--color-bg);
}

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

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

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding-left: 1.1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  font-family: var(--font-title);
}

h1 {
  font-size: var(--fs-2xl);
}

h2 {
  font-size: var(--fs-xl);
}

h3 {
  font-size: var(--fs-lg);
}

:focus-visible {
  outline: 3px solid #226be0;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -44px;
  background: #fff;
  color: #000;
  z-index: 3000;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  border: 1px solid #000;
}

.skip-link:focus {
  top: 8px;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-2xl);
}

.section-head {
  margin-bottom: var(--space-xl);
}

.section-head p {
  color: var(--color-muted);
  margin-top: var(--space-xs);
  max-width: 72ch;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 999;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
  background: rgba(246, 243, 238, 0.72);
  backdrop-filter: blur(8px);
}

.site-header.scrolled {
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary);
}

.site-nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: none;
}

.site-nav.open {
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-list a {
  display: inline-block;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  font-weight: 600;
}

.nav-list a.active,
.nav-list a:hover {
  color: var(--color-primary);
  background: #eef3ee;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  display: block;
  content: "";
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before {
  position: absolute;
  top: -6px;
}

.menu-toggle-lines::after {
  position: absolute;
  top: 6px;
}

.main-offset {
  padding-top: var(--header-h);
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2));
  color: #f8fff9;
  box-shadow: 0 10px 24px rgba(34, 63, 48, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(34, 63, 48, 0.36);
}

.btn-secondary {
  background: #ebe6dc;
  color: #2e362f;
}

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

.hero {
  min-height: min(92vh, 760px);
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(12, 16, 12, 0.64), rgba(17, 20, 16, 0.22)),
    linear-gradient(to right, rgba(0, 0, 0, 0.38), transparent 65%);
}

.hero-content {
  color: #f7f9f3;
  max-width: 760px;
  padding: clamp(1.2rem, 3vw, 2rem) 0 clamp(2rem, 6vw, 4rem);
}

.hero p {
  margin-top: var(--space-sm);
  color: #e8ecdf;
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.18rem);
}

.hero-actions {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: clip;
}

.card-body {
  padding: 1rem;
}

.card-media-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card-link:hover .card-media {
  transform: scale(1.04);
}

.card-link {
  display: block;
  height: 100%;
}

.card-cabana h3 {
  margin-bottom: 0.35rem;
}

.card-cabana p {
  margin-top: 0.35rem;
}

.card-meta {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.price {
  font-weight: 700;
  color: var(--color-primary);
}

.link-more {
  color: var(--color-accent);
  font-weight: 700;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  padding: 0.2rem 0.6rem;
  background: #edf3ec;
  color: #2d5a42;
  border: 1px solid #d4e4d4;
  font-weight: 700;
}

.icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.icon-card {
  padding: 1rem;
  position: relative;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e8efe8;
  margin-bottom: 0.7rem;
  position: relative;
  display: inline-block;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
}

.icon-tree::before {
  inset: 7px 9px 12px;
  border-radius: 50% 50% 40% 40%;
  background: #376548;
}

.icon-tree::after {
  width: 8px;
  height: 12px;
  background: #7b5e41;
  left: 16px;
  bottom: 4px;
  border-radius: 2px;
}

.icon-fire::before {
  width: 16px;
  height: 22px;
  left: 12px;
  top: 8px;
  border-radius: 60% 40% 58% 42%;
  background: #cf8449;
  transform: rotate(12deg);
}

.icon-fire::after {
  width: 8px;
  height: 12px;
  left: 16px;
  top: 13px;
  border-radius: 60% 40% 58% 42%;
  background: #f6c489;
}

.icon-view::before {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #3f6c52;
  top: 8px;
  left: 8px;
}

.icon-view::after {
  width: 10px;
  height: 3px;
  background: #3f6c52;
  right: 6px;
  bottom: 9px;
  transform: rotate(-35deg);
  border-radius: 2px;
}

.quote-card {
  padding: 1.1rem;
}

.quote-card p {
  margin-bottom: 0.7rem;
  color: #303a32;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.footer {
  background: #1f2a22;
  color: #f0f4ef;
  margin-top: var(--space-2xl);
}

.footer-inner {
  padding-block: 2rem;
  display: grid;
  gap: 1.3rem;
}

.footer a {
  color: #cde1d2;
}

.footer-bottom {
  border-top: 1px solid rgba(240, 244, 239, 0.18);
  padding: 1rem 0;
  color: #ccdbce;
  font-size: var(--fs-sm);
}

.filters {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  display: grid;
  gap: 0.95rem;
  margin-bottom: 1rem;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfc9bd;
  border-radius: 10px;
  background: #fffcf6;
  padding: 0.66rem 0.75rem;
  font: inherit;
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.check-row {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: var(--fs-sm);
}

.result-line {
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}

.empty-state {
  padding: 1rem;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: #d8ddd4;
}

.carousel-track {
  display: flex;
  transition: transform 0.35s ease;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  aspect-ratio: 16 / 10;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  font-size: 1.2rem;
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #becabf;
  cursor: pointer;
}

.carousel-dot.active {
  background: #2f5d44;
}

.detail-grid {
  display: grid;
  gap: 1rem;
}

.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.panel h3 {
  margin-bottom: 0.6rem;
}

.panel ul li + li {
  margin-top: 0.35rem;
}

details {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fdfaf3;
  padding: 0.68rem 0.8rem;
}

details + details {
  margin-top: 0.45rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

summary + p {
  margin-top: 0.6rem;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 252, 246, 0.97);
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.sticky-cta .btn {
  width: 100%;
}

.form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.form-group + .form-group {
  margin-top: 0.8rem;
}

.form-group label {
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.form-error {
  min-height: 1.1rem;
  color: #a20023;
  font-size: var(--fs-xs);
  margin-top: 0.2rem;
}

.form-success {
  margin-top: 1rem;
  border: 1px solid #bbd4bf;
  background: #eaf5eb;
  border-radius: 12px;
  padding: 0.8rem;
}

.mensagem-pronta {
  margin-top: 0.6rem;
  border-radius: 10px;
  background: #fff;
  border: 1px dashed #b7c8b7;
  padding: 0.65rem;
  white-space: pre-wrap;
}

.map-placeholder {
  margin-top: 0.8rem;
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px dashed #c9c2b4;
  background: #f9f6ef;
}

.list-clean {
  list-style: none;
  padding: 0;
}

.list-clean li + li {
  margin-top: 0.4rem;
}

.page-hero {
  padding-block: clamp(2.7rem, 7vw, 5rem) 2.2rem;
  background:
    linear-gradient(to right, rgba(48, 88, 65, 0.17), rgba(163, 118, 77, 0.09)),
    #f5f0e8;
}

.page-hero p {
  max-width: 70ch;
  margin-top: 0.6rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-grid {
    grid-template-columns: 2fr 1fr;
    align-items: end;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-nav {
    position: static;
    display: block;
    background: transparent;
    border: 0;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 0.2rem;
  }

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

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .detail-grid {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
  }

  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: clamp(3.5rem, 5vw, 6rem);
  }

  .card-body,
  .panel,
  .form-wrap,
  .filters {
    padding: 1.2rem;
  }

  .sticky-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
