/* ============================
   ESTILO GLOBAL DO SITE
   ============================ */

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", Arial, sans-serif;

    color: #1f2937;
}

.titulo-sorteios {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
}

.sorteios-linha {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.sorteio-box {
    width: 90%;
    max-width: 400px;
}

.sorteio-box img {
    width: 100%;
    height: 350px;
    object-fit: contain; 
    border-radius: 10px;
    box-shadow: 0 2px 10px #0003;
    transition: transform 0.3s ease;
}

.sorteio-box img:hover {
    transform: scale(1.03);
}

.botoes {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: .3s;
}

.btn-participar {
    background: #10b981;
    color: #fff;
}
.btn-participar:hover {
    background: #059669;
}

/* Seções */
.secao-conteudo {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.titulo-secao {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

/* Card horizontal (NOTÍCIAS + SORTEIOS) */
.card-horizontal {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* Imagem */
.card-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 12px;
}

/* Controle esquerdo */
.card-img {
    flex: 1;
}

/* Texto à direita */
.card-texto {
    flex: 1.5;
}

.card-texto h3 {
    margin-top: 0;
    font-size: 22px;
    color: #111;
}

.card-texto p {
    color: #444;
    line-height: 1.6;
    font-size: 15px;
}

/* Botão primário */
.botao-primario {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: #2563eb;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.botao-primario:hover {
    background: #1e4fcc;
}

.header {
  background: #1e3a8a;
  color: #fff;
  text-align: center;
  padding: 30px 15px;
  font-size: 26px;
  font-weight: bold;
}
/* ============================
   PÁGINA INDIVIDUAL DE SORTEIO
   ============================ */

.pagina-sorteio {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.sorteio-banner img {
    width: 100%;
    height: 480px;
    object-fit: contain;
}

.sorteio-conteudo {
    padding: 30px;
    font-family: Poppins, Arial;
}

.sorteio-titulo {
    margin-top: 0;
    font-size: 28px;
    color: #065f46;
}

.sorteio-datas {
    background: #ecfdf5;
    padding: 12px 16px;
    border-left: 5px solid #10b981;
    border-radius: 8px;
    font-size: 15px;
    margin: 20px 0;
    color: #065f46;
}

.sorteio-texto {
    font-size: 17px;
    color: #374151;
    line-height: 1.7;
}

.sorteio-botoes {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.botao-voltar {
    display: inline-block;
    padding: 10px 18px;
    background: #e5e7eb;
    color: #374151;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.botao-voltar:hover {
    background: #d1d5db;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .sorteio-banner img {
        height: 240px;
    }
}


/* RESPONSIVO */
@media (max-width: 768px) {

    .card-horizontal {
        flex-direction: column;
    }

    .card-img img {
        height: 200px;
    }
}
