/* ==================================================
   TOPO
================================================== */

.topo {
    background: #151515;
    color: white;
    border-bottom: 3px solid #c49a55;
}

.topo-conteudo {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    min-height: 70px;
    padding: 0 20px;

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

.logo-site {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
}

.categoria-topo {
    color: #d8b36c;
    font-size: 14px;
}

/* ==================================================
   PÁGINA
================================================== */

.pagina {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    padding: 25px 20px 70px;
}

/* ==================================================
   VOLTAR
================================================== */

.voltar {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #555;
    text-decoration: none;

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

    margin-bottom: 18px;
}

.voltar:hover {
    color: #000;
}

/* ==================================================
   HERO
================================================== */

.hero {
    min-height: 330px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #222,
            #444
        );

    overflow: hidden;

    position: relative;

    display: flex;
    align-items: flex-end;
}

.hero-com-banner {
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, .85),
            rgba(0, 0, 0, .15)
        );
}

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

    width: 100%;

    padding: 35px;

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

    color: white;
}

.empresa-logo {
    width: 125px;
    height: 125px;

    flex-shrink: 0;

    background: white;

    border-radius: 18px;

    overflow: hidden;

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

    box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
}

.empresa-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-placeholder {
    color: #777;
    font-size: 45px;
}

.hero-texto {
    padding-bottom: 5px;
}

.badge {
    display: inline-block;

    padding: 6px 12px;

    border-radius: 30px;

    background: #c49a55;
    color: #111;

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

    text-transform: uppercase;
    letter-spacing: .5px;
}

.hero h1 {
    margin: 10px 0 5px;

    font-size: 42px;
    line-height: 1.05;

    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.local-resumo {
    margin: 0;

    color: #ddd;

    font-size: 15px;
}

/* ==================================================
   AÇÕES
================================================== */

.acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin: 20px 0;
}

.acao {
    min-height: 54px;

    padding: 0 20px;

    border-radius: 12px;

    background: white;

    color: #171717;

    text-decoration: none;

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

    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);

    transition: .2s;
}

.acao:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.acao.destaque {
    background: #151515;
    color: white;
}

/* ==================================================
   BLOCOS
================================================== */

.bloco {
    background: white;

    border-radius: 18px;

    padding: 30px;

    margin-top: 18px;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
}

.titulo-bloco {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 20px;
}

.titulo-bloco span {
    color: #c49a55;

    font-size: 13px;
    font-weight: 800;
}

.titulo-bloco h2 {
    margin: 0;

    font-size: 21px;
}

.descricao {
    margin: 0;

    color: #555;

    line-height: 1.8;

    font-size: 16px;
}

/* ==================================================
   SERVIÇOS
================================================== */

.lista-servicos {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;
}

.servico {
    padding: 14px;

    border-radius: 10px;

    background: #f5f5f5;

    display: flex;
    gap: 10px;
}

.servico span {
    color: #b08743;
    font-weight: bold;
}

/* ==================================================
   LOCALIZAÇÃO
================================================== */

.localizacao {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.endereco {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.endereco-icone {
    width: 45px;
    height: 45px;

    border-radius: 12px;

    background: #f3eadb;

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

    flex-shrink: 0;
}

.endereco strong,
.endereco span {
    display: block;

    line-height: 1.6;
}

.endereco strong {
    font-size: 16px;
}

.endereco span {
    color: #666;
}

.botao-mapa {
    display: inline-flex;

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

    padding: 13px 18px;

    background: #151515;
    color: white;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 700;

    white-space: nowrap;
}

.botao-mapa:hover {
    opacity: .85;
}

/* ==================================================
   HORÁRIOS
================================================== */

.horarios {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 8px;
}

.horario {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 13px;

    border-radius: 9px;

    background: #f5f5f5;
}

.horario span {
    color: #666;
}

/* ==================================================
   REDES
================================================== */

.redes {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.redes a {
    padding: 12px 17px;

    border-radius: 9px;

    background: #151515;

    color: white;

    text-decoration: none;

    font-weight: 600;
}

/* ==================================================
   GALERIA
================================================== */

.galeria {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;
}

.galeria img {
    width: 100%;
    height: 220px;

    object-fit: cover;

    border-radius: 12px;
}

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

.rodape {
    background: #151515;

    color: #ddd;

    padding: 30px 20px;

    display: flex;

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

    gap: 20px;

    flex-wrap: wrap;

    font-size: 14px;
}

.rodape strong {
    color: white;
}

.rodape span {
    color: #aaa;
}

.rodape a {
    color: #d8b36c;

    text-decoration: none;

    font-weight: 600;
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 800px) {

    .hero {
        min-height: 300px;
    }

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

    .localizacao {
        align-items: flex-start;
        flex-direction: column;
    }

    .botao-mapa {
        width: 100%;
    }

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

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

}


/* ==================================================
   CELULAR
================================================== */

@media (max-width: 600px) {

    .topo-conteudo {
        min-height: 60px;

        padding: 0 15px;
    }

    .logo-site {
        font-size: 18px;
    }

    .categoria-topo {
        font-size: 12px;
    }

    .pagina {
        padding: 18px 12px 50px;
    }

    .hero {
        min-height: 390px;

        border-radius: 18px;
    }

    .hero-conteudo {
        padding: 22px;

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }

    .empresa-logo {
        width: 95px;
        height: 95px;
    }

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

    .acoes {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);
    }

    .acao {
        padding: 0 8px;

        font-size: 13px;
    }

    .bloco {
        padding: 22px;

        border-radius: 15px;
    }

    .titulo-bloco h2 {
        font-size: 19px;
    }

    .galeria {
        grid-template-columns: 1fr;
    }

    .galeria img {
        height: 230px;
    }

    .rodape {
        text-align: center;

        flex-direction: column;

        gap: 8px;
    }

}

/* ==================================================
   BANNER PREMIUM
   Quando existe capa, o texto original do perfil
   não deve ficar por cima do banner.
================================================== */

.hero-com-banner .hero-texto {
    display: none;
}

/* ==================================================
   BANNER PREMIUM
   Quando existe capa, o texto original do perfil
   não deve ficar por cima do banner.
================================================== */

.hero-com-banner .hero-texto {
    display: none;
}