/* ================================================
   DD'SERVIÇOS - ESTILOS COMPLETOS
   ================================================ */


/* ===== RESET E VARIÁVEIS ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores */
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary: #1e3a8a;
    --accent: #3b82f6;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    /* Backgrounds */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --glass-bg: rgba(15, 23, 42, 0.95);
    --glass-border: rgba(16, 185, 129, 0.2);
    /* Texto */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    /* Outros */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --radius: 12px;
    --transition: all 0.3s ease;
}


/* ===== BASE ===== */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


/* ===== LOADING ===== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}

.loading-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(16, 185, 129, 0.3);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* ===== HEADER ===== */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.logo-text h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.btn-login {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.75rem;
    border-radius: var(--radius);
    cursor: pointer;
}


/* ===== HERO SECTION ===== */

.hero {
    margin-top: 80px;
    padding: 4rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary);
}

.stat span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-primary.large,
.btn-secondary.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}


/* App Mockup */

.app-mockup {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.mockup-screen {
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.screen-header {
    text-align: center;
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.mock-service {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.mock-service i {
    color: var(--primary);
}


/* ===== SECTIONS ===== */

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}


/* About Section */

.about-section {
    background: rgba(14, 165, 233, 0.03);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.about-card.highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.05));
    border: 2px solid var(--primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.about-card p {
    color: var(--text-secondary);
}


/* How It Works */

.process-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.process-content {
    display: none;
}

.process-content.active {
    display: block;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    margin: 0 auto 1rem;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}


/* Services Section */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}


/* Security Section */

.security-section {
    background: rgba(14, 165, 233, 0.03);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.security-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.security-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.security-card h3 {
    margin-bottom: 0.5rem;
}

.security-card p {
    color: var(--text-secondary);
}


/* Pricing Section */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.price {
    margin: 2rem 0;
}

.price .value {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: bold;
}

.price .period {
    color: var(--text-secondary);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.pricing-card li i {
    color: var(--success);
    margin-right: 0.5rem;
}


/* CTA Section */

.cta-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent);
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Footer */

.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* ===== MODALS ===== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content.large {
    max-width: 800px;
}

.modal-content.extra-large {
    max-width: 1200px;
}

.modal-content.small {
    max-width: 400px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.modal-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error);
    color: var(--error);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 2rem;
}


/* User Type Modal */

.user-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.user-type-card {
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.user-type-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.user-type-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}


/* ===== FORMS ===== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox input {
    width: auto;
}

.full-width {
    width: 100%;
}


/* Progress Bar */

.progress-container {
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 20%;
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.step {
    text-align: center;
    position: relative;
    opacity: 0.5;
    transition: var(--transition);
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: bold;
}

.step.active .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}


/* Form Steps */

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-grid .full-width {
    grid-column: 1 / -1;
}


/* Document Upload */

.document-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.upload-card {
    background: rgba(30, 41, 59, 0.3);
    border: 2px dashed var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.upload-card:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
}

.upload-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
}

.upload-card h4 {
    margin-bottom: 1rem;
}

.upload-card input[type="file"] {
    display: none;
}

.upload-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.upload-btn:hover {
    background: var(--primary-dark);
}


/* Verification Cards */

.verification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.verification-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.verification-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.verification-card h4 {
    margin-bottom: 1rem;
}

.btn-verify {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.btn-verify:hover {
    background: var(--primary-dark);
}

.status {
    padding: 0.5rem 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 20px;
    display: inline-block;
    font-size: 0.9rem;
}

.status.success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}


/* Consent Section */

.consent-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.3);
    border-radius: var(--radius);
}


/* Services Checkbox */

.services-checkbox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.services-checkbox label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.services-checkbox label:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--primary);
}


/* Terms Box */

.terms-box {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.terms-content {
    max-height: 300px;
    overflow-y: auto;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.terms-content ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}


/* Agreements */

.agreements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


/* Form Navigation */

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.btn-back,
.btn-next,
.btn-submit {
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.btn-back {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    margin-left: auto;
}

.btn-submit {
    background: linear-gradient(135deg, var(--success), var(--primary));
}


/* Success Modal */

.success-content {
    text-align: center;
    padding: 2rem;
}

.success-content i {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    .hero-content {
        grid-template-columns: 1fr;
    }
    .hero-image {
        display: none;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .about-grid,
    .services-grid,
    .security-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        flex-direction: column;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .progress-steps span {
        display: none;
    }
    .form-grid,
    .document-upload-grid,
    .verification-grid {
        grid-template-columns: 1fr;
    }
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    .btn-next,
    .btn-submit {
        margin-left: 0;
        width: 100%;
    }
}

/* ===== PASSWORD STEP ===== */

.password-requirements {
    background: rgba(30, 41, 59, 0.3);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 1rem;
}

.password-requirements p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.password-requirements ul {
    list-style: none;
    padding-left: 0;
}

.password-requirements li {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-requirements li i {
    font-size: 0.7rem;
    width: 16px;
}

.password-requirements li.valid {
    color: var(--success);
}

.password-requirements li.invalid {
    color: var(--error);
}

.password-strength {
    margin-top: 0.5rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background 0.3s ease;
}

.password-strength-bar.weak {
    width: 25%;
    background: #ef4444;
}

.password-strength-bar.medium {
    width: 50%;
    background: #f59e0b;
}

.password-strength-bar.good {
    width: 75%;
    background: #3b82f6;
}

.password-strength-bar.strong {
    width: 100%;
    background: #10b981;
}

.password-match-status {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-match-status i {
    font-size: 0.7rem;
}

.password-match-status.success {
    color: var(--success);
}

.password-match-status.error {
    color: var(--error);
}

/* Ajuste para os steps no progresso */
.progress-steps .step span {
    font-size: 0.75rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .progress-steps .step span {
        display: none;
    }
}

/* ===== CORREÇÃO SELECTS ===== */
/* Remove fundo branco dos selects nos modais */
.modal-content select,
.modal-content select option {
    background: rgba(30, 41, 59, 0.9) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--glass-border) !important;
}

.modal-content select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23cbd5e1' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.modal-content select:focus {
    border-color: var(--primary) !important;
    background-color: rgba(16, 185, 129, 0.1) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.modal-content select option {
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.95) !important;
    color: var(--text-primary) !important;
}

.modal-content select option:hover,
.modal-content select option:focus {
    background: var(--primary) !important;
    color: white !important;
}

/* Força o estilo dos selects dentro do modal */
#professionalModal select,
#professionalModal select option {
    background: rgba(30, 41, 59, 0.9) !important;
    color: var(--text-primary) !important;
}

#professionalModal select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23cbd5e1' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

#professionalModal select option {
    padding: 0.75rem;
}

/* Corrige fundo branco em todos os selects */
select {
    background-color: rgba(30, 41, 59, 0.5) !important;
    color: var(--text-primary) !important;
}

select option {
    background-color: rgba(15, 23, 42, 0.95) !important;
    color: var(--text-primary) !important;
}

.amplify-button {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: block;
    gap: 0.5rem;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* ===== MODAIS LEGAIS (PRIVACIDADE E TERMOS) ===== */

.legal-modal .modal-content {
    max-width: 800px;
}

.legal-modal .modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.legal-modal .legal-content {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.legal-modal .legal-content h3 {
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.legal-modal .legal-content p {
    margin-bottom: 0.75rem;
}

.legal-modal .legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-modal .legal-content li {
    margin-bottom: 0.5rem;
}

/* Scrollbar personalizada para modais legais */
.legal-modal .modal-body::-webkit-scrollbar {
    width: 8px;
}

.legal-modal .modal-body::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 4px;
}

.legal-modal .modal-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.legal-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Responsividade para modais legais */
@media (max-width: 768px) {
    .legal-modal .modal-body {
        max-height: 70vh;
        padding: 1rem;
    }

    .legal-modal .legal-content {
        font-size: 0.85rem;
    }
}

/* Links dentro dos termos */
.legal-modal .legal-content a,
.agreements a,
.checkbox a {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-modal .legal-content a:hover,
.agreements a:hover,
.checkbox a:hover {
    color: var(--primary-light);
}

/* Modal legal - Header */
.legal-modal .modal-header {
    position: sticky;
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 10;
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem;
}

.legal-modal .modal-header h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.legal-modal .modal-header h2 i {
    color: var(--primary);
}

/* Classe aplicada à imagem do logo no header */
.logo-icon-img {
    width: 280px;          /* Logo bem maior */
    height: 120px;         /* Altura proporcional */
    object-fit: contain;   /* Mantém a proporção sem cortar */
    display: block;
}

/* Remover estilos do texto do logo (não será mais usado) */
.logo-text {
    display: none;
}

/* Ajuste do container do logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Ajustes no footer */
.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo .logo-icon-img {
    width: 220px;          /* Logo maior no footer */
    height: 95px;
}

/* Ajuste para telas menores (mobile) */
@media (max-width: 768px) {
    .logo-icon-img {
        width: 200px;
        height: 85px;
    }

    .footer-logo .logo-icon-img {
        width: 160px;
        height: 70px;
    }

    .logo {
        gap: 0;
    }
}

/* Ajuste para telas muito pequenas (celulares) */
@media (max-width: 480px) {
    .logo-icon-img {
        width: 160px;
        height: 70px;
    }

    .footer-logo .logo-icon-img {
        width: 140px;
        height: 60px;
    }
}

/* ===== REDES SOCIAIS NO FOOTER (MESMO ESTILO DO EMAIL) ===== */

.footer-section .social-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-section .social-link i {
    margin-right: 0.25rem;
}

.footer-section .social-link:hover {
    color: var(--primary);
}

/* Cor específica ao passar o mouse no Instagram */
.footer-section .social-link:hover .fa-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cor específica ao passar o mouse no WhatsApp */
.footer-section .social-link:hover .fa-whatsapp {
    color: #25D366;
    -webkit-text-fill-color: #25D366;
}

/* ===== MODAIS LEGAIS SEMPRE ACIMA DOS MODAIS DE CADASTRO ===== */
.modal.legal-modal {
    z-index: 3000 !important;
    background: rgba(0, 0, 0, 0.9);
}