/* 
  Reset básico
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #1a1a1a;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(46, 125, 50, 0.15) 0px,
        rgba(46, 125, 50, 0.15) 1px,
        transparent 1px,
        transparent 50px
    );
    background-attachment: fixed;
    color: #e2e8f0;
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

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

/* 
  Variáveis de Cores (Paleta)
*/
:root {
    --primary-color: #0E8E45; /* Verde Chapecoense */
    --primary-hover: #0A6933;
    --secondary-color: #111827; /* Cinza muito escuro/Preto */
    --secondary-hover: #000000;
    --text-color: #e2e8f0;
    --light-bg: rgba(255, 255, 255, 0.05);
    --gray-bg: rgba(0, 0, 0, 0.2);
    --border-color: rgba(255, 255, 255, 0.1);
}

/* 
  Botões 
*/
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(14, 142, 69, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Botão Ignição (Ligar Agora) */
.btn-ignition {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px; /* Pill arredondado */
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(145deg, #2b2b2b, #4a4a4a);
    border: 2px solid #c0c0c0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4), 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-ignition:hover {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4), 0 0 12px var(--primary-color);
    color: #fff;
}

.btn-ignition:hover svg {
    stroke: var(--primary-color);
}

.btn-ignition:active {
    transform: scale(0.95);
}

/* 
  Header / Navbar
*/
.header {
    background-color: var(--light-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* 
  1. Hero
*/
.hero {
    background-color: rgba(14, 142, 69, 0.15);
    color: #fff;
    padding: 80px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
}

.placeholder-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    object-fit: cover;
}

/* 
  2. Problema / Dor
*/
.dor {
    padding: 90px 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(14, 142, 69, 0.06) 50%, rgba(0,0,0,0.25) 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 2;
}

.dor-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.dor-texto {
    flex: 1.2;
    text-align: left;
}

.dor-texto h2 {
    color: var(--primary-color);
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dor-texto p {
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.8;
}

.dor-img {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.foto-dor {
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: 16px;
    border: 2px solid rgba(14, 142, 69, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(14, 142, 69, 0.25);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    object-fit: cover;
}

.foto-dor:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(14, 142, 69, 0.45);
    border-color: var(--primary-color);
}

/* 
  3. Serviços
*/
.servicos {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.section-title.text-left {
    text-align: left;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.servico-card {
    background: var(--light-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.servico-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.servico-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.servico-card p {
    color: var(--text-color);
}

/* 
  4. Diferenciais
*/
.diferenciais {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.diferenciais-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.diferenciais-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.foto-diferenciais {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    border: 2px solid rgba(14, 142, 69, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(14, 142, 69, 0.25);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    object-fit: cover;
}

.foto-diferenciais:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(14, 142, 69, 0.45);
    border-color: var(--primary-color);
}

.diferenciais-texto {
    flex: 1;
}

.diferenciais-lista li {
    margin-bottom: 20px;
    background: var(--gray-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.diferenciais-lista strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

/* 
  5. Processo (Como funciona)
*/
.processo {
    padding: 80px 0;
    background-color: rgba(14, 142, 69, 0.15);
    color: #fff;
}

.processo .section-title {
    color: #fff;
}

.processo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.passo {
    position: relative;
}

.passo-numero {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
}

.passo h3 {
    margin-bottom: 15px;
}

.passo p {
    opacity: 0.9;
}

/* 
  6. Prova Social
*/
.prova-social {
    padding: 80px 0;
    background-color: var(--gray-bg);
    text-align: center;
}

.estatisticas {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.avaliacao-card {
    background-color: var(--light-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    text-align: left;
}

.avaliacao-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.cliente-foto {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.cliente-info h4 {
    color: var(--primary-color);
}

.estrelas {
    font-size: 0.9rem;
}

.depoimento {
    font-style: italic;
    color: var(--text-color);
}

.galeria-clientes {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

/* 
  7. Sobre a Oficina
*/
.sobre {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.sobre-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sobre-texto {
    flex: 1;
}

.sobre-texto p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.sobre-img {
    flex: 1;
}

/* 
  8. CTA Final
*/
.cta-final {
    padding: 80px 0;
    background-color: rgba(14, 142, 69, 0.15);
    color: #fff;
    text-align: center;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-botoes {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-final .btn-outline {
    border-color: #fff;
    color: #fff;
}

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

/* 
  9. Rodapé
*/
.footer {
    background-color: rgba(15, 23, 42, 0.6); /* translúcido escurão */
    color: #cbd5e1;
    padding: 60px 0 20px 0;
}

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

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    margin-bottom: 10px;
}

.redes-sociais {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.redes-sociais a {
    color: var(--secondary-color);
    font-weight: 600;
}

.redes-sociais a:hover {
    color: var(--secondary-hover);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* 
  Botão WhatsApp Flutuante
*/
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 14px rgba(0,0,0,0.4);
}

/* 
  Botão Instagram Flutuante
*/
.instagram-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px;
    right: 40px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-float:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 14px rgba(0,0,0,0.4);
}


/* 
  Responsividade (Mobile)
*/
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 15px;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-btn {
        display: none; /* Ocultar botão do header no mobile para economizar espaço */
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .diferenciais-content, .sobre-container, .dor-container {
        flex-direction: column;
    }
    
    .diferenciais-texto .section-title, .sobre-texto .section-title, .dor-texto {
        text-align: center;
    }

    .dor-texto h2 {
        font-size: 1.85rem;
    }

    .cta-botoes {
        flex-direction: column;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .instagram-float {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* 
  Fundo Dinâmico com Peças Automotivas Flutuantes (Parallax)
*/
.bg-pecas-animadas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1; /* Fica acima do fundo básico, sem bloquear cliques ou interações */
    overflow: hidden;
}

.peca-auto {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.peca-auto svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Variação de brilho e cores das peças automotivas */
.peca-verde {
    color: rgba(14, 142, 69, 0.22);
    filter: drop-shadow(0 0 12px rgba(14, 142, 69, 0.5));
}

.peca-branca {
    color: rgba(255, 255, 255, 0.09);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.peca-prata {
    color: rgba(180, 200, 215, 0.13);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.6));
}

@media (max-width: 768px) {
    .bg-pecas-animadas {
        opacity: 0.65; /* Visual equilibrado e leve para telas pequenas */
    }
}
