
/* ==============================
   CONFIGURAÇÕES GERAIS
============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

body {
    width: 100%;
    overflow-x: hidden;
    padding-top: 105px;
    background: #000;
    color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* ==============================
   MENU DE NAVEGAÇÃO
============================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    width: 100%;
    min-height: 105px;
    padding: 12px 35px;
    background: #000;
    border-bottom: 1px solid #292929;
}

.logo img {
    display: block;
    width: 150px;
    height: auto;
}

.nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
}

.nav a {
    display: block;
    padding: 9px 12px;
    color: #f5f5f5;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    transition: .3s;
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: #000;
    background: #f5f5f5;
}

/* ==============================
   ESTRUTURA PRINCIPAL
============================== */

.corpo {
    width: 100%;
}

/* ==============================
   BANNER / APRESENTAÇÃO
============================== */

.titulo {
    display: flex;
    align-items: center;
    min-height: 390px;
    padding: 55px 8%;
    background: linear-gradient(
        90deg,
        #101010,
        #080808,
        #000
    );
    border-bottom: 1px solid #292929;
}

.texto-t {
    width: 100%;
    max-width: 850px;
}

.texto-t h1 {
    max-width: 800px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 800;
}

.texto-t p {
    max-width: 720px;
    margin-top: 20px;
    color: #bbb;
    font-size: 19px;
    line-height: 1.8;
}

.btn-whatsapp {
    display: inline-block;
    margin-top: 28px;
    padding: 13px 22px;
    background: #f5f5f5;
    border: 1px solid #f5f5f5;
    border-radius: 5px;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: .3s;
}

.btn-whatsapp:hover {
    background: transparent;
    color: #fff;
}

/* ==============================
   SEÇÃO DE SERVIÇOS
============================== */

.secao-cards {
    padding: 70px 0 85px;
}

.titulo-cards {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.titulo-cards h2 {
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.3;
}

.titulo-cards p {
    max-width: 800px;
    margin-top: 12px;
    color: #aaa;
    font-size: 17px;
    line-height: 1.7;
}

/* ==============================
   GRID DOS CARDS
============================== */

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #171717;
    border: 1px solid #292929;
    border-radius: 9px;
    transition:
        transform .3s,
        border-color .3s,
        box-shadow .3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #777;
    box-shadow: 0 8px 25px rgba(255, 255, 255, .05);
}

/* IMAGENS DOS CARDS */

.card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    background: #202020;
    border-bottom: 1px solid #292929;
}

/* CONTEÚDO DOS CARDS */

.conteudo-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    padding: 25px;
}

.conteudo-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.4;
}

.conteudo-card p {
    flex: 1;
    margin-bottom: 25px;
    color: #bbb;
    font-size: 16px;
    line-height: 1.7;
}

/* BOTÕES */

.btn-card {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 12px;
    background: #252525;
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: .3s;
}

.btn-card:hover {
    background: #f5f5f5;
    color: #000;
}

/* ==============================
   RODAPÉ
============================== */

.rodape {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 35px 20px;
    border-top: 1px solid #292929;
    text-align: center;
}

.rodape img {
    width: 125px;
    height: auto;
}

.rodape p {
    color: #999;
    font-size: 13px;
}

/* ==============================
   TABLETS E NOTEBOOKS MENORES
============================== */

@media (min-width: 651px) and (max-width: 1000px) {

    .navbar {
        padding: 12px 20px;
        gap: 15px;
    }

    .logo img {
        width: 120px;
    }

    .nav ul {
        gap: 4px;
    }

    .nav a {
        padding: 8px;
        font-size: 12px;
    }

    .titulo {
        min-height: 350px;
        padding: 45px 6%;
    }

    .texto-t h1 {
        font-size: 38px;
    }

    .texto-t p {
        font-size: 17px;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        width: 92%;
    }

    .card img {
        height: 210px;
    }

    .conteudo-card {
        padding: 22px;
    }

}

/* ==============================
   CELULARES
============================== */

@media (max-width: 650px) {

    body {
        padding-top: 0;
    }

    /* MENU */

    .navbar {
        position: relative;
        flex-direction: column;
        gap: 12px;
        padding: 15px 10px;
    }

    .logo img {
        width: 125px;
    }

    .nav {
        width: 100%;
    }

    .nav ul {
        justify-content: center;
        gap: 4px;
    }

    .nav a {
        padding: 7px;
        font-size: 11px;
    }

    /* APRESENTAÇÃO */

    .titulo {
        min-height: auto;
        padding: 55px 7%;
    }

    .texto-t h1 {
        font-size: 32px;
    }

    .texto-t p {
        font-size: 15px;
        line-height: 1.7;
    }

    .btn-whatsapp {
        display: block;
        width: 100%;
        padding: 13px 10px;
        font-size: 11px;
    }

    /* SERVIÇOS */

    .secao-cards {
        padding: 45px 0 55px;
    }

    .titulo-cards {
        width: 88%;
        margin-bottom: 30px;
    }

    .titulo-cards h2 {
        font-size: 27px;
    }

    .titulo-cards p {
        font-size: 15px;
    }

    .cards {
        grid-template-columns: 1fr;
        width: 88%;
        gap: 20px;
    }

    .card img {
        height: 220px;
    }

    .conteudo-card {
        padding: 22px;
    }

    .conteudo-card h3 {
        font-size: 21px;
    }

    .conteudo-card p {
        font-size: 15px;
    }

    /* RODAPÉ */

    .rodape {
        padding: 30px 15px;
    }

}

/* ==============================
   TELAS MUITO PEQUENAS
============================== */

@media (max-width: 380px) {

    .nav a {
        padding: 6px 5px;
        font-size: 10px;
    }

    .texto-t h1 {
        font-size: 28px;
    }

    .texto-t p {
        font-size: 14px;
    }

    .titulo-cards h2 {
        font-size: 24px;
    }

    .cards {
        width: 90%;
    }

    .card img {
        height: 190px;
    }

    .conteudo-card {
        padding: 18px;
    }

}

/* ==============================
   ACESSIBILIDADE
============================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}