/* ==========================================================================
   1. CONFIGURAÇÕES GERAIS & RESETS
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f9fa;
    color: #333333;
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. CABEÇALHO (HEADER)
   ========================================================================== */
.header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 150px; /* Tamanho perfeito para o computador */
    width: auto;
    object-fit: contain;
}

.btn-ligar {
    background-color: #0056b3;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-ligar:hover {
    background-color: #004085;
}

/* ==========================================================================
   3. SEÇÃO PRINCIPAL (HERO)
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, #002d62 0%, #0056b3 100%);
    color: #ffffff;
    padding: 60px 0; /* Ajustado para melhor espaçamento vertical */
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.hero-texto {
    flex: 1.2; /* Permite que o bloco de textos preencha melhor o espaço */
    min-width: 300px;
}

.hero-texto h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-texto h1 span {
    color: #ffcc00;
}

.hero-texto p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-imagem {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s, background 0.3s;
}

.btn-whatsapp:hover {
    background-color: #1ebd57;
    transform: translateY(-2px);
}

/* CARROSSEL ADAPTADO PARA A FOTO ENVIADA (Proporção 16:9) */
.carrossel {
    position: relative;
    width: 100%;
    max-width: 500px; /* Reduzido levemente para evitar áreas vazias laterais */
    aspect-ratio: 16 / 9; 
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.carrossel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* ==========================================================================
   4. SEÇÃO PRODUTOS / CATEGORIAS
   ========================================================================== */
.produtos {
    padding: 80px 0;
    text-align: center;
}

.produtos h2 {
    font-size: 2.2rem;
    color: #002d62;
    margin-bottom: 10px;
}

.subtitulo-secao {
    color: #666666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.card-produto {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    border-top: 5px solid #0056b3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-produto:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-produto.card-destaque {
    border-top: 5px solid #0056b3;
}

.imagem-produto {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.imagem-produto img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.card-produto:hover .imagem-produto img {
    transform: scale(1.08);
}

.card-produto h3 {
    font-size: 1.25rem;
    color: #002d62;
    margin-bottom: 12px;
}

.card-produto p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.link-orcamento {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.link-orcamento:hover {
    color: #002d62;
    text-decoration: underline;
}

/* ==========================================================================
   5. SEÇÃO: POR QUE ESCOLHER (DIFERENCIAIS)
   ========================================================================== */
.diferenciais {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.diferenciais h2 {
    font-size: 2.2rem;
    color: #002d62;
    margin-bottom: 50px;
}

.diferenciais h2 span, .como-chegar h2 span {
    color: #002d62;
}

.grid-diferenciais {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.item-diferencial {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circulo-icone {
    width: 65px;
    height: 65px;
    background-color: #fff9e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.circulo-icone i {
    color: #ffcc00;
    font-size: 1.6rem;
}

.item-diferencial h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 8px;
}

.item-diferencial p {
    font-size: 0.9rem;
    color: #666;
}

/* ==========================================================================
   6. SEÇÃO: DEPOIMENTOS (ADAPTADO PARA O WIDGET)
   ========================================================================== */
.depoimentos {
    padding: 60px 0;
    background-color: #f1f3f5;
    text-align: center;
}

/* ==========================================================================
   7. SEÇÃO: COMO CHEGAR (MAPA)
   ========================================================================== */
.como-chegar {
    padding: 80px 0;
    background-color: #f1f3f5;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.como-chegar h2 {
    font-size: 2.2rem;
    color: #002d62;
    margin-bottom: 5px;
}

.subtitulo-mapa {
    color: #5c677d;
    margin-bottom: 40px;
}

.mapa-flex {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    gap: 30px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.mapa-info {
    flex: 1;
    min-width: 280px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.titulo-endereco {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
}

.titulo-endereco i {
    color: #ffcc00;
    font-size: 2rem;
}

.titulo-endereco h3 {
    color: #002d62;
    font-size: 1.3rem;
}

.titulo-endereco p {
    color: #666;
}

.btn-mapa {
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    transition: opacity 0.2s;
}

.btn-mapa:hover {
    opacity: 0.9;
}

.btn-google-maps {
    background-color: #0f2c59;
}

.btn-waze {
    background-color: #33ccff;
}

.mapa-imagem {
    flex: 1.3;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mapa-imagem iframe {
    width: 100%;
    height: 350px;
    display: block;
}

/* ==========================================================================
   8. BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebd57;
}

/* ==========================================================================
   9. RESPONSIVIDADE (CELULARES)
   ========================================================================== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 12px;
    }
    .logo { height: 85px; }
    .btn-ligar, .btn-whatsapp { width: 100%; justify-content: center; }
    .hero { padding: 40px 0; text-align: center; }
    .hero-texto h1 { font-size: 2rem; }
    .produtos { padding: 50px 0; }
    .produtos h2, .diferenciais h2, .como-chegar h2 { font-size: 1.8rem; }
    .grid-produtos, .grid-diferenciais { grid-template-columns: 1fr; gap: 20px; }
    .mapa-flex { flex-direction: column; padding: 20px; }
    .mapa-info { width: 100%; }
}
/* ==========================================================================
   10. SEÇÃO CTA FINAL & RODAPÉ
   ========================================================================== */
.text-center {
    text-align: center;
}

.cta-final {
    background: linear-gradient(135deg, #002d62 0%, #0056b3 100%);
    color: #ffffff;
    padding: 60px 0;
}

.badge-atendimento {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffcc00;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 192, 0, 0.2);
}

.cta-final h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.cta-final h2 span {
    color: #ffffff;
}

.cta-final p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.cta-botoes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-whatsapp-cta {
    background-color: #25d366;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.btn-whatsapp-cta:hover {
    background-color: #1ebd57;
}

.btn-ligar-cta {
    background-color: #e6b800;
    color: #0b2545;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.btn-ligar-cta:hover {
    background-color: #e6b800;
}

/* Estilo do Rodapé */
.footer {
    background-color: #0b2545;
    color: #ffffff;
    padding: 25px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    margin: 2px 0;
}

.footer .creditos {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Responsivo para celulares */
@media (max-width: 768px) {
    .cta-final {
        padding: 40px 0;
    }
    .cta-final h2 {
        font-size: 1.8rem;
    }
    .cta-botoes {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .btn-whatsapp-cta, .btn-ligar-cta {
        justify-content: center;
        width: 100%;
    }
}