/* ======================================================================
   PÁGINAS DE TRILHA — VARIÁVEIS
   ====================================================================== */
.trilha-tt {
  --cor-fundo: #175997;
  --cor-topo: #21305D;
  --cor-fundo-datas: #DAF4FE;
  --cor-retangulo-data: #175997;
  --icon-width: 44px;
  --icon-height: 32px;
  --card-color: #064F75;
  --card-border: 6px solid var(--card-color);
}

.trilha-re {
  --cor-fundo: #15651B;
  --cor-topo: #06351E;
  --cor-fundo-datas: #DEF2E0;
  --cor-retangulo-data: #638172;
  --icon-width: 51px;
  --icon-height: 36px;
  --card-color: #095F2B;
  --card-border: 6px solid var(--card-color);
}

.trilha-edu {
  --cor-fundo: #BD5317;
  --cor-topo: #6B3613;
  --cor-fundo-datas: #FEE8DA;
  --cor-retangulo-data: #6B3613;
  --icon-width: 56px;
  --icon-height: 43px;
  --card-color: #F25004;
  --card-border: 6px solid var(--card-color);
}

.trilha-wtd {
  --cor-fundo: #6C2885;
  --cor-topo: #330942;
  --cor-fundo-datas: #EDDAFE;
  --cor-retangulo-data: #4D285A;
  --icon-width: 43px;
  --icon-height: 43px;
  --card-color: #533288;
  --card-border: 6px solid var(--card-color);
}

.trilha-ctd {
  --cor-fundo: #8B2626;
  --cor-topo: #490606;
  --cor-fundo-datas: #FEDADB;
  --cor-retangulo-data: #490606;
  --icon-width: 43px;
  --icon-height: 43px;
  --card-color: #A40F18;
  --card-border: 6px solid var(--card-color);
}

.trilha-ctic {
  --cor-fundo: #0C5F75;
  --cor-topo: #1A4459;
  --cor-fundo-datas: #DAF6FE;
  --cor-retangulo-data: #537383;
  --icon-width: 51px;
  --icon-height: 51px;
  --card-color: #025463;
  --card-border: 6px solid var(--card-color);
}

.trilha-journal-first {
  --cor-fundo: #805205;
  --cor-topo: #6B3613;
  --cor-fundo-datas: #EAE8E6;
  --cor-retangulo-data: #6B3613;
  --icon-width: 40px;
  --icon-height: 49px;
  --card-color: #774003;
  --card-border: 6px solid var(--card-color);
}

.pagina-default {
  --cor-fundo: #0081B5;
  --cor-topo: #248F3F;
  --h-page: 81px;
  --b-fundo: none;
}

/* ======================================================================
   PÁGINAS DE TRILHA — CAPA (FAIXA SUPERIOR)
   ====================================================================== */
.sbqs-capa {
  width: 100vw;
  height: 153px;
  margin-left: calc(-50vw + 50%);

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  overflow: hidden;
}

/* faixa verde */
.sbqs-capa::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background: #4f8f2f;
  z-index: 2;
}

/* svg */
.capa-onda {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 138px;
  object-fit: cover;
}

/* ======================================================================
   PÁGINAS DE TRILHA — HERO
   ====================================================================== */
.sbqs-hero {
  width: 100vw;
  height: var(--h-page, 220px);
  margin-left: calc(-50vw + 50%);

  background-color: var(--cor-fundo);
  background-image: var(--b-fundo, url('/2026/images/Dust.png'));
  background-repeat: repeat;
  background-position: center;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  overflow: hidden;
}

/* faixa superior */
.sbqs-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: var(--cor-topo);
}

.sbqs-hero-title {
  color: #ffffff;
  font-size: 36px;
  line-height: 54px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/*SBQS DUST*/
.sbqs-dust {
  width: 100vw;
  height: 106px;
  margin-left: calc(-50vw + 50%);

  background-image: url('/2026/images/Dust.png');
  background-repeat: repeat;
  background-position: center;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  overflow: hidden;
}

/* ======================================================================
   PÁGINAS DE TRILHA — CONTEÚDO + DATAS
   ====================================================================== */
.sbqs-tracks {
  text-align: justify;
  color: #000000;
  margin-top: 10px;
  margin-bottom: 50px;
}

.sbqs-tracks p,
li {
  font-size: 14px
}

.sbqs-tracks h1 {
  font-size: 40px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-align: center;

  position: relative;
  display: table;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 12px;
  margin-bottom: 5%;
  margin-top: 5%;
}

.sbqs-tracks h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 5px;

  background: #0081B5;
}

.sbqs-tracks h2 {
  font-size: 20px;
  font-weight: var(--weight-bold);
}

.sbqs-tracks h3 {
  font-size: 24px;
  font-weight: var(--weight-medium);
  text-align: center;
  margin: 0 19%;
}

.sbqs-tracks h4 {
  font-size: 17px;
  font-weight: var(--weight-semibold);
}

/* LAYOUT CONTEÚDO + DATAS */
.sbqs-layout-trilha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 433.81px;
  gap: 48px;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
}

.sbqs-layout-trilha .sbqs-tracks {
  margin-top: 5%;
}

.sbqs-sidebar-trilha {
  margin-top: 40px;
}

.sbqs-sidebar-trilha .datas-link {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 433.81px;
  height: 53.69px;

  color: #ffffff;
  font-size: 20px;
  font-weight: var(--weight-bold);
  text-decoration: none;

  border-radius: 66.67px;
  margin-bottom: 18px;
  box-sizing: border-box;
}

.sbqs-sidebar-trilha .datas-link:nth-of-type(1) {
  background: #5EA63D;
}

.sbqs-sidebar-trilha .datas-link:nth-of-type(2) {
  background: #0081B5;
}

.sbqs-sidebar-trilha .datas-importantes {
  width: 433.81px;
  height: auto;
  background: var(--cor-fundo-datas, #DAF4FE);
  color: #000000;
  box-sizing: border-box;
  padding: 20px 32px;
  border-radius: 14px;
}

.sbqs-sidebar-trilha .datas-importantes h2,
.sbqs-sidebar-trilha .data-dia,
.sbqs-sidebar-trilha .data-descricao {
  color: #000000;
}

.sbqs-sidebar-trilha .datas-importantes h2 {
  margin: 0 0 28px;
  font-size: 27.71px;
  font-weight: var(--weight-bold);
  line-height: 45px;
  position: relative;
  padding-bottom: 18px;
}

.sbqs-sidebar-trilha .datas-importantes h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 19%;

  width: 92px;
  height: 5px;

  background: var(--cor-retangulo-data, #DAF4FE);
  border-radius: 999px;
}

.sbqs-sidebar-trilha .data-item {
  margin-bottom: 23px;
}

.sbqs-sidebar-trilha .data-dia {
  margin: 0 0 0px;
  font-size: 18px;
  font-weight: var(--weight-bold);
  line-height: 27.7px;
}

.sbqs-sidebar-trilha .data-dia-del {
  margin: 0 0 0px;
  font-size: 13px;
  font-weight: var(--weight-medium);
  line-height: 27.7px;
  text-decoration: line-through;
}

.sbqs-sidebar-trilha .data-descricao {
  margin: 0;
  font-size: 16px;
  line-height: 27.7px;
}



/* Responsividade */
@media (max-width: 900px) {
  .sbqs-hero {
    height: auto;
    min-height: var(--h-page, 220px);
    padding: 40px 20px 28px;
    box-sizing: border-box;
  }

  .sbqs-hero-title {
    max-width: 100%;
    margin: 0;
    font-size: clamp(24px, 5.5vw, 36px);
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .sbqs-layout-trilha {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    gap: 28px;
  }

  .sbqs-layout-trilha > * {
    min-width: 0;
    max-width: 100%;
  }

  .sbqs-layout-trilha > .sbqs-sidebar-trilha {
    order: -1;
    margin-top: 24px;
  }

  .sbqs-sidebar-trilha .datas-link {
    width: 100%;
    height: auto;
    min-height: 54px;
    padding: 12px 16px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .sbqs-sidebar-trilha .datas-importantes {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 24px 20px;
    overflow-wrap: anywhere;
  }

  .sbqs-sidebar-trilha .datas-importantes h2 {
    font-size: clamp(22px, 5vw, 28px);
    line-height: 1.3;
  }
}
