/* Conceito inspirado em hotel resort: verde protagonista, mídia ampla e reserva sempre visível. */
:root {
  --verde-principal: #078a72;
  --verde-claro: #10b39a;
  --verde-profundo: #073f36;
  --verde-escuro: #082f2a;
  --dourado: #c9993c;
  --dourado-hover: #a97827;
  --areia: #f6f1e7;
  --offwhite: #fffdf8;
  --texto: #24312d;
  --texto-suave: #6f7672;
  --linha: rgba(7, 63, 54, 0.14);
  --sombra: 0 22px 55px rgba(7, 63, 54, 0.15);
  --container: 1180px;
}

* {
  letter-spacing: 0;
}

html {
  scroll-padding-top: 92px;
}

body {
  background: var(--offwhite);
  color: var(--texto);
}

a {
  text-decoration: none;
}

.container {
  width: min(92%, var(--container));
}

/* TOPO ESTILO RESORT */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transform: none;
  border-radius: 0;
  background: var(--verde-principal);
  border: 0;
  box-shadow: 0 6px 0 rgba(7, 63, 54, 0.16);
  backdrop-filter: none;
}

.header.scrolled {
  background: #057d68;
  box-shadow: 0 10px 30px rgba(7, 63, 54, 0.18);
}

.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  align-items: center;
  gap: 24px;
}

.brand {
  justify-self: center;
  display: grid;
  place-items: center;
  gap: 0;
}

.logo {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  object-fit: contain;
}

.brand-text {
  align-items: center;
  margin-top: -3px;
}

.brand-text span:first-child {
  color: #fff;
  font-size: 1.06rem;
  line-height: 1;
  text-transform: uppercase;
}

.brand-text span:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.56rem;
  letter-spacing: 2px;
}

.nav {
  justify-self: center;
  display: flex;
  gap: clamp(22px, 3vw, 46px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.nav a {
  padding: 0;
  border-radius: 0;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.16rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin: 8px auto 0;
  background: #fff;
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: transparent;
}

.header-actions {
  justify-self: end;
}

.btn-whatsapp,
.btn-primary,
.btn-reservar,
.btn-modal {
  border: 0;
  border-radius: 0;
  background: var(--dourado);
  color: #fff;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.btn-whatsapp:hover,
.btn-primary:hover,
.btn-reservar:hover,
.btn-modal:hover {
  background: var(--dourado-hover);
  transform: translateY(-2px);
}

.btn-whatsapp {
  padding: 16px 26px;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 0;
  color: #fff;
  background: rgba(7, 63, 54, 0.34);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--verde-profundo);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  color: #fff;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu {
  display: none !important;
}

/* HOME HERO */
.hero {
  min-height: auto;
  padding: 88px 0 0;
  display: block;
  color: var(--texto);
  background: #fff;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 88px 0 0;
  width: 100%;
  height: 70vh;
  min-height: 560px;
  object-fit: cover;
  border-radius: 0;
  z-index: 0;
  filter: saturate(1.08) contrast(1.03);
  box-shadow: none;
}

.hero-overlay {
  position: absolute;
  inset: 88px 0 0;
  width: 100%;
  height: 70vh;
  min-height: 560px;
  border-radius: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.10)),
    linear-gradient(90deg, rgba(7, 63, 54, 0.10), rgba(7, 63, 54, 0.03));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(92%, var(--container));
  min-height: auto;
  margin: 0 auto;
  padding: calc(70vh + 70px) 0 138px;
  display: grid;
  grid-template-columns: 0.46fr 0.54fr;
  gap: 52px;
  align-items: start;
}

.hero-content::before,
.hero-content::after {
  display: none;
}

.hero-kicker {
  display: none;
}

.hero h1 {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--dourado);
  font-size: clamp(2.3rem, 4.4vw, 4.25rem);
  line-height: 1;
  text-shadow: none;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero p {
  max-width: 680px;
  margin-bottom: 0;
  padding-left: 42px;
  border-left: 2px solid var(--dourado);
  color: var(--texto-suave);
  font-size: 1.2rem;
  line-height: 1.8;
  letter-spacing: 1.2px;
}

.hero-card {
  grid-column: 2;
  max-width: 620px;
  margin-top: -12px;
  margin-left: 44px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--verde-profundo);
  box-shadow: none;
}

.hero-card strong {
  color: var(--verde-profundo);
}

.hero-card span {
  color: var(--texto-suave);
}

/* Barra inferior de reserva inspirada na referência. */
.hero-buttons {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2500;
  display: grid;
  grid-template-columns: 1fr 190px 190px 180px;
  align-items: center;
  gap: 0;
  min-height: 72px;
  padding: 0 max(18px, calc((100vw - var(--container)) / 2));
  background: var(--verde-claro);
  box-shadow: 0 -14px 36px rgba(7, 63, 54, 0.18);
}

.hero-buttons::before {
  content: "Reserve sua estadia";
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.22rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.hero-buttons::after {
  display: none;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
  min-height: 72px;
  padding: 0 28px;
  border: 0;
}

.hero-buttons .btn-primary {
  order: 4;
  background: #f09118;
  color: #fff;
}

.hero-buttons .btn-secondary {
  order: 3;
  background: rgba(7, 63, 54, 0.22);
  color: #fff;
}

/* SEÇÕES EDITORIAIS */
.section {
  padding: 104px 0;
}

.section-soft {
  background: #fff;
}

.section-title {
  color: var(--dourado);
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  display: block;
  width: 1px;
  height: 88px;
  margin: 28px auto 0;
  background: var(--dourado);
}

.section-subtitle {
  max-width: 780px;
  color: var(--texto-suave);
  font-size: 1.18rem;
  line-height: 1.85;
  letter-spacing: 1.2px;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
}

.highlight-card {
  min-height: 270px;
  padding: 42px 34px;
  border-radius: 0;
  border: 0;
  border-right: 1px solid var(--linha);
  background: #fff;
  box-shadow: none;
}

.highlight-card:last-child {
  border-right: 0;
}

.highlight-card h3 {
  color: var(--verde-profundo);
  margin-bottom: 18px;
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
}

.highlight-card p {
  color: var(--texto-suave);
}

.highlight-card::before,
.highlight-card::after,
.extra-box::before,
.extra-box::after {
  display: none;
}

.cta-section {
  background: var(--verde-profundo);
  color: #fff;
}

.cta-box {
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  box-shadow: none;
}

.cta-box h2 {
  color: #fff;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-preview {
  padding-bottom: 64px;
}

.contact-chip {
  border-radius: 0;
  border: 1px solid var(--verde-principal);
  background: transparent;
  color: var(--verde-profundo);
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.contact-chip:hover {
  background: var(--verde-principal);
  color: #fff;
}

/* HEROS INTERNOS */
.page-hero {
  min-height: 70vh;
  padding: 88px 0 0;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 88px 0 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.54)),
    linear-gradient(90deg, rgba(7, 63, 54, 0.36), transparent);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-content {
  max-width: 880px;
  padding: 0 0 84px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.page-kicker {
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 0;
  background: rgba(7, 63, 54, 0.46);
  color: #fff;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: 0.9;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
}

/* ACOMODAÇÕES */
.lista-quartos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.quarto {
  border-radius: 0;
  border: 0;
  background: #fff;
  box-shadow: var(--sombra);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quarto:nth-child(even) {
  transform: translateY(34px);
}

.quarto:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 78px rgba(7, 63, 54, 0.22);
}

.quarto:nth-child(even):hover {
  transform: translateY(24px);
}

.quarto-info {
  padding: 34px;
  background: #fff;
}

.quarto h3 {
  color: var(--verde-profundo);
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.quarto-meta span {
  border-radius: 0;
  background: #e8f2ee;
  color: var(--verde-profundo);
}

.quarto p,
.quarto-footer small {
  color: var(--texto-suave);
}

.quarto-footer {
  padding-top: 18px;
  border-top: 1px solid var(--linha);
}

.carrossel-container {
  background: var(--verde-escuro);
}

.carrossel-imagens img {
  height: 390px;
  filter: saturate(1.03) contrast(1.02);
}

.nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(7, 63, 54, 0.74);
}

.nav-btn:hover {
  background: var(--verde-profundo);
}

/* CONTATO */
.contact-box,
.contact-card,
.map-card,
.extra-box,
.modal-conteudo {
  border-radius: 0;
  border: 1px solid var(--linha);
  background: #fff;
  box-shadow: var(--sombra);
}

.contact-card::before {
  display: none;
}

.contact-card h2 {
  color: var(--verde-profundo);
}

.info-item {
  border-radius: 0;
  border: 1px solid var(--linha);
  background: #f0f7f4;
}

.localizacao-img {
  border-radius: 0;
  border: 1px solid var(--linha);
}

.map-container iframe,
.map-card iframe {
  filter: saturate(0.86) contrast(1.02);
}

.extra-box {
  min-height: 220px;
  padding: 34px;
  box-shadow: none;
}

.extra-box h3 {
  color: var(--verde-profundo);
  font-family: "Playfair Display", serif;
}

.modal {
  background: rgba(7, 63, 54, 0.76);
  backdrop-filter: blur(8px);
}

.modal-conteudo {
  max-width: 480px;
}

.modal-conteudo h2 {
  color: var(--verde-profundo);
}

.data {
  border-radius: 0;
  border: 1px solid var(--linha);
}

.data:focus {
  border-color: var(--verde-principal);
  box-shadow: 0 0 0 4px rgba(16, 179, 154, 0.16);
}

.zoom-overlay {
  background: rgba(7, 63, 54, 0.90);
  backdrop-filter: blur(6px);
}

.zoom-overlay img {
  border-radius: 0;
}

.footer {
  margin-bottom: 72px;
  background: var(--verde-escuro);
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 190px 1fr 210px;
  }

  .nav {
    gap: 20px;
  }

  .nav a {
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  .highlights,
  .lista-quartos,
  .contact-grid,
  .extra-contact {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    border-right: 0;
    border-bottom: 1px solid var(--linha);
  }

  .highlight-card:last-child {
    border-bottom: 0;
  }

  .quarto:nth-child(even),
  .quarto:nth-child(even):hover {
    transform: none;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 78px;
  }

  .header-inner {
    min-height: 78px;
    display: flex;
    justify-content: space-between;
  }

  .brand {
    justify-self: auto;
    display: flex;
  }

  .brand-text {
    align-items: flex-start;
    margin-top: 0;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu {
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    padding: 16px 4%;
    background: var(--verde-principal);
    border-top: 1px solid rgba(255, 255, 255, 0.20);
    flex-direction: column;
    gap: 8px;
  }

  .mobile-menu.active {
    display: flex !important;
  }

  .mobile-menu a {
    color: #fff;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .hero,
  .page-hero {
    padding-top: 78px;
  }

  .hero video,
  .hero-overlay {
    top: 78px;
    height: 58vh;
    min-height: 420px;
  }

  .hero-content {
    min-height: auto;
    padding-top: calc(58vh + 48px);
    padding-bottom: 130px;
    display: block;
  }

  .hero h1 {
    max-width: 100%;
    margin-bottom: 22px;
  }

  .hero p {
    padding-left: 22px;
  }

  .hero-card {
    margin: 22px 0 0;
  }

  .hero-buttons {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    padding: 0;
  }

  .hero-buttons::before,
  .hero-buttons::after {
    display: none;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    min-height: 60px;
    width: 100%;
  }

  .page-hero-content {
    padding-bottom: 60px;
  }
}

@media (max-width: 640px) {
  .container,
  .hero-content {
    width: min(91%, var(--container));
  }

  .brand-text span:first-child {
    font-size: 0.98rem;
  }

  .brand-text span:last-child {
    font-size: 0.54rem;
  }

  .logo {
    width: 48px;
    height: 48px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(3rem, 16vw, 4.9rem);
  }

  .section {
    padding: 74px 0;
  }

  .highlight-card,
  .quarto-info,
  .contact-content,
  .contact-card,
  .extra-box,
  .modal-conteudo {
    padding: 24px;
  }

  .carrossel-imagens img {
    height: 270px;
  }

}

@media (max-width: 480px) {
  html {
    scroll-padding-top: 64px;
  }

  body {
    overflow-x: hidden;
  }

  .container,
  .hero-content {
    width: min(90%, var(--container));
  }

  .header-inner {
    min-height: 64px;
    gap: 10px;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-text span:first-child {
    max-width: 180px;
    font-size: 0.86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-text span:last-child {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    font-size: 1.35rem;
  }

  .mobile-menu {
    top: 64px;
    padding: 12px 5%;
  }

  .mobile-menu a {
    font-size: 0.94rem;
    padding: 10px 0;
  }

  .hero,
  .page-hero {
    padding-top: 64px;
  }

  .hero video,
  .hero-overlay {
    top: 64px;
    height: 46vh;
    min-height: 300px;
  }

  .hero-content {
    padding-top: calc(46vh + 34px);
    padding-bottom: 104px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.02;
    letter-spacing: 0.8px;
  }

  .hero p {
    padding-left: 16px;
    font-size: 0.98rem;
    line-height: 1.65;
    letter-spacing: 0;
  }

  .hero-card {
    font-size: 0.92rem;
  }

  .hero-buttons {
    grid-template-columns: 1fr 1fr;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    min-height: 54px;
    padding: 0 10px;
    font-size: 0.78rem;
    line-height: 1.2;
    text-align: center;
  }

  .page-hero {
    min-height: 52vh;
    padding-bottom: 0;
  }

  .page-hero::before {
    inset: 64px 0 0;
  }

  .page-hero-content {
    padding: 0 0 38px;
  }

  .page-kicker {
    margin-bottom: 12px;
    padding: 8px 10px;
    font-size: 0.68rem;
    letter-spacing: 0.7px;
  }

  .page-hero h1 {
    font-size: clamp(2.05rem, 10.5vw, 3rem);
    line-height: 1.02;
  }

  .page-hero p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .section-title::after {
    height: 48px;
    margin-top: 18px;
  }

  .section-subtitle {
    margin-bottom: 34px;
    font-size: 0.96rem;
    line-height: 1.65;
    letter-spacing: 0;
  }

  .highlight-card {
    min-height: auto;
    padding: 24px 0;
  }

  .lista-quartos {
    gap: 24px;
  }

  .quarto {
    box-shadow: 0 14px 34px rgba(7, 63, 54, 0.14);
  }

  .quarto-info {
    padding: 20px;
  }

  .quarto h3 {
    font-size: 1.75rem;
  }

  .quarto-meta {
    gap: 8px;
  }

  .quarto-meta span {
    padding: 7px 9px;
    font-size: 0.78rem;
  }

  .quarto p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .quarto-footer {
    align-items: stretch;
  }

  .quarto-footer small {
    font-size: 0.84rem;
  }

  .btn-reservar {
    width: 100%;
  }

  .carrossel-imagens img {
    height: 235px;
  }

  .nav-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .nav-btn.left {
    left: 10px;
  }

  .nav-btn.right {
    right: 10px;
  }

  .contact-actions,
  .contact-links {
    flex-direction: column;
  }

  .contact-actions a,
  .contact-links a {
    width: 100%;
  }

  .map-card iframe,
  .map-container iframe {
    min-height: 320px;
    height: 320px;
  }

  .modal {
    padding: 12px;
  }

  .modal-conteudo {
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 20px;
  }

  .modal-conteudo h2 {
    font-size: 1.65rem;
  }

  .data {
    padding: 0.82rem 0.9rem;
  }

  .footer {
    margin-bottom: 54px;
    font-size: 0.82rem;
  }
}
