/* Reset e estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-red: #cc092f;
    --primary-yellow: #ffcb05;
    --primary-black: #000;
    --text-dark: #333;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --success-color: #2ecc71;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Cabeçalho */
header {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.2rem;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--primary-yellow);
}

/* Banner */
.banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1580587771525-78b9dba3b914?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 1.5rem;
}

.banner h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.banner p {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
    font-size: 0.95rem;
}

.btn:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Botão de Reserva */
.fazer-reserva {
    background-color: var(--primary-red);
    margin-top: 0.5rem;
    width: 100%;
}

.fazer-reserva:hover {
    background-color: #27ae60;
}

/* Filtros */
.filters {
    background-color: var(--white);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.filters h2 {
    margin-bottom: 1rem;
    color: var(--primary-red);
    font-size: 1.3rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-item {
    width: 100%;
}

.filter-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
}

.filter-item select, .filter-item input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* Lista de propriedades */
.properties {
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.properties h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
    font-size: 1.5rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.property-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    position: relative;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-info {
    padding: 1.2rem;
}

.property-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.property-location {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.property-location i {
    margin-right: 0.5rem;
}

.property-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.feature {
    text-align: center;
    flex: 1;
}

.feature i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--primary-red);
}

.feature span {
    font-size: 0.85rem;
}

/* Página de anúncio */
.announce-section {
    padding: 2rem 0;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.announce-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
    font-size: 1.5rem;
}

.announce-form {
    width: 100%;
}

.form-section {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    border: 1px solid #eee;
    border-radius: 8px;
}

.form-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-red);
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: var(--text-light);
    font-size: 0.8rem;
}

.file-upload {
    border: 2px dashed #ddd;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.file-upload:hover {
    border-color: var(--primary-red);
}

.file-upload input {
    display: none;
}

.file-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.file-preview-item {
    position: relative;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-item .remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row .form-group {
    width: 100%;
}

/* Modal de detalhes */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow-y: auto;
    animation: modalOpen 0.3s;
}

@keyframes modalOpen {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

.modal-header {
    padding: 1.2rem;
    background-color: var(--primary-red);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h2 {
    font-size: 1.3rem;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 1.2rem;
}

.property-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.gallery-image {
    height: 150px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-image:hover img {
    transform: scale(1.1);
}

.property-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.neighborhood-info {
    background-color: #f8f9fa;
    padding: 1.2rem;
    border-radius: 8px;
    order: 2;
}

.neighborhood-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-red);
    font-size: 1.2rem;
}

.contact-form {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid #eee;
    order: 1;
}

.contact-form h3 {
    margin-bottom: 1rem;
    color: var(--primary-red);
    font-size: 1.2rem;
}

/* Rodapé */
footer {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 2rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

.footer-section p, .footer-section ul {
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-yellow);
}

 .social-icon ul {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon ul li a {
    width: 80px;
    height: 80px;
    display: grid;
    place-content: center;
    background-color: var(--first-clr);
    color: #fff;
    border-radius: 100%;
    
    font-size: 24px;
    transition: .4s ease;
}

.social-icon ul li a:hover {
    background-color: var(--second-clr);
}

.copyright {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #b30726;
    color: var(--primary-yellow);
    font-size: 0.85rem;
}

/* Botão do WhatsApp fixo */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Menu Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--primary-red);
        transition: left 0.3s;
        z-index: 1001;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        overflow-y: auto;
        padding-top: 70px;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul li {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    nav ul li a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
    }
    
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
    }
    
    .overlay.active {
        display: block;
    }
    
    body.menu-open {
        overflow: hidden;
        height: 100vh;
    }
}

/* Estilos para as categorias */
.property-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.category-btn {
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-btn.active {
    background-color: #cc092f;
    color: white;
    border-color: #cc092f;
}

.category-btn i {
    font-size: 1.2rem;
}

/* Badges para tipos de propriedade */
.property-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(204, 9, 47, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.property-price-sale {
    font-size: 1.3rem;
    font-weight: bold;
    color: #cc092f;
    margin-bottom: 0.5rem;
}

.property-price-diaria {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2ecc71;
    margin-bottom: 0.5rem;
}

.diaria-period {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.btn-sale {
    background-color: #cc092f;
    color: white;
    margin-top: 0.5rem;
    width: 100%;
}

.btn-diaria {
    background-color: var(--primary-red);
    color: white;
    margin-top: 0.5rem;
    width: 100%;
}

.btn-sale:hover {
    background-color: #27ae60;
}

.btn-diaria:hover {
    background-color: #27ae60;
}

/* Estilos para todas as categorias */
.all-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.category-filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.category-filter-btn:hover {
    border-color: #cc092f;
    color: #cc092f;
    transform: translateY(-2px);
}

.category-filter-btn.active {
    background: #cc092f;
    color: white;
    border-color: #cc092f;
}

.category-filter-btn i {
    font-size: 1rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80%;
    margin-top: 5%;
}

#lightbox-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 3001;
}

.lightbox-close:hover {
    color: #bbb;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    user-select: none;
    z-index: 3001;
    background-color: rgba(0,0,0,0.3);
    border-radius: 4px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#lightbox-caption {
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    position: absolute;
    bottom: 20px;
    width: 100%;
    font-size: 16px;
}

/* Media Queries para tablets */
@media (min-width: 768px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-group {
        flex-direction: row;
    }
    
    .filter-item {
        flex: 1;
    }
    
    .file-preview {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .property-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .property-details {
        flex-direction: row;
    }
    
    .property-details > div:first-child {
        flex: 2;
    }
    
    .neighborhood-info {
        flex: 1;
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
    
    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .social-icon ul {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon ul li a {
    width: 80px;
    height: 80px;
    display: grid;
    place-content: center;
    background-color: var(--first-clr);
    color: #fff;
    border-radius: 100%;
    
    font-size: 24px;
    transition: .4s ease;
}

.social-icon ul li a:hover {
    background-color: var(--second-clr);
}

.social-icon ul li a:hover {
    background-color: var(--second-clr);
}
    
    .footer-section {
        flex: 1;
        min-width: 250px;
    }
    
    .form-row {
        flex-direction: row;
    }
}

/* Media Queries para desktop */
@media (min-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .property-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .modal-content {
        margin: 2rem auto;
        width: 90%;
        max-width: 1000px;
        height: auto;
        border-radius: 8px;
    }
}

/* Media Queries para categorias */
@media (max-width: 768px) {
    .all-categories {
        gap: 8px;
        padding: 0.8rem;
    }
    
    .category-filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .all-categories {
        gap: 6px;
    }
    
    .category-filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Ajuste para mobile do lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        margin-top: 10%;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
    
    .lightbox-prev, .lightbox-next {
        font-size: 18px;
        padding: 10px;
    }
}

/* Animação do spinner */
.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos específicos para a página de pagamento */
.payment-section {
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 100px;
}

.property-info-payment {
    background: linear-gradient(135deg, #e74c3c 0%, #f1c40fc9 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.property-info-payment h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--white);
}

.property-details-payment {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.property-detail-item {
    text-align: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.payment-method {
    flex: 1;
    min-width: 120px;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method.active {
    border-color: #cc092f;
    background: #cc092f;
    color: white;
}

.payment-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.payment-summary {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.summary-item, .summary-total {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.summary-total {
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: none;
    color: #cc092f;
}

.payment-method-form {
    display: none;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.payment-method-form.active {
    display: block;
}

.multicaixa-submethods {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.multicaixa-submethod {
    flex: 1;
    min-width: 120px;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.multicaixa-submethod.active {
    border-color: #cc092f;
    background: #cc092f;
    color: white;
}

.multicaixa-subform {
    display: none;
}

.multicaixa-subform.active {
    display: block;
}

.reference-info, .transfer-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.payment-instructions {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 4px;
    color: #856404;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
}

.iban-display {
    background: #f8f9fa;
    font-family: monospace;
    font-weight: bold;
}

.payment-status {
    text-align: center;
    padding: 2rem;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.status-success {
    color: #28a745;
}

.confirmation-actions {
    margin-top: 2rem;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

/* Estilos para o controle de dias */
#dias-container input {
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
}

#dias-container input:focus {
    border-color: #cc092f;
    outline: none;
}

/* Destaque visual para diferentes categorias */
.payment-section[data-category="venda"] .property-info-payment {
    border-left: 4px solid #cc092f;
}

.payment-section[data-category="diaria"] .property-info-payment {
    border-left: 4px solid #2ecc71;
}

.payment-section[data-category="arrendamento"] .property-info-payment {
    border-left: 4px solid #ffcb05;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .payment-methods, .multicaixa-submethods {
        flex-direction: column;
    }
    
    .payment-method, .multicaixa-submethod {
        min-width: auto;
    }
    
    #dias-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #dias-container input {
        width: 80px;
    }
}

.payment-section h2 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
    background: var(--white);
}

.payment-method:hover {
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.payment-method.active {
    border-color: var(--primary-red);
    background-color: rgba(204, 9, 47, 0.05);
}

.payment-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.payment-method.active .payment-icon {
    color: var(--primary-red);
}

.payment-form {
    max-width: 500px;
    margin: 0 auto;
}

.payment-summary {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-red);
}

.payment-summary h3 {
    margin-bottom: 1rem;
    color: var(--primary-red);
    font-size: 1.2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-red);
}

.payment-status {
    text-align: center;
    padding: 2rem;
}

.status-success {
    color: var(--success-color);
}

.status-error {
    color: var(--primary-red);
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Security Badges */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Property Info in Payment */
.property-info-payment {
    background: linear-gradient(135deg, #e74c3c 0%, #f1c40fc9 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.property-info-payment h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--white);
}

.property-details-payment {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.property-detail-item {
    text-align: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

/* Multicaixa Submethods */
.multicaixa-submethods {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.multicaixa-submethod {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    background: var(--white);
}

.multicaixa-submethod:hover {
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.multicaixa-submethod.active {
    border-color: var(--primary-red);
    background-color: rgba(204, 9, 47, 0.05);
    color: var(--primary-red);
}

/* Payment Method Forms */
.payment-method-form {
    display: none;
}

.payment-method-form.active {
    display: block;
}

.multicaixa-subform {
    display: none;
}

.multicaixa-subform.active {
    display: block;
}

.reference-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
    border-left: 4px solid var(--primary-red);
}

.transfer-info {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.iban-display {
    background-color: #f8f9fa;
    font-family: monospace;
    font-weight: bold;
    color: var(--text-dark);
}

.payment-instructions {
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.payment-submit-btn {
    width: 100%;
}

.confirmation-actions {
    margin-top: 2rem;
}

/* Modal de Confirmação de Pagamento */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 2rem auto;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    overflow-y: auto;
    animation: modalOpen 0.3s;
}

@keyframes modalOpen {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

.modal-header {
    padding: 1.2rem;
    background-color: var(--primary-red);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.modal-header h2 {
    font-size: 1.3rem;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Media Queries para pagamento */
@media (max-width: 768px) {
    .payment-methods {
        flex-direction: column;
        align-items: center;
    }

    .multicaixa-submethods {
        flex-direction: column;
    }

    .payment-section {
        margin-top: 80px;
        padding: 1rem;
    }

    .property-details-payment {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .property-details-payment {
        grid-template-columns: 1fr;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
    }
}

.payment-submit-btn {
    background: #25d366;
    color: white;
    border: none;
}

.payment-submit-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.security-badge .fa-whatsapp {
    color: #25d366;
}

/* Melhorar visual dos campos de cliente */
.form-group input {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.8rem;
    font-size: 0.95rem;
    width: 100%;
}

.form-group input:focus {
    border-color: #cc092f;
    outline: none;
    box-shadow: 0 0 0 2px rgba(204, 9, 47, 0.1);
}

/* Destacar o botão do WhatsApp */
.btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* Ajustes para o spinner */
.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* NOVO: Estilo para a caixa de informações de taxas */
.info-box {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-red);
    padding: 1.2rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.info-box ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
}

.info-box li {
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.info-box strong {
    color: var(--primary-red);
}

.info-box em {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* NOVO: Estilo para checkbox de termos */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 1rem 0;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.checkbox-container label {
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}

.file-upload {
    border: 2px dashed #ddd;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.file-upload:hover {
    border-color: var(--primary-red);
}

.file-upload input {
    display: none;
}

.file-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.file-preview-item {
    position: relative;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-item .remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row .form-group {
    width: 100%;
}
