/* =========================================================
   POUSADA CANTO DA CASCATA
   Folha de estilos consolidada
   ========================================================= */

/* 1. Variáveis e base */
:root {
  --forest: #193a31;
  --deep: #112b24;
  --sage: #adbdab;
  --cream: #f5f0e8;
  --sand: #e8dfd0;
  --ink: #21342e;
  --border: #d8cebd;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
}

body:has(.gallery-modal.open) { overflow: hidden; }

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input,
textarea,
select { font: inherit; }

button { cursor: pointer; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
}

/* 2. Componentes reutilizáveis */
.section { padding: clamp(80px, 10vw, 145px) 8vw; }

.eyebrow {
  margin: 0 0 15px;
  color: #7b9275;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.eyebrow.light { color: #d9dfc9; }
.eyebrow.centered { margin-bottom: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 21px;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.button:hover { transform: translateY(-2px); }
.button span,
.text-link span { font-size: 20px; font-weight: 400; }

.button-light { background: #fff; color: var(--deep); }

.button-dark {
  width: 100%;
  margin-top: 8px;
  background: var(--forest);
  color: #fff;
}

/* 3. Cabeçalho */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  width: 100%;
  height: 86px;
  padding: 12px 5vw;
  color: #fff;
  background: linear-gradient(180deg, rgba(8, 24, 18, 0.78), rgba(8, 24, 18, 0.28));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.brand {
  width: 160px;
  height: 58px;
}

.brand img {
  width: 160px;
  height: 54px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(25px, 4vw, 62px);
  margin: 0;
  padding: 17px 34px;
  background: rgba(7, 30, 22, 0.76);
  border: 2px solid rgba(204, 220, 201, 0.45);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(14px);
}

.nav-menu a { opacity: 0.88; transition: opacity var(--transition); }
.nav-menu a:hover { opacity: 1; }
.nav-menu-left { justify-self: end; }
.nav-menu-right { justify-self: start; }

.nav-reserve {
  position: absolute;
  right: 5vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: #eef3e8;
  border: 1px solid #eef3e8;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}

.nav-reserve:hover { background: transparent; color: #fff; }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
}

/* 4. Hero */
.hero {
  position: relative;
  min-height: 620px;
  height: min(800px, 100vh);
  overflow: hidden;
  color: #fff;
}

.slides,
.slide,
.hero-shade { position: absolute; inset: 0; }

.slide { margin: 0; opacity: 0; transition: opacity 1.1s ease; }
.slide.active { opacity: 1; }
.slide img { object-position: center 52%; }

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 28, 21, 0.70), rgba(8, 28, 21, 0.28) 48%, rgba(8, 28, 21, 0.05) 75%),
    linear-gradient(0deg, rgba(5, 20, 15, 0.45), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  padding: clamp(160px, 26vh, 235px) 8vw 60px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 6.3vw, 89px);
  letter-spacing: -2.5px;
}

.hero h1 em,
h2 em { font-weight: 500; }

.hero-copy { margin: 20px 0 31px; font-size: 17px; }

.slide-controls {
  position: absolute;
  right: 8vw;
  bottom: 45px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 15px;
}

.slide-arrow {
  padding: 4px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 21px;
}

.slide-arrow.previous,
.slide-arrow.next { line-height: 1; }

.slide-dots { display: flex; gap: 8px; }

.slide-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 50%;
}

.slide-dots button.active { background: #fff; }

.scroll-cue {
  position: absolute;
  bottom: 46px;
  left: 8vw;
  z-index: 2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.scroll-cue span { margin-left: 10px; font-size: 18px; }

/* 5. Apresentação */
.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(50px, 10vw, 155px);
  max-width: 1500px;
  margin: auto;
}

.image-frame { position: relative; height: 570px; }
.intro-image img { object-position: center; }

.image-frame::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  z-index: -1;
  width: 71%;
  height: 70%;
  border: 1px solid #b8c7ae;
  content: "";
}

.intro-text { max-width: 595px; }

.intro h2,
.stay h2,
.details h2 {
  margin: 0 0 24px;
  font-size: clamp(36px, 4.3vw, 58px);
  letter-spacing: -1.6px;
}

.intro-text p:not(.eyebrow) { margin: 0 0 14px; }

.amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #d3caba;
  font-size: 12px;
}

.amenities span { color: #7c9175; }
.amenities b { margin-left: 6px; color: var(--ink); font-weight: 600; }

/* 6. Acomodações */
.stay { background: #eae2d5; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  max-width: 1500px;
  margin: 0 auto 48px;
}

.section-heading > p { max-width: 360px; margin: 0; font-size: 14px; }

.accommodation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1500px;
  margin: auto;
}

.accommodation {
  display: flex;
  flex-direction: column;
  background: #f9f6ef;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.accommodation:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(24, 44, 36, 0.12);
}

/* Variações estruturais das acomodações, mantidas para extensões futuras. */
.accommodation.featured,
.accommodation.suites { position: relative; }

.accommodation img { height: 285px; }

.card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 22px 23px;
}

.card-kicker {
  margin: 0 0 8px;
  color: #728870;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.card-content h3 { margin: 0 0 9px; font-size: 28px; }

.card-content > p:not(.card-kicker) {
  flex: 1;
  min-height: 59px;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.55;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gallery-trigger {
  padding: 3px 0 5px;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #859a80;
  color: #526b50;
  font: 700 10px var(--sans);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery-trigger span { margin-left: 5px; font-size: 17px; font-weight: 400; }

.reserve-link,
.text-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.reserve-link span { margin-left: 8px; font-size: 19px; font-weight: 400; }

.accommodation-note {
  max-width: 1500px;
  margin: 27px auto 0;
  color: #637766;
  font-size: 12px;
  text-align: center;
}

/* 7. Monte Verde */
.experience {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 620px;
  background: var(--forest);
  color: #fff;
}

.experience-image { min-height: 470px; }

.experience-text {
  align-self: center;
  padding: clamp(70px, 10vw, 145px) clamp(32px, 8vw, 120px);
}

.experience h2 {
  margin: 0 0 24px;
  font-size: clamp(43px, 5vw, 67px);
  letter-spacing: -1.5px;
}

.experience-text > p:not(.eyebrow) {
  max-width: 450px;
  margin: 0 0 14px;
  color: #e0e5dd;
  font-size: 14px;
}

.text-link {
  display: inline-block;
  margin-top: 19px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: opacity var(--transition);
}

.text-link:hover { opacity: 0.75; }
.text-link.light { color: #fff; border-color: #adc0ab; }

/* 8. Detalhes da reserva */
.details { text-align: center; }
.details h2 { margin-bottom: 53px; }

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1050px;
  margin: auto;
}

.details-grid > div { padding: 0 25px; border-right: 1px solid var(--border); }
.details-grid > div:last-child { border: 0; }
.details-grid span { color: #769071; font-size: 25px; }
.details-grid h3 { margin: 10px 0 2px; font-size: 23px; }
.details-grid p { margin: 0; font-size: 12px; }

/* 9. Contato e formulário */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--deep);
  color: #fff;
}

.contact-info { padding: clamp(75px, 10vw, 130px) clamp(30px, 8vw, 120px); }

.contact-info h2 {
  margin: 0 0 20px;
  font-size: clamp(44px, 5vw, 66px);
  letter-spacing: -1.8px;
}

.contact-info > p:not(.eyebrow):not(.address) {
  max-width: 390px;
  margin: 0 0 34px;
  color: #d8e0d6;
  font-size: 14px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
  color: #c8d4ba;
  font-size: 22px;
}

.contact-line span { color: #fff; font-size: 15px; line-height: 1.25; }

.contact-line small {
  display: block;
  margin-bottom: 4px;
  color: #b7c8af;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.address { margin-top: 37px; color: #d8e0d6; font-size: 12px; line-height: 1.8; }

.contact-form {
  padding: clamp(65px, 9vw, 115px) clamp(30px, 8vw, 120px);
  background: #f6f0e6;
  color: var(--ink);
}

.contact-form h3 { margin: 0 0 25px; font-size: 32px; }

.contact-form label {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  display: block;
  width: 100%;
  padding: 9px 0 8px;
  resize: vertical;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #c5baa9;
  color: var(--ink);
  font: 400 14px var(--sans);
  outline: none;
}

.contact-form select { cursor: pointer; }

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--forest); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* 10. Mapa, rodapé e atalho de WhatsApp */
.map-section { position: relative; height: 400px; }

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.65) contrast(0.94);
}

.map-section > a {
  position: absolute;
  bottom: 28px;
  left: 8vw;
  padding: 13px 18px;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.map-section > a span { margin-left: 10px; font-size: 18px; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 130px;
  padding: 20px 8vw;
  background: #0c211b;
  color: #d3ddd0;
  font-size: 11px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font: 11px/1.1 var(--serif);
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center 32%;
  background: #fff;
  border: 1px solid #708573;
  border-radius: 50%;
}

.footer-brand b { font-size: 13px; }
.footer-brand span { white-space: nowrap; }
footer p { margin: 0; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { white-space: nowrap; }

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 24px;
  z-index: 15;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 15px #1635296b;
  color: #fff;
  font-size: 27px;
  transition: transform var(--transition);
}

.whatsapp-float:hover { transform: scale(1.06); }

/* 11. Galeria */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.gallery-modal.open { display: flex; }

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 14, 0.91);
  backdrop-filter: blur(7px);
}

.gallery-panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: 100%;
  color: #fff;
  text-align: center;
}

.gallery-panel h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 39px); }

.gallery-counter {
  margin: 0 0 5px;
  color: #ccdac6;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.gallery-close {
  position: absolute;
  top: -4px;
  right: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font: 300 38px/1 var(--sans);
}

.gallery-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(65vh, 660px);
}

.gallery-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 15px 50px #0007;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 47px;
  height: 47px;
  transform: translateY(-50%);
  background: #102c24cf;
  border: 1px solid #ffffff8c;
  border-radius: 50%;
  color: #fff;
  font-size: 23px;
  transition: background var(--transition), color var(--transition);
}

.gallery-nav:hover { background: #fff; color: var(--deep); }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }

.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
  overflow: auto;
}

.gallery-thumbnails button {
  flex: 0 0 60px;
  height: 45px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  opacity: 0.58;
}

.gallery-thumbnails button.active { border-color: #fff; opacity: 1; }

/* Classe de apoio mantida para compatibilidade com versões anteriores do HTML. */
.contact-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: #fff;
  font: 12px/1.1 var(--serif);
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.contact-brand img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  object-position: center 32%;
  background: #fff;
  border: 1px solid #789078;
  border-radius: 50%;
}

.contact-brand b { font-size: 15px; }

/* 12. Responsividade */
@media (max-width: 950px) {
  .site-header { display: flex; justify-content: space-between; gap: 12px; padding: 12px 24px; }
  .brand { position: static; width: 145px; height: 60px; }
  .brand img { width: 145px; height: 55px; }
  .nav-menu { gap: 16px; padding: 14px 20px; }
  .nav-reserve { position: static; padding: 10px 12px; }
  .accommodation-grid { grid-template-columns: repeat(2, 1fr); }
  .accommodation img { height: 330px; }
  .experience-text { padding-right: 50px; padding-left: 50px; }
}

@media (max-width: 700px) {
  .site-header { height: 73px; padding: 10px 22px; }
  .brand { width: 112px; height: 52px; }
  .brand img { width: 112px; height: 46px; }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 9px 0;
  }

  .menu-toggle span { width: 25px; height: 1px; background: currentColor; }

  .nav-menu {
    position: absolute;
    top: 69px;
    right: 16px;
    display: none;
    width: min(290px, calc(100vw - 32px));
    padding: 23px;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    background: var(--deep);
    border: 0;
    border-radius: 0;
    box-shadow: 0 10px 25px #06120d5c;
  }

  .nav-menu-left { top: 69px; }
  .nav-menu-right { top: 175px; }
  .nav-menu.open { display: flex; }
  .nav-reserve { padding: 8px 9px; font-size: 9px; }
  .hero { min-height: 640px; }
  .hero-content { padding: 184px 26px 60px; }
  .hero h1 { font-size: 48px; letter-spacing: -1.4px; }
  .hero-copy { max-width: 270px; font-size: 15px; }
  .slide img { object-position: center; }
  .slide-controls { right: 22px; bottom: 31px; }
  .scroll-cue { bottom: 35px; left: 25px; }

  .section { padding: 75px 25px; }
  .intro { grid-template-columns: 1fr; gap: 58px; }
  .image-frame { width: calc(100% - 18px); height: 400px; }
  .image-frame::after { right: -17px; bottom: -17px; }
  .intro h2,
  .stay h2,
  .details h2 { font-size: 39px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { margin-top: 14px; }
  .accommodation-grid { grid-template-columns: 1fr; gap: 20px; }
  .accommodation img { height: 330px; }
  .card-content > p:not(.card-kicker) { min-height: auto; }

  .experience { grid-template-columns: 1fr; }
  .experience-image { min-height: 0; height: 340px; }
  .experience-text { padding: 70px 25px; }

  .details-grid { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .details-grid > div { padding: 0 14px; }
  .details-grid > div:nth-child(2) { border-right: 0; }

  .contact { grid-template-columns: 1fr; }
  .contact-info,
  .contact-form { padding: 70px 25px; }
  .contact-info h2 { font-size: 47px; }
  .form-row { gap: 16px; }
  .map-section { height: 340px; }

  footer {
    flex-direction: column;
    gap: 8px;
    min-height: 190px;
    padding: 25px;
    text-align: center;
  }

  .footer-links { gap: 16px; }
  .whatsapp-float { right: 18px; bottom: 16px; }

  .gallery-modal { padding: 20px 12px; }
  .gallery-panel h2 { margin-bottom: 8px; }
  .gallery-image-wrap { height: 60vh; }
  .gallery-nav { width: 39px; height: 39px; font-size: 19px; }
  .gallery-prev { left: 6px; }
  .gallery-next { right: 6px; }
  .gallery-close { top: -30px; right: 4px; }
  .gallery-thumbnails { justify-content: flex-start; }
  .gallery-thumbnails button { flex-basis: 52px; height: 40px; }
  .contact-brand { margin-bottom: 20px; }
}
