/* ===== RESET E BASE ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* :root {
    --fundo: #0A0909;
    --bloco: #171311;
    --bloco-hover: #211A15;
    --dourado: #C7A66A;
    --dourado-escuro: #8F754C;
    --texto: #E8E0D5;
    --texto-suave: #AFA397;
    --borda: #493A2A;
} */

:root {
    --fundo: #3D0B0D;
    --bloco: #551617;
    --bloco-hover: #741E20;
    --dourado: #C7A66A;
    --dourado-escuro: #A77C48;
    --texto: #E8E0D5;
    --texto-suave: #D0B8B0;
    --borda: #8F292B;
}

html {
    background: var(--fundo);
}

body {
    /* background-color: var(--fundo); */
    background: 
        radial-gradient(
            ellipse at 50% 35%,
            /* #741E20 0%,
            #551617 45%,
            #3D0B0D 100% */
            #5A1719 0%,
            #481113 45%,
            #30090B 100%
        );
    color: var(--texto);
    font-family: "Lora", Georgia, serif;
    line-height: 1.7;
}

/* ===== FOOTER ====*/

.footer {
    background: #d4b66e;
    border: 1px solid var(--borda);
    text-align: center;
    padding: 8px, 10px;
}

.footer p {
    color: var(--fundo);
    margin: 0;
    text-align: center;
    line-height: 1.4;
    font-size: 0.8rem;

}

/* ===== TÍTULOS ===== */

h1,
h2,
h3 {
    font-family: "Cinzel", Georgia, serif;
    line-height: 1.3;
}

h2.teste {
    color: var(--dourado);
    margin-bottom: 20px;
}

h1.texto-exclusivo {
    color: var(--dourado);
    margin-top: 50px;
    text-align: center;
}

h2.texto-exclusivo {
    color: var(--dourado);
    margin-top: 50px;
    text-align: center;
    font-size:2rem;
}


/* ===== CONTEÚDO ===== */
.campo-comission {
    width: calc(100% - 40px);
    max-width: 1050px;
    margin: 45px auto;
    padding: 35px;
    /* background: linear-gradient(145deg, #1C1713, #100E0D); */
    background: linear-gradient(145deg, #741E20 0%, #551617 50%, #3D0B0D 100%);
    border: 1px solid var(--borda);
    border-radius: 8px;
    color: var(--texto);
    text-align: center;
}

.campo-comission p {
    text-align: justify;
    overflow-wrap: anywhere;
}


.texto-pagina {
    text-align: justify;
    padding: 20px;
}

/* ===== Botões ==== */

.botoes-principais {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
}

.botao-principal {
    display: block;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    /* background: #d4b66e; */
    background: var(--dourado);
    color: #111;
    transition: 0.3s;
}

.botao-secundario {
    background: transparent;
    color: #d4b66e;
    border: 1px solid #d4b66e;
}

.botao-principal p{
    color: #3D0B0D;
}

.botao-secundario p{
    color: var(--dourado);
}

.botao-principal:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* ===== LINKS ===== */
.behance,
.twitter,
.instagram {
    display: block;
    width: calc(100% - 40px);
    max-width: 760px;
    margin: 25px auto;
    padding: 25px;
    background-color: var(--bloco);
    border: 1px solid var(--borda);
    border-radius: 8px;
    color: var(--texto);
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.contato{
    display: block;
    width: calc(100% - 40px);
    max-width: 760px;
    margin: 25px auto;
    padding: 25px;
    background-color: #25D366;
    border: 1px solid var(--borda);
    border-radius: 8px;
    color: var(--texto);
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.behance:hover,
.twitter:hover,
.instagram:hover {
    background-color: var(--bloco-hover);
    border-color: var(--dourado-escuro);
    transform: translateY(-2px);
    cursor: pointer;
}

.contato:hover{
    background-color: #128C7E;
    border-color: var(--dourado-escuro);
    transform: translateY(-2px);
    cursor: pointer;
    
}

/* ===== LINKS E LOGOS ===== */

a {
    color: var(--texto);
    text-decoration: none;
}

a:visited {
    color: var(--texto);
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.social-links img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-links a:hover img {
    opacity: 0.7;
    transform: translateY(-2px);
}

/* ===== IMAGENS ===== */

.tya {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 30%;
    /* width: 400px;
    max-width: 100%;
    height: auto;
    margin: 25px auto 0;
    border: 1px solid var(--borda);
    border-radius: 5px; */
}

.hero-container {
    position: relative;
}

.foto-destaque {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.foto-destaque picture {
    display: block;
}

.foto-destaque picture img {
    display: block;
    width: 100%;
}

/* Degradê na parte inferior */
.foto-destaque::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 50%,
            rgba(61, 11, 13, 0.15) 65%,
            rgba(61, 11, 13, 0.65) 82%,
            #3D0B0D 100%
            );
    pointer-events: none;
}

.apresentacao {
    position: absolute;
    bottom: 35px;
    left: 20px;
    right: 20px;
    z-index: 1;
    text-align: center;
}

.apresentacao h1 {
    color: #d4b66e;
    font-size: 2.5rem;
    margin: 0 0 10px;
}

.apresentacao p {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
}

.logo {
    width: auto;
    height: 100px;
    display: block;
    margin: 0 auto 1px;
}

.sobre-conteudo {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.sobre-texto {
    width: 100%;
}

.sobre-foto {
    width: 100%;
}

.sobre-foto img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    margin-top: 30px;
}


/* GALERIA */

.gallery {
    width: 100%;
    padding: 50px 0;
    /* background-color: #000; */
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 100px;
    gap: 10px;
    padding: 0 10px;
    margin-top: 30px;
}

.foto {
    overflow: hidden;
}

.foto img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Alturas das imagens */

.foto.grande {
    grid-row: span 4;
}

.foto.media {
    grid-row: span 2;
}

/* Efeito ao passar o mouse */

.foto img:hover {
    transform: scale(1.04);
}



/* ===== RESPONSIVIDADE Mobile ===== */

@media (max-width: 767px) {
    .campo-comission{
        width: calc(100% - 24px);
        margin: 10px auto;
        padding: 20px;
    }

    .behance,
    .twitter,
    .instagram,
    .contato {
        width: calc(100% - 30px);
        margin: 15px auto;
        padding: 20px;
    }

    .tya {
        width: 100%;
        max-width: 600px;
    }

    h1.texto-exclusivo {
        margin-top: 30px;
        font-size: 1.5rem;
    }

    .botao-principal{
        color: #111;
    }

    .botao-secundario{
        color: #d4b66e;
    }

    .botoes-principais {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        margin-top: 0;
        padding: 20px 0;
    }

    .apresentacao {
        bottom: 35px;
        left: 20px;
        right: 20px;
    }
    /*lightbox */
    .navegar {
        font-size: 22px;
        padding: 10px;
    }

    .anterior {
        left: 5px;
    }

    .proxima {
        right: 5px;
    }
}

@media (min-width: 768px) {
    .tya {
        aspect-ratio: 16 / 9;
        max-height: 600px;
        object-fit: cover;
        object-position: center 25%;
    }

    .apresentacao {
        bottom: 255px;
        left: 7%;
        right: auto;
        width: 60%;
        max-width: 450px;
        text-align: left;
    }

    .logo {
        margin: 0 70px 2px;
        width: 125px;
    }

    .apresentacao h1 {
        font-size: clamp(2rem, 3vw, 3rem);
        margin-bottom: 8px;
    }

    .apresentacao p {
        font-size: 1rem;
        line-height: 1.5;
    }
    .botoes-principais {
        position: absolute;
        bottom: 35px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        justify-content: center;
        width: 100%;
        padding: 0;
        z-index: 2;
    }

    .botao-principal {
        min-width: 170px;
    }

    .sobre-conteudo {
        flex-direction: row;
        align-items: center;
        gap: 50px;
    }

    .sobre-texto,
    .sobre-foto {
        flex: 1;
    }

    .galeria-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
        gap: 12px;
        padding: 0 20px;
    }

    .foto.grande {
        grid-row: span 3;
    }

    .foto.media {
        grid-row: span 2;
    }

    .sobre-foto img {
    width: 80%;
    height: 50%;
    display: block;
    border-radius: 20px;
    margin-top: 30px;
}

}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}


/* ===Lightbox estilo==== */
/* ===== LIGHTBOX ===== */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.ativo {
    display: flex;
}

.lightbox img {
    max-width: 95%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.fechar-lightbox {
    position: absolute;
    top: 15px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 45px;
    cursor: pointer;
}

.galeria-grid .foto img {
    cursor: zoom-in;
}

.navegar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 2;
}

.anterior {
    left: 20px;
}

.proxima {
    right: 20px;
}

.navegar:hover {
    background: rgba(255,255,255,0.3);
}

#voltarTopo {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;

    background: #C7A66A;
    color: #0A0909;
    border: none;
    border-radius: 50%;

    font-size: 25px;
    cursor: pointer;
    z-index: 999;

    transition: background 0.3s, transform 0.3s;
}

#voltarTopo:hover {
    background: #E8E0D5;
    transform: translateY(-4px);
}