/* Reset inteligente: substitui o seletor universal para evitar avisos de lentidão */
html, body, header, section, footer, div, h1, h2, h3, h4, p, ul, li, span, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* O aaPanel reclama, mas é vital para mobile */
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: #0f0518;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 90px;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* --- BOTÕES DE ALTA CONVERSÃO --- */
.cta-button {
    background: linear-gradient(90deg, #f5c542 0%, #ffd700 100%);
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    padding: 20px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 20px rgba(245, 197, 66, 0.5);
    transition: all 0.3s ease;
    margin-top: 20px;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(245, 197, 66, 0.8);
}

/* --- HERO SECTION ATUALIZADA (ADAPTIVE) --- */
.hero {
    padding: 80px 0 60px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden; /* Evita que a imagem vaze o container */
}

/* Estilo para a nova tag picture e imagem de fundo */
.hero-bg-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom; /* Foca nas fichas e roleta na base no mobile */
}

/* Overlay de proteção para o texto brilhar sobre a imagem */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 5, 24, 0.75), rgba(15, 5, 24, 0.95));
    z-index: 2;
}

/* Garante que o conteúdo fique acima da imagem e do overlay */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero h1 {
    font-size: 2.2rem; /* Leve redução para mobile */
    color: #ff4fa3;
    text-shadow: 0 0 20px rgba(255, 47, 139, 0.8);
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero h2 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.highlight {
    color: #f5c542;
}

.hero-benefits {
    list-style: none;
    margin: 0 auto 30px;
    text-align: left;
    display: inline-block;
}

.hero-benefits li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- CARDS "COMO FUNCIONA" --- */
.how-it-works {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.3);
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-card {
    background: rgba(106, 13, 173, 0.2);
    border: 1px solid rgba(255, 47, 139, 0.3);
    border-radius: 20px;
    padding: 35px 20px;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: #ff2f8b;
    background: rgba(106, 13, 173, 0.3);
}

.icon-box {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: block;
}

/* --- LISTA QUEM PODE PARTICIPAR --- */
.who-can-join {
    padding: 60px 0;
}

.join-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.join-list li {
    background: linear-gradient(135deg, #ff2f8b, #6a0dad);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 47, 139, 0.3);
}

/* --- BENEFÍCIOS --- */
.platform-benefits {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.3);
}

.benefit-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 18px;
    border-radius: 15px;
    border-left: 5px solid #ff2f8b;
    text-align: left;
    margin-bottom: 15px;
    font-weight: 600;
}

/* --- BOTÃO FLUTUANTE PULSANTE --- */
.floating-wa {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- MEDIA QUERIES (DESKTOP) --- */
@media (min-width: 768px) {
    .hero h1 { font-size: 4.5rem; }
    .hero h2 { font-size: 2rem; }
    .steps-grid { flex-direction: row; }
    .step-card { flex: 1; }
    .benefit-item { width: 48%; display: inline-block; margin: 1%; }
}

/* --- INDICADOR DE SCROLL --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    cursor: pointer;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #ff2f8b;
    border-right: 2px solid #ff2f8b;
    transform: rotate(45deg);
    animation: scroll-animate 2s infinite;
}

@keyframes scroll-animate {
    0% { transform: rotate(45deg) translate(0, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: rotate(45deg) translate(10px, 10px); opacity: 0; }
}