/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

:root {
    --primary-color: #0a2342;
    --secondary-color: #ff6b00;
    --text-color: #333333;
    --white: #ffffff;
    --gray: #6c757d;
    --light-bg: #f8f9fa;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #ff6b00;
    color: #ffffff;
}

/* Google Business badge */
.google-card {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    background: #f8f9fa;
    padding: 20px 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
}

.google-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.google-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-rating {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.google-rating .stars {
    color: #fbbc04;
    font-size: 18px;
    display: flex;
    gap: 2px;
}

.google-rating .score {
    margin: 0;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #e65100;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-outline-dark {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-dark:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-search {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.social-icons a {
    color: var(--white);
    margin-left: 15px;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    flex: 0 0 auto;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hamburger {
    flex: 0 0 auto;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    box-sizing: border-box;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

.btn-contact {
    background-color: #25D366; /* WhatsApp green */
    color: var(--white);
    padding: 12px 28px;
    border-radius: 28px;
    white-space: nowrap;
    border: none;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

.btn-contact:hover {
    background-color: #1ebe57;
    transform: translateY(-1px) scale(1.06);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.3);
}

.btn-contact:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.35);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.15);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        box-shadow: var(--shadow);
        will-change: max-height, padding;
    }

    .nav-links.active {
        max-height: 500px;
        padding: 20px 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    min-height: 70vh;
    height: auto;
    background: url('fotocapa.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    color: var(--white);
    padding: 60px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 25%, rgba(10, 35, 66, 0.7) 100%);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Google Reviews */
.google-reviews {
    padding: 60px 0;
    background-color: var(--white);
}

.ra-card {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    background: #f6fff9;
    padding: 18px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    border: 1px solid #00a85920;
}

.ra-logo-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
}

.ra-logo-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ra-rating .ra-title {
    margin: 0;
    font-weight: 700;
    color: var(--primary-color);
}

.ra-rating .ra-score {
    margin: 2px 0;
    font-weight: 600;
    color: #00a859;
}

.ra-rating .ra-cta {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.ra-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .google-card {
        flex-direction: column;
        text-align: center;
    }

    .ra-card {
        flex-direction: column;
        text-align: center;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 40px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.hero h2 .highlight-full {
    display: inline;
    background: rgba(255, 107, 0, 0.9);
    color: #fff;
    padding: 1px 4px;
    border-radius: 0;
    box-shadow: none;
}

/* highlight removed */

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

/* Search Section */
.search-section {
    background-color: var(--white);
    padding: 30px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow);
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group select, .form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
}

/* Featured Section */
.featured {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--gray);
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 320px));
    gap: 30px;
    justify-content: start;
}

.car-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.car-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.car-card:hover .car-image img {
    transform: scale(1.1);
}

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.car-details {
    padding: 25px;
}

.car-details h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price {
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 0.9rem;
}

.specs span i {
    margin-right: 5px;
    color: var(--primary-color);
}

.btn-card {
    display: block;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
}

.btn-card:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.view-all {
    text-align: center;
    margin-top: 50px;
}

/* Financing Section */
.financing {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.financing .section-header {
    margin-bottom: 40px;
}

.financing h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.bank-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.bank-logos img {
    height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    .bank-logos {
        gap: 30px;
    }
    .bank-logos img {
        height: 40px;
        width: 40%; /* 2x2 layout roughly */
        object-fit: contain;
    }
}

/* Platforms Section */
.platforms {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.platforms .section-header {
    margin-bottom: 40px;
}

.platforms h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.platform-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.platform-logos img {
    height: 50px;
    width: auto;
}

.mercado-livre-logo {
    height: 40px;
}

@media (max-width: 768px) {
    .platform-logos {
        gap: 30px;
    }
    .platform-logos img {
        height: 40px;
        width: 40%; /* 2x2 layout roughly */
        object-fit: contain;
    }
}

/* Services */
.services {
    background-color: var(--white);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.service-item {
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-item:hover {
    background-color: var(--light-bg);
}

.service-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Contact */
.contact {
    padding: 80px 0;
    background-color: var(--light-bg);
    scroll-margin-top: 120px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info-box {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px;
}

.contact-info-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.info-list {
    margin-top: 40px;
}

.info-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.info-list li i {
    width: 30px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.contact-form-box {
    padding: 50px;
}

.contact-form-box h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    background-color: #05162b;
    color: #adb5bd;
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

.footer-col p a {
    color: #adb5bd;
    text-decoration: none;
}

.footer-col p a:hover {
    color: var(--secondary-color);
}

.footer-col ul li {
    margin: 0;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.footer-col ul li a {
    display: inline-block;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    flex: 1;
}

.newsletter-form button {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    border: none;
    color: var(--white);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}
/* WhatsApp Container */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 36px;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    animation: bounce 1.5s ease-in-out infinite;
}

/* WhatsApp Chat Bubble */
.whatsapp-chat {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.whatsapp-chat.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: #075e54;
    color: white;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.chat-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-name {
    font-weight: 600;
    font-size: 14px;
}

.chat-status {
    font-size: 11px;
    opacity: 0.8;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.chat-body {
    background: #e5ddd5;
    padding: 16px;
    max-height: 250px;
    overflow-y: auto;
}

.chat-message {
    background: #fff;
    padding: 10px 14px;
    border-radius: 0 12px 12px 12px;
    margin-bottom: 10px;
    max-width: 90%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

.chat-message p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.chat-time {
    font-size: 10px;
    color: #999;
    display: block;
    text-align: right;
    margin-top: 4px;
}

.chat-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 14px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.chat-cta:hover {
    background: #128c7e;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
        box-shadow: 0 4px 8px rgba(37, 211, 102, 0.35);
    }
    50% {
        transform: translateY(-15px);
        box-shadow: 0 12px 24px rgba(37, 211, 102, 0.6);
    }
    100% {
        transform: translateY(0);
        box-shadow: 0 4px 8px rgba(37, 211, 102, 0.35);
    }
}

@keyframes pulse {
    0% {
        transform: translateY(0);
        box-shadow: 0 4px 8px rgba(37, 211, 102, 0.35);
    }
    50% {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(37, 211, 102, 0.5);
    }
    100% {
        transform: translateY(0);
        box-shadow: 0 4px 8px rgba(37, 211, 102, 0.35);
    }
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-container {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .whatsapp-chat {
        width: 290px;
        right: -5px;
    }
}

/* Modal de Detalhes do Veículo */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #000;
    transform: rotate(90deg);
}

.modal-body-veiculo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.galeria-veiculo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.galeria-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.foto-destaque {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.miniaturas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.miniatura {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.miniatura:hover,
.miniatura.ativa {
    border-color: var(--secondary-color);
    opacity: 1;
}

.info-veiculo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-veiculo h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin: 0;
}

.preco-veiculo {
    font-size: 32px;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 0;
}

.specs-detalhados {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.spec-item i {
    font-size: 20px;
    color: var(--secondary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.spec-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-item .label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    font-weight: 600;
}

.spec-item .valor {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.descricao-veiculo {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.descricao-veiculo h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.descricao-veiculo p {
    color: var(--gray);
    line-height: 1.8;
}

.opcionais-veiculo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.opcional {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: var(--light-bg);
    border-radius: 6px;
    font-size: 14px;
    color: var(--primary-color);
}

.opcional i {
    color: var(--secondary-color);
}

.modal-acoes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.modal-acoes .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsivo */
@media (max-width: 768px) {
    .modal-body-veiculo {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .foto-destaque {
        height: 300px;
    }

    .specs-detalhados {
        grid-template-columns: 1fr;
    }

    .modal-acoes {
        grid-template-columns: 1fr;
    }

    .info-veiculo h2 {
        font-size: 22px;
    }

    .preco-veiculo {
        font-size: 24px;
    }
}

/* Setas de navegação da galeria */
.seta-foto {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 100;
    transition: all 0.3s ease;
}

.seta-foto:hover {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 20px;
}

.seta-esquerda {
    left: 10px;
}

.seta-direita {
    right: 10px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox.active {
    display: block;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    max-height: 90vh;
    object-fit: contain;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Setas do lightbox */
.seta-lightbox {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 32px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 2100;
    transition: all 0.3s ease;
}

.seta-lightbox:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

@media only screen and (max-width: 700px){
    .lightbox-content {
        width: 100%;
    }
}

/* Video Popup */
.video-popup {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    animation: fadeIn 0.5s;
    backdrop-filter: blur(5px);
}

.video-popup-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.popup-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #000 100%);
    padding: 20px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.icon-wrapper {
    font-size: 3rem;
    color: #ff6b00; /* Orange accent */
    margin-bottom: 5px;
}

.pulse-icon {
    animation: pulse 2s infinite;
}

.popup-text h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.popup-text p {
    margin: 5px 0 0;
    font-size: 1rem;
    opacity: 0.9;
}

.bounce-arrow {
    display: inline-block;
    margin-left: 5px;
    animation: bounce 2s infinite;
    color: #ff6b00;
}

.video-popup-close {
    color: rgba(255, 255, 255, 0.7);
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    line-height: 1;
}

.video-popup-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.video-wrapper-popup {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper-popup iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .video-popup-content {
        margin: 10% 12px;
        width: calc(100% - 24px);
        max-width: none;
        border-radius: 12px;
    }

    .popup-header {
        padding: 16px;
    }

    .popup-text h3 {
        font-size: 1.2rem;
    }

    .popup-text p {
        font-size: 0.95rem;
    }

    .video-popup-close {
        right: 10px;
        top: 8px;
        font-size: 28px;
    }
}

@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.95);} 
    to {opacity: 1; transform: scale(1);}
}

@keyframes pulse {
    0% { transform: scale(1); text-shadow: 0 0 0 rgba(255, 107, 0, 0.7); }
    70% { transform: scale(1.1); text-shadow: 0 0 20px rgba(255, 107, 0, 0); }
    100% { transform: scale(1); text-shadow: 0 0 0 rgba(255, 107, 0, 0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}

/* Sobre Nós Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 30px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefits-list i {
    color: #34A853;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.about-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-left: 4px solid #ff6b00;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: #ff6b00;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-card {
        grid-template-columns: 1fr;
    }
}

/* História do Toninho */
.toninho-story {
    text-align: center;
}

.story-text p {
    font-weight: 500;
    color: #333;
}

.video-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    background-color: transparent;
}

/* Serviços e Documentação */
.services-documentation {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services-documentation h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #ff6b00;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    color: #ff6b00;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-documentation h2 {
        font-size: 2rem;
    }
}

/* Página Sobre Nós */
.hero-about {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5c 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 500px;
}

.hero-about .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-about .hero-content {
    position: relative;
    z-index: 2;
}

.hero-about h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-about p {
    font-size: 1.3rem;
    opacity: 0.95;
}

.about-main {
    padding: 80px 0;
}

.about-main .about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-main .about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-main .about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 30px;
}

.toninho-story {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
}

.toninho-story h2 {
    color: var(--primary-color);
    font-weight: 700;
}

.cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5c 100%);
    color: white;
    text-align: center;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background-color: #ff6b00;
    color: white;
}

.cta-buttons .btn-primary:hover {
    background-color: #e55c00;
    transform: translateY(-2px);
}

.cta-buttons .btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-about h1 {
        font-size: 2rem;
    }

    .hero-about p {
        font-size: 1.1rem;
    }

    .about-main .about-text h2 {
        font-size: 2rem;
    }

    .cta-final h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .header-content {
        gap: 16px;
    }

    .logo img {
        max-height: 50px;
    }

    .btn-contact {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .nav-links {
        top: 72px;
        z-index: 1001;
    }

    .hero {
        min-height: 60vh;
        padding: 50px 0 40px;
        background-position: center;
    }

    .hero h2 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .search-section {
        margin-top: 0;
        padding: 24px 0;
    }

    .search-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .featured,
    .services,
    .platforms,
    .google-reviews,
    .financing,
    .contact {
        padding: 60px 0;
    }

    .section-header h3 {
        font-size: 2rem;
    }

    .car-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        justify-content: center;
    }

    .car-card {
        max-width: 340px;
        margin: 0 auto;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-box {
        padding: 32px;
    }

    .contact-map-box {
        min-height: 260px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
}
