/* Base */
:root {
  --thermo-text: #111827;
  --thermo-muted: rgba(17, 24, 39, 0.65);
  --thermo-border: rgba(17, 24, 39, 0.10);
  --thermo-bg: rgba(255, 255, 255, 0.92);
}

body {
  color: var(--thermo-text);
}

/* Navbar com leve blur */
.thermo-navbar {
  background: var(--thermo-bg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--thermo-border);
}

/* Logo */
.thermo-logo {
  height: 40px;
  width: auto;
  display: block;
}

/* Links do menu */
.thermo-navlink {
  font-weight: 600;
  color: var(--thermo-text) !important;
  border-radius: 10px;
  padding: 0.55rem 0.75rem !important;
}

.thermo-navlink:hover,
.thermo-navlink:focus {
  background: rgba(17, 24, 39, 0.06);
}

/* Melhor área de clique no mobile */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding: 0.75rem 0.75rem !important;
  }
}

/* =========================
   HERO (ThermoAI)
   ========================= */

.thermo-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: #ffffff;
}

/* Fundo com a imagem */
.thermo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("imgs/bg.png"); /* caminho relativo a assets/home.css */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  opacity: 1;
  z-index: 0;
}

/* Camada de "legibilidade" no lado esquerdo */
.thermo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.92) 40%,
    rgba(255, 255, 255, 0.70) 60%,
    rgba(255, 255, 255, 0.35) 78%,
    rgba(255, 255, 255, 0.10) 100%
  );
  z-index: 1;
}

.thermo-hero__container {
  position: relative;
  z-index: 2;
}

/* Tipografia */
.thermo-hero__brandline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.thermo-hero__brand {
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1f3a;
}

.thermo-hero__ai {
  color: #f97316; /* laranja */
}

.thermo-hero__year {
  font-size: 20px;
  font-weight: 800;
  color: rgba(11, 31, 58, 0.75);
}

.thermo-hero__title {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 14px;
  color: #0b1f3a;
}

.thermo-hero__subtitle {
  margin: 0 0 22px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(11, 31, 58, 0.70);
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 14px;
  padding: 12px 14px;
  display: inline-block;
}

/* Botões */
.thermo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.thermo-btn-primary {
  background: #0b3a66;
  border-color: #0b3a66;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 16px;
}

.thermo-btn-primary:hover,
.thermo-btn-primary:focus {
  background: #072c4e;
  border-color: #072c4e;
}

.thermo-btn-outline {
  border-radius: 12px;
  font-weight: 700;
  padding: 10px 16px;
  border-color: rgba(11, 31, 58, 0.22);
  color: #0b1f3a;
}

.thermo-btn-outline:hover,
.thermo-btn-outline:focus {
  background: rgba(11, 31, 58, 0.06);
  border-color: rgba(11, 31, 58, 0.30);
}

/* Só para manter espaço visual na coluna direita em telas grandes */
.thermo-hero__spacer {
  min-height: 260px;
}

/* Responsivo */
@media (min-width: 992px) {
  .thermo-hero {
    padding: 78px 0;
  }

  .thermo-hero__title {
    font-size: 30px;
  }

  .thermo-hero__spacer {
    min-height: 360px;
  }
}

@media (max-width: 575.98px) {
  .thermo-hero {
    padding: 44px 0;
  }

  .thermo-hero__brand {
    font-size: 36px;
  }

  .thermo-hero__title {
    font-size: 22px;
  }

  /* No mobile, puxa o fundo mais para o centro e aumenta a leitura */
  .thermo-hero::before {
    background-position: 65% center;
  }

  .thermo-hero::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.92) 55%,
      rgba(255, 255, 255, 0.80) 100%
    );
  }

  .thermo-hero__spacer {
    display: none;
  }
}

/* ===============================
   BLOCO INFORMAÇÕES
================================ */

.thermo-info {
  padding: 20px 0;
  background: #ffffff;
}

.thermo-section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #0b1f3a;
}

.thermo-section-text {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(11,31,58,0.75);
  margin-bottom: 18px;
}

/* container da imagem */

.thermo-info-image img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 1.0;

    -webkit-mask-image: radial-gradient(circle at center,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0.6) 70%,
    rgba(0,0,0,0) 100%);

    mask-image: radial-gradient(circle at center,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0.6) 70%,
    rgba(0,0,0,0) 100%);
}


/* responsivo */

@media (max-width: 991px) {

  .thermo-info {
    padding: 60px 0;
  }

  .thermo-section-title {
    font-size: 28px;
  }

}

.thermo-info-image {
  position: relative;
}


/* ===============================
   TÓPICOS DE INTERESSE
================================ */

.thermo-topics {
  padding: 10px 0;
  background: #ffffff;
}

.thermo-topics__title {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  color: #0b1f3a;
}

.thermo-topics__underline {
  width: 90px;
  height: 3px;
  background: #f97316; /* laranja */
  border-radius: 999px;
  margin-left: auto;
  margin-top: 10px;
}

/* Cards */
.thermo-topic-card {
  height: 100%;
  background: rgba(245, 247, 251, 0.6);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 16px;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  gap: 14px;

  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.thermo-topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
  border-color: rgba(249, 115, 22, 0.25);
}

.thermo-topic-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.thermo-topic-card__text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  color: #0b1f3a;
}

/* Responsivo */
@media (max-width: 575.98px) {
  .thermo-topics {
    padding: 55px 0;
  }
  .thermo-topics__title {
    font-size: 24px;
  }
  .thermo-topic-card {
    padding: 16px;
  }
}

.thermo-topics__header{
    text-align:left;
    margin-bottom:40px;
}

.thermo-section-line{
    width:80px;
    height:4px;
    background:#f97316;
    border-radius:4px;
    margin-top:10px;
}

.thermo-section-header{
    margin-bottom:30px;
}


/* ===============================
   SUBMISSÃO
================================ */

.thermo-submission{
  padding: 30px 0 70px;
  background: #ffffff;
}

/* Grid: 1 card escuro + 2 claros */
.thermo-submission-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr 1fr 1fr;
  align-items: stretch;
}

/* Cards base */
.thermo-sub-card{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.10);
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
  padding: 22px 22px;
  position: relative;
}

/* Card escuro */
.thermo-sub-card--dark{
  background: linear-gradient(145deg, #0b2f5a 0%, #071f3e 100%);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.08);
}

.thermo-sub-title{
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.thermo-sub-title--light{
  color: #0b1f3a;
}

/* Lista */
.thermo-sub-list{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.thermo-sub-card--dark .thermo-sub-list{
  color: rgba(255,255,255,0.92);
}

.thermo-sub-link{
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 1px;
}

.thermo-sub-link:hover{
  border-bottom-color: rgba(255,255,255,0.8);
}

/* “ícone” decorativo do documento (sem depender de libs) */
.thermo-sub-doc{
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 86px;
  height: 110px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
}

.thermo-sub-doc::before{
  content: "";
  position: absolute;
  left: 16px;
  top: 26px;
  width: 52px;
  height: 2px;
  background: rgba(255,255,255,0.35);
  box-shadow:
    0 14px 0 rgba(255,255,255,0.25),
    0 28px 0 rgba(255,255,255,0.20);
}

.thermo-sub-doc::after{
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-bottom-left-radius: 14px;
  border-left: 2px solid rgba(255,255,255,0.25);
  border-bottom: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
}

/* Cards claros */
.thermo-sub-card--light{
  background: #f5f7fb;
  color: #0b1f3a;
}

.thermo-sub-item{
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}

.thermo-sub-icon{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(11, 31, 58, 0.10);
  font-size: 18px;
}

.thermo-sub-strong{
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
}

.thermo-sub-divider{
  height: 1px;
  background: rgba(11, 31, 58, 0.14);
}

/* Responsivo */
@media (max-width: 991.98px){
  .thermo-submission-grid{
    grid-template-columns: 1fr;
  }

  .thermo-sub-doc{
    opacity: 0.65; /* no mobile reduz o destaque do ícone */
  }
}

.thermo-ai-guidelines{
  border-radius: 14px;
  padding: 22px 26px;
  font-size: 16px;
  line-height: 1.6;
  border-left: 6px solid #dc3545;
}

.thermo-ai-guidelines h5{
  font-weight: 700;
}

.thermo-ai-guidelines a{
  color: #dc3545;        /* vermelho bootstrap */
  text-decoration: none; /* remove sublinhado */
  font-weight: 600;
}

.thermo-ai-guidelines a:hover{
  color: #b02a37;        /* vermelho mais escuro no hover */
  text-decoration: none;
}

/* ===============================
   ORGANIZAÇÃO
================================ */

.thermo-org{
  padding:20px 0;
  background:#ffffff;
}

/* header */

.thermo-org-header{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  margin-bottom:50px;
}

.thermo-org-title{
  font-size:28px;
  font-weight:800;
  color:#0b1f3a;
  margin:0;
}

.thermo-org-line{
  width:120px;
  height:2px;
  background:#e5e9f2;
}

/* card */

.thermo-org-card{
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* foto */

.thermo-org-card img{
  width:110px;
  height:110px;
  object-fit:cover;
  border-radius:50%;
  margin-bottom:15px;

  border:6px solid #f5f7fb;

  box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

/* nome */

.thermo-org-card h5{
  font-size:16px;
  font-weight:700;
  margin:0;
  color:#0b1f3a;
}

/* instituição */

.thermo-org-card span{
  font-size:14px;
  color:rgba(11,31,58,0.65);
}



/* ===============================
   FOOTER
================================ */

.thermo-footer{
  margin-top:80px;
  background:#ffffff;
}

/* linha térmica */

.thermo-footer-line{
  height:4px;
  width:100%;

  background:linear-gradient(
    90deg,
    #ff2a2a 0%,
    #ff7b00 10%,
    #ffc400 20%,
    #0011ff 50%,
    #ffc400 80%,
    #ff7b00 90%,
    #ff2a2a 100%
  );
  
}

/* conteúdo */

.thermo-footer-content{
  padding:30px 0;

  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
}

/* texto */

.thermo-footer-info{
  font-size:15px;
  font-weight:600;
  color:#0b1f3a;
}

.thermo-footer-sep{
  margin:0 10px;
  color:rgba(11,31,58,0.4);
}

/* logos */

.thermo-footer-logos{
  display:flex;
  align-items:center;
  gap:25px;
}

.thermo-footer-logos img{
  height:40px;
  width:auto;
  opacity:0.9;
  transition:0.25s;
}

.thermo-footer-logos img:hover{
  opacity:1;
  transform:scale(1.05);
}

/* links do footer */

.thermo-footer-info a{
    color: #6c757d;      /* cinza */
    text-decoration: none;
    font-weight: 500;
}

.thermo-footer-info a:hover{
    color: #495057;      /* cinza mais escuro no hover */
    text-decoration: none;
}

/* ===============================
   DATAS IMPORTANTES
================================ */

.thermo-dates{
  padding:0px 0;
  background:#ffffff;
}

.thermo-dates-list{
  margin-top:40px;
  display:flex;
  flex-direction:column;
  gap:20px;
}

/* card */

.thermo-date-card{
  display:flex;
  align-items:center;
  gap:20px;

  background:#f5f7fb;
  border-radius:16px;
  padding:18px 20px;

  border:1px solid rgba(11,31,58,0.08);

  box-shadow:0 6px 20px rgba(0,0,0,0.05);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover */

.thermo-date-card:hover{
  transform: translateY(-6px);
  box-shadow:0 14px 32px rgba(0,0,0,0.12);
}

/* badge */

.thermo-date-badge{
  width:64px;
  height:64px;
  border-radius:50%;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  color:white;
  font-weight:700;
}

/* cores */

.thermo-date-blue{
  background:#2b4f8f;
}

.thermo-date-yellow{
  background:#f4a621;
}

.thermo-date-red{
  background:#d9534f;
}

/* texto */

.thermo-date-badge .day{
  font-size:20px;
  line-height:1;
}

.thermo-date-badge .month{
  font-size:12px;
  opacity:0.9;
}

.thermo-date-content h5{
  margin:0;
  font-weight:700;
  color:#0b1f3a;
}

.thermo-date-content p{
  margin:2px 0 0 0;
  color:rgba(11,31,58,0.65);
  font-size:14px;
}

/* ===============================
   AGENDA (clean + collapsible)
================================ */

.thermo-agenda{
  padding: 40px 0;
  background: #ffffff;
}

.thermo-agenda-list{
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* linha base (tanto div quanto button) */
.thermo-agenda-row{
  width: 100%;
  display: flex;
  align-items: center;        /* mantém tudo na mesma linha */
  gap: 22px;

  background: #ffffff;
  border: 1px solid rgba(11,31,58,0.10);
  border-radius: 18px;
  padding: 18px 22px;

  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

/* horário sempre fixo à esquerda */
.thermo-agenda-time{
  flex: 0 0 170px;            /* fixa a largura do bloco do horário */
  font-weight: 900;
  font-size: 20px;
  line-height: 1.1;
  color: #0b2f5a;
  white-space: nowrap;        /* não quebra linha no horário */
}

/* texto sempre ao lado */
.thermo-agenda-label{
  flex: 1;
  font-weight: 700;
  font-size: 18px;
  color: rgba(11,31,58,0.72);
  line-height: 1.2;
}

/* botão colapsável: remove aparência padrão */
.thermo-agenda-toggle{
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(11,31,58,0.10);
  background: #ffffff;
}

/* remove bordas padrão do button no focus do navegador */
.thermo-agenda-toggle:focus{
  outline: none;
}

/* caret à direita (só aparece nos colapsáveis) */
.thermo-agenda-caret{
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(11,31,58,0.55);
  border-bottom: 2px solid rgba(11,31,58,0.55);
  transform: rotate(45deg);
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.8;
}

/* quando estiver aberto, gira o caret */
.thermo-agenda-toggle:not(.collapsed) .thermo-agenda-caret{
  transform: rotate(-135deg);
}

/* hover lift */
.thermo-agenda-row{
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.thermo-agenda-row:hover{
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
  border-color: rgba(249,115,22,0.22);
}

/* área colapsada */
.thermo-agenda-collapse{
  margin-top: -10px;          /* encaixa visualmente sob o card acima */
}

.thermo-agenda-body{
  background: #f5f7fb;
  border: 1px solid rgba(11,31,58,0.10);
  border-radius: 18px;
  padding: 16px 22px 18px;

  margin-left: 0;             /* alinhado com o card */
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

/* lista de trabalhos sem bolinhas */
.thermo-agenda-worklist{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.thermo-agenda-worklist li{
  margin-bottom: 8px;
  color: rgba(11,31,58,0.75);
}

/* marcador discreto (termal) */
.thermo-agenda-worklist li::before{
  content: "– ";
  color: #f97316;
  font-weight: 900;
}

/* Responsivo: reduz a largura fixa do horário */
@media (max-width: 575.98px){
  .thermo-agenda-time{
    flex-basis: 120px;
    font-size: 18px;
  }
  .thermo-agenda-label{
    font-size: 16px;
  }
}