/* ================================================================
   LOTÉRICA ALFA — DESIGN SYSTEM PRIME
   CSS ÚNICO de TODO o site (substitui premium.css)
   ================================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
    --azul-900: #001e3c;
    --azul-800: #002a52;
    --azul-700: #003a6e;    /* primária */
    --azul-600: #004b8d;
    --laranja-500: #f47920; /* CTA */
    --laranja-600: #d96a12;
    --dourado-400: #f5b301;
    --verde-whats: #25D366;
    --verde-whats-dark: #1eb457;
    --bg-pagina: #f4f6f9;
    --bg-escuro: linear-gradient(150deg, #003a6e 0%, #002a52 55%, #001e3c 100%);
    --texto-1: #1a1a1a;
    --texto-2: #4a5568;
    --texto-3: #9aa3b2;
    --borda: #e5e7eb;
    --raio-card: 14px;
    --raio-btn: 10px;
    --raio-pill: 50px;
    --sombra-card: 0 6px 24px rgba(0, 58, 110, .08);
    --sombra-forte: 0 12px 34px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .22);
    --fonte: 'Inter', 'Poppins', 'Roboto', Arial, sans-serif;
    --largura: 1120px;
}

/* ---------- 2. BASE (leve, sem reset destrutivo) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body {
    margin: 0;
    font-family: var(--fonte);
    background: var(--bg-pagina);
    color: var(--texto-1);
    line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.container { max-width: var(--largura); margin: 0 auto; padding: 0 20px; }
.main { padding: 40px 0 56px; min-height: 50vh; }

/* ---------- 3. TOPBAR ---------- */
.topbar { background: var(--laranja-500); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 7px 20px; font-size: .82rem; }
.topbar-item { color: var(--azul-700); font-weight: 700; text-decoration: none; }
.topbar-wa:hover { text-decoration: underline; }
.faixa-dourada { height: 3px; background: var(--dourado-400); }

/* ---------- 4. HEADER / NAV ---------- */
.site-header {
    background: var(--azul-700);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    position: sticky; top: 0; z-index: 100;
}
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 20px; }
.navbar-brand img { height: 44px; width: auto; display: block; }
.navbar-menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.navbar-menu a {
    color: #fff; font-weight: 600; font-size: .93rem; text-decoration: none; white-space: nowrap;
    position: relative; padding: 4px 0;
}
.navbar-menu a:hover { color: var(--dourado-400); }
.navbar-menu a.ativo { color: var(--dourado-400); }
.navbar-menu a.ativo::after, .navbar-menu a:hover::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--dourado-400);
}
.navbar-auth { display: flex; gap: 10px; flex-shrink: 0; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 24px; height: 3px; background: #fff; margin: 5px 0; border-radius: 3px; transition: .2s; }

/* ---------- 5. BOTÕES ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 20px; border-radius: var(--raio-btn);
    font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
    border: 1px solid transparent; transition: background .2s, transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--laranja-500); color: #fff; }
.btn-primary:hover { background: var(--laranja-600); }
.btn-outline { background: transparent; border-color: var(--dourado-400); color: var(--dourado-400); }
.btn-outline:hover { background: var(--dourado-400); color: var(--azul-700); }
.btn-whats {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--verde-whats); color: #fff;
    font-size: 1.05rem; font-weight: 800; padding: 16px 34px; border-radius: var(--raio-pill);
    text-decoration: none; box-shadow: 0 8px 22px rgba(37, 211, 102, .35);
}
.btn-whats:hover { background: var(--verde-whats-dark); }

/* ---------- 6. CARD (padrão único) ---------- */
.card {
    background: #fff; border: 1px solid var(--borda);
    border-radius: var(--raio-card); box-shadow: var(--sombra-card);
    padding: 24px;
}

/* ---------- 7. TÍTULOS DE PÁGINA (herói) ---------- */
.hero-pagina { text-align: center; margin-bottom: 32px; }
.hero-pagina h1 { color: var(--azul-700); font-size: 1.8rem; font-weight: 800; margin: 0 0 6px; }
.hero-pagina .subtitulo { color: var(--texto-2); font-size: 1rem; margin: 0; }
.titulo-secao { color: var(--azul-700); font-size: 1.3rem; font-weight: 800; margin: 0 0 18px; }

/* ---------- 8. TABELA (padrão) ---------- */
.tabela { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--raio-card); overflow: hidden; box-shadow: var(--sombra-card); }
.tabela thead th { background: var(--azul-700); color: #fff; text-align: left; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; padding: 12px 16px; }
.tabela tbody td { padding: 13px 16px; border-bottom: 1px solid var(--borda); font-size: .95rem; }
.tabela tbody tr:hover { background: #f7f9fc; }

/* ---------- 9. BANNER/DESTAQUE (sempre dentro do container) ---------- */
.destaque {
    background: var(--bg-escuro); color: #fff; border-radius: 16px;
    padding: 28px 24px; margin: 0 0 26px; box-shadow: var(--sombra-forte); text-align: center;
}
.destaque .d-rotulo {
    display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
    font-size: .72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    padding: 6px 16px; border-radius: var(--raio-pill); margin-bottom: 16px;
}
.destaque .d-valor { display: block; font-size: 2.4rem; font-weight: 900; line-height: 1; margin-top: 6px; }
.destaque .d-linha { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- 10. CARDS DA HOME (lista de loterias) ---------- */
.lista-cards { display: flex; flex-direction: column; gap: 14px; }
.lot-card {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    background: #fff; border-radius: var(--raio-card); box-shadow: var(--sombra-forte); padding: 14px 18px;
}
.lot-logo { flex: 0 0 170px; width: 170px; height: 50px; display: flex; align-items: center; justify-content: center; }
.lot-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lot-dado { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.lot-dado .rotulo { font-size: 8px; text-transform: uppercase; letter-spacing: .8px; color: var(--texto-3); font-weight: 600; }
.lot-dado .valor { font-size: 1.3rem; font-weight: 900; margin-top: 3px; white-space: nowrap; line-height: 1.1; }
.lot-concurso { flex: 0 0 80px; }
.lot-data { flex: 0 0 130px; }
.lot-premio { flex: 1; min-width: 160px; }
.lot-premio .valor { font-size: 1.7rem; }
.lot-acoes { display: flex; flex-direction: column; gap: 8px; margin-left: auto; width: 200px; }
.lot-acoes .linha-botoes { display: flex; gap: 8px; align-items: stretch; }
.btn-participar {
    width: 100px; height: 100px; background: var(--laranja-500); color: #fff; border-radius: var(--raio-btn);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: 11.5px; font-weight: 800; text-align: center; line-height: 1.25; text-decoration: none;
}
.btn-participar:hover { background: var(--laranja-600); }
.btn-ia {
    flex: 1; background: #00bcd4; color: #fff; border-radius: var(--raio-btn);
    display: flex; align-items: center; justify-content: center;
    font-size: 11.5px; font-weight: 800; text-decoration: none; padding: 0 8px;
}
.btn-ia:hover { background: #0097a7; }
.btn-resultado {
    width: 100%; height: 40px; color: #fff; border-radius: var(--raio-btn);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; text-decoration: none;
}
.btn-resultado:hover { filter: brightness(.9); }

/* ---------- 11. FOOTER ---------- */
.site-footer { background: var(--azul-700); color: #fff; padding: 40px 0 16px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.footer-titulo { display: block; color: var(--dourado-400); margin-bottom: 12px; }
.footer-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: .9rem; }
.footer-lista a { color: #fff; text-decoration: none; }
.footer-lista a:hover { text-decoration: underline; }
.footer-legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); text-align: center; font-size: .8rem; color: #ccc; }

/* ---------- 12. RESPONSIVO ---------- */
@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .navbar-menu {
        display: none; position: fixed; inset: 0; background: var(--azul-700);
        flex-direction: column; align-items: center; justify-content: center; gap: 28px;
        z-index: 150; margin: 0;
    }
    .navbar-menu.open { display: flex; }
    .navbar-menu a { font-size: 1.3rem; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 860px) {
    .lot-logo { flex: 1 1 100%; width: 100%; height: 54px; }
    .lot-concurso { flex: 1 1 35%; }
    .lot-data { flex: 1 1 55%; }
    .lot-premio { flex: 1 1 100%; }
    .lot-premio .valor { font-size: 1.5rem; }
    .lot-acoes { width: 100%; margin-left: 0; }
    .destaque .d-valor { font-size: 1.9rem; }
    
    
    .site-header { width: 100%; }
.top-bar { background: #f47920; color: #fff; font-size: .85rem; }
.top-bar-inner { display: flex; gap: 1.5rem; align-items: center; padding: .4rem 1rem; flex-wrap: wrap; }
.nav-bar { background: #003a6e; }
.nav-inner { display: flex; align-items: center; gap: 2rem; min-height: 64px; padding: 0 1rem; flex-wrap: wrap; }
.logo { color: #fff; font-weight: 700; font-size: 1.3rem; text-decoration: none; }
.logo strong { color: #f47920; }
.nav-menu { display: flex; gap: 1.2rem; flex: 1; }
.nav-menu a { color: #fff; font-weight: 600; text-decoration: none; padding: .5rem 0; border-bottom: 2px solid transparent; }
.nav-menu a:hover, .nav-menu a.ativo { border-bottom-color: #f47920; color: #f5b301; }
.nav-actions { display: flex; gap: .6rem; }
.btn { padding: .5rem 1.1rem; border-radius: 6px; text-decoration: none; font-weight: 600; }
.btn-outline { border: 2px solid #f5b301; color: #f5b301; }
.btn-outline:hover { background: #f5b301; color: #003a6e; }
.btn-solid { background: #f47920; color: #fff; }
.btn-solid:hover { background: #e06b0f; }
@media (max-width: 768px) {
  .nav-inner { flex-direction: column; align-items: flex-start; padding: 1rem; }
  .nav-menu { flex-direction: column; width: 100%; }
}
}