/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #f5f0e6;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem 0;
  font-size: 1.1rem;
}

.nav-desktop {
  display: flex;
  gap: 3rem;
}

.nav-link {
  text-decoration: none;
  color: #000000;
  font-weight: 400;
  transition: color 0.3s ease;
  text-transform: capitalize;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.nav-link:hover {
  color: #4a90a4;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #e7e5e4;
  background: white;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 144, 164, 0.3), rgba(255, 255, 255, 0.1));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.wave-decoration {
  color: rgba(0, 0, 0, 0.8);
  font-weight: 300;
}

.wave-decoration-1 {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.badge-text {
  color: rgb(255, 255, 255);
  font-weight: 500;
}

.badge-text-1 {
  color: rgb(255, 255, 255);
  font-weight: 500;
}

.badge-text-2 {
  color: rgb(0, 0, 0);
  font-weight: 500;
}

.hero-title {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}

/* Welcome Section */
.welcome-section {
  padding: 6rem 0;
  background: var(--cor-fundo-div);
  text-align: center;
}

.welcome-content {
  max-width: 800px;
  margin: 0 auto;
}

.welcome-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.welcome-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4a90a4, #87ceeb);
  margin: 0 auto 2rem auto;
  border-radius: 2px;
}

.welcome-description {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.8;
  font-weight: 300;
}

/* Apartment Section */
.apartment-section {
  padding: 2rem 0 6rem 0;
  background: #fff;
}

.apartment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.apartment-content {
  padding: 2rem 0;
}

.apartment-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000000;
}

.apartment-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4a90a4, #87ceeb);
  margin-bottom: 2rem;
  border-radius: 2px;
}

.apartment-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  font-weight: 300;
}

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

.apartment-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  border-bottom: #fffb00;
  transition: all 0.3s ease;
}

.apartment-feature:last-child {
  border-bottom: none;
}

.apartment-feature:hover {
  color: #4a90a4;
  transform: translateX(5px);
}

.apartment-icon {
  color: #4a90a4;
  font-size: 1.3rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  margin-right: 0.5rem;
  display: inline-block;
  font-weight: 900;
}

.apartment-feature span {
  font-weight: 300;
}

.apartment-images {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  height: 400px;
}

.apartment-main-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.apartment-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;


}

.apartment-small-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.apartment-small-images img {
  width: 100%;
  height: calc(50% - 0.5rem);
  object-fit: cover;


  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Location Section */
.location-section {
  padding: 6rem 0;
  background: #f5f0e6;
  color: white;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* Inverter ordem da localização - texto à direita, mapa à esquerda */
.location-content {
  order: 2;
}

.location-map {
  order: 1;
}
.location-map {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .location-content.location-content-centered {
    align-items: center !important;
    text-align: center !important;
  }
  .location-map iframe {
    min-width: 220px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .location-content .btn {
    margin: 1rem auto;
    display: block;
    text-align: center;
  }
}

.location-rules {
  background: #fff;
  border-radius: 0.7rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1.2rem 1.5rem;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0.2,0.2,1), transform 0.7s cubic-bezier(0.4,0.2,0.2,1);
}
.location-rules.animate-fade-in-up {
  opacity: 1;
  transform: translateY(0);
}
.location-rules h4 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  color: #ff0000;
  font-weight: 700;
}
.location-rules ul {
  padding-left: 1.2rem;
  margin: 0;
}
.location-rules li {
  color: #222;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  list-style: disc;
}

.location-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.location-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;


}

.location-content {
  padding: 2rem 0;
  order: 2;
  text-align: right;
}

.location-content-centered {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.location-content.location-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.location-content.location-content-centered .btn {
  margin-top: 1rem;
}
@media (min-width: 901px) {
  .location-content.location-content-centered {
    align-items: center !important;
    text-align: center !important;
  }
}
.location-icon {
  font-size: 3.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.location-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.location-divider {
  width: 60px;
  height: 3px;
  background: #edf0f8;
  margin-bottom: 2rem;
  border-radius: 2px;
}

.location-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-weight: 300;
}

/* Features Section */
.features-section {
  padding: 6rem 0;
  background: #f8f9fa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4a90a4, #87ceeb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #333;
}

.feature-text {
  color: #666;
  font-weight: 300;
}

/* Gallery Section */
.gallery-section {
  padding: 6rem 0;
  background: #fff;
  text-align: center;
}

.gallery-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;


}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 144, 164, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: #ffffff;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 3rem;
  text-align: center;
  letter-spacing: 1px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.form-card,
.info-card,
.map-card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.form-title,
.info-title,
.map-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #333;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: #fff;
  color: #333;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a90a4;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #4a90a4, #87ceeb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.info-main {
  font-weight: 500;
  color: #333;
  font-size: 1.1rem;
}

.info-sub {
  font-size: 0.9rem;
  color: #666;
}

.map-placeholder {
  background: #e7e5e4;
  height: 200px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #57534e;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #4a90a4, #87ceeb);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3a7a8a, #77bedd);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 164, 0.3);
}

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

.btn-outline:hover {
  background: #4a90a4;
  color: white;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Footer */
.footer {
  background: #ffffff;
  color: rgb(0, 0, 0);
  padding: 1.5rem 0;
  text-align: center;
}

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

.footer-logo {
  flex: 1;
  text-align: left;
}

.footer-logo img {
  height: 48px;
  width: auto;
  max-width: 150px;
}

.footer-dev {
  flex: 1;
  text-align: center;
}

.footer-dev p {
  margin: 0;
  font-size: 0.9rem;
  color: #000000;
}

.footer-dev-link {
  color: #1100ff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-dev-link:hover {
  color: #0000cc;
  text-decoration: underline;
}

.footer-copyright {
  flex: 1;
  text-align: right;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.9rem;
  color: #000000;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  
  .footer-logo,
  .footer-dev,
  .footer-copyright {
    flex: none;
    text-align: center;
  }
  
  .footer-logo img {
  max-width: 50px !important;
  }
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s;
}
.lightbox[style*="display: flex"] {
  display: flex !important;
}
.lightbox-content {
  position: relative;
  background: none;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 95vw;
  max-height: 90vh;
  padding: 0;
}
.lightbox-content img, #lightboxImage {
  max-width: 90vw;
  max-height: 70vh;
  border-radius: 1rem;
  object-fit: contain;
  background: #fff;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-arrow.left {
  left: 10px;
}
.lightbox-arrow.right {
  right: 10px;
}
.lightbox-arrow:hover {
  background: rgba(240,230,140,0.8);
  color: #000;
}
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}
@media (max-width: 600px) {
  .lightbox-content img, #lightboxImage {
    max-width: 98vw;
    max-height: 60vh;
  }
  .lightbox-arrow {
    font-size: 2rem;
    width: 38px;
    height: 38px;
  }
  .lightbox-close {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-mobile.active {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .welcome-title,
  .gallery-title,
  .contact-title {
    font-size: 2rem;
  }

  .apartment-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .apartment-images {
    grid-template-columns: 1fr;
    height: auto;
  }

  .apartment-small-images {
    flex-direction: row;
    gap: 1rem;
  }

  .apartment-small-images img {
    height: 150px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 2px;
  }
  .gallery-title,
  .welcome-title,
  .contact-title {
    font-size: 1.3rem;
  }
  .gallery-category h3 {
    font-size: 1rem;
  }
  .gallery-grid,
  .apartment-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem;
  }
  .gallery-section,
  .apartment-section,
  .location-section,
  .contact-section,
  .welcome-section {
    padding: 2.5rem 0;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth transitions */
* {
  transition: all 0.3s ease;
}



/* Estilo específico para o título 'O Apartamento' */
#apartamento .apartment-badge .badge-text {
  color: black;
}

/* Botão de expandir galeria */
.gallery-expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem auto 0 auto;
  padding: 0.75rem 2.5rem;
  background: linear-gradient(90deg, #4a90a4 0%, #87ceeb 100%);
  color: #fff;
  border: none;
  border-radius: 2rem;
  font-size: 1.15rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(74, 144, 164, 0.10);
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  outline: none;
}
.gallery-expand-btn i {
  font-size: 1.3rem;
  transition: transform 0.3s;
}
.gallery-expand-btn:hover {
  background: linear-gradient(90deg, #3b7e8e 0%, #5eb6d9 100%);
  box-shadow: 0 4px 16px rgba(74, 144, 164, 0.18);
  transform: translateY(-2px) scale(1.03);
}

/* Animação de expansão da galeria extra */
.gallery-extra {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0.4,0.2,0.2,1), opacity 0.5s;
  will-change: max-height, opacity;
}
.gallery-extra.expanded {
  max-height: 2000px; /* valor grande para garantir espaço para todas as fotos */
  opacity: 1;
  transition: max-height 0.7s cubic-bezier(0.4,0.2,0.2,1), opacity 0.5s;
}

.gallery-category h3 {
  font-size: 1.3rem;
  color: #4a90a4;
  margin: 2rem 0 1rem 0;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: left;
}

/* Responsividade para galeria */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .gallery-item img {
    height: auto;
    max-width: 100%;
    border-radius: 1rem;
  }
  .gallery-category h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.7rem 0;
  }
}

.apartment-images img {
  transition: transform 0.3s cubic-bezier(0.4,0.2,0.2,1), box-shadow 0.3s;
}
.apartment-images img:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 32px rgba(74, 144, 164, 0.18);
  z-index: 2;
}

/* Cor principal do site */
:root {
  --cor-titulo: #000000;
  --cor-texto: #000000;
  --cor-detalhe: #ADD8E6;
  --cor-fundo-div: #ADD8E6;
}

/* Ícones e detalhes */
.gallery-item i,
.apartment-feature i,
.info-icon i,
.social-link i,
.menu-toggle i,
.btn i {
  color: #000000 !important;
}

/* Fundos das divs principais */
.welcome-section {
  background: var(--cor-fundo-div);
}
.apartment-section {
  background: #fff;
}
.location-section {
  background: #f5f0e6;
  margin-top: 4rem;
}
.gallery-section {
  background: #fff;
}
.contact-section {
  background: #f5f0e6;
}

/* Títulos e textos principais */
.gallery-title,
.gallery-category h3,
.btn-primary,
.apartment-badge .badge-text,
.location-badge .badge-text,
.welcome-title,
.contact-title,
.info-title,
.map-title {
  color: var(--cor-titulo) !important;
}

body, .welcome-description, .apartment-feature span, .location-description, .info-main, .info-sub {
  color: var(--cor-texto);
}

/* Título do PDF (se voltar a usar PDF futuramente) */
/*
.pdf-title {
  color: var(--cor-principal);
}
*/

html, body {
  overflow-x: hidden;
}

@media (max-width: 900px) {
  .container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
  .header,
  .hero,
  .hero-background,
  .hero-background img {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    margin: 0 !important;
  }
}

.location-rules-wrapper {
  position: relative;
  width: 100%;
  height: 0;
}
.location-rules-floating {
  width: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  transform: translateY(-50%);
  pointer-events: none;
  margin-bottom: 8rem;
}
.location-rules-floating .location-rules {
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 24px 64px 0 rgba(0,0,0,0.32), 0 8px 32px 0 rgba(0,0,0,0.18);
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.2rem 1.2rem;
  position: relative;
  pointer-events: auto;
}
.location-rules li {
  color: #222;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  list-style: disc;
}
@media (max-width: 900px) {
  .location-rules-floating {
    position: static;
    transform: none;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
  }
  .location-rules-floating .location-rules {
    padding: 1.2rem 0.7rem;
  }
  .location-rules-wrapper {
    height: auto;
  }
}

.location-rules-floating {
  animation: none;
}



@media (max-width: 600px) {
  .apartment-content {
    max-width: 95vw;
    margin: 0 auto;
    padding-left: 8px;
    padding-right: 8px;
  }
  .apartment-features {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .container {
    max-width: 92vw;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
  section, .apartment-content, .location-content, .gallery-section, .contact-section {
    max-width: 92vw;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }
  .apartment-features, .gallery-grid {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .apartment-small-images {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .apartment-small-images img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
  }
}

@media (max-width: 600px) {
  .apartment-images,
  .apartment-main-image,
  .apartment-small-images {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }
  .apartment-main-image img,
  .apartment-small-images img {
    width: calc(100vw - 32px) !important;
    max-width: 100vw !important;
    margin-left: 0;
    margin-right: 0;
    display: block;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  }
  .apartment-small-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding-bottom: 1.2rem;
  }
}

@media (max-width: 600px) {
  img, .gallery-item img, .apartment-main-image img, .apartment-small-images img, .gallery-grid img {
    width: 95vw !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
    height: auto !important;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  }
  .container, section, .apartment-images, .apartment-main-image, .apartment-small-images, .gallery-grid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .hero-background img {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    object-fit: cover !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block;
  }
}




/* Airbnb Section */
.airbnb-section {
  padding: 6rem 0;
  background: #f5f0e6;
  text-align: center;
}

.airbnb-content {
  max-width: 800px;
  margin: 0 auto;
}

.airbnb-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000000;
}

.airbnb-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #FF5A5F, #E00007);
  margin: 0 auto 2rem auto;
  border-radius: 2px;
}

.airbnb-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: #000000;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.airbnb-description {
  font-size: 1.1rem;
  color: #000000;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.airbnb-btn {
  background: linear-gradient(135deg, #FF5A5F, #E00007);
  color: rgb(0, 0, 0);
  padding: 1.2rem 3rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 90, 95, 0.2);
}

.airbnb-btn:hover {
  background: linear-gradient(135deg, #E00007, #C5050C);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 90, 95, 0.4);
  color: white;
}

.airbnb-btn i {
  font-size: 1.5rem;
  color: white !important;
}

@media (max-width: 768px) {
  .airbnb-section {
    padding: 4rem 0;
  }
  .airbnb-title {
    font-size: 2rem;
  }
  .airbnb-description {
    font-size: 1rem;
  }
  .airbnb-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
  }
}



/* Símbolos das seções O Apartamento e Reserve Agora em preto */
.apartment-badge .wave-decoration,
.airbnb-badge .wave-decoration {
  color: #000000 !important;
}

@media (max-width: 768px) {
  .location-content .btn {
    margin: 1rem auto;
    display: block;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 0;
  }

  .contact-grid {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .form-card,
  .info-card {
    padding: 1.5rem;
  }

  .form-title,
  .info-title {
    font-size: 1.1rem;
  }

  .contact-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.7rem;
    font-size: 0.9rem;
  }

  .btn-full {
    padding: 0.8rem;
    font-size: 0.95rem;
  }
}