* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a,
.logo .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 42px !important;
    width: auto !important;
    object-fit: contain;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 25px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    position: relative;
    overflow: hidden;
}

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

.nav-link:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    border-color: #60a5fa;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

@media (max-width: 768px) {
    .nav-link {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 20px;
    }
    
    .nav-link i {
        font-size: 0.85rem;
    }
}

.main-content {
    padding: 40px 0;
}

.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
    border-radius: 15px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-title i {
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    border-radius: 2px;
}

.benefits-section {
    margin-bottom: 80px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgb(0 0 0 / 10%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgb(0 0 0 / 15%);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #fff;
    font-size: 2rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.6;
}

.requirements-section {
    background: #fff;
    padding: 60px 40px;
    border-radius: 15px;
    margin-bottom: 80px;
    box-shadow: 0 5px 20px rgb(0 0 0 / 10%);
}

.requirements-list {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #10b981;
}

.requirement-item i {
    color: #10b981;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.requirement-item span {
    font-size: 1.1rem;
    color: #374151;
    font-weight: 500;
}

.application-section {
    background: #fff;
    padding: 60px 40px;
    border-radius: 15px;
    margin-bottom: 80px;
    box-shadow: 0 5px 20px rgb(0 0 0 / 10%);
}

.application-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid #f1f5f9;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a8a !important;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section-title i {
    color: #3b82f6 !important;
    font-size: 1.3rem;
}

.form-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgb(59 130 246 / 10%);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

.form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.file-help {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-actions {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgb(59 130 246 / 40%);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.process-section {
    background: #fff;
    padding: 60px 40px;
    border-radius: 15px;
    margin-bottom: 60px;
    box-shadow: 0 5px 20px rgb(0 0 0 / 10%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgb(59 130 246 / 30%);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
}

.footer {
    background: #1e3a8a;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-content p {
    margin: 0;
    opacity: 0.9;
}

.link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

.link-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #3b82f6;
    cursor: pointer;
    text-decoration: none;
}

.link-btn:hover {
    text-decoration: underline;
}

.termo-link-wrap {
    display: inline;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
    
    .form-fields {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .requirements-section,
    .application-section,
    .process-section {
        padding: 40px 20px;
    }
    
    .hero-section {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .btn-large {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading .btn {
    position: relative;
}

.loading .btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentcolor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}



.message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card,
.requirement-item,
.process-step {
    animation: fade-in-up 0.6s ease-out;
}

.benefit-card:nth-child(2) { animation-delay: 0.1s; }
.benefit-card:nth-child(3) { animation-delay: 0.2s; }
.benefit-card:nth-child(4) { animation-delay: 0.3s; }

.privacy-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgb(0 0 0 / 50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    backdrop-filter: blur(4px);
}

.privacy-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    max-height: 80vh;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgb(0 0 0 / 30%);
    animation: modal-slide-in 0.3s ease-out;
    position: relative;
    z-index: 100000;
}

@keyframes modal-slide-out {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}

@keyframes modal-slide-out {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
}

.privacy-modal-header {
    background: #007bff;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.privacy-modal-header h2 {
    margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-weight: bold;
}

.privacy-modal-close:hover {
    background: rgb(255 255 255 / 20%);
    transform: scale(1.1);
}

.privacy-modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
    line-height: 1.6;
    color: #333;
}

.privacy-modal-body h3 {
    color: #007bff;
    margin-top: 20px;
    margin-bottom: 10px;
}

.privacy-modal-body p {
    margin-bottom: 15px;
    color: #555;
}

.privacy-modal-body ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.privacy-modal-body li {
    margin-bottom: 5px;
    color: #495057;
}

.privacy-modal-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.privacy-modal-footer .btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.privacy-modal-footer .btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    box-shadow: 0 4px 12px rgb(0 123 255 / 30%);
}

.privacy-modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgb(0 123 255 / 40%);
}

@media (max-width: 768px) {
    .privacy-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .privacy-modal-header {
        padding: 15px;
    }
    
    .privacy-modal-header h2 {
        font-size: 18px;
    }
    
    .privacy-modal-body {
        padding: 20px;
    }
    
    .privacy-modal-footer {
        padding: 15px 20px;
    }
}
