/* ============================================================
   1. CONFIGURAÇÕES GERAIS E TIPOGRAFIA
   ============================================================ */
body {
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 40px 0;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* ============================================================
   2. COMPONENTES REUTILIZÁVEIS (BOTÕES E TÍTULOS)
   ============================================================ */
.section-title {
    width: 100%;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 40px;
}

.botao {
    background: #ef8024;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 128, 36, 0.3);
    border: none;
    cursor: pointer;
}

.botao:hover {
    background: #d26e1e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(239, 128, 36, 0.4);
}

.botao-centralizado {
    text-align: center;
    margin-top: 30px;
}

.botao-centralizado .botao {
    margin: 0 auto;
}

/* ============================================================
   3. CABEÇALHO (HEADER & NAV)
   ============================================================ */
header {
    background-color: #1a1a1a;
    width: 100%;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

nav > a {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 70px;
    width: auto;
}

/* Container dos Links no Desktop */
.nav-menu-container {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 600;
    font-size: 0.78rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.ativo {
    color: #ef8024; /* Fica laranja no hover e na página ativa */
}

/* ====== MENU HAMBÚRGUER ====== */
.menu-hamburguer {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.menu-hamburguer span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #ef8024;
    border-radius: 2px;
    transition: 0.3s;
}

/* ====== ÍCONES DO HEADER (WHATSAPP E INSTAGRAM) ====== */
.link-icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.icone-rede {
    width: 24px;
    height: 24px;
    stroke: #ef8024;
    fill: none;
    stroke-width: 2;
    transition: 0.3s ease;
}

.link-icone:hover .icone-rede {
    stroke: #fff;
    transform: scale(1.2);
}

.link-icone:hover {
    background-color: rgba(239, 128, 36, 0.15);
    transform: translateY(-2px);
}

/* ============================================================
   4. SEÇÕES DA HOME (HERO E MARCAS)
   ============================================================ */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../img/image_8.webp'); 
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 20px; }

.secao-orcamento {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
}

.secao-orcamento p {
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #444;
}

.secao-orcamento .botao {
    margin: 0 auto;
}

.marcas-confianca {
    background: #fff;
    padding: 30px 0 60px 0;
    border-bottom: 1px solid #eee;
}

.marcas-confianca .subtitle {
    color: #111;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.marcas-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.marca-logo {
    height: 75px;
    opacity: 1;
    filter: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: pulse-logo 2.8s ease-in-out infinite;
}

.marca-logo[alt="Lubrax"],
.marca-logo[alt="Mobil"],
.marca-logo[alt="Motorcraft"],
.marca-logo[alt="Acdelco"] {
    height: 90px;
}

.marca-logo:hover {
    transform: scale(1.18);
    opacity: 1;
}

@keyframes pulse-logo {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

/* ============================================================
   5. CARDS DE SERVIÇOS (HOME E INTERNAS)
   ============================================================ */
.servicos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: white;
    flex: 0 1 360px;
    min-height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border-bottom: 5px solid #ef8024;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.card:hover { transform: translateY(-10px); }

.servico-img { width: 100%; height: 220px; object-fit: cover; }

.sobre-imagem {
    margin: 0 auto;
    max-width: 560px;
}

.sobre-imagem picture,
.sobre-imagem img {
    width: 100%;
    max-width: 560px;
    border-radius: 20px;
    overflow: hidden;
    display: block;
}

.sobre-imagem picture {
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.card h3 {
    padding: 14px 18px 8px 18px;
    margin: 0;
    text-align: left !important;
    font-size: 1.45rem;
    color: #111;
}

.card p {
    padding: 0 18px 18px 18px;
    margin: 0;
    color: #555;
    line-height: 1.55;
    text-align: left !important;
    flex-grow: 1;
    font-size: 1.03rem;
}

/* ============================================================
   6. CONTEÚDO INFORMATIVO E DIFERENCIAIS
   ============================================================ */
.texto-informativo {
    padding: 40px 20px 20px 20px;
    text-align: center;
}

.texto-informativo p {
    font-size: 1.25rem;
    color: #666;
    max-width: 850px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.vantagens {
    background: #ffffff;
    max-width: 900px;
    margin: 40px auto;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.lista-oleo {
    list-style: none;
    padding: 0;
}

.lista-oleo li {
    position: relative;
    padding: 22px 0 22px 45px;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    font-size: 1.1rem;
    text-align: left;
}

.lista-oleo li:last-child { border-bottom: none; }

.lista-oleo li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ef8024;
    font-weight: 900;
    font-size: 1.4rem;
}

.lista-oleo li strong {
    color: #333;
    margin-right: 8px;
}

.diferenciais-conteudo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    width: 100%;
}

.diferenciais-conteudo h2,
.diferenciais-conteudo p {
    width: 100%;
    max-width: 700px;
}

.diferenciais-conteudo .lista-diferenciais {
    display: inline-block;
    text-align: left;
    padding: 0;
    margin: 0 auto;
}

.diferenciais-conteudo p,
.diferenciais-conteudo .lista-diferenciais li {
    text-align: justify;
}

.diferenciais-conteudo p {
    margin: 0 0 30px 0;
}

/* ============================================================
   7. RODAPÉ (FOOTER)
   ============================================================ */
.footer-elegante {
    background-color: #0d0d0d;
    padding: 50px 20px 20px 20px; 
    color: #ffffff;
}

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

.footer-col { flex: 1; min-width: 250px; }
.footer-col:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.footer-logo-img {
    max-width: 70px;
    width: 100%;
    height: auto;
    display: block;
}
.footer-logo-text {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-top: 0;
    line-height: 1.2;
}
.footer-col h3 { color: #ef8024; margin-bottom: 25px; }
.footer-col p,
.footer-col ul li a,
.footer-col a.link-contato,
.footer-col a.link-endereco,
.footer-bottom a {
    font-size: 0.9rem;
    color: #ffffff;
    text-decoration: none;
}

.footer-col a:hover,
.footer-bottom a:hover {
    color: #ef8024;
}

.info-item { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.info-item svg { width: 20px; stroke: #ef8024; fill: none; stroke-width: 2; }

.footer-social { display: flex; gap: 15px; margin-top: 20px; }
.icone-footer svg { width: 24px; height: 24px; stroke: #fff; transition: 0.3s; }
.icone-footer:hover svg { stroke: #ef8024; transform: translateY(-3px); }

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto; 
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #888;
}

/* ============================================================
   8. COMPONENTES FLUTUANTES E SNACKBAR
   ============================================================ */
.btn-whatsapp-flutuante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #25d366 0%, #20b75b 100%);
    border: 3px solid rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.35);
    overflow: visible;
    animation: pulse-btn 1.8s ease-in-out infinite alternate;
}

.btn-whatsapp-flutuante:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 22px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.35);
}

.btn-whatsapp-flutuante .btn-pulse-ring {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 50%;
    opacity: 0.8;
    animation: pulse-ring 1.8s ease-out infinite;
    pointer-events: none;
    z-index: 0;
}

.btn-whatsapp-flutuante .btn-pulse-ring.delay-1 {
    animation-delay: 0.9s;
}

.btn-whatsapp-flutuante svg {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
}

.btn-whatsapp-flutuante svg path {
    fill: #ffffff;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.35);
        opacity: 0.1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes pulse-btn {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
}

.snackbar-container {
    position: fixed;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 14px;
    z-index: 9999;
}

.snackbar-container .snackbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #322F35;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 16px;
    opacity: 0;
    transform: translateY(100%);
    animation: snackbar-opening 0.25s ease-in-out forwards;
}

@keyframes snackbar-opening {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0%); }
}

/* ============================================================
   9. RESPONSIVIDADE
   ============================================================ */
@media (max-width: 992px) {
    /* Header Mobile */
    .menu-hamburguer { display: flex; }
    nav { flex-direction: row !important; justify-content: space-between !important; }
    
    .nav-menu-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a1a1a;
        flex-direction: column;
        padding: 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); 
        transition: clip-path 0.4s ease-in-out;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }

    .nav-menu-container.ativo {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        padding: 20px 0;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #333;
    }

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

    .link-icone {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px auto;
    }

    .link-icone .icone-rede {
        width: 28px;
        height: 28px;
    }

    /* Animação do X no menu hambúrguer */
    .menu-hamburguer.ativo span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .menu-hamburguer.ativo span:nth-child(2) { opacity: 0; }
    .menu-hamburguer.ativo span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .section-title { font-size: 1.8rem; }
    .card { flex: 1 1 100%; }
    .footer-elegante-container { flex-direction: column; text-align: center; }
    .info-item, .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* ============================================================
   9. BANNER DE COOKIES (LGPD)
   ============================================================ */
.lgpd-fixo {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lgpd-conteudo {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.lgpd-conteudo p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
}

.lgpd-conteudo p a {
    color: #ef8024;
    text-decoration: underline;
}

.btn-aceitar-lgpd {
    background: #ef8024;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
}

.btn-aceitar-lgpd:hover {
    background: #d66f1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 128, 36, 0.4);
}

@media (max-width: 768px) {
    .lgpd-conteudo {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .btn-aceitar-lgpd {
        width: 100%;
        max-width: 200px;
    }
}