/* ============================================
   HOSPEDAGEM MISSÕES — Estilos Globais
   Paleta: Branco + Tons Terrosos
   ============================================ */

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

:root {
  --primary-dark: #5c4033; /* Marrom escuro (textos principais) */
  --primary-brown: #8b6f47; /* Marrom médio (acentos) */
  --accent-beige: #d4b89c; /* Bege claro (destaques) */
  --accent-light: #e8dcc8; /* Bege muito claro (backgrounds) */
  --white: #ffffff;
  --gray-dark: #4a4a4a;
  --gray-light: #f5f5f5;
  --border: #d4b89c;
  --shadow: rgba(92, 64, 51, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--primary-dark);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--primary-brown);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-beige);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background-color: var(--white);
  border-bottom: 1px solid var(--accent-light);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px var(--shadow);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.logo-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.logo span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-primary {
  color: var(--primary-dark);
  font-weight: 700;
}

.logo-secondary {
  font-size: 0.7rem;
  color: var(--gray-light);
  font-weight: 400;
  letter-spacing: 1px;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--primary-dark);
  font-weight: 500;
  transition: color 0.3s;
}

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

.lang-switcher {
  background-color: var(--accent-light);
  border: 1px solid var(--accent-beige);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  transition: all 0.3s;
}

.lang-switcher:hover {
  background-color: var(--accent-beige);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* ============================================
   MOBILE MENU
   ============================================ */

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

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    border-bottom: 1px solid var(--accent-light);
    display: none;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 0.8rem;
    border-bottom: 1px solid var(--accent-light);
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.4rem;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--primary-brown);
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--gray-dark);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ============================================
   BULLETS / FEATURES
   ============================================ */

.features {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.features h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.features ul {
  list-style: none;
  padding: 0;
}

.features li {
  padding: 1rem;
  margin-bottom: 0.8rem;
  background-color: var(--gray-light);
  border-left: 4px solid var(--accent-beige);
  color: var(--gray-dark);
  border-radius: 4px;
}

.features li:before {
  content: "✓ ";
  color: var(--primary-brown);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ============================================
   CARDS (PROPRIEDADES)
   ============================================ */

.cards-container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--accent-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--shadow);
}

.card-image {
  width: 100%;
  height: 200px;
  background-color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent-beige);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: var(--primary-dark);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background-color: var(--primary-dark);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-brown);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.btn-secondary {
  background-color: var(--accent-beige);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background-color: var(--primary-brown);
  color: var(--white);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* ============================================
   CTA SECTION (COMO FUNCIONA)
   ============================================ */

.cta-section {
  background-color: var(--accent-light);
  padding: 3rem 1.5rem;
  margin: 3rem 0;
  border-radius: 8px;
}

.cta-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.cta-list {
  list-style: none;
  padding: 0;
}

.cta-list li {
  padding: 1rem;
  margin-bottom: 0.8rem;
  background-color: var(--white);
  border-radius: 4px;
  color: var(--gray-dark);
  border-left: 4px solid var(--primary-brown);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-beige);
  margin-bottom: 1rem;
}

.footer-section a {
  color: var(--accent-light);
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--accent-light);
}

/* ============================================
   WHATSAPP BUTTON (FLUTUANTE)
   ============================================ */

.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 50;
  transition: all 0.3s;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ============================================
   GALLERY & LIGHTBOX
   ============================================ */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

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

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

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 200;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.lightbox-image {
  width: 100%;
  height: auto;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 4px;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* ============================================
   FAQ
   ============================================ */

.faq-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--accent-light);
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  background-color: var(--accent-light);
  padding: 1.2rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question:hover {
  background-color: var(--accent-beige);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-icon.open {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 1.2rem;
  background-color: var(--white);
  color: var(--gray-dark);
  display: none;
  line-height: 1.8;
}

.faq-answer.open {
  display: block;
}

/* ============================================
   PROPERTY DETAILS PAGE
   ============================================ */

.property-hero {
  background-color: var(--accent-light);
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
}

.property-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.property-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.highlight-box {
  background-color: var(--gray-light);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-beige);
  text-align: center;
}

.highlight-box h4 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.highlight-box p {
  color: var(--primary-brown);
  font-weight: 600;
  margin: 0;
}

/* ============================================
   COMING SOON PAGE
   ============================================ */

.coming-soon {
  text-align: center;
  padding: 4rem 1.5rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.coming-soon h1 {
  margin-bottom: 1rem;
  color: var(--accent-beige);
}

.coming-soon p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.max-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.mt {
  margin-top: 2rem;
}

.mb {
  margin-bottom: 2rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
  }
}
