* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #222;
    background: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
.topo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #5B010A;
    z-index: 1000;
    padding: 12px 0;
}

.topo-conteudo {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.marca {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

.menu {
    display: flex;
    gap: 28px;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: 0.3s;
}

.menu a:hover {
    color: #d9d9d9;
}

/* BANNER */
.banner {
    position: relative;
    height: 100vh;
    min-height: 750px;
    background: url('../img/caminhao.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.banner-conteudo {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);

    z-index: 2;
    color: #fff;
    width: 90%;
    max-width: 980px;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-marca {
    justify-content: center;
}

.banner-conteudo .logo {
    height: 130px;
    width: auto;
    margin-bottom: 12px;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.banner-conteudo p {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 14px;
    text-align: center;
    max-width: 900px;
}

.subtexto {
    display: block;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    opacity: 0.95;
}

/* INSTITUCIONAL */
.institucional {
    padding: 90px 0;
    text-align: center;
    background: #fff;
}

.institucional h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #5B010A;
    font-weight: 800;
    letter-spacing: 1px;
}

.institucional p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

/* FOOTER */
.rodape {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 25px 0;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .topo-conteudo {
        flex-direction: column;
        gap: 15px;
    }

    .menu {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner-conteudo {
        margin-top: -70px;
        max-width: 92%;
    }

    .banner-conteudo .logo {
        height: 130px;
    }

    .banner-conteudo p {
        font-size: 22px;
    }

    .subtexto {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .logo {
        height: 42px;
    }

    .menu a {
        font-size: 14px;
    }

    .banner {
        min-height: 520px;
        padding-top: 100px;
    }

    .banner-conteudo {
        margin-top: -30px;
    }

    .banner-conteudo .logo {
        height: 95px;
    }

    .banner-conteudo p {
        font-size: 18px;
    }

    .subtexto {
        font-size: 15px;
    }
}

/* CATEGORIAS */
.categorias {
    padding: 90px 0;
    background: #f7f7f7;
    text-align: center;
}

.categorias h2 {
    font-size: 40px;
    color: #5B010A;
    margin-bottom: 15px;
    font-weight: 800;
}

.categorias-subtitulo {
    max-width: 820px;
    margin: 0 auto 45px;
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

.cards-categorias {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.card-categoria {
    background: #fff;
    border-radius: 14px;
    padding: 35px 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-categoria:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.icone-categoria {
    font-size: 42px;
    margin-bottom: 18px;
    color: #5B010A;
}

.card-categoria h3 {
    font-size: 24px;
    color: #5B010A;
    margin-bottom: 15px;
}

.card-categoria p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* RESPONSIVO CARDS */
@media (max-width: 1100px) {
    .cards-categorias {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards-categorias {
        grid-template-columns: 1fr;
    }

    .categorias h2 {
        font-size: 32px;
    }

    .categorias-subtitulo {
        font-size: 16px;
    }
}

.card-categoria:hover .icone-categoria {
    color: #a00000;
    transform: scale(1.1);
    transition: 0.3s;
}

/* PÁGINA TOPO */
.pagina-topo {
    padding: 140px 0 60px;
    background: #f5f5f5;
    text-align: center;
}

.pagina-topo h1 {
    font-size: 42px;
    color: #5B010A;
    margin-bottom: 12px;
}

.pagina-topo p {
    font-size: 18px;
    color: #444;
}

/* MAPA */
.unidades-mapa {
    padding: 40px 0 60px;
    background: #fff;
}

#mapa-unidades {
    width: 100%;
    height: 500px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* LISTA DE UNIDADES */
.lista-unidades {
    padding: 20px 0 90px;
    background: #fff;
}

.lista-unidades h2 {
    text-align: center;
    font-size: 36px;
    color: #5B010A;
    margin-bottom: 35px;
}



.card-unidade {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    border-left: 5px solid #5B010A;
}

.card-unidade h3 {
    font-size: 20px;
    color: #5B010A;
    margin-bottom: 12px;
    font-weight: 700;
}

.card-unidade p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.card-unidade:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
    .grid-unidades {
        grid-template-columns: 1fr;
    }

    #mapa-unidades {
        height: 380px;
    }
}

/* TOPO PÁGINAS INTERNAS */
.pagina-topo {
    padding: 140px 0 60px;
    background: #f5f5f5;
    text-align: center;
}

.pagina-topo h1 {
    font-size: 42px;
    color: #5B010A;
    margin-bottom: 12px;
}

.pagina-topo p {
    font-size: 18px;
    color: #444;
}

/* MAPA */
.unidades-mapa {
    padding: 40px 0 60px;
    background: #fff;
}

#mapa-unidades {
    width: 100%;
    height: 500px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* LISTA DE UNIDADES */
.lista-unidades {
    padding: 20px 0 90px;
    background: #fff;
}

.lista-unidades h2 {
    text-align: center;
    font-size: 36px;
    color: #5B010A;
    margin-bottom: 35px;
}

.grid-unidades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card-unidade {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    border-left: 5px solid #5B010A;
}

.card-unidade:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}

.card-unidade h3 {
    font-size: 20px;
    color: #5B010A;
    margin-bottom: 12px;
    font-weight: 700;
}

.card-unidade p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

@media (max-width: 900px) {
    #mapa-unidades {
        height: 380px;
    }
}

/* SOBRE */
.sobre {
    padding: 90px 0;
    background: #fff;
}

.sobre-conteudo {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-texto h2 {
    font-size: 36px;
    color: #5B010A;
    margin-bottom: 20px;
}

.sobre-texto p {
    text-align: justify !important;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
}

.sobre-texto {
    max-width: 650px;
}

/*removendo duplicidade na jusificativa do texto sobre e removendo margem*/
/*sobre-texto p {
    text-align: justify;
    line-height: 1.9;
    margin-bottom: 18px;
    text-indent: 0px;
}*/

.sobre-imagem img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    transition: 0.4s;
}

.sobre-imagem img:hover {
    transform: scale(1.02);
}

/* DESTAQUES */
.destaques {
    padding: 90px 0;
    background: #f7f7f7;
    text-align: center;
}

.destaques h2 {
    font-size: 38px;
    color: #5B010A;
    margin-bottom: 40px;
}

.grid-destaques {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card-destaque {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card-destaque:hover {
    transform: translateY(-6px);
}

.card-destaque h3 {
    color: #5B010A;
    margin-bottom: 12px;
}

/* SOCIAL */
.social {
    padding: 90px 0;
    background: #fff;
    text-align: center;
}

.social h2 {
    font-size: 36px;
    color: #5B010A;
    margin-bottom: 40px;
}

.grid-social {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.card-social {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 14px;
    text-decoration: none;
    color: #222;
    transition: 0.3s;
    border: 2px solid transparent;
}

.card-social:hover {
    border-color: #5B010A;
    transform: translateY(-5px);
}

.card-social h3 {
    color: #5B010A;
    margin-bottom: 10px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .sobre-conteudo {
        grid-template-columns: 1fr;
    }
}

/* PRODUTOS */
.produtos-lista {
    padding: 90px 0;
    background: #f7f7f7;
}

.produtos-lista h2 {
    text-align: center;
    font-size: 40px;
    color: #5B010A;
    margin-bottom: 15px;
}

.produtos-subtitulo {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.card-produto {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.card-produto:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.produto-imagem {
    width: 100%;
    height: 220px;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* MOSTRA O TRATOR INTEIRO */
    padding: 10px;
    background: #fff;
}

.produto-conteudo {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.produto-categoria {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #5B010A;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.produto-conteudo h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 12px;
}

.produto-conteudo p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    flex: 1;
}

.botao-produto {
    display: inline-block;
    background: #5B010A;
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
    text-align: center;
}

.botao-produto:hover {
    background: #7a0a16;
}

@media (max-width: 600px) {
    .produtos-lista h2 {
        font-size: 32px;
    }

    .produto-imagem {
        height: 200px;
    }
}

/* BANNER PRODUTOS */
.banner-produtos {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.banner-produtos img {
    width: 100%;
    max-width: 1500px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0);
}

/* CONTATO */
.contato-area {
    padding: 90px 0;
    background: #f7f7f7;
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.card-contato {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.card-contato h2 {
    font-size: 28px;
    color: #5B010A;
    margin-bottom: 18px;
}

.card-contato p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 10px;
}

.destaque-contato {
    border-left: 6px solid #5B010A;
}

.item-contato {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5e5e5;
}

.titulo-item {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #5B010A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.lista-servicos-contato {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0 30px;
}

.servico-contato {
    background: #f2f2f2;
    color: #333;
    padding: 10px 14px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.botao-contato,
.botao-whatsapp {
    display: inline-block;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
    text-align: center;
}

.botao-contato {
    background: #5B010A;
    color: #fff;
}

.botao-contato:hover {
    background: #7a0a16;
}

.whatsapp-card {
    border-top: 5px solid #25D366;
}

.whatsapp-numero {
    margin: 20px 0;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.botao-whatsapp {
    background: #25D366;
    color: #fff;
}

.botao-whatsapp:hover {
    background: #1ea952;
}

@media (max-width: 600px) {
    .card-contato {
        padding: 26px 22px;
    }

    .card-contato h2 {
        font-size: 24px;
    }

    .whatsapp-numero {
        font-size: 20px;
    }
}

/* BOTÃO WHATSAPP FLUTUANTE */
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.3s ease, background 0.3s ease;
}

.whatsapp-float i {
    font-size: 34px;
    line-height: 1;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    background: #1ebe5d;
}

@media (max-width: 600px) {
    .whatsapp-float {
        width: 58px;
        height: 58px;
        right: 18px;
        bottom: 18px;
    }

    .whatsapp-float i {
        font-size: 30px;
    }
}