/* Two title lines on desktop, with natural wrapping on smaller screens. */
body[data-page="home"] #tech-hero-title {
  max-width:1080px;
  margin-bottom:28px;
  font-size:clamp(38px,5.1vw,64px);
  line-height:1.12;
  letter-spacing:-.035em;
}
body[data-page="home"] #tech-hero-title>span {
  display:block;
}
body[data-page="home"] #tech-hero-title>em {
  display:block;
  margin-top:10px;
  font-size:clamp(26px,3.55vw,44px);
  line-height:1.2;
  letter-spacing:-.025em;
  font-weight:400;
  color:#e7c18b;
}
body[data-page="home"] #tech-hero-title strong {
  font-weight:700;
}
@media(min-width:761px){
  body[data-page="home"] #tech-hero-title>em { white-space:nowrap; }
}
@media(max-width:760px){
  body[data-page="home"] #tech-hero-title { font-size:clamp(34px,6.8vw,48px); }
  body[data-page="home"] #tech-hero-title>em { font-size:clamp(24px,4.2vw,32px); text-wrap:balance; }
  body[data-page="home"] #tech-hero-title strong { white-space:nowrap; }
}
@media(prefers-reduced-motion:no-preference){
  body[data-page="home"] #tech-hero-title>span { animation:b24-title-enter 1.1s cubic-bezier(.22,.7,.2,1) both; }
  body[data-page="home"] #tech-hero-title>em { animation:b24-title-enter 1.3s cubic-bezier(.22,.7,.2,1) .15s both; }
  @keyframes b24-title-enter {
    from { opacity:.45; transform:translateY(12px); }
    to { opacity:1; transform:translateY(0); }
  }
}

/* Keep the pointer target stationary while the gold surface brightens. */
body[data-page="home"] #hero-stj-tecnologia .b24-tech-actions>a,
body[data-page="home"] #hero-stj-tecnologia .b24-tech-actions>a:active {
  background:#e8c18b;
  background-image:none;
  border-color:#e8c18b;
  color:#082c3d;
  box-shadow:none;
  transform:none;
  translate:none;
  transition:background-color .24s ease,border-color .24s ease,box-shadow .24s ease;
}
@media(hover:hover) and (pointer:fine){
  body[data-page="home"] #hero-stj-tecnologia .b24-tech-actions>a:hover {
    background:#f4dbaa;
    background-image:none;
    border-color:#f4dbaa;
    color:#082c3d;
    transform:none;
    translate:none;
    box-shadow:0 4px 16px #001d2926;
  }
}
body[data-page="home"] #hero-stj-tecnologia .b24-tech-actions>a:focus-visible {
  background:#f4dbaa;
  border-color:#f4dbaa;
  outline:3px solid #faf8f6;
  outline-offset:5px;
  transform:none;
}
.b24-closing-marker { padding:26px 0; background:#faf8f6; }
body[data-page="home"] #coordenacao-no-card .b24-inline-card>summary:focus-visible { outline-offset:-5px; }
body[data-page="home"] #coordenacao-teste .b24-tech-card>div { padding-bottom:72px; }
.b24-closing-marker .b24-section-label { margin:0; font-family:"INEF Josefin",sans-serif; }
@media(max-width:700px){ .b24-closing-marker { padding:22px 0; } }
@media(max-width:600px){
  body[data-page="home"] .b24-curriculum-window,
  body[data-page="home"] .b24-curriculum-window.is-pinned { width:calc(100% - 24px); }
}
@media(prefers-reduced-motion:reduce){ body[data-page="home"] #hero-stj-tecnologia .b24-tech-actions>a{transition:none} }

/* Both banners form one continuous group while keeping independent controls. */
body[data-page="home"] #banner-institucional { padding-bottom:0; background:#ededed; }
body[data-page="home"] #banner-institucional .section-head { display:block; width:100%; text-align:center; }
body[data-page="home"] #banner-institucional .section-head>div { width:100%; max-width:none; margin-inline:auto; }
body[data-page="home"] #banner-institucional .section-head h2 { max-width:920px; margin-inline:auto; }
body[data-page="home"] #banner-institucional .section-head p { max-width:760px; margin-inline:auto; }
body[data-page="home"] #cursos-gravados.b24-recorded-section { padding-top:24px; background:#ededed; border-top:0; }
body[data-page="home"] #cursos-gravados>.container>.b24-section-label { margin-bottom:18px; }
@media(max-width:700px){ body[data-page="home"] #cursos-gravados.b24-recorded-section{padding-top:20px} }

/* A diffuse outer halo sits behind the white card, without a colored outline. */
body[data-page="home"] #instituicoes .b24-course {
  background:#fff;
  transition:border-color .45s ease,box-shadow .45s ease;
}
body[data-page="home"] #instituicoes .b24-course::before,
body[data-page="home"] #instituicoes .b24-course::after {
  content:none;
  animation:none;
}
body[data-page="home"] #instituicoes .b24-course:focus-within {
  border-color:transparent;
  box-shadow:0 0 14px 1px #2b91c480;
}
body[data-page="home"] #instituicoes .segment-card__link:focus-visible {
  outline:2px solid #29566b;
  outline-offset:4px;
  border-radius:50%;
}
body[data-page="home"] #instituicoes .segment-card__link:focus-visible::after {
  outline:none;
}
@media(hover:hover) and (pointer:fine){
  body[data-page="home"] #instituicoes .b24-course:hover {
    border-color:transparent;
    box-shadow:0 0 14px 1px #2b91c480;
  }
}
@media(prefers-reduced-motion:reduce){
  body[data-page="home"] #instituicoes .b24-course { transition:none; }
}

/* Base 7 / impeccable.css:133; --surface-blue in resources/css/tokens.css. */
body[data-page="home"] #instituicoes.b24-blue-hover-comparison .b24-course {
  background:#fff;
  border-color:#29566b26;
  box-shadow:none;
  transition:background-color .5s ease,border-color .5s ease;
}
body[data-page="home"] #instituicoes.b24-blue-hover-comparison .b24-course::before,
body[data-page="home"] #instituicoes.b24-blue-hover-comparison .b24-course::after {
  content:none;
  animation:none;
}
body[data-page="home"] #instituicoes.b24-blue-hover-comparison .b24-course:focus-within {
  background:#dbe7eb;
  border-color:#dbe7eb;
  box-shadow:none;
  transform:none;
}
body[data-page="home"] #instituicoes.b24-blue-hover-comparison .segment-card__link:focus-visible {
  outline:2px solid #29566b;
  outline-offset:4px;
  border-radius:50%;
}
body[data-page="home"] #instituicoes.b24-blue-hover-comparison .segment-card__link:focus-visible::after { outline:none; }
@media(hover:hover) and (pointer:fine){
  body[data-page="home"] #instituicoes.b24-blue-hover-comparison .b24-course:hover {
    background:#dbe7eb;
    border-color:#dbe7eb;
    box-shadow:none;
    transform:none;
  }
}
@media(prefers-reduced-motion:reduce){
  body[data-page="home"] #instituicoes.b24-blue-hover-comparison .b24-course { transition:none; }
}
