/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: url('img/HEAD.png') center/cover no-repeat;
    width: 100%;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}


.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.logo {
    display: flex;
    align-items: center;
    background: #4caf50;
    border-radius: 8px;
    padding: 3px 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    gap: 6px;
    width: fit-content;
}

.logo-s {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('img/favicon.png');
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-text {
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.program-name {
    color: #424242;
    font-size: 16px;
    font-weight: 500;
    margin-left: 0;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f5f5f5;
}

.modal {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    margin-left: 60px;
}

.modal-title {
    color: #424242;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: left;
}

.cnpj-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cnpj-label {
    color: #424242;
    font-size: 16px;
    font-weight: 500;
}

.cnpj-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.cnpj-input:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.privacy-info {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #666;
}

.hcaptcha-text {
    color: #2196f3;
}

.privacy-link,
.terms-link {
    color: #2196f3;
    text-decoration: underline;
    cursor: pointer;
}

.privacy-link:hover,
.terms-link:hover {
    color: #1976d2;
}

.separator {
    color: #666;
}

.continue-btn {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    align-self: flex-start;
}

.continue-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #5cb85c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.continue-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* Footer */
.footer {
    background: #f5f5f5;
    width: 100%;
}

.footer-top {
    background: #f5f5f5;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom {
    background: linear-gradient(135deg, #757575 0%, #9e9e9e 100%);
    height: 8px;
    width: 100%;
}

.version {
    color: #424242;
    font-size: 14px;
    font-weight: 500;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.simples-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.simples-s {
    background: linear-gradient(135deg, #4caf50 0%, #ffeb3b 100%);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    background-image: url('img/favicon.png');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.simples-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.simples {
    color: #4caf50;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

.nacional {
    color: #424242;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

/* Responsividade */
@media (max-width: 768px) {
    .modal {
        margin-left: 0;
        padding: 30px 20px;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .program-name {
        font-size: 14px;
        margin-left: 0;
        margin-top: 5px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 20px 15px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .logo-s {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .logo-text {
        font-size: 24px;
    }
}
