/* --- RESET & CONFIGURAÇÕES GERAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --primary-color: #e50914;
    --dark-color: #111116;
    --light-bg: #f4f4f9;
    --card-bg: #ffffff;
    --text-main: #333333;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--light-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- HEADER & NAV --- */
header {
    background-color: var(--dark-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

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

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-item a {
    color: #fff;
    font-weight: 600;
    transition: var(--transition);
}

.nav-item a:hover {
    color: var(--primary-color);
}

/* Estilo do Botão Hambúrguer (Escondido por padrão no Desktop) */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: var(--transition);
    border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/imagem/b40169f9-6d9e-4d95-8793-35a1f692f1e6.jpeg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 74px;
    padding: 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.btn-cta {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cta:hover {
    background-color: #b8070f;
    transform: translateY(-2px);
}

/* --- SEÇÃO TABELA FIPE --- */
.fipe {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.fipe h1 { margin-bottom: 20px; font-size: 28px; }
.fipe-actions { display: flex; justify-content: center; gap: 15px; margin-bottom: 20px; }

#btn-fipe, .fipe-actions a {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
#btn-fipe { background-color: var(--primary-color); color: #fff; }
#btn-fipe:hover { background-color: #b8070f; }
.fipe-actions a { background-color: var(--dark-color); color: #fff; display: inline-block; }

.fipe-wrapper {
    max-width: 600px;
    margin: 20px auto 0 auto;
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
}
.fipe-wrapper.active {
    height: auto;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.fipe-form { display: flex; flex-direction: column; gap: 15px; }
.fipe-form select {
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
}
.fipe-form select:disabled { background-color: #f4f4f9; cursor: not-allowed; }

.fipe-resultado {
    margin-top: 25px;
    padding: 20px;
    border-radius: 5px;
    background-color: #f4f4f9;
    display: none;
}
.fipe-resultado h2 { color: var(--primary-color); font-size: 26px; margin-top: 10px; }

/* --- FILTROS --- */
.filter-container {
    max-width: 1200px;
    margin: 40px auto 20px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    background-color: #fff;
    border: 2px solid #ccc;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--dark-color);
    color: #fff;
    border-color: var(--dark-color);
}

/* --- VITRINE DE VEÍCULOS (CATÁLOGO) --- */
.catalog {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.vehicle-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.vehicle-img-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.vehicle-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vehicle-badge {
    align-self: flex-start;
    background: #e53935;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.vehicle-info h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
}

.vehicle-details {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.vehicle-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 15px;
    margin-top: auto;
}

.btn-card-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-card-contact:hover {
    background: #1ebd59;
}

/* ============================================================
   ESTILIZAÇÃO DA SEÇÃO QUEM SOMOS
   ============================================================ */
.about-section {
    padding: 80px 20px;
    background-color: #fcfcfc;
    font-family: 'Montserrat', sans-serif;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #e53935;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.title-line {
    width: 60px;
    height: 4px;
    background-color: #e53935;
    margin: 15px auto 35px auto;
    border-radius: 2px;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    max-width: 850px;
    margin: 0 auto 50px auto;
}

.about-text strong {
    color: #1a1a1a;
    font-weight: 700;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.feature-item {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-bottom-color: #e53935;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-item i {
    font-size: 2rem;
    color: #e53935;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
    line-height: 1.4;
}

/* ==================== ESTILIZAÇÃO DO RODAPÉ MODERNIZADO ==================== */
.main-footer {
    background-color: #111116;
    color: #ffffff;
    padding: 50px 20px 20px 20px;
    margin-top: 60px;
    border-top: 3px solid #e50914;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-box {
    flex: 1 1 280px; /* Layout flexível moderno no lugar do antigo 'table-cell' */
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo span { color: #e50914; }

.footer-box p {
    color: #a0a0a5;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-nav-links a {
    color: #e50914;
    font-size: 14px;
    font-weight: 600;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-nav-links a:hover {
    color: #fff;
}

.footer-box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #22222b;
    color: #fff;
    font-size: 18px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.social-icons .icon-instagram:hover { background-color: #e1306c; }
.social-icons .icon-facebook:hover { background-color: #1877f2; }
.social-icons .icon-whatsapp:hover { background-color: #25d366; }

.contact-info .link-whatsapp {
    color: #25d366;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.3s;
}

.contact-info .link-whatsapp:hover {
    opacity: 0.85;
}

.wsti-logo {
    max-width: 165px;
    height: auto;
    margin-bottom: 12px;
}

.wsti-info p {
    font-size: 12px;
    color: #a0a0a5;
    margin: 2px 0;
}

.link-site-animado {
    display: inline-block;
    margin-top: 8px;
    color: #00d2ff;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #00d2ff;
    padding: 5px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.link-site-animado:hover {
    background-color: #00d2ff;
    color: #111116;
}

/* Barra de Créditos Inferior */
.footer-bottom {
    background-color: #09090c;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #71717a;
    border-top: 1px solid #1f1f27;
    margin-top: 30px;
    width: 100%;
}

/* --- MEDIA QUERIES (RESPONSIVIDADE GERAL) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 74px;
        right: -100%;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        text-align: center;
        gap: 0;
        transition: 0.4s ease-in-out;
        box-shadow: 0 10px 15px rgba(0,0,0,0.3);
    }

    .nav-item {
        width: 100%;
    }

    .nav-item a {
        display: block;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 32px;
    }

    .about-section {
        padding: 60px 15px;
    }
    
    .about-section h2 {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1.05rem;
    }

    .footer-box {
        text-align: center !important;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Estilização da Seção Quem Somos */
.about-section {
    background-color: #e2c0bd; /* Fundo escuro elegante */
    color: #270202;
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(238, 93, 93, 0.03); /* Leve caixinha de vidro */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #ffffff;
}

/* Linha decorativa abaixo do título */
.about-divider {
    width: 60px;
    height: 4px;
    background-color: #ff3b30; /* Vermelho esportivo/automotivo (mude para a cor da sua logo se preferir) */
    margin: 0 auto 30px auto;
    border-radius: 2px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b3b3b3; /* Texto cinza claro para melhor leitura */
    margin-bottom: 20px;
}

/* Destaques em texto */
.highlight {
    color: #ff3b30; /* Cor de destaque na marca */
    font-weight: 700;
}

.font-accent {
    font-size: 1.2rem;
    color: #ffffff;
    font-style: italic;
    margin-top: 30px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Responsividade para celulares */
@media (max-width: 768px) {
    .about-section {
        padding: 40px 15px;
    }
    
    .about-container {
        padding: 20px;
    }

    .about-title {
        font-size: 2rem;
    }
}

/* Estilização do Botão Tenho Interesse */
.btn-interest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espaço entre o ícone e o texto */
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #25d366 0%, #1c9e4d 100%); /* Degradê verde chamativo */
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease; /* Transição suave para os efeitos */
}

/* Efeito ao passar o mouse (Hover) */
.btn-interest:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #168540 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px); /* Levanta levemente o botão */
}

/* Efeito ao clicar (Active) */
.btn-interest:active {
    transform: translateY(1px); /* Dá a sensação de clique físico */
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

/* Ajuste caso use dentro de um container com padding */
.vehicle-card {
    padding: 20px;
    /* Seus estilos atuais do card */
}