*{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg:#020611;
  --cyan:#00d9ff;
  --purple:#9b5cff;
  --text:#fff;
  --muted:#b9c5dc;
  --line:rgba(255,255,255,.10);
}
html,body{
  width:100%;
  min-height:100%;
  background:var(--bg);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
#neural{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none;
  opacity:.62;
}
.site{
  position:relative;
  z-index:1;
  min-height:100vh;
}
.nav{
  height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 52px;
  background:rgba(2,6,17,.78);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px);
  position:relative;
  z-index:5;
}
.logo{
  font-size:40px;
  font-weight:900;
  letter-spacing:-2px;
  line-height:1;
}
.logo .dot{color:#5ccfff}
.logo .ai{
  background:linear-gradient(90deg,#5ccfff,#9b5cff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.menu{
  display:flex;
  align-items:center;
  gap:46px;
}
.menu a{
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(255,255,255,.92);
}
.hero{
  min-height:calc(100vh - 88px);
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(90deg,#020611 0%,rgba(2,6,17,.96) 42%,rgba(2,6,17,.34) 68%,rgba(2,6,17,0) 100%),
    url("../img/hero-bg.jpg") right center/cover no-repeat;
}
.robot{
  position:absolute;
  right:0;
  top:0;
  bottom:0;
  width:58%;
  background:url("../img/robot.png") right bottom/contain no-repeat;
  filter:drop-shadow(0 0 45px rgba(0,145,255,.28));
  pointer-events:none;
}
.hero-content{
  position:relative;
  z-index:2;
  max-width:760px;
  padding:150px 52px 54px;
}
.kicker{
  color:#74f3ff;
  font-size:18px;
  letter-spacing:.34em;
  text-transform:uppercase;
  margin-bottom:34px;
  text-shadow:0 0 18px rgba(0,217,255,.45);
}
.kicker:after{
  content:"";
  display:block;
  width:260px;
  height:2px;
  margin-top:14px;
  background:linear-gradient(90deg,var(--cyan),transparent);
  box-shadow:0 0 12px rgba(0,217,255,.8);
}
.title{
  font-size:86px;
  line-height:.93;
  letter-spacing:-4px;
  font-weight:900;
  text-transform:uppercase;
}
.grad{
  background:linear-gradient(90deg,#55e8ff,#5aa9ff,#a85cff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.quick{
  display:grid;
  grid-template-columns:repeat(4,170px);
  gap:22px;
  margin-top:72px;
}
.quick a{
  height:118px;
  border:1px solid rgba(0,217,255,.42);
  border-radius:14px;
  background:rgba(0,8,18,.58);
  backdrop-filter:blur(10px);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  text-transform:uppercase;
  font-size:17px;
}
.quick a:nth-child(2),.quick a:nth-child(4){border-color:rgba(155,92,255,.54)}
.page{
  min-height:100vh;
  background:
    radial-gradient(circle at 85% 18%,rgba(0,217,255,.16),transparent 30%),
    radial-gradient(circle at 12% 75%,rgba(155,92,255,.12),transparent 30%),
    #020611;
}
.content{padding:86px 58px 60px}
h1{font-size:62px;line-height:1.05;margin-bottom:16px}
h1 span{
  background:linear-gradient(90deg,#55e8ff,#a85cff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  max-width:780px;
  color:var(--muted);
  font-size:18px;
  line-height:1.7;
  margin-bottom:30px;
}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}
.box{
  min-height:190px;
  padding:24px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
  backdrop-filter:blur(12px);
}
.box h3{font-size:23px;margin-bottom:12px}
.box p{color:var(--muted);line-height:1.6}
.btn,.box a,.box button{
  display:inline-flex;
  margin-top:18px;
  padding:12px 16px;
  border:1px solid rgba(0,217,255,.35);
  border-radius:10px;
  background:rgba(0,217,255,.08);
  color:#74efff;
  font-weight:800;
  cursor:pointer;
}
footer{
  position:relative;
  z-index:2;
  padding:24px;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.08);
  color:#9fb0cc;
  font-size:13px;
  background:#020611;
}
.modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:99;
  background:rgba(0,0,0,.74);
  backdrop-filter:blur(8px);
  align-items:center;
  justify-content:center;
  padding:20px;
}
.modal.active{display:flex}
.modal-box{
  width:min(95vw,680px);
  padding:24px;
  background:#071021;
  border:1px solid rgba(0,217,255,.32);
  border-radius:20px;
}
.modal-box h2{margin-bottom:14px}
.modal-box p{color:#c8d2e8;line-height:1.65;margin-bottom:20px}
.modal-actions{display:flex;gap:10px;flex-wrap:wrap}
.close{background:rgba(255,255,255,.08)!important;color:#fff!important}
@media(max-width:780px){
  .nav{height:auto;display:block;padding:20px}
  .logo{font-size:34px;margin-bottom:17px;display:block}
  .menu{display:grid;grid-template-columns:repeat(4,auto);gap:12px;justify-content:start}
  .menu a{font-size:10.5px}
  .hero{
    min-height:auto;
    background:
      linear-gradient(180deg,rgba(2,6,17,.58) 0%,rgba(2,6,17,.88) 55%,#020611 100%),
      url("../img/hero-bg.jpg") center center/cover no-repeat;
  }
  .robot{width:115%;right:-55%;top:30px;height:440px;opacity:.34;background-position:right top}
  .hero-content{padding:72px 20px 34px}
  .kicker{font-size:11px;letter-spacing:.28em;margin-bottom:28px}
  .kicker:after{width:190px}
  .title{font-size:clamp(40px,12.6vw,54px);line-height:.95;letter-spacing:-2px}
  .quick{grid-template-columns:1fr 1fr;gap:14px;margin-top:42px}
  .quick a{height:84px;font-size:14px}
  .content{padding:64px 20px 42px}
  h1{font-size:40px}
  .lead{font-size:15px}
  .grid{grid-template-columns:1fr;gap:16px}
  .box{min-height:auto;padding:20px}
}



/* Animações dos botões e cards */
.menu a,
.quick a,
.btn,
.box a,
.box button {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
  -webkit-tap-highlight-color: transparent;
}

.menu a:hover,
.quick a:hover,
.btn:hover,
.box a:hover,
.box button:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 28px rgba(0, 217, 255, .22);
  border-color: rgba(0, 217, 255, .72) !important;
}

.quick a::before,
.btn::before,
.box a::before,
.box button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-22deg);
  transition: left .55s ease;
}

.quick a:hover::before,
.btn:hover::before,
.box a:hover::before,
.box button:hover::before {
  left: 140%;
}

.quick a {
  animation: seligFloat 4.5s ease-in-out infinite;
}

.quick a:nth-child(2) { animation-delay: .15s; }
.quick a:nth-child(3) { animation-delay: .3s; }
.quick a:nth-child(4) { animation-delay: .45s; }

@keyframes seligFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media(max-width:780px){
  .quick a {
    animation: seligPulse 3s ease-in-out infinite;
  }

  @keyframes seligPulse {
    0%,100% {
      box-shadow: 0 0 0 rgba(0,217,255,0);
    }
    50% {
      box-shadow: 0 0 20px rgba(0,217,255,.20);
    }
  }
}



/* Rede neural integrada ao fundo da própria página */
.hero,
.page {
  position: relative;
  overflow: hidden;
}

.seligNeuralCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: .46;
}

.hero .robot {
  position: absolute;
  z-index: 2 !important;
}

.nav,
.hero-content,
.quick,
.content {
  position: relative;
  z-index: 3 !important;
}

@media(max-width:780px){
  .seligNeuralCanvas {
    opacity: .32;
  }
}



/* Correção da home: conteúdo alinhado à esquerda, robô à direita e ajuste real ao monitor */
html, body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden !important;
}

.hero {
  width: 100%;
  min-height: calc(100vh - 88px) !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}

.hero-content {
  position: relative !important;
  z-index: 3 !important;
  width: min(56vw, 760px) !important;
  max-width: 760px !important;
  padding: clamp(70px, 11vh, 145px) clamp(22px, 4vw, 52px) clamp(36px, 7vh, 58px) !important;
  margin: 0 !important;
  transform: none !important;
}

.title {
  font-size: clamp(54px, 6.2vw, 86px) !important;
  line-height: .93 !important;
  letter-spacing: clamp(-4px, -.25vw, -2px) !important;
  white-space: normal !important;
  max-width: 760px !important;
}

.kicker {
  font-size: clamp(13px, 1vw, 18px) !important;
}

.quick {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(128px, 170px)) !important;
  gap: clamp(14px, 1.6vw, 22px) !important;
  margin-top: clamp(42px, 7vh, 72px) !important;
  max-width: min(760px, 57vw) !important;
}

.quick a {
  height: clamp(88px, 12vh, 118px) !important;
}

.robot {
  position: absolute !important;
  z-index: 2 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: clamp(520px, 52vw, 900px) !important;
  height: auto !important;
  opacity: 1 !important;
  background-position: right bottom !important;
  background-size: contain !important;
  transform: none !important;
}

.nav {
  position: relative !important;
  z-index: 5 !important;
}

/* Monitores médios/notebooks */
@media (max-width: 1250px) and (min-width: 781px) {
  .hero-content {
    width: 58vw !important;
    padding-top: clamp(60px, 9vh, 110px) !important;
  }

  .title {
    font-size: clamp(48px, 5.4vw, 70px) !important;
  }

  .quick {
    grid-template-columns: repeat(2, minmax(140px, 180px)) !important;
    max-width: 410px !important;
    margin-top: 44px !important;
  }

  .robot {
    width: clamp(500px, 56vw, 760px) !important;
    right: -6vw !important;
    opacity: .88 !important;
  }
}

/* Telas com pouca altura */
@media (max-height: 760px) and (min-width: 781px) {
  .hero-content {
    padding-top: clamp(38px, 6vh, 70px) !important;
    padding-bottom: 30px !important;
  }

  .title {
    font-size: clamp(46px, 5.2vw, 70px) !important;
  }

  .kicker {
    margin-bottom: 22px !important;
  }

  .quick {
    margin-top: 30px !important;
  }

  .quick a {
    height: 82px !important;
  }
}

/* Mobile preservado */
@media (max-width: 780px) {
  .hero {
    min-height: auto !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 72px 20px 34px !important;
  }

  .title {
    font-size: clamp(40px, 12.6vw, 54px) !important;
  }

  .quick {
    grid-template-columns: 1fr 1fr !important;
    max-width: none !important;
    margin-top: 42px !important;
  }

  .quick a {
    height: 84px !important;
  }

  .robot {
    width: 115% !important;
    right: -55% !important;
    top: 30px !important;
    height: 440px !important;
    bottom: auto !important;
    opacity: .34 !important;
  }
}



/* Corrige home cortando fundo e removendo rolagem desnecessária no desktop */
@media (min-width: 781px) {
  html,
  body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow-x: hidden !important;
  }

  body.home-page {
    overflow-y: hidden !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  body.home-page .site {
    flex: 1 1 auto;
    min-height: 0 !important;
    height: calc(100vh - 58px) !important;
  }

  body.home-page .hero {
    height: calc(100vh - 58px) !important;
    min-height: calc(100vh - 58px) !important;
    max-height: calc(100vh - 58px) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  body.home-page .nav {
    height: 82px !important;
  }

  body.home-page .hero-content {
    padding-top: clamp(42px, 7vh, 88px) !important;
    padding-bottom: 24px !important;
  }

  body.home-page .title {
    font-size: clamp(48px, 5.4vw, 76px) !important;
    line-height: .92 !important;
  }

  body.home-page .kicker {
    margin-bottom: clamp(18px, 2.5vh, 28px) !important;
  }

  body.home-page .quick {
    margin-top: clamp(24px, 4.2vh, 42px) !important;
  }

  body.home-page .quick a {
    height: clamp(74px, 10vh, 92px) !important;
  }

  body.home-page .robot {
    top: 82px !important;
    bottom: 0 !important;
    height: calc(100% - 82px) !important;
    max-height: none !important;
    background-size: contain !important;
    background-position: right bottom !important;
  }

  body.home-page footer {
    flex: 0 0 58px;
    height: 58px !important;
    padding: 0 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.home-page #seligNeuralCanvas,
  body.home-page .seligNeuralCanvas {
    height: 100% !important;
  }
}

/* Em telas muito baixas, reduz mais para caber tudo */
@media (min-width: 781px) and (max-height: 650px) {
  body.home-page .nav {
    height: 70px !important;
  }

  body.home-page .robot {
    top: 70px !important;
    height: calc(100% - 70px) !important;
  }

  body.home-page .hero-content {
    padding-top: 28px !important;
  }

  body.home-page .title {
    font-size: clamp(42px, 4.8vw, 62px) !important;
  }

  body.home-page .quick {
    margin-top: 22px !important;
  }

  body.home-page .quick a {
    height: 68px !important;
  }

  body.home-page footer {
    height: 48px !important;
    flex-basis: 48px !important;
  }

  body.home-page .site,
  body.home-page .hero {
    height: calc(100vh - 48px) !important;
    min-height: calc(100vh - 48px) !important;
    max-height: calc(100vh - 48px) !important;
  }
}

/* Mobile continua rolável */
@media (max-width: 780px) {
  body.home-page {
    overflow-y: auto !important;
  }

  body.home-page .hero {
    height: auto !important;
    max-height: none !important;
  }
}



/* Imagem de fundo corrigida de verdade: sem restos de menu/botões dentro da arte */
@media (min-width: 781px){
  body.home-page .hero{
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  body.home-page .robot{
    background-size: contain !important;
    background-position: right bottom !important;
    right: 0 !important;
    opacity: 1 !important;
  }

  body.home-page .hero::before,
  body.home-page .hero::after{
    display: none !important;
    content: none !important;
  }
}



/* Página de livros */
.livros-page .lead {
  max-width: 920px;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 34px 0 28px;
}

.book-card {
  border: 1px solid rgba(0,217,255,.22);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 38px rgba(0,0,0,.22);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.book-card:hover {
  transform: translateY(-6px);
  border-color: rgba(155,92,255,.54);
  box-shadow: 0 22px 48px rgba(0,217,255,.16);
}

.book-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: #030816;
}

.book-info {
  padding: 20px;
}

.book-info h3 {
  font-size: 21px;
  line-height: 1.18;
  margin-bottom: 12px;
}

.book-info p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

@media(max-width:780px){
  .books-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .book-card img {
    aspect-ratio: 4 / 5;
  }

  .book-info h3 {
    font-size: 20px;
  }
}



/* Modal de livros */
.book-card {
  cursor: pointer;
}

.book-open {
  display: inline-flex;
  margin-top: 16px;
  color: #74efff;
  font-weight: 800;
  font-size: 14px;
}

.book-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.book-modal.active {
  display: flex;
}

.book-modal-box {
  position: relative;
  width: min(920px, 96vw);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(0,217,255,.32);
  background: linear-gradient(145deg, rgba(7,16,33,.98), rgba(2,6,17,.96));
  box-shadow: 0 28px 80px rgba(0,0,0,.55), 0 0 35px rgba(0,217,255,.12);
}

.book-modal-box img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(0,0,0,.4);
}

.book-modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.book-modal-content h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.book-modal-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 560px;
}

.book-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media(max-width:780px){
  .book-modal {
    padding: 14px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .book-modal-box {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
    margin-top: 18px;
  }

  .book-modal-box img {
    max-width: 230px;
    margin: 0 auto;
  }

  .book-modal-content h2 {
    font-size: 28px;
    padding-right: 36px;
  }

  .book-modal-content p {
    font-size: 15px;
  }
}



/* Página de contato — Sobre o Autor */
.author-section {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  margin: 34px 0 34px;
  padding: 26px;
  border: 1px solid rgba(0,217,255,.24);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 48px rgba(0,0,0,.26);
}

.author-photo-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #55e8ff, #9b5cff);
  box-shadow: 0 0 34px rgba(0,217,255,.18);
}

.author-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 4px solid #020611;
}

.author-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: #74f3ff;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 800;
}

.author-text h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(90deg,#fff,#72e8ff,#a85cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.author-text p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 16px;
  margin-bottom: 12px;
  max-width: 920px;
}

@media(max-width:780px){
  .author-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px;
  }

  .author-photo-wrap {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  .author-text p {
    text-align: left;
    font-size: 15px;
  }
}



/* Página de portfólio */
.portfolio-grid {
  align-items: stretch;
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card a {
  margin-bottom: 18px;
}

.portfolio-shot {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  margin-top: 18px;
  border: 1px solid rgba(0,217,255,.22);
  box-shadow: 0 18px 38px rgba(0,0,0,.28);
}

@media(max-width:780px){
  .portfolio-shot {
    aspect-ratio: 4 / 3;
  }
}



/* Página de notícias dinâmica */
.noticias-dinamicas-page .lead {
  max-width: 980px;
}

.floating-news-stage {
  position: relative;
  margin: 34px 0 26px;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.floating-news-track {
  position: relative;
  height: 560px;
  perspective: 1400px;
}

.floating-news-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: stretch;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(0,217,255,.22);
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  box-shadow: 0 28px 70px rgba(0,0,0,.38);
  opacity: 0;
  transform: translateY(22px) scale(.96) rotateX(5deg);
  pointer-events: none;
  transition: opacity .55s ease, transform .55s ease, box-shadow .55s ease;
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.floating-news-card.active {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0);
  pointer-events: auto;
  animation: floatingNewsPulse 5s ease-in-out infinite;
}

@keyframes floatingNewsPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.006); }
}

.floating-news-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(0,217,255,.18);
  background: #081225;
  min-height: 100%;
}

.floating-news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-news-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(2,6,17,.82);
  border: 1px solid rgba(0,217,255,.26);
  color: #74f3ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.floating-news-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.floating-news-body h3 {
  font-size: clamp(30px, 3vw, 50px);
  line-height: 1.06;
  margin-bottom: 16px;
}

.floating-news-body p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
  margin-bottom: 18px;
}

.floating-news-link {
  display: inline-flex;
  width: fit-content;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid rgba(0,217,255,.35);
  background: rgba(0,217,255,.08);
  color: #74efff;
  font-weight: 800;
  cursor: pointer;
}

.floating-news-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.floating-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.24);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.floating-dot.active {
  background: #59e6ff;
  transform: scale(1.2);
  box-shadow: 0 0 14px rgba(0,217,255,.62);
}

.news-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.news-modal.active {
  display: flex;
}

.news-modal-box {
  position: relative;
  width: min(980px, 96vw);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(0,217,255,.3);
  background: linear-gradient(145deg, rgba(7,16,33,.98), rgba(2,6,17,.96));
  box-shadow: 0 28px 80px rgba(0,0,0,.58);
}

.news-modal-box img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
}

.news-modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-modal-content h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.06;
  margin: 12px 0 16px;
}

.news-modal-content p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 17px;
  margin-bottom: 18px;
}

.modal-badge {
  position: static;
  width: fit-content;
}

.news-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media(max-width:780px){
  .floating-news-stage {
    min-height: 720px;
  }

  .floating-news-track {
    height: 690px;
  }

  .floating-news-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .floating-news-image-wrap {
    min-height: 280px;
  }

  .floating-news-body h3 {
    font-size: 28px;
  }

  .floating-news-body p {
    font-size: 15px;
  }

  .news-modal {
    padding: 14px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .news-modal-box {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
    margin-top: 18px;
  }

  .news-modal-box img {
    max-width: 240px;
    margin: 0 auto;
  }

  .news-modal-content p {
    font-size: 15px;
  }
}



/* Página de notícias no formato dashboard */
.news-dashboard-page {
  max-width: 1260px;
}

.news-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.news-dashboard-head h1 {
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1;
  margin-bottom: 8px;
}

.news-dashboard-head p {
  color: var(--muted);
  font-size: 18px;
}

.news-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.news-main-panel,
.news-side-panel {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}

.news-main-panel {
  padding: 20px;
}

.news-side-column {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
}

.news-side-panel {
  padding: 18px;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel-title-row h3 {
  font-size: 18px;
  color: #8fd7ff;
  margin: 0;
}

.main-news-hero {
  display: grid;
  grid-template-columns: minmax(290px, 1.05fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: stretch;
}

.main-news-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  background: #081225;
  min-height: 340px;
}

.main-news-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-news-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-source-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(2,6,17,.82);
  border: 1px solid rgba(0,217,255,.26);
  color: #74f3ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.main-news-content h2 {
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.main-news-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
  margin-bottom: 18px;
}

.main-news-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.news-time {
  color: #9cb0ca;
  font-size: 14px;
}

.see-more-news {
  width: 100%;
  margin-top: 16px;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
  color: #c8d5ea;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-list-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.news-list-item:hover,
.news-list-item.active {
  transform: translateY(-2px);
  border-color: rgba(0,217,255,.24);
  background: rgba(255,255,255,.065);
}

.news-list-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.news-list-item-content h4 {
  font-size: 16px;
  line-height: 1.3;
  margin: 4px 0 6px;
}

.news-list-item-content p {
  margin: 0;
  color: #9cb0ca;
  font-size: 13px;
}

.news-mini-source {
  color: #74f3ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.topic-pill-list {
  display: grid;
  gap: 10px;
}

.topic-pill {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
}

.topic-pill strong {
  font-size: 15px;
  color: #ffffff;
}

.topic-pill span {
  color: #9cb0ca;
  font-size: 14px;
}

@media(max-width:980px) {
  .news-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .news-side-column {
    grid-template-rows: auto auto;
  }
}

@media(max-width:780px) {
  .news-dashboard-head p {
    font-size: 16px;
  }

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

  .main-news-image-wrap {
    min-height: 240px;
  }

  .main-news-content h2 {
    font-size: 28px;
  }

  .main-news-content p {
    font-size: 15px;
  }

  .news-list-item {
    grid-template-columns: 76px 1fr;
  }
}



/* Notícias em tela inteira sem rolagem no desktop */
@media (min-width: 981px) {
  body:has(.news-dashboard-page) {
    overflow: hidden !important;
  }

  .page:has(.news-dashboard-page) {
    min-height: calc(100vh - 58px) !important;
    height: calc(100vh - 58px) !important;
    overflow: hidden !important;
  }

  .page:has(.news-dashboard-page) .nav {
    height: 74px !important;
    padding: 0 clamp(28px, 4vw, 52px) !important;
  }

  .page:has(.news-dashboard-page) .logo {
    font-size: clamp(30px, 3vw, 38px) !important;
  }

  .page:has(.news-dashboard-page) .menu {
    gap: clamp(22px, 3vw, 42px) !important;
  }

  .news-dashboard-page {
    height: calc(100vh - 74px - 58px) !important;
    max-width: none !important;
    padding:
      clamp(16px, 2.2vh, 30px)
      clamp(22px, 3.4vw, 52px)
      clamp(14px, 2vh, 24px) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .news-dashboard-head {
    flex: 0 0 auto !important;
    margin-bottom: clamp(12px, 1.8vh, 22px) !important;
  }

  .news-dashboard-head h1 {
    font-size: clamp(30px, 3.2vw, 50px) !important;
    margin-bottom: 4px !important;
  }

  .news-dashboard-head p {
    font-size: clamp(14px, 1.2vw, 17px) !important;
  }

  .news-dashboard-grid {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    grid-template-columns: minmax(0, 2fr) minmax(300px, .95fr) !important;
    gap: clamp(14px, 1.7vw, 22px) !important;
    margin-bottom: 12px !important;
  }

  .news-main-panel,
  .news-side-panel {
    min-height: 0 !important;
  }

  .news-main-panel {
    display: flex !important;
    flex-direction: column !important;
    padding: clamp(14px, 1.7vw, 20px) !important;
  }

  .panel-title-row {
    flex: 0 0 auto !important;
    margin-bottom: clamp(10px, 1.5vh, 16px) !important;
  }

  .main-news-hero {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    grid-template-columns: minmax(260px, 1.05fr) minmax(0, 1.15fr) !important;
    gap: clamp(14px, 1.8vw, 20px) !important;
  }

  .main-news-image-wrap {
    min-height: 0 !important;
    height: 100% !important;
  }

  .main-news-content {
    min-height: 0 !important;
  }

  .main-news-content h2 {
    font-size: clamp(28px, 3vw, 46px) !important;
    margin-bottom: clamp(8px, 1.2vh, 14px) !important;
  }

  .main-news-content p {
    font-size: clamp(14px, 1.25vw, 17px) !important;
    line-height: 1.55 !important;
    margin-bottom: clamp(10px, 1.5vh, 16px) !important;
  }

  .news-source-badge {
    margin-bottom: clamp(8px, 1.1vh, 12px) !important;
  }

  .see-more-news {
    flex: 0 0 auto !important;
    margin-top: clamp(10px, 1.4vh, 14px) !important;
    padding: clamp(10px, 1.5vh, 14px) 18px !important;
    font-size: clamp(13px, 1.1vw, 15px) !important;
  }

  .news-side-column {
    min-height: 0 !important;
    height: 100% !important;
    grid-template-rows: 1fr auto !important;
    gap: clamp(12px, 1.5vh, 18px) !important;
  }

  .news-side-panel {
    overflow: hidden !important;
    padding: clamp(12px, 1.5vw, 18px) !important;
  }

  .news-list {
    gap: clamp(8px, 1.1vh, 12px) !important;
  }

  .news-list-item {
    grid-template-columns: clamp(68px, 6vw, 92px) 1fr !important;
    padding: clamp(7px, 1vh, 10px) !important;
  }

  .news-list-item-content h4 {
    font-size: clamp(13px, 1.15vw, 16px) !important;
    line-height: 1.22 !important;
    margin: 3px 0 4px !important;
  }

  .news-list-item-content p,
  .news-mini-source,
  .topic-pill span {
    font-size: clamp(11px, .95vw, 13px) !important;
  }

  .topic-pill {
    padding: clamp(9px, 1.2vh, 14px) 14px !important;
  }

  .topic-pill strong {
    font-size: clamp(13px, 1vw, 15px) !important;
  }

  .news-dashboard-page > .btn {
    flex: 0 0 auto !important;
    width: fit-content !important;
    margin-top: 0 !important;
    padding: 10px 14px !important;
  }

  body:has(.news-dashboard-page) footer {
    height: 58px !important;
    padding: 0 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Telas muito baixas */
@media (min-width: 981px) and (max-height: 720px) {
  .page:has(.news-dashboard-page) .nav {
    height: 64px !important;
  }

  .news-dashboard-page {
    height: calc(100vh - 64px - 46px) !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .news-dashboard-head h1 {
    font-size: clamp(26px, 2.6vw, 38px) !important;
  }

  .news-dashboard-head {
    margin-bottom: 10px !important;
  }

  .main-news-content h2 {
    font-size: clamp(24px, 2.5vw, 38px) !important;
  }

  .main-news-content p {
    line-height: 1.42 !important;
  }

  .news-list-item:nth-child(n+4) {
    display: none !important;
  }

  body:has(.news-dashboard-page) footer {
    height: 46px !important;
  }
}

/* Mobile e tablets continuam roláveis para não quebrar usabilidade */
@media (max-width: 980px) {
  body:has(.news-dashboard-page) {
    overflow-y: auto !important;
  }

  .page:has(.news-dashboard-page) {
    height: auto !important;
    overflow: visible !important;
  }
}



/* Categorias da página Livros */
.book-category-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  margin: 30px 0 34px;
  max-width: 760px;
}

.book-category-btn {
  min-height: 86px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(0,217,255,.36);
  background: rgba(2,6,17,.64);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(0,217,255,0);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.book-category-btn:nth-child(2) {
  border-color: rgba(155,92,255,.46);
}

.book-category-btn:hover,
.book-category-btn.active {
  transform: translateY(-5px);
  background: linear-gradient(145deg, rgba(0,217,255,.14), rgba(155,92,255,.12));
  box-shadow: 0 18px 38px rgba(0,217,255,.12);
}

.book-category-btn.active {
  border-color: rgba(116,243,255,.78);
}

.categorized-book {
  animation: bookFadeIn .35s ease both;
}

.hidden-book {
  display: none !important;
}

@keyframes bookFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.book-category-label {
  display: inline-flex;
  color: #74f3ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.modal-book-category {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(2,6,17,.82);
  border: 1px solid rgba(0,217,255,.26);
  color: #74f3ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.disabled-link {
  opacity: .58;
  cursor: not-allowed;
  pointer-events: none;
}

@media(max-width:780px){
  .book-category-buttons {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .book-category-btn {
    min-height: 74px;
    font-size: 14px;
  }
}



/* Ajustes notícia principal clicável e modal */
.clickable-main-news {
  cursor: pointer;
}

.clickable-main-news:hover {
  border-color: rgba(0,217,255,.34);
  box-shadow: 0 28px 70px rgba(0,217,255,.10);
}

.news-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.news-modal.active {
  display: flex;
}

.news-modal-box {
  position: relative;
  width: min(980px, 96vw);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(0,217,255,.3);
  background: linear-gradient(145deg, rgba(7,16,33,.98), rgba(2,6,17,.96));
  box-shadow: 0 28px 80px rgba(0,0,0,.58);
}

.news-modal-box img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
}

.news-modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-modal-content h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.06;
  margin: 12px 0 16px;
}

.news-modal-content p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 17px;
  margin-bottom: 18px;
}

.modal-news-source {
  position: static !important;
  width: fit-content;
}

.news-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media(max-width:780px){
  .news-modal {
    padding: 14px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .news-modal-box {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
    margin-top: 18px;
  }

  .news-modal-box img {
    max-width: 240px;
    margin: 0 auto;
  }
}



/* Ajustes finais da página principal */
@media (min-width: 981px) {
  body:has(.hero) .hero {
    position: relative;
  }

  body:has(.hero) .eyebrow,
  body:has(.hero) .hero .kicker {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    align-self: flex-start !important;
  }

  body:has(.hero) .hero-content,
  body:has(.hero) .heroText,
  body:has(.hero) .hero-copy {
    min-height: calc(100vh - 132px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  body:has(.hero) .hero h1,
  body:has(.hero) .hero-title {
    text-align: center !important;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: clamp(90px, 18vh, 190px) !important;
  }

  body:has(.hero) .hero-actions,
  body:has(.hero) .hero-buttons,
  body:has(.hero) .cards,
  body:has(.hero) .quick-links {
    margin-top: auto !important;
    margin-bottom: clamp(18px, 4vh, 46px) !important;
  }
}

@media (max-width: 980px) {
  body:has(.hero) .eyebrow,
  body:has(.hero) .hero .kicker {
    text-align: left !important;
    margin-left: 0 !important;
  }

  body:has(.hero) .hero h1,
  body:has(.hero) .hero-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 64px !important;
  }

  body:has(.hero) .hero-actions,
  body:has(.hero) .hero-buttons,
  body:has(.hero) .cards,
  body:has(.hero) .quick-links {
    margin-top: 78px !important;
  }
}



/* Ajustes finais do portfólio */
.portfolio-shot {
  object-fit: contain !important;
  background: rgba(2,6,17,.72);
  padding: 8px;
}

.portfolio-final-call {
  margin: 28px 0 24px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(0,217,255,.34);
  background: linear-gradient(135deg, rgba(0,217,255,.13), rgba(155,92,255,.16));
  text-align: center;
  box-shadow: 0 22px 52px rgba(0,0,0,.30), 0 0 30px rgba(0,217,255,.08);
}

.portfolio-final-call strong {
  display: block;
  color: #fff;
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 18px;
}

.portfolio-final-call .btn {
  display: inline-flex;
  margin: 0 auto;
}



/* Ajustes finais das notícias */
.single-news-column {
  grid-template-rows: 1fr !important;
}

.all-news-panel {
  height: 100%;
  overflow: hidden;
}

.all-news-panel .news-list {
  max-height: 100%;
  overflow-y: auto;
  padding-right: 4px;
}

.all-news-panel .news-list::-webkit-scrollbar {
  width: 6px;
}

.all-news-panel .news-list::-webkit-scrollbar-thumb {
  background: rgba(0,217,255,.35);
  border-radius: 999px;
}

.clickable-main-news {
  cursor: pointer;
}

.clickable-main-news:hover {
  border-color: rgba(0,217,255,.34);
  box-shadow: 0 28px 70px rgba(0,217,255,.10);
}



/* Contato em ícones */
.contact-icons-grid {
  align-items: stretch;
}

.contact-icon-card {
  padding: 0 !important;
  overflow: hidden;
}

.contact-icon-link {
  min-height: 170px;
  width: 100%;
  height: 100%;
  padding: 30px 22px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: #fff !important;
  text-decoration: none;
}

.contact-icon-symbol {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 28px rgba(0,217,255,.12);
}

.contact-icon-link span:last-child {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.whatsapp-icon .contact-icon-symbol {
  color: #25d366;
  box-shadow: 0 0 28px rgba(37,211,102,.18);
}

.instagram-icon .contact-icon-symbol {
  color: #d46bff;
  box-shadow: 0 0 28px rgba(212,107,255,.18);
}

.email-icon .contact-icon-symbol {
  color: #74f3ff;
  box-shadow: 0 0 28px rgba(116,243,255,.18);
}

.contact-icon-link:hover .contact-icon-symbol {
  transform: translateY(-4px) scale(1.04);
}

.contact-icon-symbol {
  transition: transform .25s ease, box-shadow .25s ease;
}



/* Ajuste pontual home: título à esquerda e um pouco mais acima */
@media (min-width: 981px) {
  body:has(.hero) .hero h1,
  body:has(.hero) .hero-title {
    text-align: left !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    margin-top: clamp(48px, 10vh, 105px) !important;
  }
}

@media (max-width: 980px) {
  body:has(.hero) .hero h1,
  body:has(.hero) .hero-title {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    margin-top: 38px !important;
  }
}



/* Ajuste pontual notícias: lista completa com rolagem */
.all-news-panel {
  min-height: 0 !important;
  overflow: hidden !important;
}

.all-news-panel .news-list {
  max-height: calc(100vh - 230px) !important;
  overflow-y: auto !important;
  padding-right: 8px !important;
}

.all-news-panel .news-list::-webkit-scrollbar {
  width: 7px;
}

.all-news-panel .news-list::-webkit-scrollbar-track {
  background: rgba(255,255,255,.05);
  border-radius: 999px;
}

.all-news-panel .news-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0,217,255,.7), rgba(155,92,255,.7));
  border-radius: 999px;
}

@media(max-width:980px){
  .all-news-panel .news-list {
    max-height: 520px !important;
  }
}
