/* --- SUL PERFORMANCE | DESIGN SYSTEM V8 --- */

:root {
    --cor-primaria: #004d99;
    --cor-secundaria: #0066cc;
    --cor-destaque: #3496f8;
    --cor-destaque-hover: #127737;
    --branco: #FFFFFF;
    --cinza-claro: #F5F7FA;
    --cinza-texto: #333333;
    --preto: #1a1a1a;
    --zap-color: #25D366;
    --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--branco);
    color: var(--cinza-texto);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

img { height: auto; max-width: 100%; display: block; }

h1, h2, h3, h4, .btn {
    font-family: 'Saira', sans-serif;
    text-transform: uppercase;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.destaque { color: var(--cor-destaque); }

/* --- BOTÕES --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--cor-destaque);
    color: var(--branco);
    padding: 18px 35px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 4px 4px 0 var(--preto);
    border-radius: 4px;
}
.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--preto);
    background-color: var(--cor-destaque-hover);
}

.btn-zap {
    background-color: var(--zap-color);
    color: var(--branco);
    box-shadow: 4px 4px 0 #075E54;
}

/* --- HEADER --- */
header {
    background-color: var(--branco);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #eee;
    height: 90px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo { height: 60px; width: auto; object-fit: contain; }
.top-contact {
    color: var(--cor-primaria);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    text-decoration: none;
    border: 2px solid var(--cor-primaria);
    padding: 8px 15px;
    border-radius: 50px;
    transition: 0.3s;
}
.top-contact:hover {
    background-color: var(--cor-primaria);
    color: white;
}

/* --- HERO --- */
.hero {
    background: var(--cor-secundaria);
    color: var(--branco);
    padding: 60px 0 0;
    text-align: center;
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #e6f2ff;
}
.truck-container {
    margin-top: -20px;
    position: relative;
    z-index: 10;
}
.truck-img {
    width: 700px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,.6));
    transform: translateY(10px);
}
.truck-bg-strip {
    background: linear-gradient(180deg, var(--cor-secundaria) 50%, var(--branco) 50%);
    width: 100%;
    padding-bottom: 10px;
}

/* --- TRUST BAR --- */
.trust-bar {
    background-color: var(--branco);
    padding: 50px 0;
    text-align: center;
    min-height: 180px;
}
.trust-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--cor-primaria);
    border-bottom: 3px solid var(--cor-destaque);
    padding-bottom: 10px;
    display: inline-block;
}

/* --- SERVICES --- */
.services {
    background-color: var(--cinza-claro);
    padding: 80px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    color: var(--cor-primaria);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.service-card {
    background: var(--branco);
    border-top: 5px solid var(--cor-primaria);
    padding: 30px;
    transition: .3s;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,.1);
    border-top-color: var(--cor-destaque);
}
.icon-box {
    color: var(--cor-primaria);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Services Slider Mobile */
.services-slider-container {
    display: none;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
.services-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}
.service-card-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}
.service-card-slide .service-card {
    width: calc(100% - 40px);
    max-width: 100%;
}
.services-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}
.services-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.services-dot.active {
    background-color: var(--cor-destaque);
    transform: scale(1.2);
}

/* --- GALERIA --- */
.gallery-section { padding: 80px 0; background-color: var(--branco); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    height: 250px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* --- SALES SECTION (CORRIGIDA) --- */
.sales-section {
    background-color: var(--preto);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.sales-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.sales-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--branco);
    line-height: 1.1;
}
.sales-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}
.sales-text ul {
    list-style: none;
    margin-bottom: 40px;
    padding: 0;
}
.sales-text li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.sales-text li i {
    color: var(--zap-color);
    font-size: 1.3rem;
    min-width: 24px;
    text-align: center;
}

.sales-right-col {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sales-img-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    z-index: 2;
}
.sales-img-container img {
    width: 100%;
    height: auto;
}

/* Marcas Estáticas (PNG) */
.brands-static {
    margin-top: 30px;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    opacity: 0.8;
}
.brands-static img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1); /* Deixa a imagem branca */
}

/* --- WHY US --- */
.why-us { padding: 80px 0; background-color: var(--cinza-claro); color: var(--cinza-texto); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.feature h3 {
    color: var(--cor-primaria);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.feature i { color: var(--cor-destaque); font-size: 1.2rem; }

/* --- REVIEWS & FAQ --- */
.reviews { padding: 60px 0; background-color: var(--branco); text-align: center; }
.google-badge {
    display: inline-block;
    background: white;
    padding: 20px 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,.1);
    border-radius: 5px;
    border: 1px solid #eee;
}
.stars { color: #f4b400; font-size: 1.2rem; }

.faq { padding: 80px 0; background-color: var(--cinza-claro); }
.faq-item {
    background: var(--branco);
    margin-bottom: 15px;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid var(--cor-primaria);
}
.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--cor-primaria);
    margin-bottom: 5px;
    display: block;
}

/* --- INSTAGRAM --- */
.insta-section { padding: 60px 0; background: #fff; overflow: hidden; cursor: pointer; }
.insta-header { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 30px; }
.insta-header i { font-size: 2rem; background: var(--instagram-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.insta-slider-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}
.insta-slider {
    display: flex;
    gap: 15px;
    padding: 0 20px;
    width: max-content;
}
.insta-card {
    width: 280px;
    height: 350px;
    background: #eee;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s;
}
.insta-card:hover { transform: translateY(-5px); }
.insta-card img { width: 100%; height: 100%; object-fit: cover; }
.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}
.insta-card:hover .insta-overlay { opacity: 1; }
.insta-overlay i { font-size: 3rem; color: white; }

/* --- CTA FINAL (V8 TURBO) --- */
.final-cta {
    /* Gradiente mais profundo e profissional sobre a imagem */
    background: linear-gradient(135deg, rgba(0, 77, 153, 0.95) 0%, rgba(0, 20, 50, 0.98) 100%), url('../img/insta-3.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito Parallax (fica fixo ao rolar) */
    padding: 100px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Badge de Status "Online" */
.cta-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.final-cta p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Botão com destaque extra */
.btn-cta-final {
    font-size: 1.2rem;
    padding: 20px 40px;
    border-radius: 50px; /* Botão arredondado aqui fica mais moderno */
    background: #25D366;
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}
.btn-cta-final:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    background: #20bd5a;
}

/* Responsivo */
@media (max-width: 768px) {
    .final-cta { padding: 80px 0; }
    .final-cta h2 { font-size: 2rem; }
    .btn-cta-final { width: 100%; border-radius: 8px; } /* No mobile volta a ser quadrado para área de toque */
}

/* --- FOOTER V8 (MELHORADO) --- */
footer {
    background-color: #1a1a1a;
    color: #b0b0b0;
    padding: 60px 0 20px;
    border-top: 4px solid var(--cor-destaque);
    font-size: 0.95rem;
}

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

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--cor-destaque);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--cor-destaque);
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.8rem;
    color: var(--cor-primaria);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #666;
}

.footer-bottom strong { color: #888; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

.float-zap {
    text-decoration: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 4px 4px 10px rgba(0,0,0,.3);
    z-index: 999;
    border-radius: 50%;
    transition: transform .2s;
    border: 2px solid white;
}
.float-zap:hover { transform: scale(1.1); }

.zap-tooltip {
    position: absolute;
    right: 70px; top: 50%;
    transform: translateY(-50%) translateX(20px);
    background-color: white; color: #333;
    padding: 10px 15px; border-radius: 8px;
    font-size: 14px; font-weight: 700;
    white-space: nowrap; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0; visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    pointer-events: none; z-index: 1000; font-family: 'Saira', sans-serif;
}
.zap-tooltip::after {
    content: ''; position: absolute; top: 50%; right: -8px; transform: translateY(-50%);
    border-width: 8px 0 8px 8px; border-style: solid; border-color: transparent transparent transparent white;
}
.float-zap.show-tooltip .zap-tooltip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

/* --- POPUP --- */
.popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,.85); z-index: 9999;
    display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s ease;
}
.popup-box {
    background-color: #fff; width: 90%; max-width: 450px;
    padding: 40px 30px; text-align: center;
    border-top: 6px solid var(--cor-destaque);
    position: relative; transform: scale(.8);
    transition: transform .3s ease; border-radius: 8px;
}
.popup-overlay.active { display: flex; opacity: 1; }
.popup-overlay.active .popup-box { transform: scale(1); }
.close-btn {
    position: absolute; top: 5px; right: 10px;
    background: none; border: none; font-size: 2rem; cursor: pointer;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .truck-img { width: 100%; }
    .header-content { flex-direction: column; gap: 10px; }
    header { height: auto; padding: 10px 0; }
    .btn { width: 100%; }
    .sales-content { grid-template-columns: 1fr; text-align: center; }
    .sales-text li { justify-content: center; text-align: left; }
    .sales-right-col { order: -1; margin-bottom: 20px; }
    
    .services-grid { display: none; }
    .services-slider-container { display: block; }
    .services .container { padding: 0 20px; }
    .services-dots { display: flex; }
}

/* --- SEÇÃO COMERCIAL & INDUSTRIAL (DARK MODE) --- */
.commercial-section {
    /* Imagem de fundo com sobreposição escura para ler o texto */
    background: linear-gradient(rgba(0, 20, 40, 0.85), rgba(0, 20, 40, 0.9)), url('../img/back.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito Parallax (fica parado ao rolar) */
    padding: 100px 0;
    color: white;
    position: relative;
}

/* Container centralizado */
.commercial-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.commercial-text h2 {
    color: var(--branco);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.commercial-text p { 
    margin-bottom: 25px; 
    font-size: 1.2rem; 
    color: #e0e0e0;
    line-height: 1.6;
}

/* Badge PMOC agora com fundo claro para destacar no escuro */
.pmoc-badge {
    display: inline-block;
    background: var(--branco);
    color: var(--cor-primaria);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 800;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.commercial-list {
    list-style: none;
    margin: 30px auto;
    display: inline-block; /* Para alinhar a lista no centro */
    text-align: left; /* O texto da lista fica alinhado a esquerda para leitura */
}

.commercial-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1.1rem;
    color: #f0f0f0;
}

.commercial-list i { 
    color: var(--zap-color); /* Check verde chama atenção */
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .commercial-text h2 { font-size: 2rem; }
    .commercial-list { width: 100%; }
}

.pmoc-badge {
    display: inline-block;
    background: #003366;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 15px;
    border-left: 5px solid var(--cor-destaque);
}

.commercial-list {
    list-style: none;
    margin-top: 20px;
}
.commercial-list i { color: var(--cor-destaque); }

/* --- BADGES DE PROMOÇÃO E PAGAMENTO --- */
.promo-tag {
    background-color: #ffcc00;
    color: #333;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-left: 10px;
    vertical-align: middle;
    animation: pulse-promo 2s infinite;
}

.payment-info {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 8px;
    margin-top: 25px;
    text-align: center;
}
.payment-info p { margin: 0; font-size: 0.95rem !important; }
.payment-icons {
    font-size: 1.5rem;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    color: #eee;
}

@keyframes pulse-promo {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 992px) {
    .commercial-grid { grid-template-columns: 1fr; }
    .commercial-img { order: -1; margin-bottom: 20px; }
}
