/* Overrides do Visual 1 sobre o template (ordem de cascata preservada).
   Cada seção abaixo era um arquivo separado; o nome original está no cabeçalho da seção. */

/* ===== custom-fixes.css ===== */
/* Custom CSS fixes for site1 homepage */

/* Force hide preloader after load */
.preloader {
  display: none !important;
}

/* Search form improvements - matches reference design */
.others-section-area {
  margin-top: -80px;
  padding-bottom: 40px;
}

.others-section-area .property-tab-section {
  max-width: 1200px;
  margin: 0 auto;
}

.others-section-area .property-tab-section .tab-header {
  display: inline-flex;
  background: #f2f1f1;
  border-radius: var(--ztc-radius, 12px) var(--ztc-radius, 12px) 0 0;
  overflow: hidden;
  margin-bottom: 0;
}

.others-section-area .property-tab-section .tab-header .tab-btn {
  color: #666;
  font-size: 15px;
  font-weight: 500;
  border: none;
  outline: none;
  padding: 12px 40px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.others-section-area .property-tab-section .tab-header .tab-btn.active {
  background: #bfcf28;
  color: #fff;
}

.others-section-area .property-tab-section .filters {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  background: #fff;
  border-radius: 0 8px 8px 8px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
  padding: 18px 20px;
  position: relative;
  z-index: 1;
  margin-top: -2px;
}

.others-section-area .property-tab-section .filter-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 200px;
  position: relative;
  min-width: 0;
}

.others-section-area .property-tab-section .filter-group label {
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
  font-size: 13px;
  display: block;
}

.others-section-area .property-tab-section .filter-group select,
.others-section-area .property-tab-section .filter-group input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: var(--ztc-radius-sm, 8px);
  font-size: 13px;
  background: #f9f9f9;
  transition: all 0.3s ease;
  width: 100%;
  height: 38px;
}

.others-section-area .property-tab-section .filter-group select:focus,
.others-section-area .property-tab-section .filter-group input:focus {
  outline: none;
  border-color: #bfcf28;
  background: #fff;
}

.others-section-area .property-tab-section .search-button {
  display: flex;
  align-items: flex-end;
  flex: 0 0 auto;
}

.others-section-area .property-tab-section .search-button button {
  background: #bfcf28;
  color: white;
  border: none;
  padding: 9px 24px;
  border-radius: var(--ztc-radius-sm, 8px);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s ease;
  white-space: nowrap;
  height: 38px;
  margin-top: auto;
}

.others-section-area .property-tab-section .search-button button:hover {
  background: #a8b524;
}

.others-section-area .property-tab-section .search-button svg {
  width: 16px;
  height: 16px;
}

/* Hide the tab content that's not active */

/* Ensure the first tab (Venda) is visible by default */

/* Initial visibility fix for search form */
.others-section-area .property-tab-section #for-sale {
  display: block !important;
}

/* Hide open search button and any filter-related buttons */
.open-search-filter-form,
.open-filter-form {
  display: none !important;
}

/* Ensure the search area has proper responsive behavior */
@media (max-width: 767px) {

  .others-section-area .property-tab-section .tab-header {
    display: flex;
    width: 100%;
  }

  .others-section-area .property-tab-section .tab-header .tab-btn {
    flex: 1;
    padding: 24px 30px;
    text-align: center;
  }

  .others-section-area .property-tab-section .filters {
    flex-direction: column;
    padding: 20px;
  }

  .others-section-area .property-tab-section .filter-group {
    width: 100%;
    flex: 1 1 100%;
  }
}

/* Hero slider arrows */

.hero-prev-arrow,
.hero-next-arrow {
  position: absolute;
  top: 0;
  width: 50px;
  height: 50px;
}

.hero-prev-arrow {
  left: 20px;
}

.hero-next-arrow {
  right: 20px;
}

/* Testimonial slider arrows */
.testimonial-arrows {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.testimonial-prev-arrow button,
.testimonial-next-arrow button {
  width: 45px;
  height: 45px;
  background: #073B3A;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-prev-arrow button:hover,
.testimonial-next-arrow button:hover {
  background: #0B5250;
  transform: scale(1.1);
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  .search-filter-form .filters {
    grid-template-columns: 1fr;
  }.hero-prev-arrow,
  .hero-next-arrow {
    display: none;
  }
}

/* Fix for featured properties section spacing */
.properties1-section-area {
  padding: 60px 0;
}

.properties1-section-area .property-heading h2 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

/* Hero height and spacing to match template */
.hero1-section-area {
  padding: 350px 0 215px;
}

/* Hero section - TODAS as fontes devem ser brancas */
.hero-header-area h1,
.hero1-section-area .hero-header-area h1,
.hero-area-slider .hero-header-area h1 {
  font-size: 70px;
  line-height: 70px;
  font-weight: 700;
  color: #fff !important;
}

.hero-header-area h2,
.hero1-section-area .hero-header-area h2,
.hero-area-slider .hero-header-area h2 {
  font-size: 70px;
  line-height: 70px;
  font-weight: 700;
  color: #fff !important;
}

.hero-header-area h5,
.hero1-section-area .hero-header-area h5,
.hero-area-slider .hero-header-area h5 {
  font-size: 22px;
  line-height: 22px;
  font-weight: 500;
  color: #fff !important;
}

@media (max-width: 767px) {
  .hero1-section-area {
    padding: 160px 0 150px;
  }

  .hero-header-area h1 {
    font-size: 45px;
    line-height: 50px;
    color: #fff !important;
  }

  .hero-header-area h2 {
    font-size: 45px;
    line-height: 50px;
    color: #fff !important;
  }

  .hero-header-area h5 {
    font-size: 18px;
    line-height: 20px;
    color: #fff !important;
  }
}

/* Ensure slider container doesn't overflow */
.hero-area-slider {
  overflow: hidden;
}

.hero-area-slider:not(.slick-initialized) .hero1-section-area {
  display: none;
}

.hero-area-slider:not(.slick-initialized) .hero1-section-area:first-child {
  display: block;
}

.hero-area-slider .slick-slide {
  height: auto;
}

.hero-area-slider .slick-list {
  height: 100%;
}

.hero1-section-area {
  position: relative;
}

/* Additional testimonial fixes */
.testimonial1-section-area {
  padding: 60px 0;
}

.testimonial-text-slider .testimonial-box {
  padding: 20px;
}

.testimonial-images-slider .img1 {
  height: 300px;
  overflow: hidden;
  border-radius: var(--ztc-radius-sm, 8px);
}

.testimonial-images-slider .img1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fix inverted testimonial arrows */
.testimonial-prev-arrow,
.testimonial-next-arrow {
  transform: none !important;
}

.testimonial-prev-arrow button i {
  transform: scaleX(-1);
}

.testimonial-next-arrow button i {
  transform: scaleX(1);
}

/* Fix duplicated search bar issue */
.others-section-area .property-tab-section .tab-content1 {
  display: none !important;
}

.others-section-area .property-tab-section .tab-content1.active {
  display: block !important;
}

/* Ensure proper display on page load */
.others-section-area .property-tab-section .tab-content1#for-sale {
  display: block !important;
}

/* Prevent duplicate search forms */
.others-section-area .property-tab-section {
  overflow: hidden;
}

/* Ensure only one search form is visible at a time */
.others-section-area .property-tab-section > div {
  position: relative;
}

/* Hide any additional property-tab-section that might be duplicated */
.others-section-area .property-tab-section + .property-tab-section {
  display: none !important;
}

/* Fix highlights title being hidden under slider */
.properties1-section-area .property-heading { /* Add top margin to prevent hiding under search bar */
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

/* Property description styling */
.property-description {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.property-description p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Truncamento (reticências) somente nos cards resumidos.
   A descrição principal do imóvel usa .property-description--full,
   que não deve ser cortada. */
.property-description:not(.property-description--full) p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CTA section button styling for procura-imovel */
.cta-section .btn-success {
  background: #073B3A !important;
  border-color: #073B3A !important;
  transition: all 0.3s ease;
}

.cta-section .btn-success:hover {
  background: #0B5250 !important;
  border-color: #0B5250 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

/* =================================================================== */
/* SOLUÇÃO DEFINITIVA PARA OS PROBLEMAS DO HEADER E PÁGINAS INTERNAS */
/* =================================================================== */

/* 1. RESET: Remove any previous header positioning attempts */
.header-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
  transition: all 0.3s ease;
}

/* 2. STICKY HEADER: Make it fixed when sticky */
.header-area.sticky {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999 !important;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 3. MOBILE HEADER: Always fixed on mobile */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 4. HOMEPAGE: No margin needed (hero sections handle spacing) */
body.homepage main,
main:has(.hero1-section-area),
main:has(.hero-area-slider) {
  margin-top: 0;
  padding-top: 0;
}

/* 5. INNER PAGES: Add top margin to prevent header overlap */
body:not(.homepage) main,
main:not(:has(.hero1-section-area)):not(:has(.hero-area-slider)) {
  margin-top: 140px !important;
  padding-top: 0;
}

/* 6. MOBILE ADJUSTMENTS */
@media (max-width: 991px) {
  body:not(.homepage) main,
  main:not(:has(.hero1-section-area)):not(:has(.hero-area-slider)) {
    margin-top: 80px !important;
  }
}

/* 7. HERO INNER SECTIONS: Template-style header area for inner pages */
.hero-inner-section-area-sidebar {
  background: linear-gradient(135deg, #073b3a 0%, #0a4f4d 100%);
  justify-content: center;
  color: white;
  margin-top: 0 !important;
  padding-top: 180px !important;
  padding-bottom: 100px !important;
}

.hero-inner-section-area-sidebar .hero-header-area a {
  text-decoration: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-inner-section-area-sidebar .hero-header-area h1 {
  margin: 0;
}

/* 8. MOBILE RESPONSIVE FOR HERO INNER */
@media (max-width: 767px) {
  .hero-inner-section-area-sidebar {
    padding-top: 120px !important;
    padding-bottom: 80px !important;
  }

  .hero-inner-section-area-sidebar .hero-header-area a {
    font-size: 13px;
  }
}

/* 9. INDIVIDUAL PAGE CONTAINERS: Remove default hero sections and add proper header */
.sobre-nos-container,
.nossa-equipe-container,
.testemunhos-container,
.contato-container,
.favoritos-container,
.imoveis-container,
.cadastre-imovel-container,
.procura-imovel-container {
  position: relative;
}

/* Remove default hero sections from inner pages */
.sobre-nos-container .hero-section,
.nossa-equipe-container .hero-section,
.testemunhos-container .hero-section {
  display: none !important;
}

/* 10. CONTENT SECTIONS: Proper spacing after hero area */
.content-section,
.team-section,
.testimonials-section {
  padding-top: 80px !important;
}

/* 11. HEADER HEIGHTS: Ensure consistent header heights */
.header-area .header-top-area {
  height: auto;
  padding: 8px 0;
  background: #073b3a;
  color: white;
}

.header-area .header-elements {
  padding: 15px 0;
}

.header-area.sticky .header-top-area {
  display: none;
}

.header-area.sticky .header-elements {
  padding: 12px 0;
}

/* 12. DROPDOWN MENUS: Ensure they appear correctly */
.main-menu .dropdown-padding,
.main-menu .tp-submenu {
  z-index: 10000 !important;
  position: absolute;
  margin-top: 0;
}

.main-menu > ul > li > ul.dropdown-padding {
  top: 100% !important;
}

/* 13. SEARCH AREA: Proper positioning for homepage */

/* Homepage search positioning */
body.homepage .others-section-area {
  margin-top: -80px;
}

/* Inner pages search positioning (if needed) */
body:not(.homepage) .others-section-area {
  margin-top: 20px;
}

/* 14. PAGE SPECIFIC FIXES */

/* Sobre Nós page specific styling */
.sobre-nos-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(135deg, #073b3a 0%, #0a4f4d 100%);
  z-index: -1;
}

.sobre-nos-container::after {
  content: "Sobre Nós";
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 48px;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 1;
  pointer-events: none;
}

/* Nossa Equipe page specific styling */
.nossa-equipe-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(135deg, #073B3A 0%, #0B5250 100%);
  z-index: -1;
}

.nossa-equipe-container::after {
  content: "Nossa Equipe";
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 48px;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 1;
  pointer-events: none;
}

/* Testemunhos page specific styling */
.testemunhos-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(135deg, #073B3A 0%, #0B5250 100%);
  z-index: -1;
}

.testemunhos-container::after {
  content: "Testemunhos";
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 48px;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 1;
  pointer-events: none;
}

/* 15. MOBILE RESPONSIVE FOR PAGE HEADERS */
@media (max-width: 767px) {
  .sobre-nos-container::before,
  .nossa-equipe-container::before,
  .testemunhos-container::before {
    height: 250px;
  }

  .sobre-nos-container::after,
  .nossa-equipe-container::after,
  .testemunhos-container::after {
    top: 140px;
    font-size: 32px;
  }
}

/* 16. ENSURE PROPER Z-INDEX STACKING */
.header-area,
.mobile-header {
  z-index: 9999 !important;
}

.main {
  z-index: 1;
  position: relative;
}

/* 17. FINAL TOUCH: Ensure smooth transitions */
* {
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 140px;
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: 80px;
  }
}

/* =================================================================== */
/* ESTILOS ESPECÍFICOS DAS PÁGINAS INTERNAS */
/* =================================================================== */

/* Página Sobre Nós */
.sobre-nos-container {
  min-height: 60vh;
}

.sobre-nos-container .content-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.sobre-nos-container .content-text h2,
.sobre-nos-container .content-text h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #030E0F;
}

.sobre-nos-container .content-text p {
  margin-bottom: 1.2rem;
}

.sobre-nos-container .content-text ul,
.sobre-nos-container .content-text ol {
  margin-bottom: 1.2rem;
  padding-left: 2rem;
}

.sobre-nos-container .content-text li {
  margin-bottom: 0.5rem;
}

.sobre-nos-container .image-container {
  overflow: hidden;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.sobre-nos-container .image-container:hover {
  transform: translateY(-5px);
}

.sobre-nos-container .image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sobre-nos-container .image-container:hover img {
  transform: scale(1.05);
}

/* Página Nossa Equipe */
.nossa-equipe-container {
  min-height: 60vh;
}

.nossa-equipe-container .team-card {
  border: none;
  border-radius: var(--ztc-radius, 12px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  background: white;
}

.nossa-equipe-container .team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nossa-equipe-container .team-photo-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f8f9fa;
  position: relative;
}

.nossa-equipe-container .team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nossa-equipe-container .team-card:hover .team-photo {
  transform: scale(1.1);
}

.nossa-equipe-container .team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
  color: #6c757d;
  font-size: 8rem;
}

.nossa-equipe-container .card-body {
  padding: 1.5rem;
}

.nossa-equipe-container .card-title {
  color: #030E0F;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.nossa-equipe-container .creci-badge {
  display: inline-block;
  background: #1A47FB;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.nossa-equipe-container .team-bio {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
}

.nossa-equipe-container .contact-info {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
}

.nossa-equipe-container .contact-item {
  margin-bottom: 0.5rem;
}

.nossa-equipe-container .contact-item a {
  color: #495057;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.nossa-equipe-container .contact-item a:hover {
  color: #1A47FB;
}

.nossa-equipe-container .whatsapp-link:hover {
  color: #25d366 !important;
}

.nossa-equipe-container .social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
  margin-top: 1rem;
}

.nossa-equipe-container .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8f9fa;
  color: #495057;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.nossa-equipe-container .social-link:hover {
  transform: translateY(-3px);
}

.nossa-equipe-container .social-link.linkedin:hover {
  background: #0077b5;
  color: white;
}

.nossa-equipe-container .social-link.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
}

/* Página Testemunhos */
.testemunhos-container {
  min-height: 60vh;
}

.testemunhos-container .testimonial-card {
  transition: all 0.3s ease;
  position: relative;
}

.testemunhos-container .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.testemunhos-container .testimonial-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  overflow: hidden;
}

.testemunhos-container .testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.testemunhos-container .testimonial-card:hover .testimonial-image img {
  transform: scale(1.05);
}

.testemunhos-container .card-body {
  padding: 2rem;
  position: relative;
}

.testemunhos-container .quote-icon {
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 3rem;
  color: #073B3A;
  opacity: 0.2;
}

.testemunhos-container .testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #495057;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testemunhos-container .testimonial-footer {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
}

.testemunhos-container .client-name {
  color: #030E0F;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testemunhos-container .location {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.testemunhos-container .location i {
  font-size: 1rem;
}

.testemunhos-container .testimonial-date {
  color: #adb5bd;
  font-size: 0.85rem;
  text-transform: capitalize;
  margin-bottom: 0;
}

.testemunhos-container .btn-outline-primary {
  border-radius: 25px;
  padding: 0.5rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.testemunhos-container .btn-outline-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
}

/* Mobile Responsive para páginas internas */
@media (max-width: 768px) {
  .sobre-nos-container .content-text {
    font-size: 1rem;
  }

  .nossa-equipe-container .team-photo-container {
    height: 200px;
  }

  .testemunhos-container .card-body {
    padding: 1.5rem;
  }

  .testemunhos-container .testimonial-text {
    font-size: 1rem;
  }

  .testemunhos-container .quote-icon {
    font-size: 2.5rem;
  }
}

/* 
   FIX: Z-Index for SweetAlert (Map Popup)
   Issue: Header (z-index: 9999) was appearing over the SweetAlert map modal.
   Solution: Set SweetAlert container to z-index: 20002.
*/
.swal2-container {
  z-index: 20002 !important;
}

/* Destaques da página inicial: com 2 colunas (md), oculta o último card ímpar para não deixar uma linha incompleta */
@media (min-width: 768px) and (max-width: 991.98px) {
    .destaques-grid > :last-child:nth-child(odd):not(:first-child) { display: none; }
}

/* ===== inner-pages.css ===== */
/* Additional spacing utilities for site1 inner pages */

/* Space classes matching template */
.space24 { height: 24px; }
.space32 { height: 32px; }
.space50 { height: 50px; }
.space60 { height: 60px; }
.space100 { height: 100px; }

/* Ensure proper content spacing on inner pages */
.content-section,
.team-section,
.testimonials-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Hero area improvements for inner pages */

.hero-inner-section-area-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 59, 58, 0.8);
    z-index: 1;
}

/* Breadcrumb styling */

.hero-inner-section-area-sidebar .hero-header-area a:hover {
    color: #BFCF28 !important;
}

/* Ensure buttons and interactive elements work properly */
.btn, .theme-btn1 {
    z-index: 10;
    position: relative;
}

/* Fix for any overlapping issues */
.container {
    position: relative;
    z-index: 1;
}

/* Smooth transitions */
.hero-inner-section-area-sidebar,
.content-section,
.team-section,
.testimonials-section {
    transition: all 0.3s ease;
}

/* Print media adjustments */
@media print {
    .header-area,
    .mobile-header,
    .hero-inner-section-area-sidebar {
        position: static !important;
        margin: 0 !important;
        padding: 20px 0 !important;
        background: none !important;
        box-shadow: none !important;
    }
    
    main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-inner-section-area-sidebar {
        background: #000 !important;
        color: #fff !important;
    }
    
    .hero-inner-section-area-sidebar::before {
        background: rgba(0, 0, 0, 0.9) !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-inner-section-area-sidebar,
    .content-section,
    .team-section,
    .testimonials-section,
    .team-card,
    .testimonial-card,
    .image-container {
        transition: none !important;
        transform: none !important;
    }
    
    html {
        scroll-behavior: auto !important;
    }
}

/* ===== inner-hero-fix.css ===== */
/* Correções específicas para as páginas internas - Hero Section */
/* FORÇANDO as correções com !important para sobrescrever outros CSS */

/* Corrigindo a classe hero-inner-section-area-sidebar conforme o template original */

/* Responsivo */

/* Overlay de transparência com a cor correta do template - REDUZINDO a opacidade para mostrar mais a imagem */
.hero-inner-section-area-sidebar::after {
    opacity: 0.4 !important; /* Reduzindo de 60% para 40% para mostrar mais a imagem */
}

/* Imagem de fundo hero */
.hero-inner-section-area-sidebar .hero-img1 { /* Colocando a imagem atrás do overlay */
}

/* Header da área hero */

/* FORÇANDO a cor branca nos textos */
.hero-inner-section-area-sidebar .hero-header-area h1 {
    color: #ffffff !important;
    text-align: center !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 70px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 70px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important; /* Adicionando sombra para melhor legibilidade */
}

@media (max-width: 767px) {
    .hero-inner-section-area-sidebar .hero-header-area h1 {
        font-size: 40px !important;
        line-height: 50px !important;
    }
}

.hero-inner-section-area-sidebar .hero-header-area a {
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 16px !important;
    display: inline-block !important;
    transition: all 0.4s !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
}

.hero-inner-section-area-sidebar .hero-header-area a svg {
    height: 20px !important;
    width: 20px !important;
    object-fit: cover !important;
    fill: #ffffff !important;
}

/* Garantindo que o container fique por cima do overlay */

/* Garantindo que todos os elementos textuais sejam brancos */
.hero-inner-section-area-sidebar .hero-header-area *,
.hero-inner-section-area-sidebar h1,
.hero-inner-section-area-sidebar h2,
.hero-inner-section-area-sidebar h3,
.hero-inner-section-area-sidebar p,
.hero-inner-section-area-sidebar a,
.hero-inner-section-area-sidebar span {
    color: #ffffff !important;
}

/* Corrigindo qualquer problema de z-index */
.hero-inner-section-area-sidebar .row,
.hero-inner-section-area-sidebar .col-lg-12 {
    position: relative !important;
    z-index: 3 !important;
}

/* Removendo qualquer background que possa estar interferindo */

/* Espaçamento como no template */

/* Garantindo altura mínima adequada */
.hero-inner-section-area-sidebar {
    height: auto !important;
}

/* ===== final-fixes.css ===== */
/* ===========================
   CORREÇÕES FINAIS site1
   =========================== */

/* 1. SOLUÇÃO ESTÁVEL: SEGUIR PADRÃO DO TEMPLATE ORIGINAL */
/* CORREÇÃO: Seguir exatamente o template original */
.others-section-area {
    background: transparent !important;
    position: relative !important;
    z-index: 10 !important;
    margin: 0 !important;
    padding: 0 !important;
    /* Garantir que qualquer espaço visível seja transparente */
    height: auto !important;
    min-height: 0 !important;
}

/* Posicionamento aplicado no .property-tab-section como no template original */
.others-section-area .property-tab-section {
    position: relative !important;
    z-index: 2 !important;
    margin-top: -120px !important; /* Exatamente como no template original */
    background: transparent !important;
}

/* Ajustar seção de destaques - seguindo template original */
.properties1-section-area.sp2 {
    position: relative; /* Espaço normal para compensar a barra */
}

/* Ajustar heading da seção de destaques */
.properties1-section-area .property-heading {
    margin-top: 0px !important; /* Reset - espaçamento controlado pelo padding da seção */
}

/* Responsividade EXATAMENTE como no template original */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .others-section-area .property-tab-section {
        margin-top: -80px !important; /* Como no template original */
    }
    
    .properties1-section-area.sp2 {
        padding-top: 90px !important;
    }
}

@media (max-width: 767px) {
    .others-section-area .property-tab-section {
        margin-top: -60px !important; /* Como no template original */
    }
}

/* FORÇAR transparência total - Duplicando método do template original */
.others-section-area,
.others-section-area .property-tab-section,
.others-section-area .container,
.others-section-area .row,
.others-section-area .col-lg-12,
.others-section-area .unified-search-form {
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    outline: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Eliminar qualquer fundo branco residual com máxima especificidade */
.others-section-area::before,
.others-section-area::after,
.others-section-area .property-tab-section::before,
.others-section-area .property-tab-section::after,
.others-section-area .container::before,
.others-section-area .container::after {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    content: none !important;
    display: none !important;
}

/* DESABILITADO - usando clean-search-bar.css */
/* A barra de pesquisa em si mantém seu estilo */
/*.others-section-area .filters {
    background: var(--ztc-bg-bg-1) !important;
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.09) !important;
    border-radius: 0px 8px 8px 8px !important;
    padding: 32px 24px !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}*/

/* DESABILITADO - usando clean-search-bar.css */
/* Manter o tab header */
/*.others-section-area .tab-header {
    border-radius: var(--ztc-radius, 12px) var(--ztc-radius, 12px) 0 0 !important;
    background: #F2F1F1 !important;
    display: inline-block !important;
    overflow: hidden !important;
    border: none !important;
    margin-bottom: -6px !important;
    position: relative !important;
    z-index: 2 !important;
}*/

/* Garantir sobreposição correta sobre o hero */

/* Remover qualquer overlay ou fundo indesejado */
.others-section-area::before,
.others-section-area::after {
    display: none !important;
}

/* DESABILITADO - usando clean-search-bar.css */
/* Ajustar tabs para aparecer corretamente */
/*.others-section-area .tab-header {
    border-radius: var(--ztc-radius, 12px) var(--ztc-radius, 12px) 0 0;
    background: #F2F1F1;
    display: inline-block;
    overflow: hidden;
    border: none !important;
}*/

/* Área de filtros sem faixa ao redor - DESABILITADA - usando unified-search-bar.css */
/*.others-section-area .filters {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    border-radius: 0px 8px 8px 8px;
    background: var(--ztc-bg-bg-1);
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.09);
    padding: 32px 24px;
    position: relative;
    z-index: 1;
    margin-top: -6px;
    border: none !important; /* Remover borda */
/*}*/

/* Ajustar seção de propriedades para dar espaço correto */
.properties-section-area,
.properties1-section-area {
    padding-top: 40px; /* Ajustado para ficar próximo da barra de pesquisa */
    margin-top: 0px;
}

/* Garantir que a primeira seção após a barra de pesquisa não tenha espaço adicional */
.others-section-area + .properties-section-area,
.others-section-area + .properties1-section-area {
    padding-top: 20px !important; /* Espaçamento mínimo */
}

/* 2. REDUZIR ALTURA DAS FAIXAS NAS PÁGINAS INTERNAS (30%) */
.hero-inner-section-area,
.hero-inner-section-area-sidebar { /* Reduzido 30% de 160px/60px para 112px/42px */
}

/* Ajustar em dispositivos móveis */
@media (max-width: 767px) {
    .hero-inner-section-area,
    .hero-inner-section-area-sidebar { /* Reduzido 30% de 120px/40px para 84px/28px */
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hero-inner-section-area,
    .hero-inner-section-area-sidebar { /* Reduzido 30% */
    }
}

/* 3. CENTRALIZAR VERTICALMENTE O TÍTULO NAS PÁGINAS INTERNAS */
.hero-inner-section-area .hero-header-area,
.hero-inner-section-area-sidebar .hero-header-area {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    text-align: center;
}

.hero-inner-section-area .hero-header-area h1,
.hero-inner-section-area-sidebar .hero-header-area h1 { /* Garantir cor branca */
    text-align: center;
    font-family: var(--ztc-family-font1);
    font-size: var(--ztc-font-size-font-s56);
    font-weight: var(--ztc-weight-semibold);
    line-height: 64px;
    margin: 0;
    position: relative;
    z-index: 3;
}

@media (max-width: 767px) {
    .hero-inner-section-area .hero-header-area h1,
    .hero-inner-section-area-sidebar .hero-header-area h1 {
        font-size: var(--ztc-font-size-font-s40);
        line-height: 50px;
    }
}

/* Garantir overlay escuro para legibilidade do título */
.hero-inner-section-area::after,
.hero-inner-section-area-sidebar::after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background: #073B3A;
    opacity: 0.6;
    z-index: 1;
}

.hero-inner-section-area .hero-img1,
.hero-inner-section-area-sidebar .hero-img1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* 4. AJUSTES PARA RESPONSIVIDADE DA BARRA DE PESQUISA */
@media (max-width: 767px) {
    .others-section-area {
        margin-top: 20px !important; /* Espaçamento adequado em mobile */
        margin-bottom: 30px !important;
    }
    
    .others-section-area .filters {
        padding: 20px 16px;
        flex-direction: column;
        gap: 15px;
    }
    
    .others-section-area .filter-group {
        width: 100%;
    }
    
    .others-section-area .search-button {
        width: 100%;
        margin-top: 10px;
    }
    
    .others-section-area .search-button button {
        width: 100%;
        justify-content: center;
    }
}

/* 6. MELHORAR CONSISTÊNCIA VISUAL */
/* DESABILITADO - usando unified-search-bar.css */
/* Garantir altura uniforme nos inputs e selects */
/*.others-section-area input[type="text"],
.others-section-area select {
    height: 52px;
    padding: 18px 14px;
    border: none;
    outline: none;
    border-radius: var(--ztc-radius-sm, 8px);
    background: #F0F1F1;
    font-family: var(--ztc-family-font1);
    font-size: var(--ztc-font-size-font-s16);
    line-height: 16px;
    width: 100%;
    box-sizing: border-box;
}*/

/* DESABILITADO - usando unified-search-bar.css */
/* Estilizar botão de busca */
/*.others-section-area .search-button button {
    height: 52px;
    padding: 16px 40px;
    background: var(--ztc-bg-bg-3);
    color: var(--ztc-text-text-2);
    border: none;
    border-radius: var(--ztc-radius-sm, 8px);
    font-family: var(--ztc-family-font1);
    font-size: var(--ztc-font-size-font-s14);
    font-weight: var(--ztc-weight-medium);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s;
    cursor: pointer;
}

.others-section-area .search-button button:hover {
    background: var(--ztc-bg-bg-4);
    color: var(--ztc-text-text-1);
}*/

/* 7. CORREÇÕES PARA Z-INDEX E SOBREPOSIÇÃO */
.hero-area-slider {
    position: relative;
    z-index: 1;
}

.others-section-area {
    position: relative;
    z-index: 10;
}

.properties-section-area,
.properties1-section-area {
    position: relative;
    z-index: 1;
}

/* Garantir que títulos das seções tenham espaçamento adequado */
.property-heading.space-margin60 {
    margin-bottom: 60px;
}

/* 8. REMOVER QUALQUER BORDA INDESEJADA */
.others-section-area *,
.others-section-area *::before,
.others-section-area *::after {
    box-shadow: none !important;
}

/* Garantir que apenas o conteúdo dos filtros tenha sombra */
.others-section-area .filters {
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.09) !important;
}

/* 9. AJUSTES PARA MELHOR ESPAÇAMENTO */
/* Espaçamento correto entre seções */
.about1-section-area.sp1,
.testimonial1-section-area.sp1 {
    padding: 100px 0;
}

@media (max-width: 767px) {
    .about1-section-area.sp1,
    .testimonial1-section-area.sp1 {
        padding: 60px 0;
    }
}

/* 10. CORREÇÕES ESPECÍFICAS PARA TABLETS */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .others-section-area .filters {
        padding: 24px 20px;
        gap: 8px;
    }
    
    .others-section-area .filter-group {
        flex: 1;
        min-width: 150px;
    }
}

/* 11. GARANTIR QUE CONTEÚDO DAS PÁGINAS INTERNAS TENHA ESPAÇAMENTO ADEQUADO */
.content-section,
.team-section,
.testimonials-section {
    padding: 80px 0;
}

@media (max-width: 767px) {
    .content-section,
    .team-section,
    .testimonials-section {
        padding: 40px 0;
    }
}

/* ===========================
   REDUZIR ESPAÇAMENTO ENTRE SEÇÕES HOME
   =========================== */

/* Reduzir espaçamento entre seção de imóveis em destaque e testemunhos */
.properties1-section-area.sp2 {
    padding: 30px 0 35px; /* Reduzido drasticamente o espaçamento superior */
}

@media (max-width: 767px) {
    .properties1-section-area.sp2 {
        padding: 20px 0 10px !important; /* Reduzido ainda mais para mobile */
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .properties1-section-area.sp2 {
        padding: 25px 0 10px !important; /* Reduzido para tablet também */
    }
}

/* ===========================
   CORREÇÕES CARDS DE TESTEMUNHOS
   =========================== */

/* Garantir que todos os cards tenham a mesma altura e footer no fundo - APENAS NA PÁGINA DE TESTEMUNHOS */
.testemunhos-container .testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    border: 1px solid #e9ecef;
    border-radius: var(--ztc-radius, 12px) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #fff;
    overflow: hidden;
}

.testemunhos-container .testimonial-card .testimonial-image {
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
    max-height: none;
    overflow: hidden;
}

.testemunhos-container .testimonial-card .testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testemunhos-container .testimonial-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
}

.testemunhos-container .testimonial-card .quote-icon {
    flex-shrink: 0;
    margin-bottom: 15px;
}

.testemunhos-container .testimonial-card .testimonial-text {
    flex-grow: 1;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.testemunhos-container .testimonial-card .testimonial-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.testemunhos-container .testimonial-card .testimonial-footer .client-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 16px;
}

.testemunhos-container .testimonial-card .testimonial-footer .location {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
    min-height: 20px;
}

.testemunhos-container .testimonial-card .testimonial-footer .testimonial-date {
    color: #999;
    font-size: 12px;
    margin-bottom: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .testemunhos-container .testimonial-card {
        min-height: 280px !important;
    }
    
    .testemunhos-container .testimonial-card .testimonial-image {
        max-height: none;
    }

    .testemunhos-container .testimonial-card .testimonial-image img {
        height: 100%;
    }
    
    .testemunhos-container .testimonial-card .card-body {
        padding: 15px !important;
    }
}

/* ===========================
   CORREÇÕES DE VÍDEO - REDUZIR ESPAÇOS VAZIOS
   =========================== */

/* Reduzir drasticamente o espaçamento vazio no card de vídeo */
.details-siderbar:has(.vide-images),
.video-section-compact {
    padding: 15px;
    margin-bottom: 20px !important;
}

/* Reduzir espaçamento interno específico da seção de vídeo */
.details-siderbar .space32 {
    margin-bottom: 8px;
}

.details-siderbar .space60 {
    margin-bottom: 12px !important;
}

.video-section-compact .space32 {
    margin-bottom: 8px;
}

.video-section-compact .space60 {
    margin-bottom: 12px !important;
}

/* Otimizar o container do vídeo */
.vide-images {
    margin: 0;
    padding: 0;
}

/* Melhorar a aparência do iframe */
.vide-images .ratio {
    border-radius: var(--ztc-radius-sm, 8px);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.vide-images iframe {
    border-radius: var(--ztc-radius-sm, 8px);
}

/* Título do vídeo mais compacto */
.details-siderbar h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

/* Mobile - ainda mais compacto */
@media (max-width: 768px) {
    .details-siderbar:has(.vide-images),
    .video-section-compact {
        padding: 10px !important;
        margin-bottom: 15px !important;
    }
    
    .details-siderbar .space32,
    .video-section-compact .space32 {
        margin-bottom: 5px !important;
    }
    
    .details-siderbar .space60,
    .video-section-compact .space60 {
        margin-bottom: 8px !important;
    }
    
    .details-siderbar h3 {
        font-size: 18px !important;
    }
}

/* ===== hero-force-fix.css ===== */
/* CORREÇÃO ESPECÍFICA PARA HERO DAS PÁGINAS INTERNAS */
/* Este arquivo deve ser carregado APÓS o main.css para sobrescrever */

/* FORÇANDO todas as correções necessárias - ALTURA REDUZIDA EM 50% */
.hero-inner-section-area-sidebar {
    position: relative !important;
    z-index: 2 !important;
    padding: 110px 0 40px !important; /* Reduzido de 220px/80px para 110px/40px */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 250px !important; /* Reduzido de 500px para 250px */
    display: flex !important;
    align-items: center !important; /* Centralização vertical */
}

/* Responsividade */
@media (max-width: 767px) {
    .hero-inner-section-area-sidebar {
        padding: 80px 0 40px !important; /* Reduzido de 160px/80px para 80px/40px */
        min-height: 200px !important; /* Reduzido de 400px para 200px */
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hero-inner-section-area-sidebar {
        padding: 80px 0 40px !important; /* Reduzido de 160px/80px para 80px/40px */
        min-height: 225px !important; /* Reduzido de 450px para 225px */
    }
}

/* Overlay com transparência MENOR para mostrar mais a imagem */
.hero-inner-section-area-sidebar::after {
    position: absolute !important;
    content: "" !important;
    height: 100% !important;
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    background: rgba(7, 59, 58, 0.3) !important; /* 30% ao invés de 60% */
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Imagem de fundo */
.hero-inner-section-area-sidebar .hero-img1 {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
    opacity: 1 !important;
}

/* Container e conteúdo - CENTRALIZAÇÃO VERTICAL */
.hero-inner-section-area-sidebar .container {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
}

.hero-inner-section-area-sidebar .row {
    position: relative !important;
    z-index: 10 !important;
    align-items: center !important; /* Centralização vertical do conteúdo */
    justify-content: center !important;
}

.hero-inner-section-area-sidebar .col-lg-12 {
    position: relative !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-inner-section-area-sidebar .hero-header-area {
    position: relative !important;
    z-index: 10 !important;
    background: none !important;
    background-color: transparent !important;
    width: 100% !important;
}

/* FORÇANDO texto branco */
.hero-inner-section-area-sidebar h1,
.hero-inner-section-area-sidebar .hero-header-area h1 {
    color: #ffffff !important;
    text-align: center !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 70px !important;
    font-weight: 600 !important;
    line-height: 70px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 767px) {
    .hero-inner-section-area-sidebar h1,
    .hero-inner-section-area-sidebar .hero-header-area h1 {
        font-size: 40px !important;
        line-height: 50px !important;
    }
}

/* Todos os textos em branco */
.hero-inner-section-area-sidebar *,
.hero-inner-section-area-sidebar a,
.hero-inner-section-area-sidebar p,
.hero-inner-section-area-sidebar span,
.hero-inner-section-area-sidebar div {
    color: #ffffff !important;
}

/* SVGs em branco */
.hero-inner-section-area-sidebar svg {
    fill: #ffffff !important;
}

/* Links */
.hero-inner-section-area-sidebar a {
    color: #ffffff !important;
    text-decoration: none !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7) !important;
}

.hero-inner-section-area-sidebar a:hover {
    color: #CBCD30 !important;
}

/* Espaçamento */
.hero-inner-section-area-sidebar .space24 {
    height: 24px !important;
    display: block !important;
}

/* Garantindo que nada interfira */
.hero-inner-section-area-sidebar {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ===== hero-height-reduction.css ===== */
/* AJUSTE DA ALTURA DO HERO PARA MELHOR EXIBIÇÃO DAS FOTOS */
/* Este arquivo deve ser carregado APÓS o main.css para sobrescrever */

/* Hero principal - altura aumentada para melhor exibição das fotos laterais */
.hero-area-slider {
    min-height: 650px;
}

.hero-area-slider .hero1-section-area {
    min-height: 650px !important;
    padding: 0; /* Remove padding para usar min-height */
    display: flex !important;
    align-items: center !important;
    justify-content: center;
}

/* Garantir que a imagem preencha completamente */
.hero1-section-area .hero-img1 {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    z-index: -2 !important;
}

/* Responsividade - Mobile */
@media (max-width: 767px) {
    .hero-area-slider {
        min-height: 500px !important;
    }
    
    .hero-area-slider .hero1-section-area {
        min-height: 500px !important;
        padding: 0;
    }
}

/* Responsividade - Tablet */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hero-area-slider {
        min-height: 580px !important;
    }
    
    .hero-area-slider .hero1-section-area {
        min-height: 580px !important;
        padding: 0 !important;
    }
}

/* Mobile responsive adjustments */


/* Property Detail Page Image Gallery */
.property-gallery {
    position: relative;
}

/* Prevent Slick from overriding our styles */
.property-gallery .swiper-protected,
.property-gallery .no-slick,
.property-gallery [data-swiper-protected] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure our swipers are visible */
.property-swiper,
.property-thumbs,
.lightbox-swiper {
    display: block;
    visibility: visible;
}

.property-swiper {
    margin-bottom: 15px;
    border-radius: var(--ztc-radius, 12px);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
}

.property-swiper .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.property-main-image {
    transition: transform 0.3s ease;
    object-fit: contain !important;
    background-color: #f8f9fa;
}

.property-main-image:hover {
    transform: scale(1.02);
}

.zoom-indicator {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-image-container:hover .zoom-indicator {
    opacity: 1;
}

.photo-counter {
    font-size: 12px;
}

.property-swiper .swiper-button-next,
.property-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
}

.property-swiper .swiper-button-next:after,
.property-swiper .swiper-button-prev:after {
    font-size: 18px;
}

.property-swiper .swiper-pagination {
    bottom: 15px;
}

.property-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    width: 12px;
    height: 12px;
}

.property-swiper .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.2);
}

/* Thumbnails swiper */
.property-thumbs {
    margin-top: 15px;
}

.property-thumbs .swiper-slide {
    height: 80px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.property-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #1A47FB;
    border-radius: var(--ztc-radius-sm, 8px);
}

.thumbnail-image {
    transition: transform 0.2s ease;
}

.thumbnail-image:hover {
    transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox-swiper {
    height: 100%;
}

.lightbox-swiper .swiper-slide img {
    object-fit: contain !important;
    background-color: #000;
}

.lightbox-swiper .swiper-button-next,
.lightbox-swiper .swiper-button-prev {
    color: #fff !important;
    background: rgba(0, 0, 0, 0.8) !important;
    border-radius: 50%;
    width: 60px !important;
    height: 60px !important;
    margin-top: -30px !important;
    z-index: 1000 !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.lightbox-swiper .swiper-button-next:hover,
.lightbox-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    border-color: #fff;
    transform: scale(1.1);
}

.lightbox-swiper .swiper-button-next:after,
.lightbox-swiper .swiper-button-prev:after {
    font-size: 22px !important;
    font-weight: bold;
}

/* Ensure buttons are positioned correctly */
#lightboxModal .swiper-button-next {
    right: 20px !important;
}

#lightboxModal .swiper-button-prev {
    left: 20px !important;
}

.lightbox-swiper .swiper-pagination {
    bottom: 20px;
}

.lightbox-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    width: 14px;
    height: 14px;
}

.lightbox-swiper .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .property-swiper .swiper-button-next,
    .property-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }
    
    .property-swiper .swiper-button-next:after,
    .property-swiper .swiper-button-prev:after {
        font-size: 14px;
    }
    
    .photo-counter {
        font-size: 12px;
    }
    
    .zoom-indicator {
        opacity: 1;
    }
}

/* ===== new-search-bar.css ===== */
/* ===================================================================
   NOVA BARRA DE PESQUISA RESPONSIVA - DESIGN COMPLETAMENTE NOVO
   =================================================================== */

/* Container principal da área de pesquisa */
.new-search-area {
    position: relative;
    z-index: 100;
    margin-top: -120px;
    padding: 0;
    background: transparent;
}

/* Wrapper da barra de pesquisa */
.new-search-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Container dos filtros */
.new-filters-container {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    background: #FFFFFF;
    padding: 24px 28px;
    border-radius: var(--ztc-radius, 12px);
    box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(203, 205, 48, 0.2);
    min-height: 110px;
}

/* Item individual de filtro */
.new-filter-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Labels dos filtros */
.new-filter-item label {
    display: block;
    color: #030E0F;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    margin-bottom: 12px;
    white-space: nowrap;
}

/* Estilos dos selects */
.new-select {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    border: none;
    border-radius: var(--ztc-radius-sm, 8px);
    background: #F0F1F1;
    color: #030E0F;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23030E0F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.new-select:hover {
    background-color: #E8E9E9;
}

.new-select:focus {
    outline: none;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(203, 205, 48, 0.3);
}

/* Estilos do input */
.new-input {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    border: none;
    border-radius: var(--ztc-radius-sm, 8px);
    background: #F0F1F1;
    color: #030E0F;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.new-input::placeholder {
    color: #7A7A7A;
    opacity: 1;
}

.new-input:hover {
    background-color: #E8E9E9;
}

.new-input:focus {
    outline: none;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(203, 205, 48, 0.3);
}

/* Wrapper do botão de pesquisa */
.new-search-button-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* Espaço invisível para alinhar com outros elementos */
.new-search-button-wrapper::before {
    content: "";
    height: 28px;
    display: block;
}

/* Botão de pesquisa */
.new-search-submit {
    height: 48px;
    padding: 0 20px;
    min-width: 130px;
    border: none;
    border-radius: var(--ztc-radius-sm, 8px);
    background: #CBCD30;
    color: #030E0F;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.new-search-submit:hover {
    background: #073B3A;
    color: #FFFFFF;
}

.new-search-submit:hover .new-search-icon {
    color: #FFFFFF;
}

/* Ícone de pesquisa */
.new-search-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ===================================================================
   RESPONSIVIDADE
   =================================================================== */

/* Tablet grande (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .new-search-area {
        margin-top: -100px;
    }
    
    .new-filters-container {
        gap: 16px;
        padding: 20px 24px;
    }
    
    .new-filter-item label {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .new-search-submit {
        min-width: 120px;
        font-size: 13px;
    }
}

/* Tablet médio (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .new-search-area {
        margin-top: -90px;
    }
    
    .new-filters-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 24px;
    }
    
    .new-search-button-wrapper {
        grid-column: 1 / -1;
        justify-content: center;
        align-items: center;
    }
    
    .new-search-button-wrapper::before {
        display: none;
    }
    
    .new-search-submit {
        width: 200px;
        margin-top: 10px;
    }
}

/* Tablet pequeno e mobile (max 767px) */
@media (max-width: 767px) {
    .new-search-area {
        margin-top: -80px;
    }
    
    .new-search-wrapper {
        padding: 0 12px;
    }
    
    .new-filters-container {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        min-height: auto;
    }
    
    .new-filter-item {
        width: 100%;
    }
    
    .new-filter-item label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .new-select,
    .new-input {
        height: 50px;
        font-size: 15px;
    }
    
    .new-search-button-wrapper {
        width: 100%;
        margin-top: 4px;
    }
    
    .new-search-button-wrapper::before {
        display: none;
    }
    
    .new-search-submit {
        width: 100%;
        height: 50px;
        font-size: 16px;
    }
}

/* Mobile pequeno (max 575px) */
@media (max-width: 575px) {
    .new-search-area {
        margin-top: -60px;
    }
    
    .new-filters-container {
        padding: 16px;
        border-radius: var(--ztc-radius, 12px);
    }
    
    .new-search-text {
        font-size: 15px;
    }
}

/* Mobile muito pequeno (max 360px) */
@media (max-width: 360px) {
    .new-search-wrapper {
        padding: 0 8px;
    }
    
    .new-filters-container {
        padding: 14px;
        gap: 14px;
    }
    
    .new-select,
    .new-input {
        padding: 0 10px;
        padding-right: 32px;
    }
}

/* ===================================================================
   ANIMAÇÕES E ESTADOS
   =================================================================== */

/* Animação ao focar nos campos */
.new-filter-item.focused .new-select,
.new-filter-item.focused .new-input {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Animação do botão ao clicar */
.new-search-submit.searching {
    transform: scale(0.98);
    opacity: 0.9;
}

/* Transição suave para todos os elementos interativos */
.new-select,
.new-input,
.new-search-submit {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estado desabilitado */
.new-select:disabled,
.new-input:disabled,
.new-search-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f5f5f5 !important;
}

/* Estado de carregamento para selects */
.new-select:disabled {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 2V6M10 14V18M18 10H14M6 10H2M15.657 4.343L13.536 6.464M6.464 13.536L4.343 15.657M15.657 15.657L13.536 13.536M6.464 6.464L4.343 4.343' stroke='%23666666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===================================================================
   AJUSTES PARA SEÇÃO SEGUINTE
   =================================================================== */

.properties1-section-area.sp2 {
    padding-top: 80px;
}

@media (min-width: 1200px) {
    .properties1-section-area.sp2 {
        padding-top: 90px !important;
    }
}

@media (max-width: 991px) {
    .properties1-section-area.sp2 {
        padding-top: 70px;
    }
}

@media (max-width: 767px) {
    .properties1-section-area.sp2 {
        padding-top: 60px;
    }
}

@media (max-width: 575px) {
    .properties1-section-area.sp2 {
        padding-top: 50px !important;
    }
}

/* ===================================================================
   MENSAGEM DE ERRO DA PESQUISA
   =================================================================== */

.search-error-message {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: var(--ztc-radius-sm, 8px);
    padding: 12px 16px;
    margin-top: 10px;
    color: #c33;
    font-size: 14px;
    animation: slideDown 0.3s ease-out;
}

.search-error-message i {
    font-size: 18px;
    color: #c33;
}

.new-input.error {
    border-color: #c33 !important;
    animation: shake 0.5s;
}

.new-input.loading {
    opacity: 0.6;
    pointer-events: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ===== whatsapp-float.css ===== */
.whatsapp-float-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 10000;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.whatsapp-float-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.whatsapp-float-btn i {
  color: #fff;
  font-size: 30px;
}

@media (max-width: 768px) {
  .whatsapp-float-btn {
    height: 46px;
    width: 46px;
    right: 20px;
    bottom: 20px;
  }

  .whatsapp-float-btn i {
    font-size: 24px;
  }
}

.progress-wrap {
  right: auto;
  left: 30px;
}

@media (max-width: 768px) {
  .progress-wrap {
    left: 20px;
  }
}

/* Verde de marca do WhatsApp (terceiros): sempre #25D366 */
:root { --ztc-whatsapp: #25D366; }
.text-whatsapp { color: var(--ztc-whatsapp); }

/* ===== hero-section.css ===== */
/* ===================================================================
   HERO SECTION DINÂMICO - SITE1
   Baseado no layout do ResendeImoveis, com Art Direction (Mobile/Desktop)
   =================================================================== */

/* ========== WRAPPER PRINCIPAL ========== */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: visible; /* Permite search bar ultrapassar */
  margin-top: 0;
  z-index: 20;
  padding: 0;
}

/* ========== SLIDER CONTAINER ========== */
.hero-area-slider {
  background: inherit;
}

.hero-area-slider,
.hero1-section-area,
.slick-slide {
  padding: 0;
  margin: 0;
}

.hero-area-slider,
.hero1-section-area {
  height: 80vh;
  position: relative;
  overflow: hidden;
}

/* Picture tag como container block */
.hero1-section-area picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Imagem Full Cover - sem gaps */
.hero-custom-img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Todos elementos Slick com 80vh */
.hero-area-slider,
.hero-area-slider .slick-list,
.hero-area-slider .slick-track,
.hero-area-slider .slick-slide {
  height: 80vh;
}

/* O slide (.hero1-section-area) é o próprio .slick-slide: não há div wrapper do Slick.
   Um seletor ".slick-slide > div" aqui atingiria os overlays (imóvel e CTA) e os esticaria. */
.hero1-section-area {
  height: 80vh;
  min-height: unset;
  max-height: 80vh;
  display: block;
  align-items: initial;
}

/* Links e picture preenchem altura total */
.hero1-section-area a,
.hero1-section-area picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Remover aspect-ratio, usar height fixo */
.hero1-section-area {
  width: 100%;
}

/* ========== OVERLAY DE INFORMAÇÕES DO IMÓVEL ========== */
.hero-property-overlay {
  position: absolute;
  bottom: 140px;
  left: 90px; /* à direita da seta de navegação (30px + 50px) */
  z-index: 15;
  background: rgba(7, 59, 58, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--ztc-radius, 12px);
  padding: 20px 28px;
  max-width: 500px;
  color: #fff;
  pointer-events: none;
  animation: heroSlideIn 0.8s ease-out forwards;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tipo de Negócio - badges */
.hero-property-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-property-badge {
  display: inline-block;
  background: #cbcd30;
  color: #030e0f;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Título do Imóvel */
.hero-property-title {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Descrição do Imóvel */
.hero-property-description {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Valor do Imóvel */
.hero-property-price {
  font-family: "Inter", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #cbcd30;
  margin-bottom: 10px;
}

.hero-property-price span {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 8px;
}

/* Características do Imóvel */
.hero-property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-property-feature {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-property-feature i {
  font-size: 14px;
  color: #cbcd30;
}

/* ========== SETAS DE NAVEGAÇÃO ========== */
.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 10;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
}

.hero-prev-arrow,
.hero-next-arrow {
  pointer-events: auto;
}

.hero-prev-arrow button,
.hero-next-arrow button {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-prev-arrow button:hover,
.hero-next-arrow button:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* ========== BARRA DE PESQUISA POSICIONAMENTO ========== */
.hero-wrapper .new-search-area {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: transparent;
  padding: 20px 0;
  transform: translateY(80%);
  pointer-events: none;
  margin-top: 0;
}

.hero-wrapper .new-search-wrapper {
  pointer-events: auto;
  margin-top: 0;
  box-shadow: none;
  background: transparent;
}

/* ========== RESPONSIVIDADE ========== */

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-wrapper .new-search-area {
    transform: translateY(50%);
  }

  .hero-property-overlay {
    bottom: 120px;
    left: 30px;
    max-width: 420px;
    padding: 18px 24px;
  }

  .hero-property-title {
    font-size: 18px;
  }

  .hero-property-price {
    font-size: 22px;
  }


}

/* Mobile */
@media (max-width: 767px) {
  .hero-wrapper {
    height: 75vh;
  }

  .hero-area-slider,
  .hero1-section-area {
    height: 75vh;
  }

  .hero-area-slider,
  .hero-area-slider .slick-list,
  .hero-area-slider .slick-track,
  .hero-area-slider .slick-slide,
  .hero1-section-area {
    height: 75vh;
    max-height: 75vh;
  }

  .hero-arrows {
    padding: 0 15px;
  }

  .hero-prev-arrow button,
  .hero-next-arrow button {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .hero-wrapper .new-search-area {
    transform: translateY(95%);
  }

  /* Overlay do imóvel no mobile */
  .hero-property-overlay {
    bottom: 100px;
    left: 15px;
    right: 15px;
    max-width: calc(100% - 30px);
    padding: 14px 18px;
    border-radius: var(--ztc-radius, 12px);
  }

  .hero-property-title {
    font-size: 16px;
  }

  .hero-property-description {
    font-size: 13px;
    margin-bottom: 8px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .hero-property-price {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .hero-property-price span {
    font-size: 14px;
  }

  .hero-property-features {
    gap: 10px;
    font-size: 13px;
  }

  .hero-property-badge {
    font-size: 12px;
    padding: 4px 10px;
  }


}

/* Mobile muito pequeno */
@media (max-width: 480px) {
  .hero-wrapper {
    height: 70vh;
  }

  .hero-area-slider,
  .hero1-section-area,
  .hero-area-slider .slick-list,
  .hero-area-slider .slick-track,
  .hero-area-slider .slick-slide {
    height: 70vh;
    max-height: 70vh !important;
  }

  .hero-property-overlay {
    bottom: 80px;
    padding: 12px 14px;
  }

  .hero-property-title {
    font-size: 14px;
  }

  .hero-property-price {
    font-size: 18px;
  }


}

/* ========== VARIANTE SEM SLIDER (Hero desabilitado) ========== */
/* Mantém apenas a barra de pesquisa, numa faixa própria com fundo sólido. */
.hero-wrapper--no-slider {
  height: auto;
  overflow: visible;
  background: #073B3A;
  padding: 10px 0 !important;
}

.hero-wrapper--no-slider .new-search-area {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  padding: 0;
}

.hero-wrapper--no-slider .new-search-wrapper {
  box-shadow: none !important;
}

.hero-wrapper--no-slider ~ .hero-spacing {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  .hero-wrapper--no-slider {
    padding: 10px 0 !important;
  }
}

/* ========== BANNERS SÓ PARA CELULAR ========== */
/* Banner sem imagem desktop não aparece no desktop (o JS o retira do slider antes do slick).
   Sem nenhum banner desktop, o desktop recebe a mesma faixa da variante sem slider. */
@media (min-width: 769px) {
  .hero-area-slider .banner-somente-celular {
    display: none !important;
  }

  .hero-wrapper--sem-desktop .hero-area-slider,
  .hero-wrapper--sem-desktop .hero-arrows {
    display: none !important;
  }

  .hero-wrapper--sem-desktop {
    height: auto;
    overflow: visible;
    background: #073B3A;
    padding: 10px 0 !important;
  }

  .hero-wrapper--sem-desktop .new-search-area {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    padding: 0;
  }

  .hero-wrapper--sem-desktop .new-search-wrapper {
    box-shadow: none !important;
  }

  .hero-wrapper--sem-desktop ~ .hero-spacing {
    margin-top: 0 !important;
  }
}

/* ========== ESPAÇAMENTO PÓS-HERO (Seção que segue o Hero) ========== */
/* A barra de pesquisa transborda do hero-wrapper via transform: translateY().
   O espaçamento precisa ser proporcional à altura da barra em cada breakpoint. */

/* Desktop: barra horizontal, ~110px de altura, translateY(80%) → desce ~88px */
.hero-spacing {
  margin-top: 150px !important;
}

/* Tablet: barra começa a quebrar, translateY(50%) */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-spacing {
    margin-top: 200px !important;
  }
}

/* Mobile: barra empilhada verticalmente (~450px de altura), translateY(95%) → desce ~427px */
@media (max-width: 767px) {
  .hero-spacing {
    margin-top: 480px;
  }
}

/* Mobile muito pequeno: barra ainda mais alta com padding */
@media (max-width: 480px) {
  .hero-spacing {
    margin-top: 520px !important;
  }
}

/* ===== testimonials-fix.css ===== */
/* Testimonials Carousel Fix - Ensure visibility when JS fails */

/* Antes do JS: mostra só o primeiro depoimento/imagem */
.testimonial-slider-area.slider1:not(.slick-initialized) .testimonial-box:not(:first-child) { display: none; }

/* Imagens empilhadas na mesma célula: a altura é a da maior e nunca muda na troca */
.images-area2.slider2 { display: grid; }
.images-area2.slider2 .img1 {
    grid-area: 1 / 1;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease, visibility .5s;
}
.images-area2.slider2 .img1.is-active { opacity: 1; visibility: visible; }
.images-area2.slider2 .img1 img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--ztc-radius, 12px); }

/* Slides de texto sempre no fluxo (fade só altera opacidade): o container mantém a altura do maior */
.testimonial-slider-area.slider1.slick-initialized .slick-slide { display: block; float: left; height: auto; }
.testimonial-slider-area.slider1 .slick-track { display: flex; }
.testimonial-slider-area.slider1 .slick-slide > div { height: 100%; }

/* Cartão do depoimento. O .testimonial-box é o próprio slide do slick (hero-section.css zera o
   padding de .slick-slide com !important), então o espaçamento fica no wrapper interno. */
.testimonial-slider-area.slider1 .testimonial-box { padding: 0; }
.testimonial-slider-area.slider1 .testimonial-inner {
    height: 100%;
    padding: 40px 48px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.testimonial-slider-area.slider1 .testimonial-inner::before {
    content: "“";
    display: block;
    height: 34px;
    margin-bottom: 4px;
    font: 700 72px/1 Inter, sans-serif;
    color: #CBCD30;
}
.testimonial-slider-area.slider1 .testimonial-inner p {
    margin: 0;
    font-size: 19px;
    line-height: 1.7;
    color: #3d4852;
}
.testimonial-slider-area.slider1 .testimonial-inner .test-images {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(7, 59, 58, .12);
}
.testimonial1-section-area .testimonial-slider-area.slider1 .testimonial-box .test-images .auhtor-area .text { padding-left: 0; }
.testimonial-slider-area.slider1 .testimonial-inner .auhtor-area .text span {
    font-size: 18px; line-height: 1.3; font-weight: 600; color: #073B3A;
}
.testimonial-slider-area.slider1 .testimonial-inner .auhtor-area .text small { display: block; margin-top: 2px; font-size: 14px; color: #6b7680; }
@media (max-width: 767px) {
    .testimonial-slider-area.slider1 .testimonial-inner { padding: 30px 24px; }
    .testimonial-slider-area.slider1 .testimonial-inner p { font-size: 16px; }
}

/* Arrow buttons styling */
.testimonial-arrows {
    margin-top: 30px;
}

.testimonial-arrows .prev-arrow,
.testimonial-arrows .next-arrow {
    display: inline-block;
    margin: 0 10px;
}

.testimonial-arrows button {
    background: #CBCD30;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #073B3A;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-arrows button:hover {
    background: #073B3A;
    color: #CBCD30;
}

/* Debug helper - remove when working */
.testimonial-debug {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px;
    border-radius: var(--ztc-radius-sm, 8px);
    font-size: 12px;
    z-index: 9999;
}

/* ===== header-text-fix.css ===== */
/* Correção específica para evitar quebra de texto nos cabeçalhos */
.hero-inner-section-area-sidebar .hero-header-area h1,
.hero-inner-section-area-sidebar h1 {
    word-spacing: normal !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

@media (max-width: 768px) {
    .hero-inner-section-area-sidebar .hero-header-area h1,
    .hero-inner-section-area-sidebar h1 {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .hero-inner-section-area-sidebar .hero-header-area h1,
    .hero-inner-section-area-sidebar h1 {
        font-size: 1.75rem !important;
    }
}

/* Garantir que o container do título não tenha formatação estranha */
.hero-inner-section-area-sidebar .hero-header-area {
    text-align: center !important;
    padding: 100px 0 !important;
}

/* Remover qualquer formatação estranha de outros elementos */
.hero-inner-section-area-sidebar * {
    word-spacing: normal !important;
    letter-spacing: normal !important;
}

/* ===== header-line-fix.css ===== */
/* ===========================
   FIX: Remove the teal line bleeding from header top bar into menu area.
   
   Root cause: main.css line ~7246 uses a ::after pseudo-element on
   .header-area.homepage1 with a HARDCODED height of 55px to create
   the full-width teal background behind the top bar (phone/address).
   But the actual .header-top-area content is only ~46px tall, so the
   remaining ~9px of teal bleeds into the white menu area below.
   
   Fix: Replace the hardcoded-height ::after with a ::before on the
   .header-top-area that:
   - Extends to the viewport edges (box-shadow + clip-path, sem 100vw)
   - Has DYNAMIC height matching .header-top-area exactly (top:0; bottom:0)
   This eliminates the bleed permanently regardless of content size.
   =========================== */

/* 1. HIDE the broken ::after pseudo-element (hardcoded 55px height) */
.homepage1-body .header-area.homepage1::after {
    display: none !important;
    content: none !important;
    height: 0 !important;
}

/* 2. Ensure header-top-area is positioned for the ::before to reference */
.homepage1-body .header-area.homepage1 .header-top-area {
    position: relative;
}

/* 3. Create the full-width teal background with DYNAMIC height */
.homepage1-body .header-area.homepage1 .header-top-area::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    /* Faixa até as bordas da janela sem usar 100vw (que inclui a barra de rolagem e gera
       rolagem horizontal): a sombra estende a cor e o clip-path limita o desenho. */
    background: var(--ztc-bg-bg-4) !important;
    box-shadow: 0 0 0 100vmax var(--ztc-bg-bg-4) !important;
    clip-path: inset(0 -100vmax) !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* ===== imoveis-page-fixes.css ===== */
/* Correções para a página de Imóveis */

/* 1. Z-INDEX: Garantir que dropdowns apareçam sobre o botão Pesquisar */
.property-sidebar-area .form-select {
    position: relative;
    z-index: 10;
}

.property-sidebar-area .form-select:focus {
    z-index: 20;
}

/* Garantir que o dropdown aberto fique acima de tudo */
.property-sidebar-area .form-select option {
    z-index: 100;
}

/* 2. BOTÃO PESQUISAR: Mesmas cores do header */
.property-sidebar-area .btn-success {
    background: #073B3A !important;
    border-color: #073B3A !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.property-sidebar-area .btn-success:hover {
    background: #052a29 !important;
    border-color: #052a29 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(7, 59, 58, 0.2);
}

.property-sidebar-area .btn-success:active,
.property-sidebar-area .btn-success:focus {
    background: #052a29 !important;
    border-color: #052a29 !important;
    box-shadow: none !important;
}

/* 3. SETA DUPLA: Remover seta padrão e garantir apenas uma seta customizada */
.property-sidebar-area .form-select {
    /* Remove seta padrão do browser */
    appearance: none;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    
    /* Adiciona seta customizada */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.825L1.175 4 2.55 2.625 6 6.075 9.45 2.625 10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Garantir que não haja duplicação de setas em estados hover/focus */
.property-sidebar-area .form-select:hover,
.property-sidebar-area .form-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23073B3A' d='M6 8.825L1.175 4 2.55 2.625 6 6.075 9.45 2.625 10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* Remover qualquer pseudo-elemento que possa estar criando setas extras */
.property-sidebar-area .form-select::before,
.property-sidebar-area .form-select::after {
    content: none !important;
    display: none !important;
}

/* Estilização adicional dos selects para melhor aparência */
.property-sidebar-area .form-select {
    border: 1px solid #dee2e6;
    border-radius: var(--ztc-radius-sm, 8px);
    padding: 12px 40px 12px 14px;
    font-size: 15px;
    line-height: 1.2;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    vertical-align: middle;
}

/* Garantir que os labels e selects tenham alinhamento consistente */
.property-sidebar-area .form-group {
    margin-bottom: 1rem;
}

.property-sidebar-area .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

/* Garantir largura consistente para todos os elementos do formulário */
.property-sidebar-area .form-select,
.property-sidebar-area .form-control {
    width: 100%;
    box-sizing: border-box;
}

/* Correções específicas para página de Busca - espaçamento do botão */
.property-sidebar-area hr.my-3 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.property-sidebar-area .form-group:has(button) {
    margin-top: 1.5rem;
    padding-top: 1rem;
}

/* Fallback para browsers que não suportam :has() */
.property-sidebar-area .form-group:last-child {
    margin-top: 1.5rem;
    padding-top: 1rem;
}

/* Correção para alinhamento de altura entre card e grid de imóveis */
.property-grid-section-area .container .row {
    align-items: flex-start;
}

/* Remover espaçamentos que empurram os imóveis para baixo e subir mais */
.property-grid-section-area .col-lg-9 {
    padding-top: 0;
    margin-top: -20px;
}

.property-grid-area {
    margin-top: -10px;
    padding-top: 0;
}

/* Remover espaçamentos do container de filtros no topo */
.property-filter-area {
    margin-top: -15px;
    margin-bottom: 1rem;
    padding-top: 0;
}

/* Garantir que o card tenha altura mínima para alinhamento */
.property-sidebar-area .card {
    min-height: 400px;
    align-self: flex-start;
}

/* Alinhar o início dos imóveis com o topo do card */
.property-grid-section-area .row:first-of-type {
    margin-top: 0;
}

.property-sidebar-area .form-select:focus {
    border-color: #073B3A;
    outline: none;
    box-shadow: 0 0 0 3px rgba(7, 59, 58, 0.1);
}

/* Garantir que o container do sidebar tenha z-index adequado */
.property-sidebar-area {
    position: relative;
    z-index: 5;
}

/* Fix para possíveis conflitos com nice-select se estiver sendo usado */
.property-sidebar-area .nice-select {
    appearance: none;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.property-sidebar-area .nice-select::after {
    content: none !important;
}

/* Adicionar estilo consistente para todos os form controls */
.property-sidebar-area .form-control {
    border: 1px solid #dee2e6;
    border-radius: var(--ztc-radius-sm, 8px);
    padding: 10px 14px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.property-sidebar-area .form-control:focus {
    border-color: #073B3A;
    outline: none;
    box-shadow: 0 0 0 3px rgba(7, 59, 58, 0.1);
}

/* Melhorar espaçamento do card */
.property-sidebar-area .card-body {
    padding: 24px;
}

/* Garantir que o dropdown de ordenação também funcione corretamente */
.property-sort select {
    appearance: none;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.825L1.175 4 2.55 2.625 6 6.075 9.45 2.625 10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    border: 1px solid #dee2e6;
    border-radius: var(--ztc-radius-sm, 8px);
    padding: 10px 40px 10px 14px;
}

/* Proteger elementos de paginação de serem convertidos por plugins */
.pagination a {
    pointer-events: auto;
}

.pagination .page-link {
    text-decoration: none;
    cursor: pointer;
}

/* Prevenir nice-select de afetar elementos de paginação */
.pagination-area * {
    pointer-events: auto !important;
}

/* ===== brand-colors.css ===== */
/* Cor da marca: #073B3A (verde-escuro), texto sobre ela #FFFFFF */

/* Preços */
.property-content .price-area p,
.property-details .price,
.property-price h3 {
    background: #073B3A;
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--ztc-radius-sm, 8px) !important;
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

/* Similar properties price */
.similar-property-card .price,
.property-card .price {
    background: #073B3A !important;
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: var(--ztc-radius-sm, 8px) !important;
    display: inline-block !important;
}

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

/* Main theme buttons */
.theme-btn1,
.theme-btn2,
.btn-primary {
    background: #073B3A !important;
    color: #fff !important;
    border: 2px solid #073B3A !important;
    transition: all 0.3s ease !important;
}

.theme-btn1:hover,
.theme-btn2:hover,
.btn-primary:hover {
    background: #05312f !important;
    border-color: #05312f !important;
    color: #fff !important;
}

/* Outline/Secondary buttons */
.btn-outline-primary {
    background: transparent !important;
    color: #073B3A !important;
    border: 2px solid #073B3A !important;
}

.btn-outline-primary:hover {
    background: #073B3A !important;
    color: #fff !important;
    border-color: #073B3A !important;
}

/* ===================================================================
   SEARCH BUTTON
   ================================================================ */

/* New search bar submit button */
.new-search-submit,
#newSearchSubmit,
button[type="submit"].search-btn {
    background: #073B3A;
    color: #fff;
    border: none !important;
}

.new-search-submit:hover,
#newSearchSubmit:hover,
button[type="submit"].search-btn:hover {
    background: #05312f !important;
    color: #fff !important;
}

/* ===================================================================
   FORM SUBMIT BUTTONS
   ================================================================ */

/* Contact form and property interest forms */
form button[type="submit"],
form .btn-submit {
    background: #073B3A !important;
    color: #fff !important;
    border: 2px solid #073B3A !important;
}

form button[type="submit"]:hover,
form .btn-submit:hover {
    background: #05312f !important;
    border-color: #05312f !important;
    color: #fff !important;
}

/* ===================================================================
   LINKS AND ACCENTS
   ================================================================ */

/* Primary text links */
.text-primary,
a.text-primary {
    color: #073B3A !important;
}

.text-primary:hover,
a.text-primary:hover {
    color: #05312f !important;
}

/* Bootstrap primary overrides */
.bg-primary {
    background-color: #073B3A !important;
}

.border-primary {
    border-color: #073B3A !important;
}

/* ===================================================================
   SPECIFIC COMPONENT OVERRIDES
   ================================================================ */

/* Agent info widget buttons */
.agent-info-widget .btn-outline-primary,
.sidebar-widget .btn-outline-primary {
    border-color: #073B3A !important;
    color: #073B3A !important;
}

.agent-info-widget .btn-outline-primary:hover,
.sidebar-widget .btn-outline-primary:hover {
    background: #073B3A !important;
    color: #fff !important;
}

/* Success button (WhatsApp) keeps green */
.btn-success {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #fff !important;
}

.btn-success:hover {
    background: #25D366 !important;
    border-color: #25D366 !important;
}

/* ===================================================================
   FONT AWESOME FIXES
   ================================================================ */

/* Ensure Font Awesome font family is applied */
.fa, .fas, .far, .fal, .fat, .fad, .fab,
.fa-solid, .fa-regular, .fa-light, .fa-thin, .fa-duotone, .fa-brands {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Regular style icons */
.far, .fa-regular {
    font-weight: 400;
}

/* Brand icons */
.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400;
}

/* Light icons */
.fal, .fa-light {
    font-weight: 300 !important;
}

/* Thin icons */
.fat, .fa-thin {
    font-weight: 100 !important;
}

/* ===================================================================
   WIDGET HEADERS - Force white text
   ================================================================ */

/* Ensure widget headers have white text and consistent styling */
.agent-info-widget h4,
.contact-form-widget h4,
.sidebar-widget h4,
.share-widget h4,
.property-sidebar .agent-info-widget h4,
.property-sidebar .contact-form-widget h4,
.property-sidebar .sidebar-widget h4,
.property-sidebar .share-widget h4 {
    color: #ffffff !important;
    background: #073B3A;
    padding: 1rem 1.5rem;
    font-weight: bold !important;
    border-radius: var(--ztc-radius, 12px) var(--ztc-radius, 12px) 0 0 !important;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    text-align: center;
}

/* ===================================================================
   MOBILE HEADER CIRCLE BUTTONS
   ================================================================ */

/* Circle buttons in mobile header */
.mobile-header .circle-button {
    background-color: #073B3A;
}

.mobile-header .circle-button:hover {
    background-color: #05312f !important;
}

.mobile-header .circle-button svg path {
    fill: #fff;
}

/* ===================================================================
   SHARE BUTTONS (Compartilhar)
   ================================================================ */

/* Override share buttons to use brand color */
.share-widget .share-buttons a.facebook,
.share-widget .share-buttons a.twitter {
    background: #073B3A;
    color: #fff;
}

.share-widget .share-buttons a.facebook:hover,
.share-widget .share-buttons a.twitter:hover {
    background: #05312f !important;
}

/* WhatsApp keeps its original green */
.share-widget .share-buttons a.whatsapp {
    background: #25d366;
    color: white;
}

.share-widget .share-buttons a.whatsapp:hover {
    background: #25D366 !important;
}

/* ===================================================================
   PRICE UNIFICATION - All prices use same style
   ================================================================ */

/* Price button style for Favoritos page */
.nm-btn {
    background: #073B3A !important;
    color: #fff !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.nm-btn:hover {
    background: #05312f !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* ===== captacao.css ===== */
/* ===================================================================
   CAPTAÇÃO DE IMÓVEIS
   Botão no menu, faixa na home, card na página do imóvel e chamadas
   auxiliares. Cores da marca: verde #073B3A e amarelo #CBCD30.
   =================================================================== */

/* Botão do menu principal (desktop) */
.homepage1-body .header-area.homepage1 .header-elements .main-menu ul li a.captacao-menu-btn,
.homepage1-body .header-area.homepage1 .header-elements .main-menu ul li:hover > a.captacao-menu-btn {
    margin-left: 10px;
    padding: 12px 20px;
    border-radius: var(--ztc-radius-sm, 8px);
    background: #CBCD30;
    color: #030E0F !important;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(7, 59, 58, 0.18);
}

.homepage1-body .header-area.homepage1 .header-elements .main-menu ul li:hover > a.captacao-menu-btn {
    background: #b9bb22;
}

.homepage1-body .header-area.homepage1 .header-elements .main-menu ul li a.captacao-menu-btn::after {
    display: none;
}

/* Botão do menu lateral (mobile) */
.captacao-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 14px 20px;
    border-radius: var(--ztc-radius-sm, 8px);
    background: #CBCD30;
    color: #030E0F;
    font-weight: 600;
    text-decoration: none;
}

.captacao-mobile-btn:hover {
    background: #b9bb22;
    color: #030E0F;
}

/* Botões */
.captacao-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border: 2px solid #CBCD30;
    border-radius: var(--ztc-radius-sm, 8px);
    background: #CBCD30;
    color: #030E0F;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.captacao-btn:hover {
    background: #b9bb22;
    border-color: #b9bb22;
    color: #030E0F;
}

.captacao-btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.captacao-btn--outline:hover {
    background: #fff;
    border-color: #fff;
    color: #073B3A;
}

.captacao-btn--block {
    width: 100%;
}

/* Faixa da home */
.captacao-section-area {
    padding: 20px 0 80px;
}

.captacao-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 36px;
    align-items: center;
    padding: 56px;
    border-radius: var(--ztc-radius, 12px);
    background: #073B3A;
    color: #d4e2e1;
}

.captacao-box::before {
    position: absolute;
    right: -90px;
    bottom: -140px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(203, 205, 48, 0.12);
    content: "";
}

.captacao-box > * {
    position: relative;
}

.captacao-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #CBCD30;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.captacao-box h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 600;
    line-height: 1.2;
}

.captacao-box p {
    margin: 0 0 20px;
    color: #d4e2e1;
    font-size: 17px;
    line-height: 1.6;
}

.captacao-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.captacao-list li {
    color: #fff;
    font-weight: 600;
}

.captacao-list i {
    color: #CBCD30;
}

.captacao-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Card da página do imóvel */
.sidebar-widget.captacao-card {
    border-color: rgba(7, 59, 58, 0.25);
    background: #f1f6f5;
    text-align: center;
}

.captacao-card p {
    margin: 0 0 16px;
    color: #252728;
    font-size: 15px;
    line-height: 1.5;
}

/* Chamadas auxiliares */
.captacao-empty {
    margin: 12px 0 0;
}

.captacao-empty a,
.captacao-whatsapp-link {
    color: #073B3A;
    font-weight: 700;
    text-decoration: underline;
}

.captacao-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

@media (max-width: 991px) {
    .captacao-box {
        grid-template-columns: minmax(0, 1fr);
        padding: 40px 24px;
    }

    .captacao-section-area {
        padding: 10px 0 60px;
    }
}

/* ===== inner-pages-fix.css ===== */
/* ===========================
   CORREÇÃO PÁGINAS INTERNAS - REMOVER FAIXA COLORIDA E TEXTO DUPLICADO
   =========================== */

/* 1. REMOVER A FAIXA COLORIDA (OVERLAY) DAS PÁGINAS INTERNAS */
.hero-inner-section-area::after,
.hero-inner-section-area-sidebar::after {
    display: none !important;
}

/* 2. REDUZIR ALTURA DO HEADER DAS PÁGINAS INTERNAS */
.hero-inner-section-area,
.hero-inner-section-area-sidebar {
    padding: 60px 0 30px !important; /* Reduzido de 112px/42px para 60px/30px */
    min-height: auto !important;
}

/* Ajustar em dispositivos móveis */
@media (max-width: 767px) {
    .hero-inner-section-area,
    .hero-inner-section-area-sidebar {
        padding: 40px 0 20px !important; /* Reduzido de 84px/28px para 40px/20px */
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hero-inner-section-area,
    .hero-inner-section-area-sidebar {
        padding: 50px 0 25px !important; /* Reduzido proporcionalmente */
    }
}

/* 3. AJUSTAR COR DO TÍTULO PARA MELHOR VISIBILIDADE SEM O OVERLAY */
.hero-inner-section-area .hero-header-area h1,
.hero-inner-section-area-sidebar .hero-header-area h1 {
    color: #FFFFFF !important; /* Cor branca */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 
                 0 0 20px rgba(0, 0, 0, 0.5); /* Sombra para garantir legibilidade */
}

/* 4. REMOVER QUALQUER FUNDO DA ÁREA DO TEXTO */
.hero-inner-section-area .hero-header-area,
.hero-inner-section-area-sidebar .hero-header-area {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: flex;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .hero-inner-section-area .hero-header-area,
    .hero-inner-section-area-sidebar .hero-header-area {
        padding: 15px 25px;
    }
}

/* 5. GARANTIR QUE A IMAGEM DE FUNDO SEJA VISÍVEL */
.hero-inner-section-area .hero-img1,
.hero-inner-section-area-sidebar .hero-img1 {
    opacity: 1 !important;
    filter: brightness(0.8); /* Escurecer levemente a imagem para melhor contraste */
}

/* 6. REMOVER CONTEÚDO DUPLICADO CRIADO POR PSEUDO-ELEMENTOS */
.sobre-nos-container::before,
.sobre-nos-container::after,
.nossa-equipe-container::before,
.nossa-equipe-container::after,
.testemunhos-container::before,
.testemunhos-container::after {
    display: none !important;
    content: none !important;
}

/* 7. REMOVER QUALQUER FUNDO GRADIENT DAS PÁGINAS */
.hero-inner-section-area,
.hero-inner-section-area-sidebar {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* 8. GARANTIR QUE OS CONTAINERS DAS PÁGINAS NÃO TENHAM ESTILOS CONFLITANTES */
.sobre-nos-container,
.nossa-equipe-container,
.testemunhos-container {
    position: static;
    margin-top: 0;
}

/* 9. LIMPAR QUALQUER ESTILO DE FUNDO ADICIONAL */
.hero-inner-section-area-sidebar::before {
    display: none !important;
}

/* 10. AJUSTAR Z-INDEX PARA GARANTIR ORDEM CORRETA */
.hero-inner-section-area,
.hero-inner-section-area-sidebar {
    position: relative;
    z-index: 1;
}

.hero-inner-section-area .container,
.hero-inner-section-area-sidebar .container {
    position: relative;
    z-index: 2;
}



/* ===================================================================
   AJUSTES DE REVISÃO (títulos animados, logo, submenu, botões)
   =================================================================== */

/* Títulos com animação de letras (GSAP SplitText em main.js): o texto fica visível mesmo sem
   JS/ScrollTrigger e para quem prefere menos movimento; sem corte nas linhas divididas. */
.text-anime-style-3 { overflow: visible; }
.text-anime-style-3 .split-line { overflow: visible !important; }
@media (prefers-reduced-motion: reduce) {
    .text-anime-style-3,
    .text-anime-style-3 .split-line,
    .text-anime-style-3 div,
    .text-anime-style-3 * {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}
@media (scripting: none) {
    .text-anime-style-3 * { opacity: 1 !important; transform: none !important; }
}

/* Botão circular (ícones do cabeçalho mobile): paleta da skin, sem azul herdado de link */
.circle-button,
.circle-button:link,
.circle-button:visited {
    color: #fff;
    background-color: #073B3A;
}
.circle-button:hover,
.circle-button:focus-visible,
.circle-button.add-icon:hover {
    color: #fff;
    background-color: #05312f;
}
.circle-button svg path,
.circle-button.add-icon svg path { fill: #fff; }
.circle-button:focus-visible { outline: 2px solid #CBCD30; outline-offset: 2px; }

/* Submenus: largura mínima, sem quebra de linha estreita e hover com fundo da paleta */
.homepage1-body .header-area.homepage1 .header-elements .main-menu ul li ul.dropdown-padding {
    min-width: 240px;
    width: max-content;
    max-width: 360px;
    border-radius: 0 0 var(--ztc-radius, 12px) var(--ztc-radius, 12px);
}
.homepage1-body .header-area.homepage1 .header-elements .main-menu ul li ul.dropdown-padding li a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 14px;
    line-height: 1.4;
    border-radius: var(--ztc-radius-sm, 8px);
    font-size: 14px;
}
.homepage1-body .header-area.homepage1 .header-elements .main-menu ul li ul.dropdown-padding li a:hover,
.homepage1-body .header-area.homepage1 .header-elements .main-menu ul li ul.dropdown-padding li a:focus-visible {
    background: #F2F3F3;
    padding-left: 14px;
    color: var(--ztc-text-text-5, #073B3A);
}
.homepage1-body .header-area.homepage1 .header-elements .main-menu ul li ul.dropdown-padding li a::after { display: none; }


/* ===================================================================
   SEGUNDA REVISÃO: paleta (sem azul do Bootstrap), controles, logo, menu ativo, aviso "Desfazer"
   =================================================================== */
:root {
    --ztc-control-height: 48px;
    --ztc-focus-ring: 0 0 0 3px rgba(7, 59, 58, 0.18);
}

/* Logo: o main.css fixa 180x48 no contêiner e 170x48 no rodapé, o que encolhe o logo 300x100.
   Contêiner e imagem seguem a proporção do arquivo, sem opacidade nem filtro. */
.homepage1-body .header-area.homepage1 .header-elements .site-logo,
.mobile-header .mobile-logo { height: auto; width: auto; max-width: 240px; }
.homepage1-body .header-area.homepage1 .header-elements .site-logo a,
.mobile-header .mobile-logo a { display: inline-block; line-height: 0; }
.homepage1-body .header-area.homepage1 .header-elements .site-logo img { width: auto; height: auto; max-height: 72px; max-width: 100%; opacity: 1; filter: none; }
.mobile-header .mobile-logo img { width: auto; height: auto; max-height: 48px; max-width: 100%; opacity: 1; filter: none; }
.footer1-section-area .footer-logoarea img { width: auto; height: auto; max-height: 72px; max-width: 100%; opacity: 1; filter: none; }

/* Item de menu ativo */
.homepage1-body .header-area.homepage1 .header-elements .main-menu > ul > li > a.is-current,
.homepage1-body .header-area.homepage1 .header-elements .main-menu > ul > li > a[aria-current="page"] {
    color: var(--ztc-text-text-5, #073B3A);
    font-weight: 700;
    box-shadow: inset 0 -3px 0 var(--ztc-bg-bg-3, #CBCD30);
}
.mobile-nav .mobile-nav-list > li > a.is-current,
.mobile-nav .mobile-nav-list > li > a[aria-current="page"] {
    color: var(--ztc-text-text-5, #073B3A);
    font-weight: 700;
    border-left: 3px solid var(--ztc-bg-bg-3, #CBCD30);
    padding-left: 8px;
}

/* Cor primária do Bootstrap (azul) -> verde da skin: rádio/checkbox, foco, paginação, seletor de contato */
.form-check-input:checked,
.form-check-input[type="checkbox"]:indeterminate {
    background-color: var(--ztc-bg-bg-4, #073B3A);
    border-color: var(--ztc-bg-bg-4, #073B3A);
}
.form-check-input:focus,
.form-control:focus,
.form-select:focus,
.nice-select.open,
.nice-select:focus {
    border-color: var(--ztc-bg-bg-4, #073B3A);
    box-shadow: var(--ztc-focus-ring);
    outline: 0;
}
.btn-check:checked + .btn-outline-secondary,
.btn-check:active + .btn-outline-secondary,
.btn-outline-secondary:active,
.btn-outline-secondary.active {
    background-color: var(--ztc-bg-bg-4, #073B3A);
    border-color: var(--ztc-bg-bg-4, #073B3A);
    color: #fff;
}
.btn-outline-secondary {
    color: var(--ztc-text-text-5, #073B3A);
    border-color: var(--ztc-border-border-1, #E5E7EB);
}
.btn-outline-secondary:hover {
    background-color: #F2F3F3;
    border-color: var(--ztc-bg-bg-4, #073B3A);
    color: var(--ztc-text-text-5, #073B3A);
}
.btn-check:focus-visible + .btn-outline-secondary { box-shadow: var(--ztc-focus-ring); }
.btn { border-radius: var(--ztc-radius-sm, 8px); }

/* Paginação: caixas iguais (links e reticências), quebra de linha no mobile, sem azul */
.pagination-area .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.pagination-area .pagination .page-item { margin: 0; }
.pagination-area .pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 44px;
    height: 44px;
    width: auto;
    margin: 0;
    padding: 0 12px;
    line-height: 1;
    border: 1px solid var(--ztc-border-border-1, #E5E7EB);
    border-radius: var(--ztc-radius-sm, 8px);
    background: #fff;
    color: var(--ztc-text-text-5, #073B3A);
    font-size: 16px;
    font-weight: 500;
}
.pagination-area .pagination .page-item .page-link:hover {
    background: #F2F3F3;
    border-color: var(--ztc-bg-bg-4, #073B3A);
    color: var(--ztc-text-text-5, #073B3A);
}
.pagination-area .pagination .page-item .page-link:focus-visible { box-shadow: var(--ztc-focus-ring); outline: 0; }
.pagination-area .pagination .page-item.active .page-link {
    background: var(--ztc-bg-bg-4, #073B3A);
    border-color: var(--ztc-bg-bg-4, #073B3A);
    color: #fff;
}
.pagination-area .pagination .page-item.disabled .page-link {
    background: transparent;
    border-color: transparent;
    color: #4A4F52;
    min-width: 28px;
    padding: 0;
}

/* Controles de formulário: altura e raio únicos (inclui o nice-select que o main.js cria sobre cada select) */
.form-control:not(textarea),
.form-select,
.property-sidebar-area .form-select {
    height: var(--ztc-control-height);
    border: 1px solid var(--ztc-border-border-1, #E5E7EB);
    border-radius: var(--ztc-radius-sm, 8px);
    font-size: 16px;
    line-height: 1.5;
}
textarea.form-control { border-radius: var(--ztc-radius-sm, 8px); }
.nice-select.form-select {
    float: none;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 40px 0 14px;
    color: var(--ztc-text-text-2, #030E0F);
    background-color: #fff;
}
.nice-select.form-select::after { display: none; }
.nice-select.form-select .current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nice-select.form-select .list {
    width: 100%;
    margin-top: 4px;
    border-radius: var(--ztc-radius-sm, 8px);
    max-height: 280px;
    overflow-y: auto;
}
.nice-select.form-select .option.selected,
.nice-select.form-select .option:hover,
.nice-select.form-select .option.focus { color: var(--ztc-text-text-5, #073B3A); background: #F2F3F3; }

/* Contato: títulos de seção na paleta */
.contact-section h6 { color: var(--ztc-text-text-5, #073B3A); font-weight: 600; }

/* /imoveis: cards da mesma linha com a mesma altura (a regra anterior alinhava a linha ao topo) */
.property-grid-section-area .container .row.ztc-card-grid { align-items: stretch; }

/* Rodapé: títulos e links na paleta, inclusive o bloco dinâmico "Área do cliente" (HTML do sistema de gestão) */
.footer1-section-area .footer-content h3,
.footer1-section-area .footer-content2 h3 { color: var(--ztc-text-text-5, #073B3A); }
.footer1-section-area .footer-dinamico { font-size: 16px; line-height: 24px; color: var(--ztc-text-text-3, #252728); }
.footer1-section-area .footer-dinamico a,
.footer1-section-area .footer-dinamico a:visited {
    color: var(--ztc-text-text-3, #252728);
    text-decoration: none;
    transition: color 0.3s;
}
.footer1-section-area .footer-dinamico a:hover,
.footer1-section-area .footer-dinamico a:focus-visible { color: var(--ztc-text-text-5, #073B3A); text-decoration: underline; }

/* Aviso com "Desfazer" (Favoritos) */
.ztc-toast-region {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: max-content;
    max-width: calc(100% - 32px);
    pointer-events: none;
}
.ztc-toast {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: var(--ztc-radius-sm, 8px);
    background: var(--ztc-bg-bg-4, #073B3A);
    color: #fff;
    font-size: 15px;
    line-height: 20px;
    box-shadow: var(--ztc-card-shadow-hover, 0 8px 24px rgba(3, 14, 15, 0.14));
    pointer-events: auto;
    animation: ztc-toast-in 0.25s ease-out;
}
.ztc-toast__action {
    flex: 0 0 auto;
    padding: 6px 12px;
    border: 0;
    border-radius: var(--ztc-radius-sm, 8px);
    background: var(--ztc-bg-bg-3, #CBCD30);
    color: var(--ztc-text-text-2, #030E0F);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.ztc-toast__action:hover { background: #fff; }
.ztc-toast__action:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@keyframes ztc-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ztc-toast { animation: none; } }

/* Alvos de toque (>= 40px) e controles de formulário */
input[type="checkbox"], input[type="radio"] { accent-color: #073B3A; }
.circle-button { min-width: 40px; min-height: 40px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
a.hash-nav { display: inline-block; padding-block: 12px; min-height: 44px; }
.form-check-input { width: 20px; height: 20px; }
.form-check { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.form-check .form-check-input { float: none; margin: 0; flex: 0 0 auto; }
.form-check .form-check-label { flex: 1; cursor: pointer; padding-block: 8px; }
.ztc-toast__action { min-height: 36px; min-width: 44px; padding: 8px 14px; }

/* Card removido de Favoritos: some na hora com transição; display none ao fim */
.ztc-card-col { transition: opacity .25s ease, max-height .3s ease; }
.ztc-card-col.is-removed { opacity: 0; max-height: 0; overflow: hidden; pointer-events: none; }
.ztc-card-col.is-removed.is-gone { display: none; }
@media (prefers-reduced-motion: reduce) { .ztc-card-col { transition: none; } }
