/* Modal Styles - Tema Claro */
.modal {
    display: none; position: fixed; z-index: 2000;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(44, 62, 80, 0.7); /* Azul escuro semi-transparente */
    backdrop-filter: blur(8px);
    opacity: 0; transition: all 0.3s ease;
    align-items: center; justify-content: center; padding: 15px;
}
.modal.show { display: flex; opacity: 1; }

.modal-content {
    background: #ffffff;
    margin: auto; padding: 30px 20px;
    border: 1px solid #d4af37; /* Borda dourada */
    border-radius: 15px; width: 95%; max-width: 500px; max-height: 80vh;
    overflow-y: auto; position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
    color: #3b3f4f; /* Texto escuro */
}
.modal.show .modal-content { transform: scale(1) translateY(0); }

.close-modal {
    position: absolute; top: 15px; right: 20px; background: none; border: none;
    font-size: 28px; color: #d4af37; cursor: pointer; transition: all 0.3s ease;
    width: 30px; height: 30px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-weight: bold;
}
.close-modal:hover { color: #b89b30; background: rgba(212, 175, 55, 0.1); }

.modal-content h2 {
    color: #4682b4; /* Azul */
    font-size: 1.8rem; margin-bottom: 25px; text-align: center;
    font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3); /* Linha dourada */
    padding-bottom: 15px;
}

.modal-body { max-height: 50vh; overflow-y: auto; padding-right: 10px; }
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: rgba(212, 175, 55, 0.1); border-radius: 3px; }
.modal-body::-webkit-scrollbar-thumb { background: #d4af37; border-radius: 3px; }

.modal-section { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid rgba(212, 175, 55, 0.2); }
.modal-section:last-child { border-bottom: none; margin-bottom: 0; }

.modal-content h3 { color: #4682b4; font-size: 1.2rem; margin: 20px 0 12px 0; }
.modal-content strong { color: #d4af37; font-weight: 600; }
.modal-content ul { margin-left: 20px; margin-bottom: 15px; color: #3b3f4f; }

.info-card-modal {
    background: #f0f8ff; /* Azul muito claro */
    padding: 20px; border-radius: 10px; margin: 15px 0;
    border: 1px solid rgba(70, 130, 180, 0.2);
}

.highlight-text {
    background: linear-gradient(45deg, #d4af37, #f4e87d);
    color: #3b3f4f;
    padding: 6px 12px; border-radius: 20px; font-weight: bold;
    font-size: 0.9rem; display: inline-block;
}

/* Modal Cartão de Visitas */
.business-card-modal {
    display: none; position: fixed; z-index: 2500;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(44, 62, 80, 0.7);
    backdrop-filter: blur(10px);
    opacity: 0; transition: all 0.3s ease;
    align-items: center; justify-content: center; padding: 20px;
}
.business-card-modal.show { display: flex; opacity: 1; }

.business-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    border: 2px solid #d4af37;
    border-radius: 20px; padding: 40px 35px; max-width: 400px;
    width: 100%; position: relative; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: scale(0.8) rotateY(15deg); transition: all 0.4s ease;
    color: #3b3f4f; text-align: center;
}

.business-card-modal.show .business-card { transform: scale(1) rotateY(0deg); }

.card-close { color: #d4af37; position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 24px; cursor: pointer; }
.card-close:hover { color: #b89b30; background: rgba(212, 175, 55, 0.1); }
.card-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(45deg, #d4af37, #f4e87d);
    margin: 0 auto 20px auto; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #3b3f4f; font-weight: bold;
    border: 3px solid rgba(0, 0, 0, 0.05);
}
.card-name { color: #4682b4; font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.card-title { color: #3b3f4f; font-size: 1rem; margin-bottom: 25px; opacity: 0.9; }
.card-divider { width: 60px; height: 2px; background: linear-gradient(45deg, #d4af37, #f4e87d); margin: 0 auto 25px auto; }
.contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; padding: 8px 12px; border-radius: 8px; transition: all 0.3s ease; cursor: pointer; text-decoration: none; }
.contact-item:hover { background: rgba(70, 130, 180, 0.1); }
.contact-icon { color: #d4af37; font-size: 1.1rem; width: 20px; text-align: center; }
.contact-text { color: #3b3f4f; font-size: 0.9rem; }
.contact-text:hover { color: #4682b4; }
.card-footer { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(212, 175, 55, 0.2); font-size: 0.8rem; color: rgba(59, 63, 79, 0.6); }

/* Estilos para cards de patrocinadores (dentro do modal) */
.sponsor-card {
    background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 15px;
    padding: 20px; text-align: center; transition: all 0.3s ease;
    cursor: pointer;
}
.sponsor-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(70, 130, 180, 0.15); border-color: #d4af37; }
.sponsor-logo { width: 100%; max-width: 150px; height: 80px; object-fit: contain; margin-bottom: 15px; }
.sponsor-name { color: #4682b4; font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.sponsor-description { color: #3b3f4f; font-size: 0.85rem; margin-bottom: 12px; }
.sponsor-link { display: inline-block; background: linear-gradient(45deg, #d4af37, #f4e87d); color: #3b3f4f; padding: 6px 15px; border-radius: 20px; text-decoration: none; font-size: 0.8rem; font-weight: 600; }
.sponsors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 20px; }
.category-title { color: #4682b4; font-size: 1.3rem; margin-bottom: 15px; text-align: center; }

/* Ajustes de responsividade para Modals */
@media (min-width: 768px) {
    .modal-content { max-width: 650px; }
}

@media (min-width: 1024px) {
    .modal-content { max-width: 800px; }
}