/* Paginas das loterias do SPLoto.Net (Loteca, Mega-Sena...). Tudo aqui e' comum;
   a cor de cada loteria fica no css dela (loteca.css, megasena.css), que redefine as
   variaveis em .lottery-<pasta>. */
.lottery-content {
    --lottery-accent: #4528DC;
    --lottery-accent-dark: #3119b0;
    --lottery-accent-light: #8731E8;
    --lottery-ink: #2b2b2b;
    --lottery-muted: #6b6b6b;
    --lottery-soft: #f1effd;
}

/* Faixas coloridas (abertura, como funciona, cabecalho do manual) na cor da loteria. */
.lottery-content .bg-overlay::after {
    background: linear-gradient(-47deg, var(--lottery-accent-light) 0%, var(--lottery-accent) 80%);
}

.lottery-content h1,
.lottery-content h2,
.lottery-content h3,
.lottery-content h4 {
    letter-spacing: normal;
}

/* Abertura: titulo e composicao das duas telas */
.lottery-title {
    line-height: 1;
    margin-bottom: 22px;
}

.lottery-title small {
    display: block;
    font-size: .38em;
    font-weight: 500;
    letter-spacing: .06em;
    margin-top: 10px;
    opacity: .9;
}

.lottery-showcase {
    max-width: 440px;
    padding: 20px 0 40px;
    position: relative;
}

.lottery-showcase img {
    border-radius: 18px;
    display: block;
    height: auto;
}

/* A grade de marcacao e' a protagonista. */
.lottery-showcase-main {
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 30px 60px rgba(70, 0, 0, .35);
    margin-left: auto;
    transform: rotate(-2deg);
    width: 78%;
}

/* O volante entra menor, de lado, sobre o canto inferior esquerdo. */
.lottery-showcase-side {
    border: 4px solid #fff;
    bottom: 0;
    box-shadow: 0 24px 48px rgba(40, 0, 0, .4);
    left: 0;
    position: absolute;
    transform: rotate(8deg);
    width: 42%;
}

@media (max-width: 767px) {
    .lottery-showcase {
        margin-top: 40px;
        max-width: 340px;
    }
}

.lottery-content .single-screenshot img {
    border-radius: 14px;
}

/* Recursos */
.lottery-feature {
    height: calc(100% - 30px);
}

.lottery-feature-icon {
    align-items: center;
    background: var(--lottery-soft);
    border-radius: 14px;
    color: var(--lottery-accent);
    display: inline-flex;
    font-size: 26px;
    height: 56px;
    justify-content: center;
    width: 56px;
}

/* Como funciona */
.lottery-step-number {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    color: var(--lottery-accent);
    display: inline-flex;
    font-size: 22px;
    font-weight: 700;
    height: 52px;
    justify-content: center;
    width: 52px;
}

/* O tema poe uma seta depois de cada passo; no fim de cada linha (3 por linha
   no desktop, 2 no tablet) ela apontaria para o nada. */
@media (min-width: 992px) {
    .work-area .col-12:nth-of-type(3n) .lottery-step::after {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .work-area .col-12:nth-of-type(2n) .lottery-step::after {
        display: none;
    }
}

.btn.lottery-manual-button,
.btn.lottery-manual-button:active {
    background: #fff;
    color: var(--lottery-accent);
    font-weight: 600;
}

.btn.lottery-manual-button:hover,
.btn.lottery-manual-button:focus {
    background: var(--lottery-soft);
    color: var(--lottery-accent);
}

/* Cards de preco (plans.css) na cor da Loteca. */
.lottery-content {
    --plan-accent: var(--lottery-accent);
    --plan-accent-dark: var(--lottery-accent-dark);
    --plan-accent-soft: var(--lottery-soft);
}

.lottery-cta {
    background: var(--lottery-soft);
}

/* Manual */
/* O tema fixa .breadcrumb-area em 450px; aqui a faixa so' precisa caber o
   menu (fixo por cima) e o titulo. */
.lottery-manual-hero.breadcrumb-area {
    height: auto;
    min-height: 0;
    padding: 105px 0 28px;
}

.lottery-manual-hero p {
    font-size: 13px;
    letter-spacing: .08em;
    margin-bottom: 4px !important;
}

.lottery-manual-hero h1 {
    font-size: 1.9rem;
    margin: 0;
}

@media (max-width: 991px) {
    .lottery-manual-hero.breadcrumb-area {
        padding: 90px 0 22px;
    }

    .lottery-manual-hero h1 {
        font-size: 1.6rem;
    }
}

.lottery-manual {
    padding-bottom: 80px;
    padding-top: 50px;
}

.lottery-manual-nav {
    border-left: 3px solid var(--lottery-soft);
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    position: sticky;
    top: 100px;
}

.lottery-manual-nav a {
    color: var(--lottery-ink);
    margin-left: -3px;
    padding: 7px 14px;
    border-left: 3px solid transparent;
}

.lottery-manual-nav a:hover {
    color: var(--lottery-accent);
}

.lottery-manual-nav a.active {
    border-left-color: var(--lottery-accent);
    color: var(--lottery-accent);
    font-weight: 600;
}

.lottery-manual-body {
    color: var(--lottery-ink);
    font-size: 16px;
    line-height: 1.7;
}

.lottery-manual-body p,
.lottery-manual-body li,
.lottery-manual-body td {
    font-size: 16px;
    line-height: 1.7;
}

.lottery-manual-body h2 {
    font-size: 1.45rem;
    margin: 36px 0 14px;
}

.lottery-manual-body ul,
.lottery-manual-body ol {
    margin: 0 0 16px 22px;
}

.lottery-manual-body ul li {
    list-style: disc;
}

.lottery-manual-body ol li {
    list-style: decimal;
}

.lottery-manual-body a {
    color: var(--lottery-accent);
}

.lottery-table td,
.lottery-table th {
    vertical-align: top;
}

.lottery-table td:first-child {
    white-space: nowrap;
}

.lottery-example {
    background: var(--lottery-soft);
    border-left: 4px solid var(--lottery-accent);
    border-radius: 6px;
    margin: 18px 0;
    padding: 14px 18px;
}

.lottery-sequence span {
    border: 1px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    padding: 1px 10px;
}

.lottery-sequence .fav {
    background: var(--lottery-accent);
    border-color: var(--lottery-accent);
    color: #fff;
}

.lottery-sequence .alt {
    background: #fff3cd;
    border-color: #e0b84c;
}

.lottery-figure {
    margin: 24px 0;
    text-align: center;
}

.lottery-figure img {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
}

.lottery-figure figcaption {
    color: var(--lottery-muted);
    font-size: 14px;
    margin-top: 8px;
}

.lottery-figure-row {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.lottery-figure-row .lottery-figure {
    flex: 1 1 260px;
    max-width: 420px;
}

.lottery-manual-pager {
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 20px;
}

.lottery-manual-pager a {
    font-weight: 600;
}

@media (max-width: 991px) {
    .lottery-manual-nav {
        border-left: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        position: static;
    }

    .lottery-manual-nav a {
        background: var(--lottery-soft);
        border-left: 0;
        border-radius: 16px;
        font-size: 14px;
        margin-left: 0;
        padding: 4px 12px;
    }

    .lottery-manual-nav a.active {
        background: var(--lottery-accent);
        color: #fff;
    }

    .lottery-table td:first-child {
        white-space: normal;
    }
}

/* ===== Loterias de numeros ===== */
/* Volante desenhado em HTML (abertura e manual) das loterias de numeros; --cols = colunas do volante. */
.lottery-content .num-hero-card {
    background: rgba(255, 255, 255, .96);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
    max-width: 420px;
    padding: 24px;
    transform: rotate(-2deg);
}

.lottery-content .num-hero-label {
    color: var(--lottery-accent-dark);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .05em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.lottery-content .num-hero-guarantee {
    background: var(--lottery-soft);
    border-left: 4px solid var(--lottery-accent);
    border-radius: 8px;
    margin-top: 18px;
    padding: 10px 14px;
}

.lottery-content .num-hero-guarantee strong {
    color: var(--lottery-accent-dark);
    display: block;
    font-size: 18px;
}

.lottery-content .num-hero-guarantee span {
    color: var(--lottery-muted);
    font-size: 14px;
}

/* Volante desenhado do capitulo de agrupamentos */
.lottery-content .num-group-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    margin: 0 auto;
    max-width: 520px;
    padding: 18px;
}

.lottery-content .num-numbers.num-numbers--groups span {
    border-radius: 8px;
    flex-direction: column;
    line-height: 1.05;
}

.lottery-content .num-numbers.num-numbers--groups span.is-grouped {
    background: var(--g);
    border-color: var(--g);
    color: #fff;
}

.lottery-content .num-numbers.num-numbers--groups span b {
    font-size: 9px;
    font-weight: 600;
    opacity: .85;
}

/* Secao "Como funciona a garantia" */
.num-guarantee {
    background: var(--lottery-soft);
}

.num-guarantee-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    height: 100%;
    padding: 30px 26px;
}

.num-guarantee-card h3 {
    font-size: 1.3rem;
    margin: 14px 0 10px;
}

.num-guarantee-card p {
    margin: 0;
}

.num-guarantee-step {
    align-items: center;
    background: var(--lottery-accent);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 20px;
    font-weight: 700;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.num-guarantee-result {
    background: #fff;
    border-left: 5px solid var(--lottery-accent);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    display: flex;
    gap: 18px;
    padding: 26px 30px;
}

.num-guarantee-result i {
    color: var(--lottery-accent);
    font-size: 28px;
}

.num-guarantee-result p {
    margin: 0;
}

@media (max-width: 767px) {
    .lottery-content .num-hero-card {
        margin-top: 40px;
        transform: none;
    }
}

.lottery-content .num-numbers {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(var(--cols, 10), 1fr);
}

.lottery-content .num-numbers span {
    align-items: center;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid var(--lottery-soft);
    border-radius: 50%;
    color: var(--lottery-accent-dark);
    display: flex;
    font-size: 13px;
    font-weight: 600;
    justify-content: center;
}

.lottery-content .num-numbers span.is-picked {
    background: var(--lottery-accent);
    border-color: var(--lottery-accent);
    color: #fff;
}

/* Volantes com poucas colunas (Lotofacil 5x5): cartao mais estreito. */
.lottery-content .num-hero-card--compact {
    max-width: 320px;
}

/* Menu Loterias: a loteria da pagina atual (o tema deixava o texto branco em fundo claro). */
.navbar .dropdown-menu .dropdown-item.active {
    background: #f3f0fd;
    color: #4528DC;
}
