/*
 * Identidade visual SAPEX / FSA
 * Cores e fontes conforme o Manual da Marca FSA (https://www.fsa.br/manual-da-marca/)
 *   Azul institucional #042d5c · variações #07448a #0c78b3 #36a4e0 #65fff2
 *   Verde-água #42d3c7 #27afa4 #00a699 · neutros #24282c #2d3144 #f8f8f8 #f3f3f3 #ebf1ff
 *   Tipografia: Montserrat (títulos, subtítulos e textos) e Georgia (títulos)
 */
:root {
  --fsa-azul:        #042d5c;
  --fsa-azul-2:      #07448a;
  --fsa-azul-3:      #0c78b3;
  --fsa-azul-4:      #36a4e0;
  --fsa-ciano:       #65fff2;
  --fsa-teal-1:      #42d3c7;
  --fsa-teal-2:      #27afa4;
  --fsa-teal-3:      #00a699;
  --texto:           #24282c;
  --fundo:           #ebf1ff;
  --bs-primary:      var(--fsa-azul-2);
  --bs-primary-rgb:  7, 68, 138;
  --bs-link-color:   var(--fsa-azul-2);
  --bs-link-hover-color: var(--fsa-azul);
  --bs-body-font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
}

body { background: var(--fundo); color: var(--texto); font-family: var(--bs-body-font-family); }

/* Banner do evento (já contém os logos SAPEX e FSA) */
.hero { background: var(--fsa-azul); line-height: 0; }
.hero img { width: 100%; height: auto; display: block; }

/* Faixa de datas */
.faixa { background: var(--fsa-azul); color: #fff; line-height: 1.3; border-top: 3px solid var(--fsa-ciano); }
.faixa .datas { background: var(--fsa-ciano); color: var(--fsa-azul); font-weight: 800; padding: .35rem .9rem; border-radius: .4rem; white-space: nowrap; }
.faixa .titulo { font-weight: 500; }
.faixa .titulo strong { font-weight: 700; }

/* Cartões de resumo */
.stat { background: #fff; border-radius: .75rem; padding: 1rem 1.25rem; border-left: 5px solid var(--fsa-teal-1); box-shadow: 0 2px 8px rgba(4,45,92,.08); }
.stat .num { font-size: 1.8rem; font-weight: 800; color: var(--fsa-azul); line-height: 1; }
.stat .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: #5b6477; font-weight: 600; }

/* Filtros */
.filtros { background: #fff; border-radius: .75rem; box-shadow: 0 2px 8px rgba(4,45,92,.08); }
.filtros .form-label { color: var(--fsa-azul); font-size: .85rem; }
.btn-sapex { background: var(--fsa-azul-2); border-color: var(--fsa-azul-2); color: #fff; font-weight: 600; }
.btn-sapex:hover, .btn-sapex:focus { background: var(--fsa-azul); border-color: var(--fsa-azul); color: #fff; }

/* Dias */
.dia-titulo { display: flex; align-items: center; gap: .75rem; margin: 2rem 0 1rem; }
.dia-titulo .badge-data { background: var(--fsa-ciano); color: var(--fsa-azul); font-weight: 800; border-radius: .5rem; padding: .35rem .8rem; font-size: 1.1rem; }
.dia-titulo h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 700; color: var(--fsa-azul); text-transform: capitalize; }
.dia-titulo hr { flex: 1; opacity: .2; margin: 0; }

/* Cards de evento */
.evento { font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; background: #fff; border: 0; border-radius: .85rem; box-shadow: 0 2px 10px rgba(4,45,92,.09); border-top: 5px solid var(--fsa-azul-3); height: 100%; }
.evento.turno-manha { border-top-color: var(--fsa-azul-4); }
.evento.turno-tarde { border-top-color: var(--fsa-teal-3); }
.evento.turno-noite { border-top-color: var(--fsa-azul); }
.evento .nome-evento { font-size: 1rem; font-weight: 700; color: var(--fsa-azul); line-height: 1.3; margin: 0; }
.evento .local { color: #3f4658; font-size: .9rem; font-weight: 500; }
.evento .badge-turno { background: #f3f3f3; color: var(--fsa-azul); border: 1px solid #dbe2f0; font-weight: 600; }
.evento .badge-area { background: rgba(12,120,179,.12); color: var(--fsa-azul-2); font-weight: 600; }
.evento .projetos { font-size: .88rem; padding-left: 1.1rem; margin-bottom: 0; }

footer { color: #5b6477; font-size: .85rem; }

@media print {
  .filtros, .no-print { display: none !important; }
  .evento { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}
