/* ================================
   RESET & VARIÁVEIS TEMÁTICAS
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azul-escuro: #020d27;
    --azul-medio: #063d8f;
    --azul-royal: #0055b8;
    --azul-claro: #1689ff;
    --celeste: #4db8ff;
    --branco: #ffffff;
    --cinza-claro: #dcecff;
    --cinza-texto: #a8c5eb;
    --sombra: rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
}

/* PLANO DE FUNDO (ILUMINAÇÃO CELESTE + PROFUNDIDADE) */
body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--azul-escuro);
    background-image:
        radial-gradient(circle at 50% 15%, rgba(22, 137, 255, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(6, 61, 143, 0.3) 0%, transparent 70%),
        radial-gradient(circle at 50% 100%, rgba(2, 13, 39, 0.8) 0%, transparent 80%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.012) 0px, rgba(255, 255, 255, 0.012) 2px, transparent 2px, transparent 12px),
        linear-gradient(180deg, #010a1c 0%, #031742 40%, #020d27 80%, #010817 100%);
    background-attachment: fixed;
    color: var(--branco);
    overflow-x: hidden;
}

.pagina {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ================================
   HERO / TELA INICIAL
================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 40px;
    background:
        radial-gradient(circle at 50% 20%, rgba(0, 132, 255, 0.35), transparent 45%),
        linear-gradient(135deg, rgba(2, 13, 39, 0.8), rgba(6, 61, 143, 0.8) 50%, rgba(1, 19, 49, 0.9));
}

/* Estrelas do fundo animadas */
.estrelas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.estrelas span {
    position: absolute;
    color: rgba(255, 255, 255, 0.45);
    font-size: 18px;
    animation: brilho 3s ease-in-out infinite;
    will-change: transform, opacity;
}

.estrelas span:nth-child(1) { top: 10%; left: 12%; font-size: 14px; animation-delay: 0s; }
.estrelas span:nth-child(2) { top: 20%; right: 15%; font-size: 22px; animation-delay: 0.7s; }
.estrelas span:nth-child(3) { top: 55%; left: 8%; font-size: 12px; animation-delay: 1.2s; }
.estrelas span:nth-child(4) { top: 72%; right: 10%; font-size: 17px; animation-delay: 1.8s; }
.estrelas span:nth-child(5) { top: 35%; left: 25%; font-size: 10px; animation-delay: 2.2s; }

@keyframes brilho {
    0%, 100% {
        opacity: 0.25;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.4);
        text-shadow: 0 0 15px #fff;
    }
}

/* Card Principal do Hero */
.hero-conteudo {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    padding: 45px 40px;
    text-align: center;
    background: rgba(3, 27, 78, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 25px 70px var(--sombra), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: aparecer 0.8s ease-out;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Escudo & Cruzeiro do Sul no Hero */
.escudo {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle, #1689ff 0%, #0055b8 55%, #003b83 100%);
    border: 5px solid var(--branco);
    box-shadow: 0 0 0 5px rgba(22, 137, 255, 0.3), 0 0 35px rgba(22, 137, 255, 0.7);
    animation: flutuar 4s ease-in-out infinite;
    will-change: transform;
}

.cruzeiro {
    position: relative;
    width: 80px;
    height: 90px;
}

.cruzeiro span {
    position: absolute;
    color: var(--branco);
    font-size: 18px;
    line-height: 1;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%);
}

.cruzeiro span:nth-child(1) { top: 12%; left: 50%; }
.cruzeiro span:nth-child(2) { top: 38%; left: 18%; }
.cruzeiro span:nth-child(3) { top: 48%; left: 60%; font-size: 11px; }
.cruzeiro span:nth-child(4) { top: 38%; left: 82%; }
.cruzeiro span:nth-child(5) { top: 88%; left: 50%; }

@keyframes flutuar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.subtitulo {
    margin-bottom: 12px;
    color: var(--celeste);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 4px;
}

h1 {
    font-size: clamp(38px, 8vw, 54px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

h1 strong {
    display: block;
    margin-top: 8px;
    color: transparent;
    background: linear-gradient(90deg, #ffffff, #5fc2ff, #ffffff);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    animation: textoBrilho 4s linear infinite;
}

@keyframes textoBrilho {
    to { background-position: 200% center; }
}

.linha {
    width: 90px;
    height: 4px;
    margin: 25px auto;
    border-radius: 10px;
    background: linear-gradient(90deg, transparent, var(--celeste), transparent);
    box-shadow: 0 0 15px rgba(77, 184, 255, 0.7);
}

.descricao {
    max-width: 390px;
    margin: 0 auto;
    color: var(--cinza-claro);
    font-size: 16px;
    line-height: 1.6;
}

.frase {
    margin-top: 20px;
    color: var(--branco);
    font-size: 15px;
    font-weight: 700;
}

.frase span {
    color: var(--celeste);
}

.botoes {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.btn {
    flex: 1;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.voltar {
    color: var(--branco);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.voltar:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.comecar {
    color: #003477;
    background: linear-gradient(135deg, #ffffff, #bce8ff);
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.comecar span {
    margin-left: 8px;
    font-size: 20px;
    transition: transform 0.25s ease;
}

.comecar:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 170, 255, 0.35);
}

.comecar:hover span {
    transform: translateX(5px);
}

/* Selo "Rei de Copas" no Hero */
.hero-titulo {
    position: relative;
    z-index: 2;
    margin-top: 30px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(77, 184, 255, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--celeste);
}

.hero-titulo small {
    color: var(--branco);
    opacity: 0.8;
    font-size: 11px;
    margin-left: 5px;
}

/* ================================
   BOTÕES ADICIONAIS / QUIZ TOPO
================================ */
.quiz-topo {
    background: #ffffff;
    color: #0b3d91;
    border: 2px solid #ffffff;
    text-decoration: none;
}

.quiz-topo:hover {
    background: #0b3d91;
    color: #ffffff;
}

/* ================================
   TÍTULOS DE SEÇÃO COMPARTILHADOS
================================ */
.titulo-secao {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.titulo-secao.central {
    justify-content: center;
}

.titulo-secao .numero {
    font-size: 36px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px var(--celeste);
    opacity: 0.7;
}

.titulo-secao p {
    font-size: 12px;
    font-weight: 800;
    color: var(--celeste);
    letter-spacing: 2px;
}

.titulo-secao h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--branco);
}

/* ================================
   SEÇÃO HISTÓRIA
================================ */
.historia {
    width: min(100%, 1000px);
    padding: 80px 20px;
}

.historia-conteudo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.historia-texto .data {
    display: inline-block;
    padding: 4px 12px;
    background: var(--azul-royal);
    color: var(--branco);
    font-weight: 800;
    font-size: 14px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.historia-texto h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--branco);
}

.historia-texto p {
    color: var(--cinza-texto);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.historia-imagem {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px var(--sombra);
}

.historia-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.historia-imagem:hover img {
    transform: scale(1.05);
}

.imagem-legenda {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(2, 13, 39, 0.95));
    display: flex;
    flex-direction: column;
}

.imagem-legenda span {
    font-size: 11px;
    color: var(--celeste);
    letter-spacing: 2px;
}

.imagem-legenda strong {
    font-size: 18px;
    color: var(--branco);
}

/* Linha do Tempo */
.linha-tempo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.evento {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    border-left: 4px solid var(--azul-claro);
    transition: transform 0.3s ease, background 0.3s ease;
}

.evento:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
}

.evento span {
    font-size: 13px;
    font-weight: 800;
    color: var(--celeste);
}

.evento h4 {
    font-size: 16px;
    margin: 6px 0;
    color: var(--branco);
}

.evento p {
    font-size: 13px;
    color: var(--cinza-texto);
}

/* ================================
   SEÇÃO TÍTULOS
================================ */
.titulos {
    width: 100%;
    background: linear-gradient(180deg, transparent, rgba(6, 61, 143, 0.25), transparent);
    padding: 80px 20px;
    text-align: center;
}

.texto-central {
    max-width: 500px;
    margin: 0 auto 40px;
    color: var(--cinza-texto);
    font-size: 16px;
}

.trofeus {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.trofeu {
    flex: 1;
    min-width: 200px;
    background: rgba(3, 27, 78, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 30px 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.trofeu:hover {
    transform: translateY(-8px);
    border-color: var(--celeste);
}

.trofeu span {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.trofeu strong {
    font-size: 42px;
    font-weight: 900;
    color: var(--branco);
    display: block;
}

.trofeu p {
    font-size: 14px;
    color: var(--celeste);
    font-weight: 700;
    margin-top: 5px;
}

/* ================================
   SEÇÃO ÍDOLOS
================================ */
.idolos {
    width: min(100%, 1200px);
    padding: 80px 20px;
}

.texto-idolos {
    color: var(--cinza-texto);
    font-size: 16px;
    margin-bottom: 40px;
}

.cards-idolos {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 15px;
    width: 100%;
}

.idolo {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.idolo:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: rgba(77, 184, 255, 0.3);
}

.idolo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.idolo-info {
    padding: 15px;
}

.idolo-info span {
    font-size: 12px;
    font-weight: 800;
    color: var(--celeste);
}

.idolo-info h3 {
    font-size: 15px;
    margin: 4px 0 8px;
    color: var(--branco);
}

.idolo-info p {
    font-size: 12px;
    color: var(--cinza-texto);
    line-height: 1.4;
}

/* ================================
   PLAYER DE ÁUDIO (HINO)
================================ */
.secao-musica {
    width: min(100%, 800px);
    padding: 20px 20px 40px;
}

.musica-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 30px;
    background: rgba(6, 61, 143, 0.4);
    border: 1px solid rgba(77, 184, 255, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.icone-musica {
    font-size: 32px;
}

.musica-texto {
    flex: 1;
}

.musica-texto h3 {
    font-size: 18px;
    color: var(--branco);
    margin-bottom: 4px;
}

.musica-texto p {
    font-size: 13px;
    color: var(--cinza-texto);
}

.btn-player {
    padding: 12px 24px;
    background: var(--azul-claro);
    color: var(--branco);
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(22, 137, 255, 0.4);
}

.btn-player:hover {
    background: var(--celeste);
    color: var(--azul-escuro);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(77, 184, 255, 0.6);
}

/* ================================
   CHAMADA FINAL PARA O QUIZ
================================ */
.chamada {
    width: min(100%, 800px);
    padding: 40px 20px 80px;
}

.chamada-conteudo {
    text-align: center;
    background: linear-gradient(135deg, #003b83, #063d8f);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    padding: 50px 30px;
    box-shadow: 0 20px 50px var(--sombra);
}

.chamada-icone {
    font-size: 32px;
    color: var(--celeste);
    display: block;
    margin-bottom: 10px;
}

.chamada-conteudo p {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--celeste);
}

.chamada-conteudo h2 {
    font-size: 32px;
    margin: 10px 0;
    color: var(--branco);
}

.chamada-conteudo h2 strong {
    color: var(--celeste);
}

.chamada-texto {
    color: var(--cinza-claro) !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
    max-width: 450px;
    margin: 0 auto 30px !important;
}

.quiz-final {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--branco);
    color: var(--azul-escuro);
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quiz-final:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

.quiz-final span {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.quiz-final:hover span {
    transform: translateX(5px);
}

/* ================================
   RODAPÉ
================================ */
footer {
    width: 100%;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-escudo {
    font-size: 20px;
    color: var(--celeste);
    margin-bottom: 8px;
}

footer p {
    font-size: 13px;
    font-weight: 800;
    color: var(--branco);
    letter-spacing: 1px;
}

footer span {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 2px;
}

/* ================================
   RESPONSIVIDADE
================================ */
@media (max-width: 900px) {
    .cards-idolos {
        overflow-x: auto;
        padding-bottom: 15px;
        scroll-snap-type: x mandatory;
    }

    .idolo {
        min-width: 200px;
        scroll-snap-align: start;
    }
}

@media (max-width: 768px) {
    .historia-conteudo {
        grid-template-columns: 1fr;
    }

    .hero-conteudo {
        padding: 35px 20px;
    }

    .botoes {
        flex-direction: column;
    }

    .trofeus {
        flex-direction: column;
    }

    .chamada-conteudo h2 {
        font-size: 24px;
    }

    .musica-card {
        flex-direction: column;
        text-align: center;
    }
}