/* ========================================
   VARIÁVEIS - CORES BANCÁRIAS PROFISSIONAIS
   ======================================== */
:root {
    /* Cores principais - Verde Água + Roxo Escuro */
    --primary-color: #00C9A7;        /* Verde água forte */
    --primary-dark: #00A88E;         /* Verde água escuro */
    --primary-light: #33D4B8;        /* Verde água claro */
    --secondary-color: #3F2E63;      /* Roxo escuro bancário */
    --secondary-dark: #2A1F43;       /* Roxo muito escuro */
    --secondary-light: #5A4278;      /* Roxo médio */
    --accent-color: #845EC2;         /* Roxo vibrante */
    --success-color: #00C9A7;        /* Verde sucesso */
    --warning-color: #FFC107;        /* Amarelo alerta */
    --danger-color: #FF5252;         /* Vermelho erro */
    
    /* Cores neutras */
    --background: #F5F7FA;           /* Cinza claro */
    --card-bg: #FFFFFF;              /* Branco puro */
    --text-primary: #1A1A1A;         /* Preto suave */
    --text-secondary: #4A5568;       /* Cinza escuro */
    --border-color: #E2E8F0;         /* Borda suave */
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(63, 46, 99, 0.08);
    --shadow-md: 0 4px 20px rgba(63, 46, 99, 0.12);
    --shadow-lg: 0 8px 40px rgba(63, 46, 99, 0.16);
    
    /* Fontes */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET E BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ========================================
   HEADER
   ======================================== */
.header {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: 1.5rem 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: white;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-info {
    display: flex;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.info-item i {
    color: var(--primary-color);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(0,201,167,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--secondary-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 201, 167, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 201, 167, 0.2);
}

.hero-feature i {
    font-size: 2rem;
    color: var(--primary-color);
}

.hero-feature span {
    font-weight: 700;
    font-size: 1rem;
}

/* ========================================
   FORMULÁRIO
   ======================================== */
.form-section {
    padding: 4rem 0;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.form-header h2 i {
    color: var(--primary-color);
}

.form-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.credit-form {
    max-width: 1000px;
    margin: 0 auto;
}

.form-section-box {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.form-section-box:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.section-title i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    background: var(--background);
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.1);
}

.form-group input::placeholder {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Checkbox */
.form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
}

/* Radio Cards */
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: var(--background);
    padding: 2rem 1rem;
    border-radius: 15px;
    border: 3px solid var(--border-color);
    transition: var(--transition);
}

.radio-content i {
    font-size: 2.5rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.radio-content span {
    font-weight: 800;
    color: var(--text-primary);
    font-size: 1rem;
    text-align: center;
}

.radio-card input[type="radio"]:checked + .radio-content {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.radio-card input[type="radio"]:checked + .radio-content i {
    color: white;
}

.radio-card input[type="radio"]:checked + .radio-content span {
    color: white;
}

.radio-card:hover .radio-content {
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

/* Info Box */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(0, 201, 167, 0.1), rgba(0, 168, 142, 0.1));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    margin-top: 1.5rem;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.info-box p {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

.info-box strong {
    color: var(--secondary-color);
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 3rem;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 1.5rem 4rem;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 900;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.btn-submit i {
    font-size: 2rem;
}

.form-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.form-footer-note i {
    color: var(--primary-color);
}

/* ========================================
   COMPANY INFO
   ======================================== */
.company-info {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0;
}

.company-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-info h3 i {
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 201, 167, 0.2);
}

.info-card.full-width {
    grid-column: 1 / -1;
}

.info-card strong {
    display: block;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card span {
    font-size: 1.1rem;
    font-weight: 600;
}

.status-active {
    color: var(--primary-color);
    font-weight: 900 !important;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--secondary-dark), #1A1325);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-logo h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
}

.footer-section h4 {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer-section p {
    margin-bottom: 0.5rem;
    font-weight: 600;
    opacity: 0.9;
}

.footer-section i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 201, 167, 0.2);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-weight: 600;
    opacity: 0.9;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-section-box {
        padding: 1.5rem;
    }
    
    .radio-group {
        grid-template-columns: 1fr;
    }
    
    .btn-submit {
        padding: 1.25rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .form-header h2 {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .btn-submit {
        width: 100%;
    }
}