/* ==================== ESTILOS ATUALIZADOS DA PÁGINA DO CONCURSO ==================== */

/* CABEÇALHO ATUALIZADO */
#header.transparent-header {
    background: transparent;
    position: absolute; /* Posição sobre o hero */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}
#header.transparent-header .logo {
    color: white;
    text-align: center;
    width: 100%;
}
#header.transparent-header .logo span {
    color: var(--primary-color);
}


/* HERO SECTION */
#contest-hero {
    padding: 10rem 0 6rem 0; /* Mais padding no topo para o header */
    background: url('/images/FB_IMG_1752844000387.jpg') no-repeat center center/cover;
    position: relative;
    color: white;
}

#contest-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 53, 102, 0.95), rgba(0, 53, 102, 0.7));
    z-index: 1;
}

.contest-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-tag {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-family: var(--title-font);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.contest-title {
    font-family: var(--title-font);
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contest-title span {
    color: var(--primary-color);
}

.contest-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.btn-cta {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-family: var(--title-font);
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* PRÊMIOS - GERAL */
#prizes-overview, #mom-prize {
    background-color: var(--container-color);
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.prize-card-overview {
    background: #f7f9fc;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.prize-card-overview:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.prize-card-overview i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.prize-card-overview h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
}


/* LIVE REVEAL */
#live-reveal {
    background: linear-gradient(120deg, var(--secondary-color), var(--purple-color));
    color: white;
    padding: 4rem 0;
}
.live-reveal-content { display: flex; align-items: center; gap: 3rem; }
.live-icon i { font-size: 6rem; text-shadow: 0 0 20px rgba(255,255,255,0.5); }
.live-text h2 { font-family: var(--title-font); font-size: 2.5rem; margin-bottom: 1rem; }
.live-details { display: flex; gap: 2rem; margin-top: 1.5rem; background-color: rgba(255,255,255,0.1); padding: 1rem; border-radius: 10px; display: inline-flex; }
.live-details span { font-size: 1.2rem; font-weight: bold; }


/* ================================================== */
/* PRÊMIOS DETALHADOS - VERSÃO MELHORADA     */
/* ================================================== */

#detailed-prizes {
    background-color: #f0f6ff;
    padding: 5rem 0;
}

/* ABAS COM DESIGN DE PÍLULA */
.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-link {
    padding: 1rem 2.5rem;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 50px; /* Formato de pílula */
    background: white;
    font-family: var(--title-font);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-color);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tab-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tab-link.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 53, 102, 0.25);
}

/* ANIMAÇÃO SUAVE PARA O CONTEÚDO */
.tab-content {
    display: none;
    animation: fadeIn 0.6s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LAYOUT DESKTOP: GRID */
.prize-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    gap: 3rem;
    background-color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 81, 154, 0.15);
    overflow: hidden;
}

.prize-image img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prize-list h3 {
    font-family: var(--title-font);
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.prize-list ul {
    list-style: none;
    padding: 0;
}

.prize-list ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.prize-list ul li:last-child {
    margin-bottom: 0;
}

.prize-list ul li i {
    color: var(--primary-color);
    margin-top: 6px;
    font-size: 1.2rem;
}


/* PRÊMIO DA MÃE */
#mom-prize { background-color: #fff; }
.mom-prize-content { display: grid; grid-template-columns: 1fr 1.5fr; align-items: center; gap: 4rem; }
.mom-prize-image img { border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.mom-prize-text .inspiration { font-style: italic; margin: 1.5rem 0; }


/* FINAL CTA - NOVA UX/UI */
#final-cta {
    background: var(--secondary-color);
    padding: 5rem 0;
    color: white;
}
.final-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1120px;
    margin: auto;
    padding: 0 1rem;
}
.final-cta-text h2 {
    font-family: var(--title-font);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.final-cta-text p {
    font-size: 1.2rem;
    opacity: 0.8;
}
.btn-cta-final {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 100px;
    font-family: var(--title-font);
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.4s ease-in-out;
}
.btn-cta-final i {
    background: var(--secondary-color);
    color: white;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: transform 0.4s;
}
.btn-cta-final:hover {
    padding-right: 2.5rem;
}
.btn-cta-final:hover i {
    transform: rotate(360deg) scale(1.1);
}


/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .mom-prize-content { grid-template-columns: 1fr; text-align: center; }
    .mom-prize-image { margin-bottom: 2rem; }
    .prize-content-wrapper {
        grid-template-columns: 1fr; /* Coluna única */
        padding: 0; /* Remove padding para a imagem encostar nas bordas */
        gap: 0;
    }

    /* IMAGEM VIRA O CABEÇALHO DO CARD */
    .prize-image img {
        border-radius: 20px 20px 0 0; /* Arredonda apenas os cantos de cima */
        height: 280px; /* Altura fixa para a imagem */
    }

    /* ÁREA DE TEXTO DENTRO DO CARD */
    .prize-list {
        padding: 2.5rem;
        text-align: center; /* Centraliza o título */
    }

    .prize-list h3 {
       margin-top: 0;
    }

    /* Garante que a lista fique centralizada mas com texto à esquerda */
    .prize-list ul {
       display: inline-block;
       text-align: left;
       margin-top: 1rem;
    }

}
@media (max-width: 768px) {
    #header.transparent-header { background: var(--secondary-color); position: static; }
    #contest-hero { padding: 4rem 0; }
    .live-reveal-content, .prize-content-wrapper, .final-cta-content { flex-direction: column; text-align: center; gap: 2rem; }
    .final-cta-text { margin-bottom: 2rem; }

    .tabs {
        gap: 0.5rem;
    }

    .tab-link {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }

    #detailed-prizes {
        padding: 4rem 0;
    }

    .prize-list {
        padding: 2rem 1.5rem; /* Mais padding lateral */
    }

    .prize-content-wrapper {
        padding: 2rem;
    }

    .prize-list h3 {
        font-size: 1.8rem;
    }

    .prize-list ul li {
        font-size: 1rem;
    }
}