/* Single Empreendimento - UX Premium Styles */
.single-property-page {
    padding: 120px 0 80px;
    background-color: #FFF;
    font-family: 'Urbanist', sans-serif;
    color: var(--azul-principal);
}

/* Hero Section */
.property-hero {
    margin-bottom: 50px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 40px;
}

.hero-left {
    flex: 1;
}

.property-title-main {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    margin: 0 0 15px 0;
    letter-spacing: -1px;
}

.property-location-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #F8F8F8;
    border: 1px solid #EEE;
    border-radius: 4px;
    font-weight: 500;
    color: #666;
}

.hero-right {
    text-align: right;
}

.price-label {
    display: block;
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.price-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--azul-principal);
}

/* Gallery Section Premium */
.property-gallery-wrapper {
    background: var(--azul-principal);
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Thumbnails Bar */
.gallery-thumbs-bar {
    display: flex;
    gap: 15px;
    background: #FFF;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.gallery-thumbs-bar::-webkit-scrollbar {
    display: none;
}

.thumb-item {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.thumb-item:hover,
.thumb-item.active {
    opacity: 1;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Display */
.gallery-item {
    border-radius: 4px;
    overflow: hidden;
    height: 650px;
    /* Aumentado para melhor visualização desktop */
}

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

/* Controls */
.gallery-controls {
    align-self: center;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #FFF;
    padding: 10px 20px;
    border-radius: 100px;
    margin-top: 10px;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #EEE;
    background: #FFF;
    color: var(--azul-principal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--azul-principal);
    color: #FFF;
}

.nav-btn.next {
    background: var(--azul-principal);
    color: #FFF;
}

.gallery-progress {
    width: 100px;
    height: 4px;
    background: #EEE;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.gallery-progress .progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--azul-principal);
    width: 20%;
    transition: width 0.3s ease;
}

/* Content Layout */
.property-main-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

.content-block {
    background: #FFF;
    border: 1px solid #F0F0F0;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    height: 100%;
}

.content-block h2 {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: var(--azul-principal);
}

.property-description {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.property-description p {
    margin-bottom: 20px;
}

/* Features HUD */
.features-hud {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid #F0F0F0;
}

.hud-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hud-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 16px;
}

.hud-value {
    font-size: 18px;
    font-weight: 700;
}

.hud-item {
    transition: transform 0.3s ease, background 0.3s ease;
    padding: 10px;
    border-radius: 4px;
}

.hud-item:hover {
    transform: translateY(-5px);
    background: #FFF;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Amenities List */
.amenities-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-left: 3px solid var(--azul-principal);
    padding-left: 20px;
    background: linear-gradient(90deg, #FFF, transparent);
}

.amenity-item i {
    color: var(--azul-principal);
    font-size: 20px;
}

.amenity-item span {
    font-size: 18px;
    font-weight: 500;
    color: #666;
    transition: color 0.3s ease;
}

.amenity-item {
    transition: all 0.3s ease;
}

.amenity-item:hover {
    background: #FFF;
    border-left-width: 6px;
    padding-left: 25px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
}

.amenity-item:hover span {
    color: var(--azul-principal);
}

/* Construction Stages */
.construction-header {
    background: var(--azul-principal);
    padding: 30px 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    color: #FFF;
    flex-wrap: wrap;
}

.construction-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.construction-grid {
    background: #FAFAFA;
    border: 1px solid var(--azul-principal);
    padding: 50px;
    border-radius: 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.stage-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stage-name {
    font-size: 20px;
    color: #808080;
    font-weight: 500;
}

.stage-meta {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 16px;
}

.progress-bar-wrap {
    height: 12px;
    background: #E0E0E0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--azul-principal);
    border-radius: 4px;
    transition: width 1.5s ease;
}

/* Location Section */
.location-section {
    margin-top: 80px;
}

.location-section h2 {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.map-wrapper {
    width: 100%;
    margin-top: 20px;
    border-radius: 4px;
    overflow: hidden;
    filter: grayscale(0.2);
    border: 1px solid #EEE;
}

.map-wrapper iframe {
    display: block;
}

/* Lead Form */
.lead-section {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr;
    max-width: 50%;
    margin: 0 auto;
    gap: 80px;
    align-items: start;
}

.lead-info h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--azul-principal);
}

.lead-info p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.form-wrapper {
    background: #F2F2F2;
    padding: 50px;
    border-radius: 12px;
    border: 1px solid #262626;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Visual Hidden Field */
.hidden-field-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.hidden-field-visual label {
    display: block;
    font-weight: 600;
    color: #013356;
    font-size: 20px;
    margin: 0;
    line-height: 1.5;
}

.fake-input {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 24px 20px;
    border: none;
    border-radius: 8px;
    background: #FFF;
    color: #CFCFCF;
}

.fake-input.disabled {
    background: #FFF;
    cursor: default;
}

.fake-input span {
    font-size: 20px;
    font-weight: 500;
    color: #CFCFCF;
    flex: 1;
}

.icon-wrapper {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* CF7 Grid Layout */
.cf7-empreendimento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
}

.cf7-empreendimento p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Full width elements */
.cf7-empreendimento p:has(textarea),
.cf7-empreendimento p.full-width {
    grid-column: 1 / -1;
}

.cf7-empreendimento label {
    font-weight: 600;
    color: #013356;
    font-size: 20px;
    margin: 0;
    line-height: 1.5;
}

.cf7-empreendimento .row:not(.align) {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cf7-empreendimento input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.cf7-empreendimento textarea,
.cf7-empreendimento select {
    width: 100%;
    padding: 24px 20px;
    border: 1px solid #262626;
    border-radius: 8px;
    background: #FFF;
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    outline: none;
    position: relative;
    line-height: 20px;
}

.cf7-empreendimento input:focus,
.cf7-empreendimento textarea:focus,
.cf7-empreendimento select:focus {
    border-color: #013356;
}

/* Placeholder styling */
.cf7-empreendimento ::placeholder {
    color: #666;
    font-weight: 500;
    opacity: 1;
}

.cf7-empreendimento textarea {
    height: 170px;
    resize: none;
}

/* Checkbox / Terms */
.cf7-empreendimento .wpcf7-acceptance {
    grid-column: 1 / 2;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cf7-empreendimento .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.cf7-empreendimento .wpcf7-acceptance label {
    font-weight: 500;
    font-size: 18px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

.cf7-empreendimento input[type="checkbox"] {
    width: 28px;
    height: 28px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #262626;
    border-radius: 4px;
    background: #FFF;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.cf7-empreendimento input[type="checkbox"]:checked {
    background-color: #013356;
    border-color: #013356;
}

.cf7-empreendimento input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 8px;
    width: 8px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Submit Button */
.cf7-empreendimento input[type="submit"] {
    grid-column: 2 / 3;
    justify-self: center;
    background: #013356;
    color: #EBEBEB;
    font-weight: 500;
    padding: 18px 46px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    line-height: 24px;
    transition: all 0.3s ease;
    width: auto;
}

.cf7-empreendimento input[type="submit"]:hover {
    background: #024a7a;
    transform: translateY(-2px);
}

/* Loading/Response Styling */
.wpcf7-spinner {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.wpcf7-response-output {
    grid-column: 1 / -1;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 20px !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .lead-section {
        max-width: 100%;
    }

    .property-main-content,
    .lead-section,
    .construction-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-right {
        text-align: left;
    }

    .property-gallery-wrapper {
        padding: 20px 15px;
    }

    .gallery-item {
        height: 450px;
    }

    .content-block {
        padding: 30px 20px;
    }

    .features-hud {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px;
        gap: 30px;
    }

    .cf7-empreendimento {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cf7-empreendimento input[type="submit"] {
        grid-column: 1 / -1;
        width: 100%;
    }

    .cf7-empreendimento .wpcf7-acceptance {
        grid-column: 1 / -1;
        margin-bottom: 10px;
    }

    .lead-info h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .features-hud {
        grid-template-columns: 1fr;
    }
}

/* Premium WhatsApp Button */
.btn-whatsapp-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-whatsapp-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-whatsapp-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: white;
}

.btn-whatsapp-premium:hover::before {
    opacity: 1;
}

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

.btn-whatsapp-premium.hero-btn {
    padding: 12px 28px;
    font-size: 14px;
}

/* Fix for WYSIWYG output in HUD */
.hud-value p {
    margin: 0;
}