:root {
    /* --- PALETA TÉCNICA --- */
    --brand-black: #141414;
    /* Preto Neutral Black C */
    --brand-off-white: #ede7df;
    /* Off White Warm Gray 1 C */
    --brand-gray: #4a4a4a;
    /* Cinza Cool Gray 11 C */
    --brand-teal: #009db2;
    /* Azul Petróleo Pantone 7711 C */

    /* --- ELEMENTO NOBRE (OURO) --- */
    --color-gold: #C6A75E;
    --color-gold-hover: #d4b66e;

    /* --- MAPEAMENTO DE USO --- */
    --color-bg: var(--brand-black);
    --color-text: var(--brand-off-white);
    --color-text-muted: var(--brand-gray);

    /* --- TIPOGRAFIA --- */
    --font-serif: "Poppins", serif;
    --font-sans: "Poppins", sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

#dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #0b0b0f;
}



.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    /* Transição curta apenas para suavizar micro-pulos */
    transition: opacity 0.5s ease-out, filter 1s ease;
    filter: blur(2px);
}

.bg-layer.active {
    opacity: 0.25;
    visibility: visible;
    filter: blur(0px);
    /* Perde o desfoque ao entrar */
    transform: scale(1);
    /* Volta ao tamanho normal (efeito de zoom out sutil) */
}

.bg-overlay-global {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 20%, #0b0b0f 95%);
    z-index: 2;
}


/* ===========================
   TYPOGRAPHY
   =========================== */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 42rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.gold-text {
    color: var(--color-gold);
}

.container-sm {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-md {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-lg {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 8rem 1.5rem;
    position: relative;
}

.section-dark {
    background-color: var(--color-bg-dark);
}

.section-gradient {
    background: linear-gradient(to bottom, var(--color-bg), var(--color-bg-dark), var(--color-bg));
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s ease;
    animation: slideDown 0.8s ease;
}

#header.scrolled {
    background-color: rgba(11, 11, 15, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(198, 167, 94, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.3s ease;
}

.logo-link:hover .sparkle-icon {
    transform: rotate(12deg);
}

.sparkle-icon {
    color: var(--color-gold);
    transition: transform 0.5s ease;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #009db2;
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #ede7df;
    color: #141414;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.5s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #C6A75E;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid #009db2;
    color: #009db2;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    transition: all 0.5s ease;
}

.btn-outline:hover {
    background-color: #009db21d;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 0.875rem;
}

.btn-secondary {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: 1px solid rgba(198, 167, 94, 0.3);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.5s ease;
}

.btn-secondary:hover {
    background-color: rgba(198, 167, 94, 0.1);
}


.btn-three {
    display: inline-block;
    padding: 1rem 3rem;
    color: #141414;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--brand-off-white);
    transition: all 0.5s;
    position: relative;
}

.btn-three::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.btn-three:hover::before {
    opacity: 0;
    transform: scale(0.5, 0.5);
}

.btn-three::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: scale(1.2, 1.2);
}

.btn-three:hover::after {
    opacity: 1;
    transform: scale(1, 1);
}

/* ===========================
   HERO SECTION
   =========================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--color-bg), var(--color-bg-dark), var(--color-bg));
}

.particles-container {
    position: fixed;
    /* Fixa as partículas na tela enquanto você scrola */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Ocupa a altura da janela de visualização */
    pointer-events: none;
    z-index: 0;
    /* Fica atrás do conteúdo, mas acima do fundo preto */
}

.particle {
    position: absolute;
    /* Tamanhos variados para parecer fragmentos naturais */
    width: 4px;
    height: 4px;

    /* Gradiente metálico (Ouro) */
    background: linear-gradient(135deg, #C6A75E 0%, #FFF4D1 50%, #B38B3D 100%);

    /* Forma irregular (Fragmento de ouro em vez de bola) */
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);

    /* Glow (Brilho que emana da peça) */
    filter: drop-shadow(0 0 5px rgba(198, 167, 94, 0.8));

    opacity: 0.6;
    pointer-events: none;

    /* Animações combinadas: Flutuar + Brilhar + Girar */
    animation:
        float 6s ease-in-out infinite,
        glitter 3s ease-in-out infinite alternate,
        rotateFragment 10s linear infinite;
}

/* Animação para a partícula girar no próprio eixo (reflexo metálico) */
@keyframes rotateFragment {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Animação de cintilação (o brilho "pisca" como ouro sob a luz) */
@keyframes glitter {
    0% {
        opacity: 0.3;
        filter: drop-shadow(0 0 2px rgba(198, 167, 94, 0.4)) brightness(1);
    }

    100% {
        opacity: 0.9;
        filter: drop-shadow(0 0 8px rgba(255, 244, 209, 0.9)) brightness(1.5);
    }
}

/* Flutuação leve */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-40px) translateX(20px);
    }
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg), transparent, rgba(11, 11, 15, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.hero-sparkle {
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-sparkle svg {
    width: 32px;
    height: 32px;
    color: var(--color-gold);
    opacity: 0.6;
    margin: 0 auto 1.5rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-title span {
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 25px;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.9s both;
}

.hero-content .btn-primary {
    animation: fadeInUp 1s ease 1.1s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn 1s ease 1.5s both;
}

.scroll-line {
    width: 1px;
    height: 4rem;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollFloat 2s ease-in-out infinite;
}

@keyframes scrollFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(1.1);
    }

    to {
        opacity: 0.4;
        transform: scale(1);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   DIVIDERS
   =========================== */
.divider-top {
    width: 4rem;
    height: 1px;
    background-color: var(--color-gold);
    margin: 0 auto 3rem;
}

.divider-bottom {
    width: 4rem;
    height: 1px;
    background-color: var(--color-gold);
    margin: 3rem auto 0;
}

.divider-center {
    width: 6rem;
    height: 1px;
    background-color: var(--color-gold);
    margin: 2rem auto;
}

.divider-center-lg {
    width: 6rem;
    height: 1px;
    background-color: var(--color-gold);
    margin: 2rem auto;
}

.divider-gold {
    width: 4rem;
    height: 1px;
    background-color: var(--color-gold);
    margin: 1rem 0;
}

/* ===========================
   MANIFESTO SECTION

   */

#manifesto {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(to top, transparent, rgb(0, 0, 0), transparent);
    overflow: hidden;
}

/* Brilho suave no centro para dar profundidade */
.manifesto-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(198, 167, 94, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.manifesto-content {
    position: relative;
    z-index: 1;
}

/* Divisor com Diamante */
.luxury-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    opacity: 0.6;
}

.luxury-divider .line {
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.luxury-divider .diamond {
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    transform: rotate(45deg);
    box-shadow: 0 0 10px var(--color-gold);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-family: var(--font-serif);
    margin-bottom: 40px;
    line-height: 1.2;
}

.manifesto-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

.quote-container {
    padding: 10px 0;
    position: relative;
}

.quote-text {
    font-family: var(--font-serif);
    color: var(--color-gold) !important;
    font-style: italic;
    font-size: 1.8rem !important;
    position: relative;
}

.legacy-text {
    font-size: 1.5rem !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff !important;
}

.legacy-text .highlight {
    color: var(--color-gold);
    border-bottom: 1px solid var(--color-gold);
    padding-bottom: 5px;
}

/* Linha Vertical refinada */
.vertical-line {
    background: linear-gradient(to bottom, transparent, rgba(198, 167, 94, 0.3), transparent);
    width: 1px;
    z-index: 0;
}

/* No seu CSS */
.reveal-item.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Garante que o container não tenha scroll horizontal durante a animação de lado */


/* ===========================
   ARTE DA CRIAÇÃO SECTION
   =========================== */
.steps-wrapper {
    position: relative;
    padding: 40px 0;
}

/* Linha decorativa de progresso */
.steps-progress-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
    z-index: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 2.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(198, 167, 94, 0.1);
    padding: 40px 30px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(40px);
}

.step-card:hover {
    border-color: #009db2;
    background: rgba(94, 142, 198, 0.05);
    transform: translateY(-10px) !important;
}

.step-icon {
    color: var(--color-gold);
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.step-card:hover .step-icon {
    transform: rotate(5deg);
    color: #009db2;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.step-card:hover .step-number {
    color: #009db2;
}

/* Quando a classe .active for adicionada pelo JS */
.steps-wrapper.animate .step-card {
    opacity: 1;
    transform: translateY(0);
}

.steps-wrapper.animate .steps-progress-line {
    transform: scaleX(1);
}

/* ===========================
   EXCLUSIVIDADE SECTION
   =========================== */
.benefits-grid {
    display: grid;
    max-width: 80vw;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.video-feature {
    grid-column: 1;
    grid-row: span 2;
    padding: 0 !important;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Texto no topo para não tapar a barra de baixo */
}

.benefit-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* Vídeo na camada base */
}

.video-overlay-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0.7), transparent);
}

/* Garante que o vídeo tenha prioridade de clique para os controles aparecerem */
.benefit-video-bg {
    pointer-events: auto;
}

/* AJUSTE PARA TELAS MENORES (TABLETS) */
@media (max-width: 1100px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        /* Vídeo na esquerda, cards na direita */
    }

    .video-feature {
        grid-row: span 2;
    }
}

/* AJUSTE PARA CELULAR */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .video-feature {
        grid-row: span 1;
        height: 500px;
    }
}

/* Mantenha seus estilos de .benefit-card, .benefit-icon e hover aqui embaixo */

/* Seus estilos originais permanecem os mesmos abaixo */
.benefit-card {
    background: var(--brand-black);
    padding: 60px 40px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.benefit-icon {
    /* Ícone no Azul Petróleo da marca */
    color: var(--brand-teal);
    margin-bottom: 30px;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.benefit-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    /* Título no Off White para um contraste elegante */
    color: var(--brand-off-white);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.benefit-description {
    font-size: 0.95rem;
    /* Descrição no Cinza da paleta */
    color: var(--brand-gray);
    line-height: 1.6;
    font-weight: 300;
}

/* Efeito Hover Sutil */
.benefit-card:hover {
    /* Leve clareamento usando o Azul Petróleo com muita transparência */
    background: rgba(0, 157, 178, 0.03);
}

.benefit-card:hover .benefit-icon {
    transform: translateY(-5px);
    /* Glow suave no Azul Petróleo */
    filter: drop-shadow(0 0 10px rgba(0, 157, 178, 0.4));
    opacity: 1;
}

/* Detalhe inferior (Linha de progresso ao passar o mouse) */
.benefit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-teal);
    /* Azul Petróleo */
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.benefit-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Ajuste do Título da Seção para Off White */
.section-dark .section-title {
    color: var(--brand-off-white);
}

.section-dark .divider-center {
    background: var(--brand-teal);
}

/* ===========================
   CRIAR JOIA SECTION
   =========================== */

.ia-lab {
    background-color: #131313;
    padding: 100px 0;
}

.ia-subtitle {
    font-family: var(--font-serif);
    color: var(--brand-off-white);
    text-align: center;
    margin: 0 auto;
    font-size: 17px;
}

.ia-container {
    max-width: 850px;
    margin: 50px auto 0;
}

.ia-card {
    padding: 80px 60px;
    border: 1px solid rgba(242, 242, 242, 0.376);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
    text-align: center;
    position: relative;
}

/* Garante que apenas o passo ativo apareça */
.step {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Estilização da barra de progresso (IA version) */
.ia-progress-container {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    position: absolute;
    top: 0;
    left: 0;
}

.ia-progress-fill {
    height: 100%;
    width: 20%;
    /* Começa em 20% */
    background: var(--brand-teal);
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn-back {
    position: absolute;
    background: transparent;
    border: 1px solid rgba(114, 114, 114, 0.3);
    color: var(--brand-teal);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    padding-top: 4px;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-back:hover {
    background: var(--brand-gray);
    color: #ffffff;
}


/* --- Estilização dos Passos --- */
.step-number {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--brand-teal);
    margin-bottom: 20px;
}

.step h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--brand-off-white);
    margin-bottom: 40px;
}

.select-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.opt-btn {
    background: transparent;
    border: 1px solid #515151;
    padding: 25px 20px;
    font-family: var(--font-sans);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    color: var(--brand-off-white);
}

.opt-btn:hover {
    border-color: var(--brand-teal);
    color: var(--brand-teal);
    background: rgba(0, 157, 178, 0.02);
}


.input-container {
    margin: 30px;
    display: flex;
    flex-direction: column;
}

.ia-textarea {
    width: 97%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid rgba(68, 68, 68, 0.2);
    background: #141414;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    resize: none;
    outline: none;
    transition: all 0.3s ease;
    color: var(--brand-off-white);
}

.ia-textarea:focus {
    background: #000;
}

.ia-textareacor {
    width: 94.2%;
    padding: 10px;
    background: transparent;
    border: 1px solid #515151;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    resize: none;
    outline: none;
    transition: all 0.3s ease;
    color: var(--brand-off-white);
}

.ia-textareacor:focus {
    background: #000;
}

.btn-continuecor {
    background: var(--brand-teal);
    color: white;
    border: none;
    margin-top: 5%;
    padding: 15px;
    width: 200%;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    align-self: center;
    /* Centraliza o botão */
    transition: 0.3s;
}

.btn-continuecor:hover {
    background: var(--brand-gray);
    transform: translateY(-2px);
}

.btn-continuejoia {
    background: var(--brand-teal);
    color: white;
    height: 100%;
    border: none;
    padding: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    align-self: center;
    transition: 0.3s;
}

.btn-continuejoia:hover {
    background: var(--brand-gray);
    transform: translateY(-2px);
}


.btn-continue {
    background: var(--brand-teal);
    color: white;
    border: none;
    margin-top: 5%;
    padding: 15px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    align-self: center;
    /* Centraliza o botão */
    transition: 0.3s;
}

.btn-continue:hover {
    background: var(--brand-gray);
    transform: translateY(-2px);
}


/* --- Card de Resultado Luxuoso --- */
.ia-result-card {
    padding: 40px;
    border: 1px solid rgba(242, 242, 242, 0.376);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    color: var(--brand-off-white);
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.result-image-area {
    margin: 3%;
    transform: scale(1.1);
    background: #fefcf8;
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ia-output-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    animation: revealImg 1.5s ease;
}


#peça-nome {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 20px;
}

.poesia {
    color: var(--brand-off-white);
    line-height: 1.4;
}

.simbolismo {
    padding-top: 25px;
    margin-bottom: 20px;
}

.simbolismo-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* --- Loader Customizado --- */
.ia-spinner {
    width: 50px;
    height: 50px;
    margin-left: 40%;
    border: 2px solid rgba(0, 157, 178, 0.1);
    border-top: 2px solid var(--brand-teal);
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin-bottom: 20px;
}



/* Estilo do Modal Popup */
.modal-ia {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.533);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: 15% auto;
    padding: 25px;
    background-color: #111111f0;
    width: 90%;
    font-size: 20px;
    max-width: 400px;
    text-align: center;
}

.modal-content textarea {
    width: 95%;
    height: 100px;
    background-color: #161616a4;
    margin: 15px 0;
    color: white;
    padding: 10px;
    border: 1px solid #2f2f2f;
    resize: none;
}

.modal-btns {
    display: flex;
    gap: 10px;
}

.btn-cancelar {
    flex: 1;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.btn-enviar-edicao {
    flex: 2;
    padding: 10px;
    background: var(--brand-teal);
    color: #fff;
    border: none;
    cursor: pointer;
}



.result-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
    width: 100%;
}

.action-row {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    width: 70%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: none;
    white-space: nowrap;
    padding: 0 15px;
}

.btn-text {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    transition: all 0.4s ease;
    font-weight: 600;
    font-size: 14px;
}

.btn-action:hover {
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-action:hover .btn-text {
    max-width: 100px;
    opacity: 1;
    margin-left: 10px;
}

/* Cores */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-download {
    background-color: #666666;
    color: white;
}

.btn-refazer {
    background-color: #f0f0f0;
    color: #333;
}

.btn-editar {
    background-color: #008080;
    color: white;
}

/* Exemplo de cor Teal */
.btn-novo {
    background-color: #1a1a1a;
    color: white;
    border: 1px solid #333;
}

/* Ajuste para ícones não sumirem */
.btn-action svg {
    min-width: 20px;
}




/* Responsividade: No mobile, os botões voltam a ficar um embaixo do outro */
@media (max-width: 480px) {
    .result-actions {
        grid-template-columns: 1fr;
    }
}


@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes revealImg {
    from {
        opacity: 0;
        transform: scale(1.1);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .result-grid {
        grid-template-columns: 1fr;
    }

    .select-grid {
        grid-template-columns: 1fr;
    }

    .ia-card {
        padding: 40px 20px;
    }
}



#portfolio {
    padding: 100px 0px 0px 0px;
    background-color: transparent;
    overflow: hidden;
}

.portfolio-container-horizontal {
    width: 100%;
    cursor: grab;
    scroll-behavior: smooth;
    overflow-x: scroll;
    /* Permite scroll manual */
    scrollbar-width: none;
    /* Esconde scrollbar no Firefox */
    padding: 50px 0;
}

.portfolio-container-horizontal::-webkit-scrollbar {
    display: none;
    /* Esconde scrollbar no Chrome/Safari */
}

.portfolio-track {
    display: flex;
    gap: 40px;
    padding-left: 10%;
    /* Início com respiro */
    width: max-content;
}

.portfolio-item {
    position: relative;
    width: 450px;
    /* Largura luxuosa */
    height: 600px;
    flex-shrink: 0;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.parallax-img {
    width: 125%;
    /* Um pouco maior para ter margem de manobra */
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: grayscale(40%) brightness(0.8);

    /* A mágica está aqui: transição suave para transform e filtros */
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1),
        filter 0.6s ease,
        opacity 0.6s ease;

    will-change: transform;
    pointer-events: none;
    /* Evita que a imagem interfira no drag do container */
}

.portfolio-item:hover .parallax-img {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    /* O scale maior no hover ajuda a esconder as bordas durante o movimento */
    transform: scale(1) translateX(0) !important;

}

/* Hover: Revelação da História */
.portfolio-info-overlay {
    position: absolute;
    inset: 0;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.9) 10%, transparent 60%);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.portfolio-item:hover .portfolio-info-overlay {
    opacity: 1;
    transform: translateY(0);
    transition: 1s;
}

.portfolio-item:hover .parallax-img {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05) translateX(0);
    /* Efeito parallax ao focar */
}

.piece-number {
    font-family: var(--font-sans);
    color: var(--brand-teal);
    /* Azul Petróleo */
    font-size: 0.9rem;
    letter-spacing: 4px;
}

.piece-name {
    font-family: var(--font-serif);
    color: var(--color-text);
    font-size: 2.2rem;
    margin: 10px 0;
}

.piece-story {
    color: var(--brand-off-white);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 20px;
}

.piece-link-line {
    width: 40px;
    height: 1px;
    background: var(--brand-teal);
    transition: width 0.6s ease;
}

.portfolio-item:hover .piece-link-line {
    width: 100px;
}


/* depoimentos*/

#depoimentos {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(to top, transparent, rgb(16, 14, 0), transparent);
    min-height: 700px;
}

.feedback-stage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    height: 450px;
}

.feedback-wrapper {
    flex: 1;
    position: relative;
    height: 100%;
}



/* Mantendo o efeito de profundidade que você queria */
.feedback-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateZ(-100px) scale(0.9);
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.feedback-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateZ(0) scale(1);
    filter: blur(0px);
}


.depoimentos-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


/* O holofote de fundo */
.depoimentos-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(198, 167, 94, 0.031) 0%, rgba(0, 0, 0, 0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    filter: blur(50px);
    transition: all 0.5s ease-out;
}

.feedback-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateZ(-100px) scale(0.8);
    filter: blur(15px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.feedback-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateZ(0) scale(1);
    filter: blur(0px);
}

/* Detalhe na frase: letra capitular elegante */
.feedback-text::first-letter {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-gold);
    float: left;
    margin-right: 10px;
    line-height: 1;
}

.feedback-inner {
    max-width: 800px;
    text-align: center;
}

.feedback-quote {
    font-family: var(--font-serif);
    font-size: 120px;
    color: var(--brand-teal);
    /* Azul Petróleo para um ar moderno */
    line-height: 0;
    display: block;
    margin-bottom: 40px;
    opacity: 0.3;
}

.feedback-text {
    font-size: 1.4rem;
    color: var(--brand-off-white);
    line-height: 1.6;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 40px;
}

.feedback-client {
    color: var(--color-gold);
    /* Ouro no nome para destaque nobre */
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.feedback-service {
    color: var(--brand-off-white);
    letter-spacing: 3px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Controles de Progresso */
.feedback-controls {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.feedback-nav {
    background: transparent;
    border: 1px solid rgba(114, 114, 114, 0.3);
    color: var(--brand-teal);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-nav:hover {
    background: var(--brand-off-white);
    color: var(--brand-gray);
}

.feedback-line-progress {
    width: 200px;
    height: 2px;
    background: rgba(74, 74, 74, 0.3);
    position: relative;
}

.progress-bar {
    position: absolute;
    height: 100%;
    width: 33.33%;
    background: var(--brand-teal);
    transition: all 0.6s ease;
}

.feedback-numbers {
    color: var(--brand-off-white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 2px;
}


.signature-wrapper {
    width: 200px;
    /* Ajuste conforme necessário */
    margin-left: auto;
}

.signature-rubrica {
    width: 100%;
    fill: none;
    stroke: var(--color-gold);
    stroke-width: 2.5;
    /* Traço levemente mais grosso para elegância */
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 2px rgba(198, 167, 94, 0.4));
    /* Leve brilho na tinta */
}

#rubrica-path {
    /* Estado inicial: totalmente escondido */
    stroke-dashoffset: 1500;
    stroke-dasharray: 1500;
}

/* Classe disparada pelo JS */
#rubrica-path.animar {
    animation: escreverRubrica 2.5s cubic-bezier(0.45, 0, 0.55, 1) forwards;
}

@keyframes escreverRubrica {
    from {
        stroke-dashoffset: 1500;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.signature-name {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--brand-teal);
    margin-top: -15px;
    text-align: right;
    padding-right: 10px;
    opacity: 0;
    transition: all 0.6s ease;
}

.signature-name.show {
    opacity: 0.7;
    transform: translateY(-5px);
}


/* ===========================
   SOBRE O ARTISTA SECTION
   =========================== */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .sobre-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.sobre-image-container {
    position: relative;
    transition: 1s all ease;
    width: 80%;
}

.sobre-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 5px;
    filter: grayscale(100%);
}

.sobre-image-container:hover {
    transform: scale(1.05);
}

.sobre-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg), transparent);
}

.sobre-label {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
}

.sobre-label-line {
    width: 2px;
    height: 3rem;
    background-color: var(--color-gold);
    margin-bottom: 1rem;
}

.sobre-label-subtitle {
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.sobre-label-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.sobre-header {
    margin-bottom: 2rem;
}

.sobre-header .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.sobre-text p {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--color-text);
    /* Ajustado para visibilidade */
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Classe ativada via JS */
.sobre-text p.reveal {
    opacity: 1;
    transform: translateX(0);
}


.sobre-quote {
    font-family: var(--font-serif);
    color: var(--brand-teal) !important;
    font-style: italic;
}

/* Estado inicial dos parágrafos para o Fade In Left */

/* Ajuste na Assinatura */
.sobre-signature {
    padding-top: 1.5rem;
    overflow: hidden;
    /* Garante que a linha não vaze */
}

.signature-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.signature-line {
    width: 0%;
    /* Começa em 0 */
    height: 1px;
    background-color: var(--brand-teal);
    transition: width 0.1s linear;
    /* Transição curta para suavidade no scroll */
}


/* ===========================
   CTA FINAL SECTION
   =========================== */
.cta-section {
    position: relative;
    padding: 140px 0;
    text-align: center;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    transition: transform 2s ease;
}

.cta-overlay {
    position: absolute;
    inset: 0;
}

.cta-content {
    position: relative;
    z-index: 10;
}

/* Tipografia */
.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.gold-gradient-text {
    background: linear-gradient(90deg, #C6A75E, #726100, #C6A75E);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShine 4s linear infinite;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Botões - Alinhamento Horizontal */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-magnetic,
.btn-outline-glow {
    min-width: 250px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Botão Gold Animado */
.btn-magnetic {
    position: relative;
    padding: 20px 40px;
    background: var(--brand-off-white);
    color: #000 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
}

/* Botão Outline */
.btn-outline-glow {
    padding: 20px 40px;
    border: 1px solid var(--brand-teal);
    color: var(--brand-teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-outline-glow:hover {
    background: rgba(94, 184, 198, 0.1);
    box-shadow: 0 0 20px rgba(94, 160, 198, 0.2);
}

/* Contatos - Layout Limpo */
.cta-contacts-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
}

.contacts-label {
    color: var(--color-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.contacts-list-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--color-gold);
}

.contact-dot {
    color: var(--color-gold);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .contacts-list-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-dot {
        display: none;
    }

    .btn-magnetic,
    .btn-outline-glow {
        width: 100%;
    }
}

/* ===========================
   FOOTER
   =========================== */
#footer {
    border-top: 1px solid rgba(198, 167, 94, 0.1);
    padding: 3rem 1.5rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo svg {
    color: var(--color-gold);
}

.footer-logo span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--color-text-dark);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(198, 167, 94, 0.1);
    text-align: center;
}

.footer-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.875rem;
    color: var(--color-text-dark);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .section {
        padding: 4rem 1.5rem;
    }
    .steps-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .joia-form,
    .joia-result {
        padding: 2rem 1.5rem;
    }

    .portfolio-item {
        width: 320px;
    }

    .portfolio-image-container img {
        height: 400px;
    }
}

@media (max-width: 480px) {

    /* 1. Impede rolagem lateral no nível mais alto */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .particles-container {
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    header {
        display: none;
        /* 'display: none' é melhor que 'visibility: hidden' para remover o espaço */
    }
}