/* =========================
   RESET & VARIÁVEIS
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #FAF7F2;
  --bg-alt: #F2EDE4;
  --dark: #1A1A1A;
  --olive: #2C3E2E;
  --olive-light: #3D5340;
  --gold: #C9A961;
  --gold-light: #D9BC7A;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --border: #E5DED2;
  --white: #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* =========================
   TIPOGRAFIA / SEÇÕES
   ========================= */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--olive);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header-light .section-title { color: var(--bg); }
.section-header-light .section-eyebrow { color: var(--gold-light); }

/* =========================
   BOTÕES
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--olive);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--olive-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(250, 247, 242, 0.4);
}
.btn-ghost:hover {
  background: rgba(250, 247, 242, 0.1);
  border-color: var(--bg);
}

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

.btn-full { width: 100%; }

/* =========================
   HEADER
   ========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bg);
  transition: var(--transition);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--olive);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
}

.header.scrolled .logo { color: var(--olive); }

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(250, 247, 242, 0.9);
  letter-spacing: 0.02em;
  transition: var(--transition);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

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

.header.scrolled .nav a { color: var(--text); }

.header-cta { padding: 10px 20px; font-size: 0.8rem; }
.header.scrolled .header-cta { background: var(--olive); color: var(--bg); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--bg);
  transition: var(--transition);
}
.header.scrolled .menu-toggle span { background: var(--olive); }

/* =========================
   HERO
   ========================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.35) 0%, rgba(26,26,26,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--bg);
  max-width: 780px;
  padding-top: 80px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

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

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.85);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(250, 247, 242, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.2); }
}

/* =========================
   SOBRE
   ========================= */
.sobre {
  padding: 120px 0;
  background: var(--bg);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre-paragraph {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sobre-paragraph:first-of-type { margin-top: 24px; }

.sobre-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  background: var(--bg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
}

.stat:hover { background: var(--bg-alt); }

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--olive);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* =========================
   QUARTOS
   ========================= */
.quartos {
  padding: 120px 0;
  background: var(--bg-alt);
}

.quartos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.quarto-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quarto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(44, 62, 46, 0.18);
}

.quarto-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--olive-light);
  flex-shrink: 0;
}

.quarto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.quarto-card:hover .quarto-image img {
  transform: scale(1.06);
}

.quarto-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(250, 247, 242, 0.95);
  color: var(--olive);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  z-index: 2;
}

.quarto-badge-featured {
  background: var(--gold);
  color: var(--olive);
}

.quarto-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.quarto-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--olive);
  margin-bottom: 10px;
}

.quarto-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.quarto-amenities {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.quarto-amenities li {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--bg-alt);
  color: var(--text-muted);
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.quarto-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.quarto-price {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--olive);
  line-height: 1.1;
}

.quarto-price small {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.quarto-price em {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  color: var(--text-muted);
}

.quarto-footer .btn { padding: 10px 18px; font-size: 0.75rem; }

/* =========================
   EXPERIÊNCIAS
   ========================= */
.experiencias {
  padding: 120px 0;
  background: var(--olive);
  color: var(--bg);
}

.experiencias-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.experiencia {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.experiencia:hover {
  background: rgba(250, 247, 242, 0.05);
}

.experiencia-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.experiencia h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.experiencia p {
  font-size: 0.9375rem;
  color: rgba(250, 247, 242, 0.7);
  line-height: 1.65;
}

/* =========================
   GALERIA
   ========================= */
.galeria {
  padding: 120px 0;
  background: var(--bg);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 195px 195px;
  gap: 16px;
}

.galeria-item {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--olive-light);
  transition: var(--transition);
}

/* truque: o <a> vira container absoluto de si mesmo */
.galeria-item::before {
  content: '';
  display: block;
  padding-top: 100%; /* quadrado por padrão — evita colapso */
}

.galeria-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-slow);
}

.galeria-item:hover { transform: scale(1.02); }
.galeria-item:hover img { transform: scale(1.08); }

.galeria-item-1 {
  grid-column: span 2;
  grid-row: span 2;
}

/* item 1 ocupa 2 linhas + gap → proporção 1.16:1 */
.galeria-item-1::before {
  padding-top: 86%; /* ajusta a proporção do destaque */
}
/* =========================
   DEPOIMENTOS
   ========================= */
.depoimentos {
  padding: 120px 0;
  background: var(--bg-alt);
}

.depoimentos-slider {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
  min-height: 220px;
  position: relative;
}

.depoimento {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.depoimento.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.depoimento-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--olive);
  margin-bottom: 32px;
}

.depoimento-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.depoimento-author strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.depoimento-author span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
}

.dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 100px;
}

/* =========================
   RESERVA
   ========================= */
.reserva {
  padding: 120px 0;
  background: var(--bg);
}

.reserva-inner {
  max-width: 720px;
  text-align: center;
}

.reserva-text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 20px 0 48px;
  line-height: 1.7;
}

.reserva-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select {
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(44, 62, 46, 0.08);
}

.reserva-form .btn-full {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 18px;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background: var(--olive);
  color: var(--bg);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
}

.logo-footer { color: var(--bg); margin-bottom: 20px; }

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(250, 247, 242, 0.65);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(250, 247, 242, 0.7);
  margin-bottom: 10px;
  line-height: 1.6;
  transition: var(--transition);
}

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

.footer-news-text {
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(250, 247, 242, 0.2);
  padding-bottom: 8px;
  transition: var(--transition);
}

.newsletter-form:focus-within {
  border-color: var(--gold);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  padding: 8px 0;
}

.newsletter-form input::placeholder {
  color: rgba(250, 247, 242, 0.4);
}

.newsletter-form button {
  color: var(--gold);
  font-size: 1.25rem;
  padding: 0 8px;
  transition: var(--transition);
}

.newsletter-form button:hover { transform: translateX(4px); }

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgba(250, 247, 242, 0.5);
}

.footer-bottom a {
  color: var(--gold);
  transition: var(--transition);
}

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

/* =========================
   RESPONSIVO
   ========================= */
@media (max-width: 1024px) {
  .quartos-grid { grid-template-columns: 1fr 1fr; }
  .experiencias-grid { grid-template-columns: 1fr 1fr; }
  .sobre-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 24px;
    gap: 20px;
    box-shadow: 0 16px 32px -8px rgba(0,0,0,0.1);
  }
  .nav.open a { color: var(--text); }

  .hero { min-height: 90vh; }
  .hero-title { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; }

  .sobre,
  .quartos,
  .experiencias,
  .galeria,
  .depoimentos,
  .reserva { padding: 80px 0; }

  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .quartos-grid { grid-template-columns: 1fr; }
  .experiencias-grid { grid-template-columns: 1fr; gap: 8px; }

 @media (max-width: 768px) {
  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px;
  }
  .galeria-item-1 {
    grid-column: span 2;
    grid-row: span 1;
  }
  .galeria-item-1::before {
    padding-top: 50%; /* destaque fica achatado no mobile */
  }
}
  .reserva-form { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .section-header { margin-bottom: 40px; }
  .stat { padding: 24px 20px; }
  .stat-number { font-size: 2rem; }
  .quarto-body { padding: 24px; }
  .quarto-footer { flex-direction: column; align-items: flex-start; }
  .quarto-footer .btn { width: 100%; }
}