/**
 * Estilos Gerais do Site - HC Centro Automotivo
 * Tema híbrido: cabeçalho/hero/rodapé escuros + conteúdo claro, acento vermelho
 */

:root {
    /* Conteúdo (claro) */
    --bg: #f4f5f7;
    --surface: #ffffff;
    --card: #ffffff;
    --border: #e4e7ec;
    --text: #14161a;
    --muted: #5b6470;
    --text-light: #98a1ad;

    /* Marca */
    --red: #d90000;
    --red-light: #e60b0b;
    --red-strong: #a30000;
    --whatsapp: #25d366;

    /* Zonas escuras (cabeçalho / hero / rodapé) */
    --dark-bg: #050505;
    --dark-bg-2: #0b0b0b;
    --dark-card: rgba(255, 255, 255, 0.04);
    --dark-border: rgba(255, 255, 255, 0.10);
    --dark-text: #ffffff;
    --dark-muted: #a6adb6;

    /* Aliases legados */
    --primary-color: #d90000;
    --primary-dark: #a30000;
    --secondary-color: #d90000;
    --accent-color: #d90000;
    --text-dark: #14161a;
    --text-gray: #5b6470;
    --bg-light: #f4f5f7;
    --border-color: #e4e7ec;

    --radius: 1.25rem;
    --radius-sm: 0.75rem;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-lg: 0 18px 40px -14px rgba(16, 24, 40, 0.22);
    --transition: all 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
}

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

section[id] {
    scroll-margin-top: 90px;
}

::selection {
    background: rgba(217, 0, 0, 0.18);
    color: var(--text);
}

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar-track {
    background: #eceef1;
}
::-webkit-scrollbar-thumb {
    background: #c4cad2;
    border: 3px solid #eceef1;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}

/* ============================================================
   Cabeçalho (escuro)
   ============================================================ */
.header {
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--dark-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header.scrolled {
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.8);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}

.logo h1 {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--red-light);
}

.logo span {
    color: #fff;
}

.logo .tagline {
    font-size: 0.8125rem;
    color: var(--dark-muted);
    font-weight: 500;
}

.logo a,
.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-img {
    height: 62px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 1.75rem;
}

.nav-link {
    color: var(--dark-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2020, #9f0000);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(255, 0, 0, .22);
    transition: var(--transition);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(255, 0, 0, .3);
    color: #fff;
}

.header-cta svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-muted);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-back:hover {
    color: var(--red-light);
}

/* ============================================================
   Hero (escuro)
   ============================================================ */
.hero {
    padding: 3.5rem 0 4rem;
    background:
        radial-gradient(circle at top right, rgba(255, 0, 0, .16), transparent 42%),
        radial-gradient(circle at bottom left, rgba(255, 0, 0, .10), transparent 42%),
        var(--dark-bg);
}

.hero-card {
    position: relative;
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 60px 48px;
    text-align: center;
    color: var(--dark-text);
    box-shadow: 0 0 60px rgba(255, 0, 0, .06);
}

.hero-logo {
    width: 200px;
    max-width: 55%;
    height: auto;
    display: block;
    margin: 0 auto 26px;
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, .20));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 0, 0, .10);
    border: 1px solid rgba(255, 0, 0, .18);
    color: #ff8a8a;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
}

.hero h1,
.hero-title {
    font-size: clamp(34px, 6vw, 66px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 18px;
    color: #fff;
}

.highlight {
    color: var(--red-light);
    text-shadow: 0 0 22px rgba(255, 0, 0, .3);
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-buttons {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .22);
}

.hero-stats {
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid var(--dark-border);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 48px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 130px;
}

.hero-stat-number {
    font-size: clamp(20px, 2.6vw, 30px);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--red-light);
    text-shadow: 0 0 20px rgba(255, 0, 0, .25);
}

.hero-stat-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark-muted);
}

/* ============================================================
   Botões
   ============================================================ */
.btn {
    border: none;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    transition: var(--transition);
}

.btn svg {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #ff2020, #9f0000);
    color: #fff;
    border: none;
    padding: 0.85rem 1.7rem;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: var(--transition);
    box-shadow: 0 12px 30px rgba(217, 0, 0, .22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff3535, #b00000);
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(217, 0, 0, .3);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary,
.btn-outline-secondary,
.filters-actions .btn-outline-secondary {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.85rem 1.7rem;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover,
.btn-outline-secondary:hover,
.filters-actions .btn-outline-secondary:hover {
    background: #f7f8fa;
    border-color: #cfd5dd;
    color: var(--text);
    transform: translateY(-2px);
}

/* ============================================================
   Cabeçalhos de seção
   ============================================================ */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-header h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--red), var(--red-strong));
}

.section-subtitle {
    color: var(--muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.results-count {
    color: var(--muted);
    font-size: 0.875rem;
}

/* ============================================================
   Filtros (claro)
   ============================================================ */
.filters-section {
    padding: 2.5rem 0 1rem;
}

.filters-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.2rem 1.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font: inherit;
    text-align: left;
    color: var(--text);
    transition: background 0.2s ease;
}

.filters-toggle:hover {
    background: #f7f8fa;
}

.filters-toggle h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.filters-chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: var(--muted);
}

.filters-card.expanded .filters-chevron {
    transform: rotate(180deg);
}

.filters-card-body {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.filters-card-body.collapsed {
    max-height: 0;
}

.filters-card-body:not(.collapsed) {
    max-height: 2000px;
}

.filters-form {
    padding: 0 1.75rem 1.75rem;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group input,
.filter-group select {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    background: #fff;
    color: var(--text);
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(217, 0, 0, 0.1);
}

.filter-group input::placeholder {
    color: #aab1bb;
}

.filters-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.filters-actions .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 12px;
}

/* ============================================================
   Listagem de veículos (claro)
   ============================================================ */
.vehicles-section {
    padding: 3rem 0;
}

.featured-section {
    padding: 3rem 0 0;
}

.vehicles-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin: -0.5rem 0 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.vehicles-toolbar .results-count {
    margin: 0;
    font-weight: 600;
    color: var(--text);
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.sort-control label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    font-weight: 600;
}

.sort-control select {
    padding: 0.6rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
}

.sort-control select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(217, 0, 0, 0.1);
}

.vehicles-grid,
.featured-vehicles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.vehicle-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: block;
}

.vehicle-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(217, 0, 0, .25);
}

.vehicle-card.featured {
    border-color: rgba(217, 0, 0, .35);
    box-shadow: 0 0 0 1px rgba(217, 0, 0, .12), var(--shadow-md);
}

.vehicle-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.vehicle-image-wrapper {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #eceef2;
}

.vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-image {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.badge.offer {
    background: linear-gradient(135deg, #ff2020, #9f0000);
    color: #fff;
    box-shadow: 0 8px 20px rgba(217, 0, 0, .3);
}

.vehicle-info {
    padding: 1.4rem;
}

.vehicle-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.vehicle-specs {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.9rem;
}

.vehicle-meta {
    margin-bottom: 0.9rem;
}

.meta-item {
    font-size: 0.875rem;
    color: var(--muted);
}

.meta-item svg {
    flex-shrink: 0;
    color: var(--red);
}

.vehicle-divider {
    height: 1px;
    background: var(--border);
    margin: 0.9rem 0;
}

.vehicle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.vehicle-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-label {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 600;
}

.price-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--red);
}

.btn-view-details {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #ff2020, #9f0000);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    white-space: nowrap;
}

.btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(217, 0, 0, .28);
}

/* Sem resultados */
.no-results {
    text-align: center;
    padding: 3.5rem 2rem;
}

.no-results-content {
    max-width: 520px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
}

.no-results-content svg {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.no-results-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.no-results-content p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* ============================================================
   Diferenciais (claro)
   ============================================================ */
.features-section {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217, 0, 0, .25);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    background: rgba(217, 0, 0, .08);
    color: var(--red);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.feature-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ============================================================
   Banner CTA (ex.: link para Seminovos)
   ============================================================ */
.cta-banner-section {
    padding: 1rem 0 3rem;
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2.25rem 2.5rem;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at top right, rgba(255, 0, 0, .18), transparent 55%),
        var(--dark-bg-2);
    border: 1px solid var(--dark-border);
    color: #fff;
}

.cta-banner-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 0.35rem;
}

.cta-banner-text p {
    color: var(--dark-muted);
    max-width: 640px;
}

.cta-banner .btn-primary {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .cta-banner {
        padding: 1.75rem 1.5rem;
        text-align: center;
        justify-content: center;
    }
}

/* ============================================================
   Contato (claro)
   ============================================================ */
.contact-section {
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    color: var(--text);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
    font-size: 1.0625rem;
    color: var(--text);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--red);
}

.contact-item a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--red);
}

.contact-map {
    width: 100%;
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================================
   Rodapé (escuro)
   ============================================================ */
.footer {
    background: var(--dark-bg-2);
    border-top: 1px solid var(--dark-border);
    color: #fff;
    padding: 3rem 0 1.25rem;
    margin-top: 2rem;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section p {
    color: var(--dark-muted);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: var(--dark-muted);
}

.footer-section a {
    color: var(--dark-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--red-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-border);
    color: #7c828b;
}

.footer-bottom a {
    color: var(--dark-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--red-light);
    text-decoration: underline;
}

/* ============================================================
   WhatsApp flutuante
   ============================================================ */
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--whatsapp);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float svg {
    width: 32px;
    fill: #fff;
}

/* ============================================================
   Alerts (formulário CRM)
   ============================================================ */
.alert {
    padding: 0.875rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    border: 1px solid transparent;
}

.alert-success {
    background: #e7f8ee;
    border-color: #b6e6c9;
    color: #0f7a3d;
}

.alert-danger {
    background: #fdeaea;
    border-color: #f3c2c2;
    color: #b42318;
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
        border-top: 1px solid var(--dark-border);
        margin-top: 0.9rem;
        width: 100%;
        z-index: 1000;
    }

    .nav.mobile-open {
        display: flex;
    }

    .nav-link {
        padding: 0.9rem 1.5rem;
        border-bottom: 1px solid var(--dark-border);
        width: 100%;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 2.5rem 0 3rem;
    }

    .hero-card {
        padding: 40px 22px;
        border-radius: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 18px 32px;
    }

    .vehicles-grid,
    .featured-vehicles {
        grid-template-columns: 1fr;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .filters-actions {
        flex-direction: column;
    }

    .filters-actions .btn-outline-secondary,
    .filters-actions .btn-primary {
        width: 100%;
    }

    .vehicles-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .sort-control {
        justify-content: space-between;
    }

    .sort-control select {
        flex: 1;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 350px;
    }

    .btn-back {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--dark-border);
    }
}
