/* Verificar VIN ou matrícula (VinCheckLanding). Loaded after vehicle-seo-landing.css. */

/* Type scale of the product landings (avaliacao-carro-pro, alertas-premium), which sit in the
   same menu and are smaller than the vehicle-seo guide scale this page borrows its layout from. */
.vin-check .vehicle-seo-hero h1 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.vin-check .vehicle-seo-lead {
    font-size: 1.15rem;
}

.vin-check .vehicle-seo-heading h2,
.vin-check .vehicle-seo-copy h2,
.vin-check .vehicle-seo-highlight h2 {
    font-size: 1.6rem;
}

.vin-check .vehicle-seo-copy p,
.vin-check .vehicle-seo-highlight p {
    font-size: 0.95rem;
}

.vin-check .vehicle-seo-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

.vin-check .vehicle-seo-card p {
    font-size: 0.9rem;
}

.vin-check .vehicle-seo-faq summary {
    font-size: 0.95rem;
    font-weight: 600;
}

.vin-check .vehicle-seo-faq details p {
    font-size: 0.95rem;
}

.vin-check .vehicle-seo-final h2 {
    font-size: 1.8rem;
}

.vin-check-card {
    max-width: 660px;
    margin: 0 auto;
    padding: 1.75rem;
    border: 1px solid #dfe7ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(26, 37, 47, 0.12);
    text-align: left;
    scroll-margin-top: 90px;
}

.vin-check-card-title {
    margin-bottom: 1rem;
    color: var(--ae-primary-dark);
    font-size: 1.15rem;
    font-weight: 700;
}

.vin-check-label {
    display: block;
    margin-bottom: 0.4rem;
    color: #465563;
    font-size: 0.95rem;
    font-weight: 600;
}

.vin-check-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
}

.vin-check-field {
    position: relative;
}

.vin-check-field i {
    position: absolute;
    top: 50%;
    left: 1.1rem;
    color: #8a99a8;
    pointer-events: none;
    transform: translateY(-50%);
}

.vin-check-input {
    width: 100%;
    height: 56px;
    padding: 0 1.1rem 0 2.9rem;
    border: 2px solid #d6e0e8;
    border-radius: 999px;
    background: #fff;
    color: var(--ae-primary-dark);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vin-check-input::placeholder {
    color: #8a99a8;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}

.vin-check-input:focus {
    border-color: var(--ae-accent);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.18);
    outline: none;
}

.vin-check-input.is-invalid {
    border-color: #c0392b;
}

.vin-check-input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.15);
}

.vin-check-submit {
    height: 56px;
    padding: 0 1.6rem;
    font-weight: 700;
    white-space: nowrap;
}

.vin-check-error {
    margin: 0.55rem 0 0;
    color: #b42318;
    font-size: 0.9rem;
    font-weight: 600;
}

.vin-check-error:empty {
    margin: 0;
}

.vin-check-hint {
    margin: 0.55rem 0 0;
    color: #6c7a89;
    font-size: 0.85rem;
}

.vin-check-offer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 1.25rem 0 1rem;
    padding: 0.6rem 0.9rem;
    border: 1px dashed #1f7a45;
    border-radius: 10px;
    background: #eef7f1;
    color: #1f7a45;
    font-size: 0.92rem;
    line-height: 1.4;
    text-align: center;
}

.vin-check-offer strong {
    font-weight: 800;
    white-space: nowrap;
}

.vin-check-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.vin-check-facts li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #465563;
    font-size: 0.88rem;
    line-height: 1.45;
}

.vin-check-facts i {
    width: 1rem;
    margin-top: 0.2rem;
    color: var(--ae-accent);
    text-align: center;
    flex: 0 0 1rem;
}

.vin-check-partner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding-top: 1rem;
    border-top: 1px solid #e8eef3;
    color: #6b7785;
    font-size: 0.85rem;
}

.vin-check-partner img {
    width: 170px;
    height: auto;
    max-width: calc(100% - 80px);
}

.vin-subheading {
    margin-bottom: 0.75rem;
    color: var(--ae-primary-dark);
    font-size: 1.15rem;
    font-weight: 700;
}

.vin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.vin-stat {
    padding: 1.4rem 1.2rem;
    border: 1px solid #d7e4ee;
    border-radius: var(--ae-radius);
    background: linear-gradient(135deg, #f7fbff 0%, #e9f2fb 100%);
    text-align: center;
}

.vin-stat-value {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--ae-accent-dark);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    white-space: nowrap;
}

.vin-stat-label {
    display: block;
    color: #465563;
    font-size: 0.9rem;
    line-height: 1.45;
}

.vin-list {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vin-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #465563;
    font-size: 0.95rem;
    line-height: 1.5;
}

.vin-list i {
    margin-top: 0.25rem;
    color: var(--ae-success);
    flex: 0 0 auto;
}

.vin-list--questions i {
    color: var(--ae-accent);
}

.vin-list-outro {
    margin: 1rem 0 0;
    color: #596773;
    font-size: 0.92rem;
    line-height: 1.55;
}

.vin-note {
    max-width: 860px;
    margin: 1.75rem auto 0;
    color: #7b8794;
    font-size: 0.8rem;
    line-height: 1.55;
    text-align: center;
}

.vin-report-more {
    max-width: 760px;
    margin: 0.5rem auto 1.5rem;
    color: #596773;
    line-height: 1.65;
    text-align: center;
}

.vin-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    max-width: 860px;
    margin: 0 auto;
    padding: 1.1rem 1.3rem;
    border: 1px solid #d7e4ee;
    border-left: 5px solid var(--ae-accent);
    border-radius: var(--ae-radius-sm);
    background: #fff;
    box-shadow: 0 2px 8px rgba(26, 37, 47, 0.05);
}

.vin-tip i {
    margin-top: 0.2rem;
    color: var(--ae-accent);
    font-size: 1.2rem;
}

.vin-tip p {
    margin: 0;
    color: #465563;
    line-height: 1.6;
}

.vin-tip--warning {
    border-left-color: #d97706;
}

.vin-tip--warning i {
    color: #d97706;
}

.vin-where {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.vin-where li {
    padding: 1.4rem 1.2rem;
    border: 1px solid #e3e9ee;
    border-radius: var(--ae-radius);
    background: #fff;
    box-shadow: 0 3px 14px rgba(26, 37, 47, 0.06);
}

.vin-where p {
    margin: 0;
    color: #5d6973;
    font-size: 0.93rem;
    line-height: 1.55;
}

.vin-related {
    justify-content: center;
    margin-top: 1.75rem;
}

@media (max-width: 991.98px) {
    .vin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vin-where {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .vin-check-card {
        padding: 1.25rem;
    }

    .vin-check-row {
        grid-template-columns: 1fr;
    }

    .vin-check-submit {
        width: 100%;
    }

    .vin-check-facts {
        grid-template-columns: 1fr;
    }

    .vin-where {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 479.98px) {
    .vin-stats-grid {
        grid-template-columns: 1fr;
    }
}
