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


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f7;
    color: #222;
}


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

.topo {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: 70px;

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

    padding: 0 30px;

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

    border-bottom: 1px solid #eee;
}


.logo {
    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 20px;
    font-weight: bold;
}


.menu {
    display: flex;
    gap: 8px;
}


.menu a {
    text-decoration: none;
    color: #444;

    padding: 10px 14px;

    border-radius: 8px;
}


.menu a:hover {
    background: #f0f0f0;
}


.menu-mobile {
    display: none;

    border: 0;
    background: none;

    font-size: 25px;

    cursor: pointer;
}


/* =========================
   BANNER
========================= */

.banner {
    min-height: 420px;

    display: flex;
    align-items: center;

    padding: 50px 30px;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.65),
            rgba(0,0,0,.15)
        ),
        url("../uploads/racas/banner.jpg")
        center / cover no-repeat;

    color: white;
}


.banner-conteudo {
    width: 100%;
    max-width: 700px;

    margin: auto;
}


.banner-pequeno {
    font-size: 14px;
    opacity: .9;
}


.banner h1 {
    font-size: clamp(35px, 6vw, 60px);

    margin: 10px 0 15px;
}


.banner p {
    font-size: 18px;

    line-height: 1.6;

    max-width: 600px;
}


.botao-banner {
    display: inline-block;

    margin-top: 25px;

    padding: 13px 22px;

    background: white;
    color: #222;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;
}


/* =========================
   SEÇÕES
========================= */

.secao {
    max-width: 1200px;

    margin: auto;

    padding: 70px 20px;
}


.titulo-secao {
    text-align: center;

    margin-bottom: 35px;
}


.titulo-secao span {
    color: #777;

    font-size: 14px;
}


.titulo-secao h2 {
    font-size: 34px;

    margin: 8px 0;
}


.titulo-secao p {
    color: #777;
}


/* =========================
   CARDS
========================= */

.grade-racas {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(260px, 1fr));

    gap: 22px;
}


.card-raca {
    display: block;

    background: white;

    border-radius: 15px;

    overflow: hidden;

    text-decoration: none;

    color: inherit;

    box-shadow:
        0 4px 15px rgba(0,0,0,.07);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.card-raca:hover {
    transform: translateY(-4px);

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


.card-foto {
    height: 250px;

    background: #eee;
}


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

    object-fit: cover;

    display: block;
}


.sem-foto {
    height: 100%;

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

    color: #999;
}


.card-conteudo {
    padding: 20px;
}


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

    margin-bottom: 8px;
}


.card-conteudo p {
    color: #666;

    line-height: 1.5;

    font-size: 14px;

    margin-bottom: 15px;
}


.ver-raca {
    font-size: 14px;

    font-weight: bold;
}


/* =========================
   INFORMAÇÕES
========================= */

.informacoes {
    text-align: center;
}


.informacoes-conteudo {
    max-width: 700px;

    margin: auto;

    color: #666;

    line-height: 1.7;
}


/* =========================
   VAZIO
========================= */

.sem-racas {
    grid-column: 1 / -1;

    text-align: center;

    padding: 60px 20px;

    background: white;

    border-radius: 15px;
}


.sem-racas p {
    margin-top: 8px;

    color: #777;
}


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

.rodape {
    text-align: left;
    padding: 30px 20px;
    background: #f2f2f2;
    border-top: 1px solid #ddd;
    color: #444;
}


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

@media (max-width: 700px) {

    .topo {
        height: 60px;

        padding: 0 18px;
    }


    .menu {
        display: none;

        position: absolute;

        top: 60px;
        left: 0;
        right: 0;

        flex-direction: column;

        padding: 10px 15px;

        background: white;

        border-bottom: 1px solid #eee;
    }


    .menu.aberto {
        display: flex;
    }


    .menu a {
        padding: 14px;
    }


    .menu-mobile {
        display: block;
    }


    .banner {
        min-height: 430px;

        padding: 40px 20px;
    }


    .banner h1 {
        font-size: 38px;
    }


    .banner p {
        font-size: 16px;
    }


    .secao {
        padding: 55px 15px;
    }


    .grade-racas {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }


    .card-foto {
        height: 180px;
    }


    .card-conteudo {
        padding: 14px;
    }


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


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

}

/* =========================
   CONTATO
========================= */

.contato {
    background: #f7f7f7;
}


.contato-colunas {
    max-width: 1100px;

    margin: auto;

    display: grid;

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

    gap: 25px;
}


.contato-coluna {
    text-align: center;

    padding: 30px 20px;

    border-radius: 15px;

    background: #ffffff;
}


.contato-icone {
    font-size: 32px;

    margin-bottom: 12px;
}


.contato-coluna h3 {
    margin-bottom: 12px;

    font-size: 20px;
}


.contato-coluna p {
    color: #666;

    line-height: 1.7;
}


.botao-contato {
    display: inline-block;

    margin-top: 15px;

    padding: 11px 18px;

    border-radius: 8px;

    background: #222;

    color: #fff;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;
}


@media (max-width: 700px) {

    .contato-colunas {
        grid-template-columns: 1fr;

        gap: 15px;
    }

}






/* =========================
   rodape
========================= */

.rodape {
    background: white;
    border-top: 1px solid #eee;
}


.rodape-colunas {
    max-width: 1200px;
    margin: auto;

    padding: 50px 20px;

    display: grid;

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

    gap: 40px;
}


.rodape-coluna h3 {
    margin-bottom: 15px;
}


.rodape-coluna p,
.rodape-coluna a {
    display: block;

    color: #666;

    text-decoration: none;

    line-height: 1.8;
}


.rodape-final {
    text-align: center;

    padding: 20px;

    border-top: 1px solid #eee;

    color: #777;

    font-size: 14px;
}


@media (max-width: 700px) {

    .rodape-colunas {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}

/* =========================
   PÁGINA DA RAÇA
========================= */

.pagina-raca {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px 70px;
}


.raca-cabecalho {
    text-align: center;
    padding: 30px 10px 45px;
}


.voltar {
    display: inline-block;
    margin-bottom: 25px;

    color: #555;
    text-decoration: none;

    font-size: 14px;
}


.raca-cabecalho h1 {
    font-size: clamp(32px, 5vw, 50px);
    margin-bottom: 12px;
}


.raca-cabecalho p {
    max-width: 700px;
    margin: auto;

    color: #666;

    line-height: 1.6;
}


.grade-galeria {
    display: grid;

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

    gap: 18px;
}


.foto-galeria {
    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 14px;

    background: #eee;

    cursor: pointer;
}


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

    object-fit: cover;

    display: block;

    transition: transform .3s ease;
}


.foto-galeria:hover img {
    transform: scale(1.04);
}


.sem-fotos-publico {
    text-align: center;

    padding: 70px 20px;

    background: white;

    border-radius: 15px;
}


.sem-fotos-publico p {
    margin-top: 8px;

    color: #777;
}


@media (max-width: 1000px) {

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

}


@media (max-width: 700px) {

    .pagina-raca {
        padding: 25px 15px 50px;
    }


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


    .foto-galeria {
        border-radius: 10px;
    }

}

/* =========================
   VISUALIZADOR DE FOTO
========================= */
/* =========================
   VISUALIZADOR
========================= */

.visualizador {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

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

    padding: 20px;

    background: rgba(0, 0, 0, .92);

    touch-action: none;
}


.visualizador.aberto {
    display: flex;
}


.foto-container {
    position: relative;

    display: flex;

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

    max-width: 90vw;
    max-height: 90vh;
}


.foto-container img {
    max-width: 90vw;
    max-height: 85vh;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 10px 40px rgba(0,0,0,.5);
}


.fechar-visualizador {
    position: absolute;

    top: 15px;
    right: 20px;

    z-index: 10;

    width: 45px;
    height: 45px;

    border: 0;
    border-radius: 50%;

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

    color: white;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;
}


.fechar-visualizador:hover {
    background: rgba(255,255,255,.25);
}


.navegar {
    position: absolute;

    top: 50%;

    z-index: 10;

    transform: translateY(-50%);

    width: 55px;
    height: 70px;

    border: 0;

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

    color: white;

    font-size: 55px;
    line-height: 50px;

    cursor: pointer;

    border-radius: 10px;

    user-select: none;
}


.navegar:hover {
    background: rgba(255,255,255,.25);
}


.foto-anterior {
    left: 20px;
}


.foto-proxima {
    right: 20px;
}


.contador-fotos {
    position: absolute;

    bottom: -35px;

    left: 50%;

    transform: translateX(-50%);

    color: white;

    font-size: 14px;

    white-space: nowrap;
}


.foto-ampliar {
    cursor: pointer;
}


/* CELULAR */

@media (max-width: 700px) {

    .visualizador {
        padding: 10px;
    }


    .foto-container {
        max-width: 100vw;
        max-height: 90vh;
    }


    .foto-container img {
        max-width: 96vw;
        max-height: 80vh;

        border-radius: 5px;
    }


    .navegar {
        width: 40px;
        height: 55px;

        font-size: 42px;

        background: rgba(255,255,255,.08);
    }


    .foto-anterior {
        left: 5px;
    }


    .foto-proxima {
        right: 5px;
    }


    .fechar-visualizador {
        top: 10px;
        right: 10px;
    }

}






.informacoes-conteudo {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 30px;
    margin-top: 30px;
}

.informacoes-foto {
    width: 40%;
    flex-shrink: 0;
}

.informacoes-foto img {
    width: 100%;
    height: auto;
    display: block;
}

.informacoes-texto {
    flex: 1;
    min-width: 0;
}

.informacoes-texto p {
    text-align: justify;
    line-height: 1.8;
    margin-top: 0;
}

@media (max-width: 768px) {
    .informacoes-conteudo {
        flex-direction: column !important;
    }

    .informacoes-foto {
        width: 100%;
    }
}




.redes-sociais {
    display: flex;
    align-items: center;
    gap: 10px;
}


footer.rodape {
    background-color: #232323 !important;
    color: #ffffff;
}


a {
  text-decoration: none;
  color: #ffffff; /* ou coloque uma cor específica, ex: #333333 */
}