/* ================================
   VARIÁVEIS
================================ */
:root{
    --bg-main:#1e1e1e;
    --bg-dark:#121212;
    --bg-card:#262626;

    --text-main:#ffffff;
    --text-muted:#b5b5b5;

    --gold:#ffdd66;
}

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

html{scroll-behavior:smooth;}

body{
    font-family:'Inter',Arial,Helvetica,sans-serif;
    background:linear-gradient(180deg,#1c1c1c,#121212);
    color:var(--text-main);
}

.section-anchor{scroll-margin-top:110px;}

/* CONTAINER */
.container{
    width:90%;
    max-width:1150px;
    margin:auto;
}

.center{text-align:center;}

/* HEADER */
.header{
    position:fixed;
    top:0;
    width:100%;
    z-index:999;
    background:#121212;
    border-bottom:2px solid var(--gold);
}

.header-flex{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 0;
}

.logo img{height:52px;}

/* MENU */
.menu{
    display:flex;
    align-items:center;
}

.menu a{
    color:#ffffff;
    margin-left:20px;
    text-decoration:none;
    font-size:14px;
}

/* ===========================================
   BOTÃO COMPRAR — COR CINZA (CORRIGIDO)
=========================================== */
.menu a.btn-comprar{
    margin-left:30px;
    padding:12px 28px;
    border-radius:14px;
    font-weight:800;
    text-decoration:none;

    color:#2b2b2b; /* ✅ AGORA FUNCIONA */
    position:relative;
    overflow:hidden;
    isolation:isolate;

    background:linear-gradient(
        135deg,
        #ffdd66,
        #fff1b0
    );

    box-shadow:
        0 0 20px rgba(255,221,102,.95),
        0 0 55px rgba(255,221,102,.7),
        0 0 110px rgba(255,221,102,.45);

    animation:comprarPulse 1.5s ease-in-out infinite;
}

/* pulso */
@keyframes comprarPulse{
    0%{transform:scale(1);}
    50%{transform:scale(1.12);}
    100%{transform:scale(1);}
}

/* brilho passando */
.menu a.btn-comprar::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        120deg,
        transparent 25%,
        rgba(255,255,255,.95) 45%,
        rgba(255,255,255,.95) 55%,
        transparent 75%
    );
    transform:translateX(-120%);
    animation:brilhoPassando 2.6s linear infinite;
    pointer-events:none;
}

@keyframes brilhoPassando{
    from{transform:translateX(-120%);}
    to{transform:translateX(120%);}
}

.menu a.btn-comprar:hover{
    filter:brightness(1.12);
}

/* HERO */
.hero{
    padding:140px 0 100px;
    text-align:center;
}

.hero-content h1{
    font-size:44px;
    line-height:1.2;
    font-weight:700;
}

.hero-content h1 span{color:var(--gold);}

.hero-subtitle{
    margin-top:22px;
    font-size:18px;
    color:var(--text-muted);
    max-width:720px;
    margin:auto;
}

.hero-actions{margin-top:42px;}

/* BOTÕES */
.btn{
    padding:18px 40px;
    border-radius:10px;
    font-weight:600;
    border:none;
    cursor:pointer;
    transition:.3s;
}

.btn-primary{
    background:var(--gold);
    color:#000;
}

.btn-lg{font-size:19px;}

.btn:hover{transform:translateY(-3px);}

.full{width:100%;}

/* PLAYER */
.video-wrapper{
    margin-top:52px;
    display:flex;
    justify-content:center;
}

.video-container{
    width:100%;
    max-width:820px;
    aspect-ratio:16/9;
    background:#000;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 0 35px rgba(0,0,0,.9);
}

.video-container video{
    width:100%;
    height:100%;
    object-fit:contain;
}

/* SEÇÕES */
.section{padding:100px 0;}
.section.dark{background:#141414;}

.section h2{
    text-align:center;
    margin-bottom:42px;
    font-size:32px;
}

/* LISTA */
.lista{
    max-width:680px;
    margin:auto;
    list-style:none;
}

.lista li{
    background:var(--bg-card);
    margin-bottom:14px;
    padding:18px;
    border-left:4px solid var(--gold);
}

/* CARDS */
.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:24px;
}

.card{
    background:var(--bg-card);
    padding:30px;
    border-radius:12px;
    text-align:center;
}

/* PLATAFORMAS */
.plataformas{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:36px;
    flex-wrap:wrap;
}

.plataforma{
    padding:18px 30px;
    border-radius:10px;
    font-weight:700;
    text-decoration:none;
}

.hotmart{background:#ff5a00;color:#fff;}
.udemy{background:#a435f0;color:#fff;}
.kiwify{background:#00c07f;color:#000;}

/* FOOTER */
.footer{
    background:#0d0d0d;
    padding:28px;
    text-align:center;
    color:var(--text-muted);
}

/* MODAL */
.modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.8);
    z-index:1000;
    justify-content:center;
    align-items:center;
}

.modal-content{
    background:var(--bg-card);
    padding:40px;
    border-radius:12px;
    width:90%;
    max-width:420px;
    position:relative;
}

.modal-content input{
    width:100%;
    padding:14px;
    margin-bottom:14px;
    border-radius:6px;
    border:none;
}

.fechar-modal{
    background:none;
    border:none;
    font-size:24px;
    color:#fff;
    position:absolute;
    top:20px;
    right:24px;
}

/* RESPONSIVO */
@media(max-width:768px){
    .hero-content h1{font-size:32px;}
    .section{padding:70px 0;}
}
