:root {
    --preto: #070707;
    --preto-claro: #111111;
    --cinza: #a5a5a5;
    --branco: #ffffff;
    --vermelho: #d32f3f;
    --vermelho-escuro: #a91f2c;
    --borda: rgba(255, 255, 255, 0.1);
}

/* CONFIGURAÇÕES GERAIS */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 115px;
}

body {
    background: var(--preto);
    color: var(--branco);
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}

body.menu-aberto {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* CABEÇALHO */

.cabecalho {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;
    height: 115px;
    padding: 0 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    background: #080808;
    border-bottom: 1px solid rgba(211, 47, 63, 0.55);
}

.logo {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.logo-carro {
    width: 235px;
    height: 125px;

    object-fit: contain;
}

.logo-texto {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-texto strong {
    color: var(--branco);
    font-size: 39px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-texto span {
    margin-top: 8px;

    color: var(--branco);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 1px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 55px;
}

.menu a {
    position: relative;

    padding: 10px 0;

    color: var(--branco);
    font-size: 16px;
    font-weight: 600;

    transition: color 0.3s ease;
}

.menu a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0;
    height: 2px;

    background: var(--vermelho);
    transition: width 0.3s ease;
}

.menu a:hover,
.menu a.ativo {
    color: var(--vermelho);
}

.menu a:hover::after,
.menu a.ativo::after {
    width: 100%;
}

.botao-menu {
    display: none;

    padding: 5px;

    color: var(--branco);
    background: transparent;
    border: 0;

    font-size: 27px;
    cursor: pointer;
}
/* REDES SOCIAIS */

.redes-header{

    display:flex;
    align-items:center;
    gap:12px;

    margin-left:30px;

}

.redes-header a{

    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#ffffff;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.12);

    border-radius:50%;

    font-size:18px;

    transition:.3s;

}

.redes-header a:hover{

    background:var(--vermelho);

    border-color:var(--vermelho);

    transform:translateY(-4px);

}

/* HERO */

.hero {
    position: relative;
    isolation: isolate;

    min-height: 100vh;
    padding: 190px 5% 90px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.76) 42%,
            rgba(0, 0, 0, 0.18) 100%
        ),
        url("imagens/banner.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;

    width: 100%;
    height: 130px;

    background: linear-gradient(
        transparent,
        var(--preto)
    );
}

.hero-conteudo {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 720px;
}

.hero-etiqueta {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--vermelho);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;

    color: var(--branco);
    font-size: clamp(52px, 7vw, 90px);
    font-weight: 800;
    line-height: 0.93;
    text-transform: uppercase;
}

.hero h1 strong {
    display: block;

    margin-top: 8px;

    color: var(--vermelho);
    font-size: 0.58em;
    line-height: 1.1;
}

.hero-conteudo > p {
    max-width: 600px;
    margin-top: 25px;

    color: #dddddd;
    font-size: 18px;
    line-height: 1.7;
}

.hero-botoes {
    margin-top: 35px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* BOTÕES */

.botao {
    min-height: 54px;
    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: var(--branco);
    border-radius: 5px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.botao:hover {
    transform: translateY(-3px);
}

.botao-whatsapp {
    background: var(--vermelho);
}

.botao-whatsapp:hover {
    background: var(--vermelho-escuro);
    box-shadow: 0 12px 30px rgba(211, 47, 63, 0.25);
}

.botao-secundario {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.botao-secundario:hover {
    background: rgba(211, 47, 63, 0.12);
    border-color: var(--vermelho);
}
.botao-maps {
    background: var(--vermelho);
}

.botao-maps:hover {
    background: var(--vermelho-escuro);
    box-shadow: 0 12px 30px rgba(211, 47, 63, 0.25);
}

.botao-secundario {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.botao-secundario:hover {
    background: rgba(211, 47, 63, 0.12);
    border-color: var(--vermelho);
}

/* SERVIÇOS */

.servicos {
    padding: 100px 7%;
}

.titulo-secao {
    margin-bottom: 50px;
    text-align: center;
}

.titulo-secao span {
    color: var(--vermelho);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.titulo-secao h2 {
    margin-top: 10px;

    color: var(--branco);
    font-size: clamp(35px, 5vw, 52px);
    font-weight: 800;
    text-transform: uppercase;
}

.lista-servicos {
    width: 100%;
    max-width: 1150px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.servico {
    min-height: 105px;
    padding: 25px 30px;

    display: flex;
    align-items: center;
    gap: 25px;

    background: linear-gradient(
        120deg,
        #151515,
        #0d0d0d
    );

    border: 1px solid var(--borda);
    border-bottom-color: rgba(211, 47, 63, 0.7);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.servico:hover {
    transform: translateY(-4px);
    border-color: rgba(211, 47, 63, 0.75);
}

.servico i {
    width: 55px;
    flex-shrink: 0;

    color: var(--vermelho);
    font-size: 34px;
    text-align: center;
}

.servico h3 {
    color: var(--branco);
    font-size: 17px;
    font-weight: 600;
}
/* GALERIA */

.galeria {
    padding: 100px 7%;
    background: var(--preto-claro);
}

.titulo-secao p {
    max-width: 650px;
    margin: 15px auto 0;

    color: var(--cinza);
    font-size: 15px;
    line-height: 1.7;
}

.grade-galeria {
    width: 100%;
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.foto-galeria {
    position: relative;

    width: 100%;
    height: 280px;
    padding: 0;

    overflow: hidden;

    background: #0b0b0b;
    border: 1px solid var(--borda);
    border-radius: 7px;

    cursor: pointer;
}

.foto-galeria::after {
    content: "\f00e";

    position: absolute;
    inset: 0;

    display: grid;
    place-items: center;

    color: var(--branco);
    background: rgba(0, 0, 0, 0.58);

    font-family: "Font Awesome 6 Free";
    font-size: 32px;
    font-weight: 900;

    opacity: 0;
    transition: opacity 0.3s ease;
}

.foto-galeria img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.foto-galeria:hover img {
    transform: scale(1.07);
    filter: brightness(0.75);
}

.foto-galeria:hover::after {
    opacity: 1;
}

/* GALERIA ABERTA */

.galeria-aberta {
    position: fixed;
    inset: 0;
    z-index: 3000;

    padding: 35px;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(8px);
}

.galeria-aberta.ativa {
    display: flex;
}

.galeria-conteudo {
    width: min(1000px, 82vw);
    height: min(720px, 82vh);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.galeria-conteudo img {
    width: 100%;
    height: calc(100% - 35px);

    object-fit: contain;
}

.galeria-conteudo span {
    color: #d0d0d0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.fechar-galeria,
.seta-galeria {
    position: absolute;
    z-index: 2;

    display: grid;
    place-items: center;

    color: var(--branco);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);

    cursor: pointer;
    transition: 0.3s ease;
}

.fechar-galeria:hover,
.seta-galeria:hover {
    background: var(--vermelho);
    border-color: var(--vermelho);
}

.fechar-galeria {
    top: 25px;
    right: 30px;

    width: 46px;
    height: 46px;

    border-radius: 50%;
    font-size: 23px;
}

.seta-galeria {
    top: 50%;

    width: 52px;
    height: 70px;

    font-size: 24px;
    transform: translateY(-50%);
}

.seta-anterior {
    left: 30px;
}

.seta-proxima {
    right: 30px;
}

.foto-galeria video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-galeria::after {
    display: none;
}

.icone-play {
    position: absolute;
    inset: 0;

    display: grid;
    place-items: center;

    color: var(--branco);
    background: rgba(0, 0, 0, 0.38);

    font-size: 36px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.video-galeria:hover .icone-play {
    background: rgba(211, 47, 63, 0.55);
}

.video-galeria:hover .icone-play i {
    transform: scale(1.1);
}

.galeria-conteudo video {
    width: 100%;
    height: calc(100% - 35px);
    object-fit: contain;
}

/* RODAPÉ */

.rodape {
    padding: 70px 7% 25px;
    background: #050505;
    border-top: 1px solid rgba(211, 47, 63, 0.25);
}

.rodape-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 45px;
}

.rodape-logo {
    display: flex;
    align-items: center;
    gap: 18px;
}

.rodape-logo img {
    width: 120px;
}

.rodape-logo h3 {
    font-size: 32px;
}

.rodape-logo span {
    color: #bdbdbd;
}

.rodape h4 {
    margin-bottom: 18px;
    color: var(--vermelho);
    font-size: 18px;
}

.rodape a,
.rodape p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #cfcfcf;
    transition: 0.3s;
}

.rodape a:hover {
    color: var(--vermelho);
}

.copyright {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;

    color: #8f8f8f;
    font-size: 14px;
}

.copyright strong {
    color: var(--vermelho);
}
/* =========================
   CARDS DE SERVIÇOS
   EXPANSÍVEIS
========================= */

.servico {
    cursor: pointer;
    position: relative;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.servico-clique {
    display: block;
    margin-top: 14px;

    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;

    opacity: 0.65;

    transition:
        opacity 0.3s ease,
        color 0.3s ease;
}

.servico-clique::after {
    content: " ↓";
}


/* DETALHES ESCONDIDOS */

.servico-detalhes {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    margin-top: 0;

    transition:
        max-height 0.5s ease,
        opacity 0.35s ease,
        margin-top 0.35s ease;
}

.servico-detalhes p {
    margin: 0;

    font-size: 0.92rem;
    line-height: 1.7;

    opacity: 0.8;
}


/* TABLET */

@media (max-width: 1100px) {
    .cabecalho {
        gap: 25px;
    }

    .logo {
        gap: 15px;
    }

    .logo-carro {
        width: 175px;
        height: 70px;
    }

    .logo-texto strong {
        font-size: 31px;
    }

    .logo-texto span {
        font-size: 14px;
    }

    .menu {
        gap: 30px;
    }

    .redes-header {
        margin-left: 0;
        gap: 8px;
    }

    .redes-header a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

@media (max-width: 900px) {
    html {
        scroll-padding-top: 95px;
    }

    .cabecalho {
        height: 95px;
        padding: 0 5%;
    }

    .logo {
        gap: 13px;
    }

    .logo-carro {
        width: 145px;
        height: 63px;
    }

    .logo-texto strong {
        font-size: 27px;
    }

    .logo-texto span {
        margin-top: 5px;
        font-size: 12px;
    }

    .botao-menu {
        display: block;
    }

    .redes-header {
        margin-left: auto;
    }

    .menu {
        position: fixed;
        top: 95px;
        right: -100%;

        width: min(320px, 85%);
        height: calc(100vh - 95px);
        padding: 35px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;

        background: #0b0b0b;
        border-left: 1px solid var(--borda);
        transition: right 0.35s ease;
    }

    .menu.ativo {
        right: 0;
    }

    .menu a {
        width: 100%;
        font-size: 17px;
    }

    .grade-galeria {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rodape-container {
        grid-template-columns: 1fr 1fr;
    }

    .rodape-logo {
        grid-column: 1 / -1;
    }
}

/* CELULAR */

@media (max-width: 650px) {
    html {
        scroll-padding-top: 78px;
    }

    .cabecalho {
        height: 78px;
        padding: 0 12px;
        gap: 8px;
    }

    .logo {
        min-width: 0;
        gap: 7px;
        flex: 1;
    }

    .logo-carro {
        width: 76px;
        height: 44px;
        flex-shrink: 0;
    }

    .logo-texto {
        min-width: 0;
    }

    .logo-texto strong {
        font-size: 17px;
        white-space: nowrap;
    }

    .logo-texto span {
        margin-top: 3px;
        font-size: 6.5px;
        letter-spacing: 0.4px;
        white-space: nowrap;
    }

    .redes-header {
        margin-left: auto;
        gap: 5px;
        flex-shrink: 0;
    }

    .redes-header a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .botao-menu {
        display: block;
        flex-shrink: 0;
        padding: 4px;
        font-size: 23px;
    }

    .menu {
        top: 78px;
        width: 82%;
        height: calc(100vh - 78px);
    }

    .hero {
        min-height: 740px;
        padding: 130px 5% 70px;
        align-items: flex-end;

        background-image:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.15) 0%,
                rgba(0, 0, 0, 0.55) 45%,
                rgba(0, 0, 0, 0.98) 100%
            ),
            url("imagens/banner.png");

        background-position: center;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-conteudo > p {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-botoes {
        margin-top: 28px;
        flex-direction: column;
    }

    .botao {
        width: 100%;
    }

    .servicos,
    .galeria {
        padding: 75px 5%;
    }

    .titulo-secao {
        margin-bottom: 38px;
    }

    .lista-servicos,
    .grade-galeria {
        grid-template-columns: 1fr;
    }

    .grade-galeria {
        gap: 12px;
    }

    .servico {
        min-height: 90px;
        padding: 20px;
        gap: 16px;
    }

    .servico i {
        width: 45px;
        font-size: 28px;
    }

    .servico h3 {
        font-size: 15px;
    }

    .foto-galeria {
        height: 260px;
    }

    .galeria-aberta {
        padding: 15px;
    }

    .galeria-conteudo {
        width: 100%;
        height: 75vh;
    }

    .seta-galeria {
        top: auto;
        bottom: 25px;

        width: 48px;
        height: 48px;

        border-radius: 50%;
        transform: none;
    }

    .seta-anterior {
        left: calc(50% - 58px);
    }

    .seta-proxima {
        right: calc(50% - 58px);
    }

    .fechar-galeria {
        top: 15px;
        right: 15px;
    }

    .rodape {
        padding: 60px 5% 25px;
    }

    .rodape-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .rodape-logo {
        grid-column: auto;
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .copyright {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 430px) {
    .redes-header a:last-child {
        display: none;
    }
}

@media (max-width: 400px) {
    .logo-carro {
        width: 68px;
    }

    .logo-texto strong {
        font-size: 16px;
    }

    .logo-texto span {
        font-size: 6px;
    }

    .hero h1 {
        font-size: 41px;
    }
}

@media (max-width: 360px) {
    .redes-header a:nth-child(2),
    .redes-header a:last-child {
        display: none;
    }
}
/* =========================
   SERVIÇOS EXPANSÍVEIS
========================= */

.servico {
    cursor: pointer;
    position: relative;

    /* mantém o card organizado */
    flex-wrap: wrap;

    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}


/* ÍCONE E TÍTULO CONTINUAM NORMAIS */

.servico > i {
    flex-shrink: 0;
}

.servico > h3 {
    margin: 0;
}


/* TEXTO CLIQUE */

.servico-clique {
    width: 100%;

    display: block;

    margin-top: 12px;

    font-size: 0.75rem;
    font-weight: 600;

    opacity: 0.55;

    letter-spacing: 0.03em;

    transition: 0.3s;
}

.servico-clique::after {
    content: " ↓";
}


/* CONTEÚDO ESCONDIDO */

.servico-detalhes {
    width: 100%;

    max-height: 0;

    overflow: hidden;

    opacity: 0;

    margin-top: 0;

    transition:
        max-height 0.45s ease,
        opacity 0.35s ease,
        margin-top 0.35s ease;
}

.servico-detalhes p {
    margin: 0;

    font-size: 0.9rem;
    line-height: 1.65;

    color: #bdbdbd;
}


/* CARD ABERTO */

.servico.ativo .servico-detalhes {
    max-height: 300px;

    opacity: 1;

    margin-top: 18px;
}

.servico.ativo .servico-clique {
    opacity: 1;
}

.servico.ativo .servico-clique::after {
    content: " ↑";
}