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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
}

/* ========== PÁGINA INICIAL ========== */

.home-page {
    background-color: #000;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 100;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.logo-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.menu-btn {
    background: none;
    border: 2px solid #fff;
    border-radius: 4px;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
}

.main-content {
    position: relative;
}

.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?w=1200');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 200px;
    height: 400px;
    background: #d4ff00;
    opacity: 0.3;
    transform: rotate(-15deg);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    padding: 120px 20px 40px;
    max-width: 800px;
}

.hero-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title .highlight {
    color: #d4ff00;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: #e0e0e0;
    max-width: 500px;
}

.form-container {
    position: relative;
    z-index: 10;
    padding: 0 20px 40px;
    margin-top: -60px;
}

.form-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    max-width: 500px;
    margin: 0 auto;
}

.form-intro {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
    font-weight: 500;
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background: #f8f8f8;
    text-transform: uppercase;
}

.form-input::placeholder {
    color: #999;
}

.form-input:focus {
    outline: none;
    border-color: #d4ff00;
    background: #fff;
}

.checkbox-group {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.link {
    color: #555;
    text-decoration: underline;
}

.link:hover {
    color: #000;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: #e0e0e0;
    color: #666;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit.active {
    background: #000;
    color: #fff;
}

.btn-submit.active:hover {
    background: #333;
}

.btn-submit:hover {
    background: #d0d0d0;
}

.btn-submit:active {
    transform: scale(0.98);
}

/* ========== PÁGINA DE DÉBITOS ========== */

.debitos-page {
    background-color: #f5f5f5;
    padding-bottom: 200px;
}

.header-simple {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: #fff;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    text-decoration: none;
}

.btn-back:hover {
    background: #f0f0f0;
    border-radius: 50%;
}

.hero-small {
    position: relative;
    height: 180px;
    margin-top: 72px;
    background: linear-gradient(135deg, #2a2a2a 0%, #000 100%);
    overflow: hidden;
}

.hero-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/iStock.png');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 1;
}

.content {
    padding: 20px;
}

.vehicles-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.icon-car {
    color: #333;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 12px 48px 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background: #f8f8f8;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-search {
    position: absolute;
    right: 8px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-search:hover {
    background: #e0e0e0;
}

.debits-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.debit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.debit-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.debit-checkbox {
    display: flex;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    align-items: flex-start;
}

.debit-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.debit-content {
    flex: 1;
}

.debit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.debit-placa {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.debit-data {
    background: #000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.debit-info {
    margin-bottom: 8px;
}

.debit-local {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.debit-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.debit-descricao {
    font-size: 13px;
    color: #666;
    filter: blur(3px);
    user-select: none;
}

.debit-valor {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 50;
}

.footer-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 16px;
}

.summary-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-placa {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.summary-valor-label {
    font-size: 14px;
    color: #666;
}

.btn-expand {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 8px;
}

.footer-total {
    text-align: center;
    margin-bottom: 16px;
}

.total-valor {
    font-size: 48px;
    font-weight: 700;
    color: #333;
}

.btn-continue {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-continue:hover {
    background: #333;
}

.btn-continue:active {
    transform: scale(0.98);
}

/* ========== RESPONSIVIDADE ========== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .form-card {
        padding: 24px 20px;
    }
}

@media (min-width: 769px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}
