:root {
    --primary: #4a6baf;
    --secondary: #6c757d;
    --light: #f8f9fa;
    --dark: #212529;

    --gradient-primary: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    --color-primary: #2c5364;
    --color-secondary: #203a43;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
}

/* Header */


/* Form Container */
.card {
    border-radius: 10px;
    overflow: hidden;
}

/* Stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #dee2e6;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #dee2e6;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.step.active .step-circle {
    background-color: var(--primary);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* Image Preview */
.image-preview {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview .empty-state {
    text-align: center;
    color: var(--secondary);
}

/* Review Section */
.review-section {
    background-color: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
}

.review-title {
    font-size: 1.2rem;
    color: var(--primary);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 1rem;
}

.review-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.review-images img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .stepper {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stepper::before {
        display: none;
    }
}
/* Adicione ao seu arquivo anunciar.css */
.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

.form-text.text-danger {
    color: #dc3545 !important;
}

/* Estilos Gerais */
.header {
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    padding: 0.8rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho sutil */
.navbar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.navbar:hover::before {
    opacity: 1;
}

/* Logo Estilizado */
.brand-logo {
    height: 90px;
    width: 110px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.brand-logo:hover {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Botão de Perfil Premium */
.profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.profile-btn:hover::before {
    left: 100%;
}

.profile-text {
    letter-spacing: 1.2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-left: 8px;
    font-family: 'Montserrat', sans-serif;
}

.fa-user-circle {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.profile-btn:hover .fa-user-circle {
    transform: scale(1.1);
}


.footer {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 3rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #ffc107, #4ecdc4);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 94px;
    width: 100px;
    margin-bottom: 1rem;
}

.footer-slogan {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.5rem;
}

.link-group {
    margin-bottom: 1.5rem;
}

.link-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.link-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-link {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contact-info i {
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: white;
    color: var(--color-primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    
    .link-group {
        text-align: center;
    }
    
    .link-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-link:hover {
        transform: none;
    }
    
    .contact-info {
        justify-content: center;
    }
}



.is-invalid {
    border-color: #dc3545 !important;
}

.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
}
/* Adicione ao seu CSS */
.form-check.is-invalid .form-check-label {
    color: #dc3545;
}

.form-check.is-invalid .form-check-input {
    border-color: #dc3545;
}



#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#loading-text {
  font-size: 1.2rem;
  font-weight: 500;
}

#loading-screen {
    /* ... outros estilos ... */
    opacity: 0;
    transition: opacity 0.3s ease;
}

#loading-screen.show {
    opacity: 1;
}
/* Estilo para o campo cidade */
#cidade {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%239C92AC" viewBox="0 0 16 16"><path d="M8 1a5 5 0 0 0-5 5c0 5 5 11 5 11s5-6 5-11a5 5 0 0 0-5-5zm0 8a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}


/* Estilos para o modal de limite */
.modal-limite {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content-limite {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.modal-content-limite h2 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.modal-content-limite p {
  color: #555;
  margin-bottom: 10px;
  line-height: 1.5;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.btn-luxo {
  background: linear-gradient(135deg, #3498db, #2c3e50);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-luxo:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-luxo-outline {
  background: white;
  color: #3498db;
  border: 2px solid #3498db;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-luxo-outline:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-cancelar {
  background: #f1f1f1;
  color: #555;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancelar:hover {
  background: #e9e9e9;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
/* Corrigindo o modal de termos */
#termosModal .modal-dialog {
    max-width: 800px;
    margin: 1.75rem auto;
}

#termosModal .modal-content {
        position: relative; /* Garante que o conteúdo respeite o z-index do modal */

    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 80vh; /* Altura máxima do modal */
}

#termosModal {
    z-index: 1050 !important; /* Valor maior que o backdrop */
}
#termosModal .modal-header {
    background-color: #0d6efd;
    color: white;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    padding: 1rem 1.5rem;
    flex-shrink: 0; /* Impede que o cabeçalho diminua */
}

#termosModal .modal-body {
    padding: 1.5rem;
    background-color: #f8f9fa;
    overflow-y: auto;
    flex-grow: 1; /* Ocupa todo espaço disponível */
}

#termosModal .modal-footer {
    border-top: none;
    background-color: #f8f9fa;
    border-radius: 0 0 10px 10px;
    padding: 1rem 1.5rem;
    flex-shrink: 0; /* Impede que o rodapé diminua */
}

/* Garantindo que o backdrop não interfira */
.modal-backdrop {
    z-index: 1040 !important; /* Valor padrão do Bootstrap */
}
.custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040; /* Deve estar abaixo do modal (1050) */
    display: none; /* Inicialmente escondido */
}


/* Quando o modal estiver aberto */
.modal.show .custom-modal-backdrop {
    display: block;
}
/* Corrigir overflow do body */
body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
}
/* Estilo do conteúdo dos termos */
.terms-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #495057;
    padding-right: 10px;
}

.terms-content h4 {
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 8px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.terms-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.terms-content li {
    margin-bottom: 8px;
}

/* Barra de rolagem personalizada */
.terms-content::-webkit-scrollbar {
    width: 8px;
}

.terms-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.terms-content::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 4px;
}

.terms-content::-webkit-scrollbar-thumb:hover {
    background: #6c757d;
}
