:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #d97706;
  --whatsapp: #16a34a;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  display: flex;
  background: var(--bg-light);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 5px 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 4rem 1.25rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  opacity: 0.95;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: transform 0.15s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #b45309;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-outline-dark {
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-dark);
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #15803d;
}

.btn-full {
  width: 100%;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin-top: 0.35rem;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
}

.pousada-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.pousada-text p {
  margin-bottom: 1.15rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.highlight-icon {
  font-size: 1.5rem;
}

.highlight-item strong {
  display: block;
  font-size: 0.95rem;
}

.highlight-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #e2e8f0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.room-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.room-img-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  background: #cbd5e1;
}

.room-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 118, 110, 0.92);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.room-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.room-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.room-type {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.amenities-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.amenities-list li {
  font-size: 0.9rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.amenities-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
}

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

.video-card, .reviews-card {
  background: var(--bg-light);
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.video-icon, .stars {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.video-card p, .review-platforms-text {
  color: var(--text-muted);
  margin: 0.75rem 0 1.5rem;
}

.video-links, .portal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.review-quote {
  font-style: italic;
  color: var(--text-dark);
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  margin: 1rem 0;
}

.portal-btn {
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

.booking-btn {
  background: #003580;
  color: #fff;
}

.tripadvisor-btn {
  background: #34e0a1;
  color: #000;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.contact-info-card, .contact-form-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-details {
  list-style: none;
  margin-top: 1.25rem;
}

.contact-details li {
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
}

.contact-details a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.social-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1rem;
}

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

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}

.form-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-brand strong {
  color: #fff;
  display: block;
}

.link-btn {
  background: none;
  border: none;
  color: #38bdf8;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.9rem;
}

.floating-wa {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  background: var(--whatsapp);
  color: #fff;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
  z-index: 90;
}

.lightbox, .modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.25rem;
}

.lightbox.open, .modal-overlay.open {
  display: flex;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 85vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

.modal-box {
  background: #fff;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 0.92rem;
}

.modal-body h4 {
  margin: 1rem 0 0.35rem;
  color: var(--primary);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .pousada-grid,
  .rooms-grid,
  .media-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row,
  .form-buttons,
  .highlights-grid,
  .amenities-list {
    grid-template-columns: 1fr;
  }
}