/* ==========================================================
   PÁGINA INICIAL (INDEX.HTML)
========================================================== */

body.pagina-inicial {
    color: #fff;
    background: linear-gradient(to bottom, #2c253d, #1f1a2c);
}

.secao-destaque {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 120px 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)), url("../img/fundo_inicial.jpg") center center / cover no-repeat fixed;
    border-bottom: 2px solid var(--borda-escura);
}

.destaque-conteudo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1300px;
}

.destaque-texto {
    flex: 1;
    max-width: 600px;
}

.destaque-texto h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.destaque-texto h1 {
    font-size: 5.5rem;
    font-weight: 800;
    color: #8b5cf6;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.destaque-texto p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #e6e6e6;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.destaque-botoes {
    display: flex;
    gap: 15px;
}

.destaque-imagem {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(10px);
}

.destaque-imagem img {
    width: 260px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}


/* ==========================================================
   CARROSSEL (PROTÓTIPO FIEL)
========================================================== */

.secao-recursos {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    color: #fff;
}

.secao-recursos h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #e6e6e6;
}

.carrossel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carrossel-trilho-container {
    background-color: #2c1e4a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.carrossel-trilho {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.carrossel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.recurso-linha {
    display: flex;
    align-items: stretch;
    gap: 40px;
    padding: 50px 40px;
    margin: 0;
    min-height: 500px;
}

.recurso-linha.invertido {
    flex-direction: row-reverse;
}

.recurso-imagem {
    flex: 0 0 45%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.recurso-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recurso-texto {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.recurso-texto h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.recurso-texto p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d1c8e8;
    margin-bottom: 30px;
}

.recurso-botoes {
    display: flex;
    gap: 15px;
}

.botao-claro {
    background-color: #ffffff;
    color: #2c1e4a;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border: none;
    cursor: pointer;
}

.botao-claro:hover {
    transform: scale(1.05);
    background-color: #f0f0f0;
}

.btn-carrossel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #fff;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease, color 0.2s ease;
}

.btn-carrossel:hover {
    transform: translateY(-50%) scale(1.1);
    color: #b59bf7;
}

.btn-anterior {
    left: -70px;
}

.btn-proximo {
    right: -70px;
}

/* ==========================================================
   NOVA SEÇÃO: O QUE É UM RPG
========================================================== */

.o-que-e-rpg {
    background: transparent;
    /* Combina com o gradiente do fundo */
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rpg-container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(193, 147, 253, 0.2);
    border-radius: 25px;
    padding: 60px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.rpg-texto {
    flex: 1.5;
    z-index: 2;
}

.rpg-texto h2 {
    font-size: 2.5rem;
    color: #C193FD;
    /* Roxo claro para dar destaque */
    margin-bottom: 25px;
    font-weight: 800;
}

.rpg-texto p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #d1c8e8;
    margin-bottom: 15px;
    text-align: justify;
}

.rpg-texto strong {
    color: #ffffff;
    font-weight: 700;
}

.rpg-icone {
    flex: 0.5;
    font-size: 11rem;
    color: rgba(193, 147, 253, 0.15);
    /* Dado translúcido roxo */
    display: flex;
    justify-content: center;
    align-items: center;
    animation: flutuar 4s ease-in-out infinite;
    /* Animação flutuante */
    z-index: 1;
}

/* Animação que faz o D20 flutuar e girar levemente */
@keyframes flutuar {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(8deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Responsividade para celulares */
@media (max-width: 768px) {
    .rpg-container {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    .rpg-texto p {
        text-align: center;
    }

    .rpg-icone {
        font-size: 7rem;
    }
}