/* Boutique UX/UI polish for Villa Dourada: visual and usability refinements only. */
:root {
  --ux-ring: 0 0 0 4px rgba(197, 154, 84, 0.18);
  --ux-card-border: rgba(197, 154, 84, 0.24);
  --ux-soft-panel: linear-gradient(180deg, rgba(255, 252, 246, 0.97), rgba(255, 248, 236, 0.9));
  --ux-boutique-shadow: 0 22px 58px rgba(31, 43, 35, 0.12);
}

body {
  text-rendering: optimizeLegibility;
}

.header {
  z-index: 1000;
}

.nav-container {
  gap: 1.25rem;
}

.nav-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.lang-btn,
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
}

.hero-container {
  position: relative;
  overflow: hidden;
}

.hero-container::before {
  content: 'Boutique guesthouse · Casa histórica 1916';
  display: inline-flex;
  width: fit-content;
  margin: 0 auto 1.1rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(232, 212, 172, 0.38);
  border-radius: 999px;
  background: rgba(20, 46, 35, 0.36);
  color: var(--color-gold-soft);
  font-size: clamp(0.72rem, 1.7vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-actions {
  margin-top: clamp(1.5rem, 4vw, 2.4rem);
  gap: 0.9rem;
}

.hero-actions::after {
  content: 'Private suites · Tropical garden · Direct WhatsApp contact';
  display: block;
  flex-basis: 100%;
  margin-top: 0.35rem;
  color: rgba(255, 248, 236, 0.86);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.section-intro .lead {
  max-width: 760px;
}

.highlight-card,
.room-card,
.seo-card,
.space-card,
.facts-panel,
.form-card,
.privacy-panel,
.faq-list details,
.route-box,
.info-list li {
  border-color: var(--ux-card-border);
}

.highlight-card,
.room-card,
.seo-card,
.route-box,
.info-list li {
  box-shadow: 0 14px 38px rgba(43, 37, 33, 0.07);
}

.highlight-card p,
.room-card p,
.seo-card p,
.content-narrow p,
.content-narrow li {
  line-height: 1.72;
}

.room-card,
.seo-card {
  isolation: isolate;
}

.room-content,
.seo-card-content {
  gap: 0.65rem;
}

.room-card .btn,
.seo-card .btn,
.internal-link-strip .btn {
  justify-content: center;
}

.room-specs,
.info-list {
  font-size: 0.95rem;
}

.room-specs li,
.info-list li {
  position: relative;
}

.room-specs li::before,
.info-list li::before {
  content: '';
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.55rem;
  border-radius: 999px;
  background: var(--color-gold);
  box-shadow: var(--ux-ring);
  vertical-align: 0.08rem;
}

.booking-panel,
.sticky-cta {
  position: relative;
  overflow: hidden;
}

.booking-panel::before,
.sticky-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 0%, rgba(232, 212, 172, 0.22), transparent 18rem);
  pointer-events: none;
}

.booking-panel > *,
.sticky-cta > * {
  position: relative;
}

.form-card {
  max-width: 720px;
}

.form-control {
  min-height: 50px;
}

textarea.form-control {
  min-height: 150px;
}

.footer-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

.seo-page .page-hero {
  border-bottom: 1px solid rgba(197, 154, 84, 0.18);
  background:
    radial-gradient(circle at 10% 0%, rgba(197, 154, 84, 0.18), transparent 26rem),
    radial-gradient(circle at 90% 12%, rgba(30, 67, 52, 0.12), transparent 30rem),
    linear-gradient(135deg, #fff8ec 0%, #f7efe0 54%, #fffaf2 100%);
}

.seo-page .page-hero h1 {
  letter-spacing: -0.035em;
}

.seo-page .sticky-cta {
  border-radius: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(232, 212, 172, 0.28);
  background: linear-gradient(135deg, #163629 0%, #285842 58%, #6f3f2c 100%);
  box-shadow: var(--ux-boutique-shadow);
}

.seo-page .seo-card {
  background: var(--ux-soft-panel);
  border-radius: clamp(18px, 2vw, 30px);
}

.seo-page .seo-card img,
.seo-page .feature-photo {
  filter: saturate(1.04) contrast(1.02);
}

.internal-link-strip {
  padding-top: 0.5rem;
}

/* Hero readability fix: the facade photo is bright and detailed, so the text needs a stronger contrast layer. */
body:not(.seo-page) .header:not(.scrolled)::before {
  opacity: 1;
  transform: translateY(0);
  background: rgba(20, 46, 35, 0.72);
  border-color: rgba(232, 212, 172, 0.26);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body:not(.seo-page) .header:not(.scrolled) .brand-text,
body:not(.seo-page) .header:not(.scrolled) .brand-text span,
body:not(.seo-page) .header:not(.scrolled) .nav-link {
  color: rgba(255, 248, 236, 0.96);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.36);
}

body:not(.seo-page) .header:not(.scrolled) .lang-btn {
  color: var(--color-green-dark);
  background: rgba(255, 248, 236, 0.94);
  border: 1px solid rgba(232, 212, 172, 0.42);
}

body:not(.seo-page) .hero-bg img {
  filter: saturate(1.03) contrast(1.08) brightness(0.72);
}

body:not(.seo-page) .hero-overlay {
  background:
    radial-gradient(circle at 50% 55%, rgba(20, 46, 35, 0.14), rgba(0, 0, 0, 0.52) 58%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(20, 46, 35, 0.48) 48%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.78));
}

body:not(.seo-page) .hero-container {
  max-width: min(940px, calc(100vw - 2rem));
  background:
    linear-gradient(135deg, rgba(12, 27, 21, 0.84), rgba(30, 67, 52, 0.64)),
    radial-gradient(circle at 20% 0%, rgba(232, 212, 172, 0.18), transparent 18rem);
  border: 1px solid rgba(232, 212, 172, 0.36);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.52);
}

body:not(.seo-page) .hero-container::before {
  background: rgba(255, 248, 236, 0.12);
  color: #f7dfac;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

body:not(.seo-page) .hero-container h1,
body:not(.seo-page) .hero-container .lead,
body:not(.seo-page) .hero-container .eyebrow,
body:not(.seo-page) .hero-actions::after {
  color: #fff8ec;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.58);
}

body:not(.seo-page) .hero-container .lead {
  font-weight: 560;
}

body:not(.seo-page) .hero-actions .btn-primary {
  background: linear-gradient(135deg, #c8654b, #8b4632);
  border-color: rgba(255, 248, 236, 0.36);
  color: #fffaf2;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

body:not(.seo-page) .hero-actions .btn-white {
  background: rgba(255, 248, 236, 0.96);
  border: 1px solid rgba(232, 212, 172, 0.72);
  color: #163629;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

body:not(.seo-page) .hero-actions .btn-primary:hover,
body:not(.seo-page) .hero-actions .btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

@media (min-width: 993px) {
  .seo-page .page-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  }

  .rooms-grid,
  .seo-card-grid {
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .hero-container::before {
    margin-bottom: 0.9rem;
    padding: 0.5rem 0.75rem;
    letter-spacing: 0.08em;
  }

  .hero-actions::after {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .nav-menu .nav-link {
    width: 100%;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(197, 154, 84, 0.18);
  }

  .room-image,
  .suite-card .room-image,
  .seo-card img {
    height: min(72vw, 300px);
  }

  .room-specs {
    display: grid;
    gap: 0.6rem;
  }

  .sticky-cta .btn,
  .internal-link-strip .btn,
  .form-card .btn {
    width: 100%;
  }

  body:not(.seo-page) .hero {
    align-items: center;
    padding-top: calc(var(--header-height) + 1.25rem);
  }

  body:not(.seo-page) .hero-container {
    background: linear-gradient(135deg, rgba(12, 27, 21, 0.9), rgba(30, 67, 52, 0.72));
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 88svh;
  }

  .hero-container h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  .hero-container p.lead {
    font-size: 1rem;
  }

  .btn {
    min-height: 50px;
  }

  body:not(.seo-page) .hero-container {
    max-width: calc(100vw - 1.25rem);
    padding: 1.15rem;
  }

  body:not(.seo-page) .hero-container h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }
}
