/* =========================
   CONFIGURAÇÕES GERAIS
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================
   HEADER
========================= */

header {
    background: #07111f;
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: white;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo span {
    font-size: 28px;
    font-weight: 800;
    color: #16d978;
}

.logo small {
    font-size: 13px;
    letter-spacing: 4px;
    color: white;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    font-weight: 500;
    transition: .3s;
}

nav a:hover {
    color: #16d978;
}

.btn-topo {
    background: #16d978;
    color: #07111f;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
}

.btn-topo:hover {
    transform: scale(1.05);
}


/* =========================
   HERO PRINCIPAL
========================= */

.hero {
    min-height: 600px;
    background: url("/css/imagens/banner.jpg") center center / cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.texto {
    max-width: 650px;
    color: white;
}

.subtitulo {
    color: #16d978;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.texto h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.texto p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}


/* =========================
   BOTÕES HERO
========================= */

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-principal {
    background: #16d978;
    color: #07111f;
    padding: 15px 32px;
    border-radius: 30px;
    font-weight: 700;
    transition: .3s;
}

.btn-principal:hover {
    background: white;
    transform: translateY(-3px);
}

.btn-secundario {
    border: 2px solid white;
    color: white;
    padding: 13px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: .3s;
}

.btn-secundario:hover {
    background: white;
    color: #07111f;
}


/* =========================
   DIFERENCIAIS
========================= */

.diferenciais {
    padding: 90px 0;
    background: #f7f9fb;
}

.diferenciais .container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.item {
    background: white;
    padding: 35px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    transition: .3s;
}

.item:hover {
    transform: translateY(-8px);
}

.item h3 {
    color: #07111f;
    font-size: 24px;
    margin-bottom: 15px;
}

.item p {
    color: #666;
    line-height: 1.6;
}


/* =========================
   SERVIÇOS
========================= */

.servicos {
    padding: 100px 0;
}

.titulo {
    text-align: center;
    margin-bottom: 60px;
}

.titulo span {
    color: #16d978;
    font-weight: 700;
    letter-spacing: 2px;
}

.titulo h2 {
    font-size: 42px;
    color: #07111f;
    margin: 15px 0;
}

.titulo p {
    color: #666;
    max-width: 700px;
    margin: auto;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    transition: .3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}


/* =========================
   AJUSTE DE ENQUADRAMENTO
   DAS NOVAS IMAGENS
========================= */

/* Portaria: mostra melhor cabeça e parte superior */
.card img.img-portaria {
    object-position: center top;
}

/* Entregas: mantém moto, profissional e veículos visíveis */
.card img.img-entregas {
    object-position: center 35%;
}

/* Terceirização: mantém os rostos da equipe visíveis */
.card img.img-terceirizacao {
    object-position: center top;
}


.card h3 {
    color: #07111f;
    padding: 25px 25px 10px;
}

.card p {
    color: #666;
    padding: 0 25px 25px;
    line-height: 1.6;
}

.card a {
    display: block;
    margin: 0 25px 25px;
    color: #16d978;
    font-weight: 700;
}


/* =========================
   CTA / ORÇAMENTO
========================= */

.cta {
    background: #07111f;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.7;
    opacity: .9;
}


/* =========================
   WHATSAPP FLUTUANTE
========================= */

.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,.30);
    transition: .3s;
    z-index: 999;
}

.whatsapp:hover {
    transform: scale(1.1);
}

.whatsapp img {
    width: 35px;
    height: 35px;
}


/* =========================
   RODAPÉ
========================= */

footer {
    background: #050d18;
    color: white;
    padding: 70px 0 30px;
}

.footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer h3,
.footer h4 {
    margin-bottom: 20px;
}

.footer p {
    color: #cfd8dc;
    margin-bottom: 12px;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 12px;
}

.footer a {
    color: #cfd8dc;
    transition: .3s;
}

.footer a:hover {
    color: #16d978;
}


/* =========================
   RESPONSIVIDADE
========================= */

@media(max-width:1000px) {

    header .container {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .texto h1 {
        font-size: 40px;
    }

    .cards {
        grid-template-columns: repeat(2,1fr);
    }

    .diferenciais .container {
        grid-template-columns: 1fr;
    }

    .footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

}


@media(max-width:768px) {

    .hero {
        text-align: center;
    }

    .texto {
        max-width: 100%;
    }

    .texto h1 {
        font-size: 34px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .titulo h2 {
        font-size: 32px;
    }

    .cta h2 {
        font-size: 30px;
    }

    /*
       No celular, damos mais altura às três fotos
       para evitar cortes excessivos.
    */

    .card img.img-portaria,
    .card img.img-entregas,
    .card img.img-terceirizacao {
        height: 300px;
    }

}


@media(max-width:480px) {

    .logo span {
        font-size: 22px;
    }

    .texto p {
        font-size: 16px;
    }

    .whatsapp {
        width: 58px;
        height: 58px;
        font-size: 25px;
    }

    .card img.img-portaria,
    .card img.img-entregas,
    .card img.img-terceirizacao {
        height: 270px;
    }

}


/* ===========================
   ONDE ATUAMOS
=========================== */

.atuamos {
    background: #f5f7fa;
    padding: 90px 0;
}

.atuamos .cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.atuamos .card {
    text-align: center;
    background: #fff;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
}

.atuamos .card:hover {
    transform: translateY(-8px);
}

.atuamos .card h3 {
    color: #0b1f3a;
    margin-bottom: 15px;
}

.atuamos .card p {
    color: #666;
}

@media(max-width:900px) {

    .atuamos .cards {
        grid-template-columns: 1fr;
    }

}


/* ===========================
   DIFERENCIAIS - POR QUE ESCOLHER
=========================== */

.diferenciais {
    background: #f5f7fa;
    padding: 90px 0;
}

.diferenciais .container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.diferenciais .item {
    background: #fff;
    padding: 35px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
}

.diferenciais .item:hover {
    transform: translateY(-8px);
}

.diferenciais .item h3 {
    color: #0b1f3a;
    font-size: 22px;
    margin-bottom: 15px;
}

.diferenciais .item p {
    color: #666;
    font-size: 16px;
}

@media(max-width:900px) {

    .diferenciais .container {
        grid-template-columns: 1fr;
    }

}


/* ===========================
   BOTÕES DA CTA
=========================== */

.botoes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}

.btn-principal {
    display: inline-block;
    background: #16d978;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-principal:hover {
    background: #11b862;
    transform: translateY(-3px);
}

.btn-secundario {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 13px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-secundario:hover {
    background: #fff;
    color: #0b1f3a;
}

@media(max-width:768px) {

    .botoes {
        flex-direction: column;
        align-items: center;
    }

    .btn-principal,
    .btn-secundario {
        width: 90%;
        text-align: center;
    }

}

/* =========================
   BANNER PÁGINA SERVIÇOS
========================= */

.banner-servicos {
    min-height: 430px;

    background:
        linear-gradient(
            rgba(7, 17, 31, 0.35),
            rgba(7, 17, 31, 0.35)
        ),
        url("imagens/banner-servicos.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: #fff;
}

.banner-servicos .container {
    position: relative;
    z-index: 2;
}

.banner-servicos h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.banner-servicos p {
    font-size: 18px;
    font-weight: 400;
}


/* CELULAR */

@media (max-width: 768px) {

    .banner-servicos {
        min-height: 330px;
        background-position: center;
    }

    .banner-servicos h2 {
        font-size: 34px;
    }

    .banner-servicos p {
        font-size: 16px;
        padding: 0 15px;
    }

}