@charset "UTF-8";

/* ========== VARIÁVEIS ========== */
:root {
    --orange: #FF6B3D;
    --orange-light: #FF8C42;
    --orange-dark: #e55a2b;
    --dark: #1a2a3a;
    --gray: #6c7a89;
    --light-gray: #f5f7fa;
    --white: #ffffff;
    --green: #28a745;
    --green-dark: #1e7e34;
    --blue: #17a2b8;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
}

/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--light-gray);
    color: var(--dark);
    overflow-x: hidden;
}

/* ========== REMOVER SUBLINHADO DE TODOS OS LINKS ========== */
a, a:link, a:visited, a:hover, a:active,
.nav a, .footer a, .social-icons a,
.btn-cadastrar, .btn-validar, .btn-add-tag,
.info-text a {
    text-decoration: none !important;
}


/* ========== MODAL DE CONTRATO PROFISSIONAL ========== */

/* Modal Overlay */
.contrato-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.contrato-modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Container */
.contrato-modal {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Modal Header */
.contrato-modal-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--orange, #FF6B3D);
}

.contrato-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contrato-modal-header h2 i {
    color: var(--orange, #FF6B3D);
}

.contrato-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.contrato-close:hover {
    background: #e74c3c;
    transform: rotate(90deg);
}

/* Modal Body */
.contrato-modal-body {
    padding: 25px;
    overflow-y: auto;
    max-height: 60vh;
    background: #f8f9fa;
}

/* Scrollbar personalizada */
.contrato-modal-body::-webkit-scrollbar {
    width: 8px;
}

.contrato-modal-body::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.contrato-modal-body::-webkit-scrollbar-thumb {
    background: var(--orange, #FF6B3D);
    border-radius: 10px;
}

/* Conteúdo do Contrato */
.contrato-content {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #2c3e50;
    line-height: 1.6;
}

.contrato-content h3 {
    color: #c0392b;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    border-left: 4px solid var(--orange, #FF6B3D);
    padding-left: 12px;
}

.contrato-content h3:first-child {
    margin-top: 0;
}

.contrato-content p {
    margin-bottom: 12px;
    text-align: justify;
}

.contrato-content .highlight {
    background: #fff3cd;
    padding: 12px;
    border-left: 4px solid #f39c12;
    margin: 15px 0;
    border-radius: 8px;
}

.contrato-content .important {
    background: #f8d7da;
    padding: 12px;
    border-left: 4px solid #e74c3c;
    margin: 15px 0;
    border-radius: 8px;
    color: #721c24;
}

.contrato-content ul {
    margin: 10px 0 15px 25px;
}

.contrato-content li {
    margin: 8px 0;
}

.contrato-content .badge {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 8px;
}

/* Modal Footer */
.contrato-modal-footer {
    padding: 20px 25px;
    background: white;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contrato-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.contrato-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--green, #28a745);
}

.contrato-checkbox span {
    font-size: 0.9rem;
    color: #2c3e50;
}

.contrato-buttons {
    display: flex;
    gap: 12px;
}

.btn-contrato-recusar {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-contrato-recusar:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-contrato-aceitar {
    background: linear-gradient(135deg, var(--green, #27ae60) 0%, #2ecc71 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-contrato-aceitar:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39,174,96,0.4);
}

.btn-contrato-aceitar:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

/* Versão para impressão */
@media print {
    .contrato-modal-overlay {
        position: relative;
        display: block !important;
        background: white;
    }
    .contrato-modal-header,
    .contrato-modal-footer,
    .contrato-close {
        display: none;
    }
    .contrato-modal {
        max-width: 100%;
        box-shadow: none;
    }
    .contrato-modal-body {
        max-height: none;
    }
}

/* Responsividade do Modal */
@media (max-width: 600px) {
    .contrato-modal-header h2 {
        font-size: 1.1rem;
    }
    
    .contrato-modal-body {
        padding: 15px;
    }
    
    .contrato-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contrato-checkbox {
        justify-content: center;
    }
    
    .contrato-buttons {
        justify-content: center;
        flex-direction: column;
    }
    
    .btn-contrato-recusar,
    .btn-contrato-aceitar {
        width: 100%;
        text-align: center;
    }
    
    .contrato-content h3 {
        font-size: 1rem;
    }
    
    .contrato-content p,
    .contrato-content li {
        font-size: 0.85rem;
    }
}



/* ========== ESTILOS DO WHATSAPP ========== */
.whatsapp-highlight {
    border-left: 4px solid #25D366 !important;
    background-color: #f0fff4 !important;
}

.info-text-whatsapp {
    background: #e8f5e9;
    padding: 10px 15px;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 13px;
    color: #2e7d32;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-text-whatsapp i {
    font-size: 18px;
    color: #25D366;
}

/* ========== ESTILOS DE VALIDAÇÃO ========== */
.documento-validado {
    border-color: #28a745 !important;
    background-color: #f0fff4 !important;
}

.documento-nao-validado {
    border-color: #dc3545 !important;
    background-color: #fff5f5 !important;
}

.validacao-status {
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.validacao-status.sucesso {
    color: #28a745;
}

.validacao-status.erro {
    color: #dc3545;
}

.validacao-status.pendente {
    color: #ffc107;
}

.btn-validar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========== HEADER ========== */
.header {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: white;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.logo i {
    font-size: 1.6rem;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    transition: transform 0.3s;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.nav {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.nav a {
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.15);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 50px;
    z-index: -1;
}

.nav a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav a:hover {
    transform: translateY(-2px);
    letter-spacing: 0.5px;
}

.btn-anuncie {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-anuncie:hover {
    background: rgba(255,255,255,0.35);
    border-color: rgba(255,255,255,0.5);
}

.btn-destaque {
    background: white;
    color: var(--orange) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.btn-destaque:hover {
    background: #fff5f2;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    color: var(--orange-dark) !important;
}

.btn-destaque:hover::before {
    background: rgba(255,107,61,0.05);
}

.btn-entrar {
    border: 2px solid white;
}

.btn-entrar:hover {
    background: white;
    color: var(--orange) !important;
    border-color: white;
}

.btn-entrar i {
    transition: transform 0.3s;
}

.btn-entrar:hover i {
    transform: translateX(3px);
}

/* ========== CONTAINER PRINCIPAL ========== */
.container {
    max-width: 1400px;
    margin: 100px auto 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* ========== SEÇÃO DE FEATURES ========== */
.features-section {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    padding: 40px;
    color: white;
}

.features-header {
    text-align: center;
    margin-bottom: 30px;
}

.features-header h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 10px;
}

.features-header p {
    color: #a0a0c0;
    font-size: clamp(0.9rem, 3.5vw, 1rem);
}

.feature-card {
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-card:hover {
    transform: translateX(5px);
    background: rgba(255,255,255,0.12);
}

.feature-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    width: 55px;
    height: 55px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-card p {
    color: #c0c0e0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.feature-tag {
    display: inline-block;
    background: rgba(255,107,61,0.2);
    color: var(--orange-light);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-top: 10px;
}

/* ========== SEÇÃO DE FORMULÁRIO ========== */
.form-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.form-section h3 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-left: 4px solid var(--orange);
    padding-left: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.85rem;
}

.form-group label i {
    color: var(--orange);
    margin-right: 5px;
}

.obrigatorio {
    color: #e74c3c;
    font-size: 0.75rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #eef2f6;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 61, 0.1);
}

.form-control.error {
    border-color: #e74c3c;
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
}

.error-message {
    color: #e74c3c;
    font-size: 0.75rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* ========== BOTÕES ========== */
.btn-validar {
    background: var(--orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-validar:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.btn-cadastrar {
    width: 100%;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-cadastrar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,107,61,0.3);
}

/* ========== UPLOAD DE IMAGEM ========== */
.image-upload-area {
    border: 2px dashed #e9ecef;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.image-upload-area:hover {
    border-color: var(--orange);
    background: rgba(255,107,61,0.05);
}

.image-upload-area i {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 10px;
}

.image-upload-area p {
    margin: 5px 0;
    color: var(--gray);
}

.image-preview {
    max-width: 150px;
    max-height: 150px;
    margin-top: 15px;
    border-radius: 12px;
    display: none;
}

.btn-remove-image {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.btn-remove-image:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* ========== FEEDBACK ========== */
.feedback-message {
    padding: 12px 16px;
    border-radius: 12px;
    margin: 15px 0;
    display: none;
    font-size: 0.85rem;
}

.feedback-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #28a745;
    display: block;
}

.feedback-message.error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #dc3545;
    display: block;
}

/* ========== INFO TEXT ========== */
.info-text {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
    font-size: 0.85rem;
}

.info-text a {
    color: var(--orange);
    font-weight: 600;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: white;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
}

.footer .logo {
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.footer p {
    opacity: 0.7;
    font-size: 0.85rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.social-icons a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 968px) {
    .container {
        grid-template-columns: 1fr;
        margin: 90px 20px 30px;
    }
    
    .features-section {
        order: 2;
    }
    
    .form-section {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
        padding: 20px;
        border-radius: 20px;
        margin-top: 10px;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .features-section {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .btn-cadastrar {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* ========== OTIMIZAÇÃO DE IMAGENS ========== */
img {
    max-width: 100%;
    height: auto;
}

/* ========== SCROLLBAR PERSONALIZADA ========== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-dark);
}