/* =========================
   CONFIGURAÇÕES GERAIS
   ========================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #182631;
    background-color: #ffffff;
}


/* =========================
   CABEÇALHO
   ========================= */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 6%;

    background-color: #ffffff;

    border-bottom: 1px solid #eeeeee;
}

header strong {
    font-size: 24px;
    letter-spacing: 1px;
    color: #182631;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    text-decoration: none;
    color: #34434e;
    font-size: 15px;
}

nav a:hover {
    color: #159447;
}


/* Botão WhatsApp do cabeçalho */

header > a {
    text-decoration: none;

    background-color: #159447;
    color: white;

    padding: 11px 18px;

    border-radius: 7px;

    font-weight: bold;
}

header > a:hover {
    background-color: #117b3b;
}
.logo img {
    width: 480px;
    height: auto;
    display: block;
}

/* =========================
   PRIMEIRA SEÇÃO
   ========================= */

main {
    background-color: #f5f7f8;
}

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 70px;

    max-width: 1200px;

    margin: 0 auto;

    padding: 70px 40px;
}


/* Texto */

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 54px;
    line-height: 1.05;

    margin: 0 0 25px;

    max-width: 650px;
}

.hero-text p {
    font-size: 20px;
    line-height: 1.6;

    color: #52606d;

    margin: 8px 0;
}


/* Botão principal */

.hero-text > a {
    display: inline-block;

    margin-top: 25px;

    padding: 15px 24px;

    background-color: #159447;
    color: white;

    text-decoration: none;

    border-radius: 8px;

    font-weight: bold;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.hero-text > a:hover {
    background-color: #117b3b;

    transform: translateY(-2px);
}


/* =========================
   FOTO
   ========================= */

.hero-image {
    flex: 1;

    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 480px;

    height: 520px;

    object-fit: cover;

    border-radius: 18px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
/* =========================
   SEÇÃO DE SOLUÇÕES
   ========================= */

.solucoes {
    background-color: #ffffff;
    padding: 90px 40px;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title h2 {
    font-size: 38px;
    margin: 0 0 15px;
    color: #182631;
}

.section-title p {
    font-size: 18px;
    color: #66737d;
}


/* Cartões */

/* Cartões */

.cards {
    display: flex;
    flex-direction: row;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    flex: 1;

    background-color: #f5f7f8;

    padding: 35px 30px;

    border-radius: 14px;

    text-align: center;

    border: 1px solid #e8ecef;

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 40px;

    margin-bottom: 20px;
}
.icone-fechadura {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 52px;
}

.arco-fechadura {
    position: absolute;
    top: 0;
    left: 12px;
    width: 24px;
    height: 28px;
    border: 4px solid #159447;
    border-bottom: none;
    border-radius: 14px 14px 0 0;
}

.corpo-fechadura {
    position: absolute;
    left: 6px;
    bottom: 0;
    width: 36px;
    height: 30px;
    background-color: #159447;
    border-radius: 5px;
}
.card h3 {
    font-size: 22px;

    margin: 0 0 15px;

    color: #182631;
}

.card p {
    font-size: 16px;

    line-height: 1.6;

    color: #66737d;

    margin: 0;
}
/* =========================
   GALERIA DE TRABALHOS
   ========================= */

.trabalhos {
    background-color: #f5f7f8;
    padding: 90px 40px;
}

.galeria {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    max-width: 1100px;

    margin: 0 auto;
}

.trabalho {
    overflow: hidden;

    border-radius: 14px;

    background-color: #ffffff;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
}

.trabalho img {
    display: block;

    width: 100%;
    height: 330px;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.trabalho:hover img {
    transform: scale(1.05);
}


/* Botão abaixo da galeria */

.trabalhos-cta {
    text-align: center;

    margin-top: 50px;
}

.trabalhos-cta p {
    font-size: 20px;

    color: #52606d;

    margin-bottom: 20px;
}

.trabalhos-cta a {
    display: inline-block;

    background-color: #159447;

    color: white;

    text-decoration: none;

    padding: 14px 25px;

    border-radius: 8px;

    font-weight: bold;
}

.trabalhos-cta a:hover {
    background-color: #117b3b;
}
/* =========================
   DIFERENCIAIS
   ========================= */

.diferenciais {
    background-color: #ffffff;
    padding: 90px 40px;
}

.diferenciais-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    max-width: 1100px;

    margin: 0 auto;
}

.diferencial {
    text-align: center;

    padding: 30px 20px;

    border-radius: 14px;

    background-color: #f5f7f8;

    border: 1px solid #e8ecef;

    transition: 0.3s;
}

.diferencial:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.diferencial-icon {
    font-size: 38px;

    margin-bottom: 18px;
}

.diferencial h3 {
    font-size: 20px;

    margin: 0 0 12px;

    color: #182631;
}

.diferencial p {
    font-size: 15px;

    line-height: 1.6;

    color: #66737d;

    margin: 0;
}
/* =========================
   CHAMADA FINAL
   ========================= */

.contato-final {
    background-color: #182631;
    padding: 90px 40px;
}

.contato-final-conteudo {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contato-final h2 {
    color: #ffffff;
    font-size: 38px;
    line-height: 1.2;
    margin: 0 0 20px;
}

.contato-final p {
    color: #d5dde2;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 auto 30px;
}

.contato-final a {
    display: inline-block;

    background-color: #159447;
    color: #ffffff;

    text-decoration: none;

    padding: 16px 28px;

    border-radius: 8px;

    font-weight: bold;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.contato-final a:hover {
    background-color: #117b3b;
    transform: translateY(-2px);
}
/* =========================
   RODAPÉ
   ========================= */

footer {
    background-color: #111b22;
    color: #ffffff;
}

.footer-conteudo {
    max-width: 1100px;
    margin: 0 auto;

    padding: 60px 40px;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 50px;
}

.footer-marca img {
    width: 360px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}


.footer-marca p {
    color: #b9c3c9;
    margin: 8px 0;
}
.footer-contato p {
    color: #b9c3c9;
    margin: 8px 0;
}
footer h3 {
    font-size: 17px;
    margin: 0 0 18px;
}

footer a {
    display: block;

    color: #b9c3c9;
    text-decoration: none;

    margin-bottom: 10px;
}

footer a:hover {
    color: #ffffff;
}

.footer-final {
    border-top: 1px solid #29343b;

    text-align: center;

    padding: 20px 40px;
}

.footer-final p {
    margin: 0;

    color: #89959d;

    font-size: 14px;
}
/* =========================
   RESPONSIVIDADE
   ========================= */
   /* SOBRE A CAMP CASA */

.sobre {
    background: #f5f7f8;
    padding: 90px 40px;
}

.sobre-conteudo {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-texto h2 {
    font-size: 38px;
    color: #182631;
    margin: 0 0 25px;
}

.sobre-texto p {
    font-size: 17px;
    line-height: 1.7;
    color: #66737d;
    margin: 0 0 18px;
}

.sobre-destaque {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e8ecef;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.sobre-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.sobre-destaque h3 {
    font-size: 22px;
    color: #182631;
    margin: 0 0 15px;
}

.sobre-destaque p {
    font-size: 16px;
    line-height: 1.6;
    color: #66737d;
    margin: 0;
}
@media (max-width: 800px) {

    /* Cabeçalho */

    header {
        flex-wrap: wrap;
        gap: 15px;
        padding: 18px 25px;
    }

    header strong {
        font-size: 21px;
    }

    nav {
        order: 3;
        width: 100%;

        justify-content: center;

        gap: 15px;

        flex-wrap: wrap;
    }

    nav a {
        font-size: 14px;
    }


    /* Primeira seção */

    .hero {
        flex-direction: column;

        text-align: center;

        padding: 60px 25px;

        gap: 40px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text p {
        font-size: 17px;
    }

    .hero-image img {
        max-width: 420px;
        height: 450px;
    }


    /* Soluções */

    .solucoes {
        padding: 70px 25px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    


    /* Galeria */

    .trabalhos {
        padding: 70px 25px;
    }

    .galeria {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trabalho img {
        height: 400px;
    }


    /* Diferenciais */

    .diferenciais {
        padding: 70px 25px;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
        .sobre {
        padding: 70px 25px;
    }

    .sobre-conteudo {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .sobre-texto {
        text-align: center;
    }

    .sobre-texto h2 {
        font-size: 32px;
    }


    /* Chamada final */

    .contato-final {
        padding: 70px 25px;
    }

    .contato-final h2 {
        font-size: 32px;
    }


    /* Rodapé */

    .footer-conteudo {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 50px 25px;
    }

}
/* =========================================
   AJUSTES PARA CELULAR
   ========================================= */

@media (max-width: 700px) {

    /* CABEÇALHO */
    header {
        flex-direction: column;
        gap: 15px;
        padding: 18px 20px;
        text-align: center;
    }

    header nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    header nav a {
        font-size: 14px;
    }
    .area-atendimento {
        padding: 70px 25px;
    }

    .cidades-atendidas p {
        font-size: 16px;
        line-height: 2;
    }

    /* PRIMEIRA SEÇÃO */
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 50px 20px;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 38px;
        line-height: 1.1;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 100%;
        max-width: 380px;
        height: auto;
        display: block;
        margin: 0 auto;
    }


    /* SEÇÕES */
    .solucoes,
    .trabalhos {
        padding: 60px 20px;
    }

    .section-title h2 {
        font-size: 32px;
        line-height: 1.15;
    }


    /* CARDS */
   .cards {
    flex-direction: column;
    gap: 20px;
}

    .card {
        width: 100%;
        box-sizing: border-box;
    }


    /* GALERIA */
    .galeria {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trabalho img {
        width: 100%;
        height: auto;
        display: block;
    }


    /* BOTÕES */
    .trabalhos-cta a {
        display: inline-block;
        text-align: center;
    }

}
/* BOTÃO FLUTUANTE DO WHATSAPP */

.whatsapp-flutuante {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;

    background: #159447;
    color: #ffffff;
    text-decoration: none;

    padding: 15px 20px;
    border-radius: 50px;

    font-size: 16px;
    font-weight: bold;

    box-shadow: 0 5px 18px rgba(0,0,0,.25);

    transition: .3s;
}

.whatsapp-flutuante:hover {
    background: #117b3b;
    transform: translateY(-3px);
}
@media (max-width:700px) {

    .logo img {
        width: 300px;
    }

    header {
        flex-direction: column;
        gap: 15px;
        padding: 18px 20px;
        text-align: center;
    }
    }
    .area-atendimento {
    background-color: #fff;
    padding: 80px 40px;
}

.cidades-atendidas {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.cidades-atendidas p {
    font-size: 17px;
    line-height: 2;
    color: #34434e;
    margin: 0;
}

.area-atendimento-final {
    max-width: 800px;
    margin: 30px auto 0;
    text-align: center;
}

.area-atendimento-final p {
    font-size: 16px;
    line-height: 1.6;
    color: #66737d;
    margin: 0;
}
/* AJUSTE DE RESPONSIVIDADE */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.contato-final,
.contato-final-conteudo {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contato-final p {
    max-width: 100%;
    overflow-wrap: break-word;
}

.contato-final a {
    max-width: 100%;
    box-sizing: border-box;
}

.footer-conteudo,
.footer-marca,
.footer-contato,
.footer-links {
    max-width: 100%;
    box-sizing: border-box;
}
/* CORREÇÃO FINAL DE LARGURA NO CELULAR */

.hero-text,
.hero-image,
.contato-final-conteudo,
.sobre-texto,
.sobre-destaque,
.diferencial,
.card,
.section-title {
    min-width: 0;
}

img {
    max-width: 100%;
}

@media (max-width: 700px) {

    .section-title,
    .hero-text,
    .contato-final-conteudo,
    .sobre-texto,
    .sobre-destaque {
        width: 100%;
    }

    .contato-final a,
    .trabalhos-cta a {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
    }
}