/* ==========================
   Cores e Variáveis Globais
   ========================== */
:root {
  --primary: #003366;
  --secondary: #0077C8;
  --accent: #FF6600;
  --light: #F2F2F2;
  --dark: #333333;
  --success: #009933;

  /* Cores dos projetos */
  --lf-indep: 128, 53, 148;
  --qsj: 0, 93, 164;
  --dsp: 166, 42, 82;
  --sb2026: 0, 171, 103;
  --mega: 0, 171, 103;
  --quina: 0, 93, 164;
  --lotofacil: 128, 53, 148;
  --dupla: 166, 42, 82;
}

/* ==========================
   Reset e Base
   ========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #f5f7fa;
  color: var(--dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ==========================
   Cabeçalho
   ========================== */
header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Layout específico da landing */
.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
  gap: 2rem;
  align-items: center;
  text-align: left;
}

.hero-text h1 {
  font-size: 2.4rem;
}

.hero-kicker {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  margin: 0.75rem 0 1.25rem;
  max-width: 34rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.hero-badge {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.08);
}

.hero-side {
  display: flex;
  justify-content: center;
}

.hero-side-card {
  background: #fff;
  color: var(--dark);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  max-width: 320px;
}

.hero-side-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.abertura-janeiro {
  border-left: 5px solid var(--secondary);
  background: linear-gradient(135deg, rgba(0, 119, 200, 0.06), rgba(0, 171, 103, 0.05));
}

.abertura-header h2 {
  margin: 0.25rem 0;
}

.abertura-header .chip {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: rgba(0, 119, 200, 0.12);
  color: var(--secondary);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.abertura-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.abertura-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
}

.abertura-card strong {
  color: #003366;
}

.abertura-card p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.abertura-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.75rem;
}

.hero-list li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.hero-side-note {
  font-size: 0.85rem;
  margin: 0;
}

/* Destaque discreto no header */
.chip-highlight {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

h2 {
  color: var(--primary);
  margin: 1.5rem 0 1rem;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
}

h3 {
  color: var(--secondary);
  margin: 1rem 0;
}

footer h3 {
  color: white;
}

/* ==========================
   Seções da Landing
   ========================== */
.section {
  padding: 2.5rem 0 2rem;
}

.section-title-center {
  text-align: center;
}

.section-title-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-lead {
  text-align: center;
  max-width: 640px;
  margin: 0.75rem auto 1.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.projects-section {
  margin-top: 2rem;
}

.projects-subtitle {
  margin-top: 0.25rem;
}

.faq-teaser-list {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 1rem;
}

.faq-teaser-list li {
  margin-bottom: 0.4rem;
}

.faq-teaser-list a {
  color: var(--secondary);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 119, 200, 0.3);
}

.faq-teaser-list a:hover {
  border-bottom-color: rgba(0, 119, 200, 0.6);
}

.faq-teaser-actions {
  margin-top: 1rem;
}

.cta-final-card {
  text-align: center;
}

.cta-final-card h2 {
  margin-top: 0;
}

/* ==========================
   Cards e Layout
   ========================== */
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-left: 4px solid;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-card.linha-card {
  align-items: flex-start;
}

/* Estado esmaecido para projetos fora do período */
.project-card.inativo {
  opacity: 0.45;
  filter: grayscale(12%);
  position: relative;
}

.project-card.inativo:hover {
  opacity: 0.7;
}

.project-card .badge-finalizado {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.project-card.inativo:hover .badge-finalizado {
  display: inline-block;
}

/* Tooltip de contagem regressiva nos ativos */
.project-card .badge-contagem {
  display: none;
  position: absolute;
  bottom: 8px;
  left: 12px;
  background: rgba(0, 119, 200, 0.9);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.project-card:not(.inativo):hover .badge-contagem {
  display: inline-block;
}

.project-info {
  flex: 1;
}

.project-info h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.project-info h3 .project-title-link {
  color: inherit;
  text-decoration: none;
}

.project-info h3 .project-title-link:hover {
  text-decoration: underline;
}

.project-date {
  color: #666;
  font-size: 0.9rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Estilo especial para o conteúdo da comunidade */
.comunidade-conteudo {
  background: linear-gradient(to right, rgba(0, 119, 200, 0.05), rgba(0, 119, 200, 0.03));
  border-left: 5px solid var(--secondary);
  padding: 1rem 1rem 1rem 1.5rem;
  margin-top: 0.5rem;
  border-radius: 0 8px 8px 0;
}

.highlight-box {
  border-left: 4px solid var(--secondary);
  padding-left: 16px;
  margin: 1.5rem 0;
}

.highlight-box h2 {
  margin-top: 0;
}



/* ==========================
   Cores por Projeto
   ========================== */
.project-card.lf-indep,
.project-card.lf,
.project-card.lotofacil {
  background: linear-gradient(to right, rgba(var(--lotofacil), 0.1), rgba(239,118,94,0.1));
  border-left-color: rgb(var(--lotofacil));
}

.project-card.qsj,
.project-card.quina {
  background: linear-gradient(to right, rgba(var(--quina), 0.1), rgba(0,153,218,0.1));
  border-left-color: rgb(var(--quina));
}

.project-card.ds-pascoa,
.project-card.ds {
  background: linear-gradient(to right, rgba(var(--dupla), 0.1), rgba(215,25,32,0.1));
  border-left-color: rgb(var(--dupla));
}

.btn.ds-pascoa,
.btn.ds {
  background-color: rgb(var(--dupla));
  color: white;
}
.btn.ds-pascoa:hover,
.btn.ds:hover {
  background-color: rgba(var(--dupla), 0.9);
}

.project-card.dsp,
.project-card.dupla {
  background: linear-gradient(to right, rgba(var(--dupla), 0.1), rgba(215,25,32,0.1));
  border-left-color: rgb(var(--dupla));
}

.project-card.sb2026,
.project-card.mega {
  background: linear-gradient(to right, rgba(var(--mega), 0.1), rgba(128,195,66,0.1));
  border-left-color: rgb(var(--mega));
}

/* ==========================
   Botões
   ========================== */
.btn {
  display: inline-block;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
  min-width: 120px;
}

/* Botão tonal discreto no tom da página */
.btn.tonal {
  color: var(--secondary);
  background: #f5f7fa; /* fallback suave */
  background: color-mix(in sRGB, var(--secondary) 12%, white);
  border: 1px solid color-mix(in sRGB, var(--secondary) 28%, white);
}
.btn.tonal:hover {
  background: color-mix(in sRGB, var(--secondary) 18%, white);
  border-color: color-mix(in sRGB, var(--secondary) 36%, white);
}
.btn.tonal:active {
  background: color-mix(in sRGB, var(--secondary) 24%, white);
}
.btn.tonal:focus {
  outline: 2px solid color-mix(in sRGB, var(--secondary) 50%, transparent);
  outline-offset: 2px;
}

.btn.lf-indep,
.btn.lf,
.btn.lotofacil {
  background-color: rgb(var(--lotofacil));
}

.btn.lf-indep:hover,
.btn.lf:hover,
.btn.lotofacil:hover {
  background-color: rgba(var(--lotofacil), 0.9);
}

.btn.qsj,
.btn.quina {
  background-color: rgb(var(--quina));
}

.btn.qsj:hover,
.btn.quina:hover {
  background-color: rgba(var(--quina), 0.9);
}

.btn.dsp,
.btn.dupla {
  background-color: rgb(var(--dupla));
}

.btn.dsp:hover,
.btn.dupla:hover {
  background-color: rgba(var(--dupla), 0.9);
}

.btn.sb2026,
.btn.mega {
  background-color: rgb(var(--mega));
}

.btn.sb2026:hover,
.btn.mega:hover {
  background-color: rgba(var(--mega), 0.9);
}

.mega-alert {
  display: none;
  border-left: 6px solid rgb(var(--mega));
  background: linear-gradient(135deg, rgba(0,171,103,0.12), rgba(0,171,103,0.05));
  color: #0f5132;
  gap: 1rem;
}

.mega-alert.lotofacil {
  border-left-color: rgb(var(--lotofacil));
  background: linear-gradient(135deg, rgba(var(--lotofacil), 0.12), rgba(var(--lotofacil), 0.05));
  color: #3e2038;
}

.mega-alert.quina {
  border-left-color: rgb(var(--quina));
  background: linear-gradient(135deg, rgba(var(--quina), 0.12), rgba(var(--quina), 0.05));
  color: #0f3153;
}

.mega-alert.dupla {
  border-left-color: rgb(var(--dupla));
  background: linear-gradient(135deg, rgba(var(--dupla), 0.12), rgba(var(--dupla), 0.05));
  color: #5c1630;
}

.mega-alert h3 {
  margin: 0;
  font-size: 1.35rem;
  color: #0a3622;
}

.mega-alert.lotofacil h3,
.mega-alert.quina h3,
.mega-alert.dupla h3 {
  color: inherit;
}

.mega-alert p {
  margin: 0.35rem 0 0.75rem;
  color: #0f5132;
}

.mega-alert.lotofacil p,
.mega-alert.quina p,
.mega-alert.dupla p {
  color: inherit;
}

.mega-alert .mega-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.aviso-topo {
  background: #ffeb3b;
  color: #000;
  text-align: center;
  padding: 0.7rem 1rem;
  font-weight: bold;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.aviso-topo .btn-aviso {
  background: #2196f3;
  color: #fff !important;
  padding: 0.35rem 1.2rem;
  border-radius: 4px;
  margin-left: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.aviso-topo .btn-aviso:hover {
  background: #1769aa;
}

.aviso-fechamento {
  color: #e53935;
  font-weight: bold;
}

/* Timeline do Cronograma de Projeto */
#timeline-cronograma {
  margin-bottom: 2.2rem;
  padding: 1.5rem 1.2rem;
  background: linear-gradient(to right, rgba(0,119,200,0.06), rgba(0,171,103,0.03));
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  border: none;
}

.marco-timeline {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 0.9rem 1.1rem;
  border-left: 4px solid var(--secondary, #005DA4);
  margin: 0;
  font-size: 1.07rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.marco-timeline .icone {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1;
  vertical-align: middle;
  display: inline-block;
}
.marco-timeline .titulo {
  color: var(--secondary, #005DA4);
  font-weight: 400 !important;
  display: inline;
  white-space: normal;
}
.data-inline {
  font-weight: bold;
  color: #111;
  font-size: 1.07rem;
  margin-left: 0.17em;
  display: inline;
}

@media (max-width: 600px) {
  #timeline-cronograma {
    padding: 1rem 0.5rem;
    gap: 0.5rem;
  }
  .marco-timeline {
    padding: 0.7rem 0.6rem;
    font-size: 0.97rem;
    gap: 0.43rem;
  }
  .marco-timeline .icone {
    font-size: 1.05rem;
  }
  .marco-timeline .titulo,
  .data-inline {
    font-size: 0.97rem;
  }
}


/* ==========================
   Footer
   ========================== */
footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  background-color: var(--primary);
  color: white;
  border-radius: 10px 10px 0 0;
}

/* ==========================
   Responsivo
   ========================== */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .project-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
  width: 100%;
  margin-top: 1rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges {
    justify-content: center;
  }
}
 .disclaimer-bar {
  background: #0f3b57;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.55rem 0;
 }
 .disclaimer-bar a {
  color: #cfe9ff;
  text-decoration: underline;
 }
 .site-nav {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
 }
 .site-nav .nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0;
 }
 .site-nav a {
  color: #005da4;
  text-decoration: none;
  font-weight: 600;
 }
 .site-nav a:hover {
  text-decoration: underline;
 }
 .trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: center;
  margin-top: 0.75rem;
  font-size: 0.95rem;
 }
 .trust-links a {
  color: #0077C8;
  text-decoration: none;
  font-weight: 600;
 }
 .trust-links a:hover {
  text-decoration: underline;
 }
