@import url('./header.css');
@import url('./hero.css');
@import url('./cards.css');
@import url('./responsive.css');
@import url('./form.css');
@import url('./footer.css');




:root {
    --cor-fundo: #111;

    --cor-principal: #d4af37;

    --cor-texto: #fff;

    --cor-texto-secundario: #cfcfcf;

    --cor-card: #1a1a1a;

    --cor-borda: #2f2f2f;
}

* {
    margin: 0;

    padding: 0;

    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;

    background: var(--cor-fundo);

    color: var(--cor-texto);
}

body.menu-aberto {
    overflow: hidden;
}

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

html {
    scroll-behavior: smooth;
}

section {
    padding: 120px 0;
}

::selection {
    background: var(--cor-principal);

    color: black;
}

main {
    padding-top: 120px;
}

.container {
    max-width: 1200px;

    margin: 0 auto;

    padding: 0 60px;
}

.btn-primary {
    display: flex;
    
    align-items: center;
    
    justify-content: center;
    
    gap: 10px;

    background: var(--cor-principal);

    color: var(--cor-fundo);

    border: none;

    padding: 18px 35px;

    border-radius: 12px;

    font-weight: bold;

    font-size: 16px;

    cursor: pointer;

    transition: 0.3s;

    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);

    box-shadow: 0 10px 30px rgba(212,175,55,0.3);
}

.aparecer {
    opacity: 0;

    transform: translateY(40px);

    transition: 0.8s ease;

    will-change: transform, opacity;
}

.aparecer.ativo {
    opacity: 1;

    transform: translateY(0);
}

.galeria .container {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}

.galeria-imagem {
    display: flex;

    gap: 25px;

    flex-wrap: wrap;

    justify-content: center;

    margin-top: 50px;
}

.galeria-imagem img {
    width: 500px;

    height: 380px;

    object-fit: cover;

    border-radius: 20px;

    border: 1px solid var(--cor-borda);

    transition: 0.4s;

    overflow: hidden;
}

.galeria-imagem img:hover {
    transform: translateY(-6px);

    border-color: var(--cor-principal);

    box-shadow: 0 10px 35px rgba(0,0,0,0.35);
}

.menu-mobile {
    display: none;
}

.whatsapp-float {
    position: fixed;

    right: 20px;

    bottom: 20px;

    width: 65px;

    height: 65px;

    background: #25d366;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

    text-decoration: none;

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

    z-index: 999;

    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.loader {
    position: fixed;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 50px;

    height: 50px;

    border: 5px solid #333;

    border-top: 5px solid #d4af37;

    border-radius: 50%;

    animation: loading 1s linear infinite;

    z-index: 2000;

    display: none;
}

@keyframes loading {

    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }

}

.loader-btn {
    width: 18px;

    height: 18px;

    border: 2px solid rgba(0,0,0,0.3);

    border-top: 2px solid black;

    border-radius: 50%;

    animation: loading 0.8s linear infinite;

    display: inline-block;
    
}

.scroll-progress {
    position: fixed;

    top: 0;

    left: 0;

    width: 0;

    height: 4px;

    background: var(--cor-principal);

    z-index: 2000;

    transition: width 0.1s;
}

.back-to-top {
    position: fixed;

    right: 20px;

    bottom: 100px;

    width: 50px;

    height: 50px;

    border: none;

    border-radius: 50%;

    background: var(--cor-principal);

    color: black;

    font-size: 24px;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transition: 0.3s;

    z-index: 999;
}

.back-to-top.ativo {
    opacity: 1;

    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.lazy-image {
    opacity: 0;

    transform: translateY(20px);

    transition: 0.6s;
}

.lazy-image.loaded {
    opacity: 1;

    transform: translateY(0);
}

.modal-imagem {
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.85);

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transition: 0.3s;

    z-index: 2000;
}

.modal-imagem.ativo {
    opacity: 1;

    visibility: visible;
}

.modal-imagem img {
    width: 90%;

    max-width: 900px;

    border-radius: 20px;

    transform: scale(0.8);

    transition: 0.3s;
}

.modal-imagem.ativo img {
    transform: scale(1);
}

.fechar-modal {
    position: absolute;

    top: 30px;

    right: 30px;

    width: 50px;

    height: 50px;

    border: none;

    border-radius: 50%;

    background: white;

    color: black;

    font-size: 32px;

    cursor: pointer;

    transition: 0.3s;
}

.fechar-modal:hover {
    transform: rotate(90deg);
}

body.modal-aberto {
    overflow: hidden;
}


