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

:root {
    --primary-color: #E0B646;
    --black-color: #000000;
    --white-color: #FFFFFF;

    --font-title: 'Baskerville', sans-serif;
    --font-text: 'montserrat', sans-serif;

    --space-small: 1rem;
    --space-medium: 2rem;
    --space-large: 4rem;

    --radius: 12px;

}

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

span {
    color: var(--primary-color);
    background: linear-gradient(#B38728, #FBF5B7, #E0B646, #8B6914);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
}

/* BODY */

body {
    font-family: var(--font-text);
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 80%);
    color: var(--white-color);
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Essa imagem é um ruído transparente que simula textura de grão */
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.03; /* Tão baixo que o olho quase não vê, mas sente */
    pointer-events: none; /* Não atrapalha o clique nos botões */
    z-index: -1;
}

/* Preloader */

/* Container do Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
}

/* O Spinner Dourado */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(224, 182, 70, 0.2); /* Dourado suave */
    border-top: 5px solid var(--primary-color); /* Dourado forte no topo */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.logo-spinner {
    width: 120px; /* Ajuste o tamanho da logo aqui */
    animation: rotateLogo 2s linear infinite;
}

@keyframes rotateLogo {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

/* Roteiro da animação */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Classe que vamos adicionar via JS para remover o preloader */
.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Marquee Header */

.top-bar {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--black-color);
}

.top-bar li {
    color: var(--black-color);
}

.faixa-tras, .faixa-frente{
    position: absolute; /* O SEGREDO: Tira as caixas do fluxo normal para elas se cruzarem */
    width: 200vw; /* Bem larga para não mostrar pontas vazias ao girar */
    display: flex;
}

.conteudo-rolante {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    width: max-content;
}

.conteudo-rolante span {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.faixa-tras {
    transform: rotate(-3deg); /* Inclina para esquerda */
    z-index: 1; /* Fica no fundo */
    filter: blur(3px); /* O desfoque */
    opacity: 1; /* Mais transparente */
}

.faixa-tras .conteudo-rolante {
    animation: moverDireita 25s linear infinite; /* Rola para a direita mais devagar */
}

/* Letras douradas para a faixa de trás (usando a sua variável de texto gradiente) */
.faixa-tras span {
    background: linear-gradient(#B38728, #FBF5B7, #E0B646, #8B6914);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faixa-frente {
    transform: rotate(3deg); /* Inclina para direita */
    z-index: 2; /* Fica na frente */
    background: linear-gradient(to right, #B38728, #FBF5B7, #E0B646, #8B6914); /* A faixa inteira é dourada */
    padding: 8px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8); /* Sombra pesada para destacar do fundo */
}

.faixa-frente .conteudo-rolante {
    animation: moverEsquerda 25s linear infinite; /* Rola para a esquerda mais rápido */
}

/* Letras pretas na faixa dourada da frente */
.faixa-frente span {
    color: var(--black-color);
}

/* 5. OS ROTEIROS DE ANIMAÇÃO */
@keyframes moverEsquerda {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes moverDireita {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* HERO */

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-medium);
    padding: var(--space-large);
    min-height: 100vh;
}

/* HERO CONTEUDO */
.hero-conteudo {
    display: flex;
    flex-direction: column;
    gap: var(--space-medium);
    max-width: 50%;
}

.hero-conteudo h1 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-conteudo p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--white-color);
    
}

/* LOGO */

.logo {
    width: 180px;
    max-width: 100%;
    margin-bottom: -60px;
    align-items: center;

}

/* HERO BOTÃO */

.hero .btn-cta {
    background-color: #18b332;
    right: 60px;
    padding: var(--space-small) var(--space-medium);
    border-radius: var(--radius);
    align-self: flex-start;
    animation: pulsar 1.5s infinite;
}

.hero .btn-cta:hover {
    background-color: #148d28;
    transform: scale(1.1);
    transition: 0.3s;
}

@keyframes pulsar{
    from{
        box-shadow: 0 0 0 0 #148d28;
    }

    to{
        box-shadow: 0 0 0 25px rgba(255, 71, 87, 0);
    }
}

/* Carrosel */

.hero-galeria {
    width: 500px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.conteudo {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: scroll 15s linear infinite;
}

.slide {
    flex-shrink: 0;
    width: 300px;
    height: 450px;
    position: relative;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.9);
    pointer-events: none;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    max-width: 100%;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.linha{
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: var(--space-large) 0;
}

/* Motivos */

.motivos {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-large);
}

.porque {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-large);
    padding: var(--space-large);
}

.motivos h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
}

.motivos-lista {
    display: flex;
    flex-direction: column;
    gap: var(--space-small);
    max-width: 400px;
}

.motivos-lista li{
    font-size: 1.5rem;
    padding: 0.3rem 0.3rem 0.3rem 2rem;
    list-style: none;
    position: relative;
}

.motivos-lista li::before{
    content: "✔";
    position: absolute;
    left: 0;
    font-weight: bold;
    background: linear-gradient(to right, #B38728, #FBF5B7, #E0B646, #8B6914);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.texto-botão{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.texto-botão p{
    font-family: var(--font-text);
    font-size: 1.2rem;
    margin: 2rem;
    text-align: center;
    color:#B6B6B6;
}

.texto-botão .btn-cta{
    background-color: #18b332;
    right: 60px;
    padding: var(--space-small) var(--space-medium);
    border-radius: var(--radius);
    align-self: center;
    animation: pulsar 1.5s infinite;
}

.texto-botão .btn-cta:hover{
    background-color: #148d28;
    transform: scale(1.1);
    transition: 0.3s;
}

@keyframes pulsar{
    from{
        box-shadow: 0 0 0 0 #148d28;
    }

    to{
        box-shadow: 0 0 0 25px rgba(255, 71, 87, 0);
    }
}

/* Vendedores */

.vendedores{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:var(--space-large)
}

.vendedores h2{
    text-align: center;
    font-family: var(--font-title);
    font-size: 1.7rem;
    text-transform: uppercase;
    background: linear-gradient(to right, #B38728, #FBF5B7, #E0B646, #8B6914);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vendedores-lista{
    display: flex;
    justify-content: center;
    gap:3rem;
    width:100%;
}

.vendedor{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #111111;
    border: 2px solid rgba(224, 182, 70, 0.6); /* Borda dourada linda em cada um! */
    padding: 2rem;
    width: 300px;
    gap: 1.5rem;
    border-radius: var(--radius);
    transition: transform 0.3s, border-color 0.3s;
    animation: flutuar 2.5s ease-in-out infinite;
    box-shadow: 0 5px 25px rgba(224, 182, 70, 0.15);
}

.vendedor:hover{
    transform: translateY(-10px);
    border-color: var(--primary-color);
    animation-play-state: paused;
}

.vendedor img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin: 0;
    
}

.vendedor .btn-pedro{
    width: 100%;
    text-align: center;
    align-self: center;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to right, #B38728, #FBF5B7, #E0B646, #8B6914);
    border-radius: var(--radius);
    color: #000000;
}

.vendedor .btn-pedro:hover{
    transform: scale(1.1);
    transition: transform 0.3s;
}

@keyframes flutuar{
    0%{
        transform: translateX(0);
    }
    50%{
        transform: translateY(-20px);
    }
    100%{
        transform: translateX(0);
    }
}

.vendedor2{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #111111;
    border: 2px solid rgba(224, 182, 70, 0.6); /* Borda dourada linda em cada um! */
    padding: 2rem;
    width: 300px;
    gap: 1.5rem;
    border-radius: var(--radius);
    transition: transform 0.3s, border-color 0.3s;
    animation: flutuar 2.2s ease-in-out infinite;
    box-shadow: 0 5px 25px rgba(224, 182, 70, 0.15);
}

.vendedor2:hover{
    transform: translateY(-10px);
    border-color: var(--primary-color);
    animation-play-state: paused;}

.vendedor2 .btn-thiago{
    width: 100%;
    text-align: center;
    align-self: center;
    right: 0;
    color:#000000;
    padding: 1rem;
    background: linear-gradient(to right, #B38728, #FBF5B7, #E0B646, #8B6914);
    border-radius: var(--radius);

}

.vendedor2 .btn-thiago:hover{
    transform: scale(1.1);
    transition: transform 0.3s;
}

.vendedor2 img{
     width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin: 0;
}

/* Feedback */

.feedback{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-medium);
}

.feedback-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Ajuste conforme seu layout */
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: linear-gradient(to right, #B38728, #FBF5B7, #E0B646, #8B6914);    border: none;
     -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.2rem;
}

.prev { left: 10px; }
.next { right: 10px; }

.feedback h2{
    font-family: var(--font-title);
    font-size: 2rem;
}

.slide-feedback {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 20px 0;
    width: 100%;
    scrollbar-width: none; /* Esconde barra de rolagem */
}

.slide-feedback::-webkit-scrollbar { display: none; }

.slide-feedback .item {
    flex: 0 0 calc((100% - 32px) / 3);
    height: auto;
    min-width: 300px;
    scroll-snap-align: start;
}

.slide-feedback .item img{
    height: auto;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 5px 25px rgba(224, 182, 70, 0.15);
}

/* CTA */

.cta{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-medium)
}

.cta h2{
    font-family: var(--font-title);
    text-align: center;
    font-size: 2rem;
}

.cta .texto{
    font-family: var(--font-text);
    display:flex;
    flex-direction: column;
    text-align: center;
    gap: var(--space-medium);
    font-size: 1.3rem;
    color: #B6B6B6;
}

.cta img{
    display: flex;
    align-items: center;
    border-radius: var(--radius);
    box-shadow: 0 5px 25px rgba(224, 182, 70, 0.15);
}

.cta .btn-cta{
    background-color: #18b332;
    right: 60px;
    padding: var(--space-small) var(--space-medium);
    border-radius: var(--radius);
    align-self: center;
    animation: pulsar 1.5s infinite;
}

.cta .btn-cta:hover{
    background-color: #148d28;
    transform: scale(1.1);
    transition: 0.3s;
}

.footer{
    display:flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    margin-top: -50px;
}

.rodape{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-medium);
    gap: 0.5rem;
    color:#B6B6B6;
}

.rodape img{
    width: 150px;
    max-width: 100%;
    margin-bottom: -50px;

}

.creditos{
    color:#B6B6B6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.creditos p .rodape p{
    margin: 0;
}

.creditos .des{
    font-weight: bold;
}