/* Reset e fontes */
:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #f59e0b;
    --success: #16a34a;
    --price: #dc2626;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f5f5;
    color: #222;
    line-height: 1.6;
}

/* Container central */
.container {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.header-title {
    font-size: 22px;
    margin-bottom: 8px;
}

.header-title span {
    color: var(--accent);
}

.header-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.header-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 12px;
}

/* Hero */
.hero {
    padding: 20px;
    text-align: center;
    background: #fff;
}

.hero h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.hero h2 strong {
    color: var(--price);
}

.price-range {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin: 10px 0;
}

.price-range small {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.features {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.features span {
    background: #f0fdf4;
    color: var(--success);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Alert para mobile */
.alert-mobile {
    background: #fef2f2;
    padding: 12px 16px;
    border-left: 4px solid var(--price);
    margin: 10px 20px;
    font-size: 14px;
    text-align: center;
}

/* Botão WhatsApp */
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 16px;
    margin: 10px 20px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: scale(1.02);
}

.btn-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.btn-whatsapp small {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.9;
}

/* Estoque */
.estoque {
    padding: 20px;
}

.estoque h3 {
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.carro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.carro-card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s;
}

.carro-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carro-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.carro-info p {
    font-size: 13px;
    color: #666;
}

.carro-info .tag {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-top: 4px;
}

.carro-preco {
    text-align: right;
}

.carro-preco .valor {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.carro-preco .parcela {
    font-size: 12px;
    color: #666;
}

.btn-ver {
    display: inline-block;
    margin-top: 12px;
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-ver:hover {
    background: #16213e;
}

/* Depoimentos */
.depoimentos {
    padding: 20px;
    background: #f9fafb;
}

.depoimentos h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.depo-grid {
    display: grid;
    gap: 12px;
}

.depo-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.stars {
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 8px;
}

.depo-card p {
    font-size: 13px;
    color: #555;
    margin: 6px 0;
}

.autor {
    font-size: 12px;
    color: #999;
}

/* Formulário */
.form-section {
    padding: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
    outline: none;
}

.required {
    color: var(--price);
    font-size: 15px;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #16213e;
}

/* Footer */
.footer {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 12px;
    margin-top: 20px;
}

.back-to-top {
    margin-top: 16px;
}

.back-to-top a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

/* LGPD Modal */
.lgpd-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lgpd-content {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
}

.lgpd-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
    }
    .carro-card {
        padding: 20px;
    }
}
