/* 
    MAZANI MULTIMARCAS - MOBILE FIRST & ULTRA MODERN 
*/

:root {
    --primary: #8B1A1A;
    --primary-dark: #6B1414;
    --accent: #D4AF37;
    --dark: #121212;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Poppins', sans-serif; 
    color: var(--text-main); 
    background-color: #fff; 
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button, input, select, textarea { font-family: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER (Mobile First) ===== */
.proweb-header {
    background: var(--white);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.header-main { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 40px; }
.proweb-nav { display: none; } /* Hidden on mobile */
.header-contact { display: none; } /* Hidden on mobile */
.mobile-toggle { 
    background: none; border: none; font-size: 24px; cursor: pointer; color: var(--primary);
}

/* Desktop Header */
@media (min-width: 992px) {
    .logo img { height: 50px; }
    .proweb-nav { display: block; }
    .proweb-nav ul { display: flex; gap: 25px; }
    .proweb-nav a { font-size: 14px; font-weight: 600; text-transform: uppercase; }
    .header-contact { display: block; }
    .mobile-toggle { display: none; }
}

/* ===== HERO (Mobile First) ===== */
.proweb-hero { position: relative; height: 45vh; min-height: 450px; background: var(--dark); overflow: hidden; }
.hero-swiper { height: 100%; }
.swiper-button-next, .swiper-button-prev { color: #fff; transform: scale(0.7); }
.swiper-pagination-bullet-active { background: var(--primary); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.4)); }
.hero-content { position: relative; z-index: 10; padding-top: 80px; color: #fff; text-align: center; }
.hero-content h1 { font-size: 32px; line-height: 1.2; margin-bottom: 15px; }
.hero-content h1 span { color: var(--accent); }
.hero-content p { font-size: 16px; margin-bottom: 25px; opacity: 0.9; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }

.btn-proweb-primary, .btn-proweb-outline, .btn-proweb-wa-slide {
    width: 100%; max-width: 280px; height: 50px; /* Altura fixa para equalizar */
    padding: 0 25px; border-radius: 6px; font-weight: 700; text-transform: uppercase; text-align: center;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-proweb-primary { background: var(--primary); color: #fff; }
.btn-proweb-outline { border: 2px solid #fff; color: #fff; }
.btn-proweb-wa-slide { background: #25d366; color: #fff; border: none; }
.btn-proweb-wa-slide:hover { background: #128c7e; color: #fff; }

@media (min-width: 768px) {
    .proweb-hero { height: 55vh; }
    .hero-content { text-align: left; padding-top: 15vh; }
    .hero-content h1 { font-size: 56px; }
    .hero-actions { flex-direction: row; justify-content: flex-start; }
    .btn-proweb-primary, .btn-proweb-outline { width: auto; padding: 15px 35px; }
    .hero-overlay { background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.2)); }
}

/* ===== SEARCH BAR (Mobile First) ===== */
.proweb-search-bar { padding: 20px 0; background: var(--gray-100); }
.search-inner { 
    background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow-md);
    display: flex; flex-direction: column; gap: 15px;
}
.search-field { display: flex; flex-direction: column; gap: 5px; }
.search-field label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.search-field input, .search-field select { 
    padding: 12px; border: 1px solid var(--gray-200); border-radius: 6px; background: var(--gray-100); font-size: 14px;
}
.btn-proweb-search { 
    background: var(--primary); color: #fff; border: none; padding: 15px; border-radius: 6px; font-weight: 700; text-transform: uppercase; cursor: pointer;
}

@media (min-width: 992px) {
    .proweb-search-bar { position: absolute; bottom: -40px; left: 0; width: 100%; background: transparent; padding: 0; }
    .search-inner { flex-direction: row; align-items: flex-end; padding: 25px 40px; }
    .search-field { flex: 1; }
    .btn-proweb-search { min-width: 200px; }
}

/* ===== INVENTORY & CARDS (Mobile First) ===== */
.proweb-inventory { padding: 60px 0; }
.proweb-section-title { text-align: center; margin-bottom: 40px; }
.proweb-section-title h2 { font-size: 28px; color: var(--dark); position: relative; display: inline-block; padding-bottom: 10px; }
.proweb-section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--primary); }

.cars-grid { display: grid; grid-template-columns: 1fr; gap: 25px; }

.car-card {
    background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--gray-200); transition: var(--transition);
    display: flex; flex-direction: column; position: relative;
}
.car-img-wrapper { position: relative; overflow: hidden; margin: 10px; border-radius: 15px; }
.car-img { height: 220px; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.car-price-badge {
    position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff; padding: 8px 25px; border-radius: 50px; font-weight: 700; font-size: 18px; box-shadow: 0 4px 10px rgba(139,26,26,0.3); z-index: 5;
}
.car-details { padding: 25px 20px 20px; text-align: center; }
.car-details h3 { font-size: 18px; margin-bottom: 15px; color: var(--dark); }
.car-info-footer { display: flex; justify-content: center; gap: 20px; padding-top: 15px; border-top: 1px solid var(--gray-100); }
.info-item { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.info-item i { color: var(--primary); }

/* Hover Effects */
.car-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.car-card:hover .car-img { transform: scale(1.1); }

.btn-details-overlay {
    position: absolute; inset: 0; background: rgba(139, 26, 26, 0.8);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition); z-index: 10;
}
.btn-details-overlay span { 
    background: #fff; color: var(--primary); padding: 10px 25px; border-radius: 50px; font-weight: 700; text-transform: uppercase; font-size: 13px;
}
.car-img-wrapper:hover .btn-details-overlay { opacity: 1; }

@media (min-width: 768px) {
    .cars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .cars-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== CUSTOM SEARCH FORM (Mobile First) ===== */
.proweb-custom-search { padding: 60px 0; background: var(--gray-100); }
.custom-search-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.card-info { background: var(--primary); color: #fff; padding: 40px 30px; }
.card-info h2 { font-size: 28px; margin-bottom: 15px; }
.card-info p { font-size: 15px; opacity: 0.9; margin-bottom: 25px; }
.info-items .item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; font-weight: 500; }

.card-form { padding: 40px 30px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.form-grid input, .form-grid select { 
    padding: 14px; border: 1px solid var(--gray-200); border-radius: 8px; background: var(--gray-100); width: 100%; font-size: 15px;
}
.form-grid input:focus { outline: none; border-color: var(--primary); background: #fff; }
.btn-proweb-submit { 
    background: var(--primary); color: #fff; border: none; padding: 16px; border-radius: 8px; font-weight: 700; text-transform: uppercase; cursor: pointer; margin-top: 10px;
}

@media (min-width: 992px) {
    .custom-search-card { flex-direction: row; }
    .card-info { width: 40%; padding: 60px; }
    .card-form { width: 60%; padding: 60px; }
    .form-grid { grid-template-columns: 1fr 1fr; }
    .btn-proweb-submit { grid-column: span 2; }
}

/* ===== GOOGLE REVIEWS (Mobile First) ===== */
.google-reviews-section { padding: 60px 0; background: #fff; }
.review-card { background: var(--gray-100); padding: 25px; border-radius: 15px; height: 100%; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.review-header img { width: 45px; height: 45px; border-radius: 50%; }
.review-header h4 { font-size: 15px; }
.stars { color: #fbbc05; font-size: 11px; }
.review-card p { font-size: 14px; color: var(--text-muted); font-style: italic; }

/* ===== LOCATION & FOOTER (Mobile First) ===== */
.proweb-location { background: #fff; }
.map-full iframe { height: 300px; border-bottom: 4px solid var(--primary); }
.footer-info-section { padding: 50px 0; background: var(--gray-100); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; text-align: center; }
.footer-logo { height: 50px; margin: 0 auto 20px; }

.btn-footer-contact { 
    display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 8px; color: #fff; font-weight: 700; margin-bottom: 12px;
}
.btn-footer-contact.tel { background: #0056b3; }
.btn-footer-contact.wa { background: #25D366; }

.social-icons { display: flex; justify-content: center; gap: 12px; margin-top: 15px; }
.social-icon { width: 36px; height: 36px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; }
.social-icon.fb { background: #3b5998; }
.social-icon.ig { background: #e1306c; }
.social-icon.wa { background: #25D366; }

.footer-col h3 { font-size: 18px; margin-bottom: 20px; color: var(--dark); position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 2px; background: var(--primary); }

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); text-align: left; }
    .footer-col h3::after { left: 0; transform: none; }
    .footer-logo { margin: 0 0 20px; }
    .social-icons { justify-content: flex-start; }
    .map-full iframe { height: 400px; }
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1.2fr 1fr 1fr; }
}

.proweb-footer { background: var(--dark); color: #fff; padding: 25px 0; text-align: center; font-size: 12px; opacity: 0.6; }


/* ===== CAR CARDS ===== */
.car-card-unidas {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.car-card-unidas:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.unidas-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.unidas-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.car-card-unidas:hover .unidas-overlay {
    opacity: 1;
}

.btn-overlay-wa {
    background: #25d366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    transition: var(--transition);
}

.car-card-unidas:hover .btn-overlay-wa {
    transform: translateY(0);
}

.btn-overlay-wa:hover {
    background: #128c7e;
    color: #fff;
}

.unidas-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card-unidas:hover .unidas-img-container img {
    transform: scale(1.0);
}

.unidas-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff0000;
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.unidas-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.unidas-header {
    margin-bottom: 15px;
}

.unidas-brand {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.unidas-model {
    font-size: 18px;
    color: var(--dark);
    font-weight: 700;
    margin-top: 2px;
}

.unidas-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.unidas-specs span {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.unidas-specs i {
    color: var(--primary);
}

.unidas-price-container {
    margin-bottom: 20px;
}

.unidas-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.unidas-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.unidas-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.btn-unidas-primary {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-unidas-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-unidas-primary:hover {
    background: var(--primary-dark);
}

.btn-unidas-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== BOTÃO ESTOQUE COMPLETO ===== */
.full-inventory-cta {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: var(--gray-100);
    border-radius: 12px;
}

.full-inventory-cta p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-weight: 600;
}

.btn-full-inventory {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff6b00;
    color: #fff;
    padding: 12px 25px; /* Tamanho reduzido */
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px; /* Fonte menor */
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.3);
    border: 2px solid #fff;
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
    0% { transform: scale(1); box-shadow: 0 10px 25px rgba(255, 107, 0, 0.4); }
    50% { transform: scale(1.0); box-shadow: 0 15px 35px rgba(255, 107, 0, 0.6); }
    100% { transform: scale(1); box-shadow: 0 10px 25px rgba(255, 107, 0, 0.4); }
}

.btn-full-inventory:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 26, 26, 0.4);
    color: #fff;
}

@media (max-width: 768px) {
    .btn-full-inventory {
        width: 100%;
        justify-content: center;
        font-size: 14px;
    }
}


/* =========================================================
   MENU DESKTOP HOVER (SEGURO)
   ========================================================= */
.proweb-nav ul li a {
    position: relative;
    transition: color .25s ease;
}

.proweb-nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #902323;
    transition: width .25s ease;
}

.proweb-nav ul li a:hover {
    color: #902323;
}

.proweb-nav ul li a:hover::after {
    width: 100%;
}

/* =========================================================
   MENU MOBILE – LIMPO E USÁVEL
   ========================================================= */
@media (max-width: 768px) {
    .proweb-nav ul {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 10px 0;
    }

    .proweb-nav ul li a {
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 16px;
    }

    .proweb-nav ul li a:hover,
    .proweb-nav ul li a:active {
        background-color: rgba(144,35,35,.12);
        color: #902323;
    }

    .proweb-nav ul li a::after {
        display: none;
    }
}

/* =========================================================
   CHECK VERDE DENTRO DO INPUT
   ========================================================= */
.form-grid input.is-valid {
    border-color: #22c55e !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2322c55e' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 42px;
}

/* =========================================================
   SIGA NAS REDES – CURSOR
   ========================================================= */
.social-row .static-text {
    margin-right: 2px;
    font-weight: 600;
}

.social-row .typing-text {
    position: relative;
    padding-right: 10px;
    font-weight: 600;
}

.social-row .typing-text::after {
    content: '|';
    position: absolute;
    right: 0;
    animation: blinkCursor 1s infinite;
}

@keyframes blinkCursor {
    0%,50%,100% { opacity: 1; }
    25%,75% { opacity: 0; }
}


/* =====================================================
   AJUSTE FINAL – IMAGEM PREENCHIDA EM TODAS AS TELAS
   DESKTOP + MOBILE (SEM BORDA LATERAL)
   ===================================================== */

.unidas-img-container {
    height: 260px;
    overflow: hidden;
    background-color: #000;
}

.unidas-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* preenche sempre */
    object-position: 50% 35%;
    transition: transform 0.4s ease;
}

.car-card-unidas:hover .unidas-img-container img {
    transform: scale(1.0);
}

/* Mobile: altura menor para evitar corte exagerado */
@media (max-width: 768px) {
    .unidas-img-container {
        height: 280px;
    }
}


/* =====================================================
   MOBILE – REMOVE QUALQUER ZOOM (UX LIMPA)
   ===================================================== */
@media (max-width: 768px) {
    .car-card-unidas:hover .unidas-img-container img {
        transform: scale(1.0);
    }
}

/* =====================================================
   CTA – PROCURANDO / VENDENDO CARRO (ESTÁVEL)
   ===================================================== */

.cta-dupla {
    padding: 50px 0;
    background: #ffffff;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.cta-card {
    position: relative;
    background: #fff;
    border: 2px solid #d1d5db;
    border-radius: 28px;
    padding: 24px 28px;
    min-height: 190px;
    overflow: visible; /* permite a imagem sair */
}

/* Conteúdo */
.cta-content {
    max-width: 55%;
    position: relative;
    z-index: 3;
}

.cta-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.cta-content h3 span {
    font-weight: 400;
}

.cta-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 14px;
}

.cta-button {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    padding: 8px 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Imagem do carro */
.cta-image {
    position: absolute;
    bottom: -6px;
    width: 50%;
    z-index: 2;
    pointer-events: none;
}

/* Esquerda */
.cta-card--left .cta-image {
    right: -26px;
}

/* Direita */
.cta-card--right .cta-image {
    right: -46px;
}

/* =====================================================
   RESPONSIVO
   ===================================================== */
@media (max-width: 992px) {
    .cta-container {
        grid-template-columns: 1fr;
    }

    .cta-card {
        overflow: hidden;
        min-height: auto;
    }

    .cta-content {
        max-width: 100%;
        text-align: center;
    }

    .cta-image {
        position: static;
        width: 100%;
        margin-top: 16px;
    }
}

