/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= CONFIG GERAL ================= */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f7f8;
    color: #222;
}

/* ================= TELA DE ABERTURA (MANTIDA) ================= */
#tela-abertura {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;
}

#container-logo {
    position: relative;
    width: 260px;
    height: 180px;
}

#imagem-cavalo,
#imagem-cachorro {
    position: absolute;
    width: 110px;
    opacity: 0;
    filter: brightness(0) invert(1);
}

#imagem-cavalo {
    top: 30px;
    left: -140px;
    animation: entrarCavalo 1.5s forwards;
}

#imagem-cachorro {
    top: 30px;
    right: -140px;
    animation: entrarCachorro 1.5s forwards;
}

#texto-logo {
    position: absolute;
    bottom: -10px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 26px;
    opacity: 0;
    animation: aparecerTexto 1s forwards;
    animation-delay: 1.2s;
}

@keyframes entrarCavalo {
    to {
        left: 47px;
        opacity: 1;
    }
}

@keyframes entrarCachorro {
    to {
        right: 47px;
        opacity: 1;
    }
}

@keyframes aparecerTexto {
    to {
        opacity: 1;
    }
}

/* ================= CONTEÚDO ================= */
#conteudo-site {
    display: none;
}

/* ================= MENU ================= */
#logo-lado-nome {
    width: 100px;
    justify-content: center;
}
#menu-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 40px;
    background: #fff;
}

#logo-topo {
    font-weight: bold;
    font-size: 20px;
}

#menu-navegacao a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
}

#telefone-topo {
    font-size: 14px;
}

/* ================= HERO ================= */
#secao-principal {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 80px 40px;
    background: #2f4f58;
    color: #fff;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
}

.texto-principal {
    max-width: 500px;
}

.texto-principal h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.botoes-principal button {
    margin-right: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.botoes-principal button:first-child {
    background: #fff;
}

.botoes-principal button:last-child {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.imagem-principal img {
    width: 300px;
}

/* ================= SERVIÇOS ================= */
#secao-servicos {
    padding: 80px 40px;
    text-align: center;
}

.grid-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card-servico {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    transition: 0.3s;
}

.card-servico:hover {
    transform: translateY(-5px);
}

/* ================= SOBRE ================= */
#secao-sobre {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 80px 40px;
}

.imagem-sobre img {
    width: 300px;
    border-radius: 50px;
}

.texto-sobre {
    max-width: 400px;
}

.texto-sobre button {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    background: #2f4f58;
    color: #fff;
    border-radius: 20px;
}

/* ================= HISTÓRIA ================= */
#secao-historia {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 80px 40px;
    background: #fff;
}

.imagem-historia img {
    width: 250px;
}

/* ================= GALERIA ================= */
#secao-galeria {
    padding: 80px 40px;
    text-align: center;
}

.grid-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.grid-galeria img {
    width: 100%;
    border-radius: 10px;
}
/* ================= RODAPÉ ================= */
#rodape {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    background: #111;
    color: #fff;
}

.coluna-rodape h3 {
    margin-bottom: 10px;
}

/* ================= WHATSAPP ================= */
#botao-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
}

#botao-whatsapp img {
    width: 100%;
    border-radius: 50%;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 768px) {

    #secao-principal {
        flex-direction: column;
        text-align: center;
    }

    .imagem-principal img {
        margin-top: 20px;
    }

    #secao-sobre,
    #secao-historia {
        flex-direction: column;
        text-align: center;
    }

    #rodape {
        flex-direction: column;
        gap: 20px;
    }

    #menu-navegacao {
        display: none;
    }
}