/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #7f8c8d;
    --bg-color: #fff;
    --card-bg: #f9f9f9;
    --border-color: #ecf0f1;
    --border-radius: 10px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
    font-size: 1rem;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(231, 76, 60, 0.3);
}

.btn i {
    margin-left: 8px;
}

/* Header */
header {
    background-color: var(--bg-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li a:hover:after {
    width: 100%;
}

.menu-mobile {
    display: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
  background: url('https://ebhtwmbizovnriflclvp.supabase.co/storage/v1/object/public/vitacon/Milenium%20Faria%20Lima/sao-paulo-destaque.webp') no-repeat center center/cover;
  height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  color: white;
}


.hero-content {
    max-width: 600px;
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero h1 span {
    color: var(--accent-color);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.form-container h2 {
    margin-bottom: 15px;
    color: white;
}

.form-container h2 span {
    color: #f1c40f;
}

.form-container p {
    margin-bottom: 40px;
    color: #bdc3c7;
}

#leadForm {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-footer i {
    color: #27ae60;
}

/* Destaques Section */
.destaques {
    padding: 80px 0;
}

.destaques h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.destaques h2 span {
    color: var(--accent-color);
}

.subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img {
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.card p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.card-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    padding: 60px 0 20px;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li a {
    color: #bdc3c7;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: white;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    .menu-mobile {
        display: block;
    }
    
    .hero {
        height: 50vh;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 40vh;
        padding: 100px 0 60px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    #leadForm {
        padding: 30px 20px;
    }
}
.btn {
  background-color: #4b5c4a;
}

.btn:hover {
  background-color: #3b4a3a;
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(75, 92, 74, 0.3);
}
.hero h1 span {
  color: white;
}
.form-container h2 span {
  color: white;
}
.form-section {
  background-color: #4b5c4a;
}
.destaques h2 span {
  color: #4b5c4a;
}
.card-price {
  color: #4b5c4a;
}
footer {
  background-color: #4b5c4a;
}
.filter-btn {
  border: 1px solid #4b5c4a;
  color: #4b5c4a;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #4b5c4a;
  color: white;
  border-color: #4b5c4a;
}
.card h3 {
  color: #4b5c4a;
}
.card-tag {
  background-color: #4b5c4a;
}
.footer-logo img {
  filter: brightness(0) invert(1);
}

.destaques h2 {
  color: #4b5c4a;
}
.footer-logo img {
  filter: brightness(0) invert(1) contrast(200%);
}
.carousel {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel img.active {
  opacity: 1;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

.carousel button.prev {
  left: 10px;
}

.carousel button.next {
  right: 10px;
}
.card-content .buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.card-content .ver-mais {
  flex: 1;
  background-color: #000000;
  color: white;
}

.card-content .whatsapp-btn {
  width: 45px;
  height: 45px;
  background-color: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 20px;
  transition: background-color 0.3s ease;
}

.card-content .whatsapp-btn:hover {
  background-color: #1ebe5b;
}
.card-content .whatsapp-btn {
  width: 45px;
  height: 45px;
  background-color: transparent;
  border: 2px solid #4b5c4a;
  color: #4b5c4a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 20px;
  transition: all 0.3s ease;
}

.card-content .whatsapp-btn:hover {
  background-color: #4b5c4a;
  color: white;
}
.card-content .buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.card-content .ver-mais {
  flex: 1;
  background-color: #4b5c4a;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.card-content .ver-mais:hover {
  background-color: #3b4a3a;
}

.card-content .whatsapp-btn {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  background-color: transparent;
  border: 2px solid #4b5c4a;
  color: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.card-content .whatsapp-btn:hover {
  background-color: #4b5c4a;
  color: white;
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.gallery-images img {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
}
.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #FF6B6B;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.hero {
    margin: 120px 30px 0; /* top: 30px, laterais: 30px, bottom: 0 */
    border-radius: 22px;
    overflow: hidden; /* Garante que o border-radius funcione corretamente */
}

/* Para mobile (se necessário ajustes específicos) */
@media (max-width: 768px) {
    .hero {
        margin: 120px 30px 0; /* Mesmo espaçamento no mobile */
        border-radius: 22px;
    }
}
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  border-radius: 10px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
  position: relative;
  text-align: center;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.modal-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.modal-gallery img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.whatsapp-btn {
  background: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
  font-weight: bold;
}

.whatsapp-btn:hover {
  background: #128C7E;
}
/* Estilos da Modal Ampliada */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-gallery img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.modal-gallery img:hover {
  transform: scale(1.02);
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  padding: 10px;
  border-radius: 8px;
}

.info-item i {
  color: #2ecc71;
}

.modal-mapa {
  height: 200px;
  background: #eee;
  border-radius: 8px;
  margin-top: 10px;
}

.modal-footer {
  text-align: center;
  margin-top: 20px;
}

/* Responsivo */
@media (max-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr;
  }
}
.card-details {
  display: flex;
  gap: 15px;
  margin: 15px 0;
}

.card-details span:first-child {
  font-weight: 700;
  color: #4b5c4a;
}

.card-details span:last-child {
  color: #4b5c4a;
  font-weight: 500;
}
/* Container principal do card */
.card {
  position: relative; /* Permite posicionamento absoluto interno */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Container do preço e medida */
.card-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px 15px;
}

/* Estilo do preço (lado esquerdo) */
.card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
}

.card-price::before {
  content: "R$ ";
  font-size: 0.9rem;
  color: #7f8c8d;
}

/* Estilo da medida (lado direito) */
.card-measure {
  position: absolute;
  right: 15px;
  bottom: 15px;
  background: rgba(46, 204, 113, 0.1);
  color: #27ae60;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.card-measure::after {
  content: "m²";
  font-size: 0.7rem;
  margin-left: 3px;
  opacity: 0.8;
}

/* Efeitos hover */
.card:hover .card-measure {
  background: rgba(46, 204, 113, 0.2);
  color: #219653;
}