/* =========================================================
   INDEX (HOME) – CSS que antes estava embutido no index.php
   ========================================================= */

/* RESET GERAL + BLOQUEIO DE SELEÇÃO DE TEXTO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
}

/* 2) Header que esconde/aparece ao rolar */
.header-fixo {
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: transform .35s ease;
}

.header-fixo.hide {
  transform: translateY(-120%);
}

/* 3) Garante que a top-bar ande junto com o header-fixo */
.top-bar {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
}

/* 4) Esconde qualquer <li> do menu antigo .menu-principal (caso exista) */
.menu-principal li,
.menu-principal li * {
  display: none !important;
}

/* 5) Paginação */
.paginacao {
  margin: 40px auto 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  color: #ffffff;
}

.pag-btn {
  background-color: #00ff9d;
  padding: 8px 18px;
  border-radius: 8px;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

.pag-btn:hover {
  background-color: #0aff77;
  transform: scale(1.05);
}

.pagina-atual {
  color: #cccccc;
}

/* Botões numéricos */
.pag-numeros {
  margin: 5px auto 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-num {
  padding: 6px 12px;
  border-radius: 8px;
  background: #0a1f33;
  border: 1px solid #00ff99;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: 0.2s;
}

.btn-num:hover {
  background: #00ff99;
  color: #00111f;
}

.btn-num.active {
  background: #00ff99;
  color: #00111f;
  border-color: #00ff99;
  cursor: default;
}

.dots {
  color: #00ff99;
  font-size: 18px;
  padding: 0 2px;
}

/* 6) Botão flutuante “Nos Bares e Restaurantes” */
.gastro-float-wrap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999999;
  transition: transform .35s ease;
}

.gastro-hide {
  transform: translateX(120%);
}

.gastro-float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0b2236;
  border: 2px solid #00ff99;
  padding: 10px 16px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
  transition: .2s;
}

.gastro-float-btn:hover {
  transform: scale(1.05);
}

.gastro-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #1abc9c, #0e8f78);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2);
  font-size: 28px;
  line-height: 1;
}

.gastro-label {
  color: #ffffff;
  font-weight: 700;
}

.gastro-menu {
  margin-bottom: 8px;
  background: #0e2235;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  overflow: hidden;
  width: 240px;
  display: none;
}

.gastro-menu[data-open="true"] {
  display: block;
}

.gastro-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: #eaf6f6;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.gastro-item:last-child {
  border-bottom: none;
}

.gastro-item:hover {
  background: #11314a;
}

/* 7) Patrocinadores – banner rotativo no topo da home */
.patrocinadores {
  margin: 18px auto 10px;
  max-width: 1200px;
  padding: 0 20px;
}

.patro-wrap {
  background: #0f1e2e;
  padding: 14px 16px 18px;
}

.patro-title {
  font-size: 16px;
  margin: 0 0 10px 0;
  color: #d3e8ff;
  font-weight: 700;
}

.patro-logos {
  position: relative;
  overflow: hidden;
}

.patro-banner {
  display: none;
}

.patro-banner.ativo {
  display: block;
}

.patro-banner img {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
}

/* 8) Bomba do Dia */
.bomba-box {
  max-width: 1200px;
  margin: 20px auto;
  padding: 14px 18px;
  border-radius: 12px;
  background: #141f33;
  border: 1px solid #ffdd57;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bomb-emoji {
  display: inline-block;
  font-size: 28px;
  animation: blink-bomb 1s infinite;
}

.bomb-title {
  font-weight: 700;
  font-size: 18px;
  color: #ffdd57;
}

.bomba-sub {
  margin: 0;
  font-size: 14px;
  color: #f5f5f5;
}

.btn-bomba {
  margin-left: auto;
  background: #ffdd57;
  color: #141f33;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.btn-bomba:hover {
  background: #ffe673;
}

@keyframes blink-bomb {
  0% { filter: hue-rotate(0deg); transform: scale(1); }
  25% { filter: hue-rotate(-50deg); transform: scale(1.12); }
  50% { filter: hue-rotate(-120deg); transform: scale(1); }
  75% { filter: hue-rotate(-50deg); transform: scale(1.12); }
  100% { filter: hue-rotate(0deg); transform: scale(1); }
}


/* 9) Gorro de Natal na logo e nos avatares */
.with-hat {
  position: relative;
  display: inline-block;
}

.with-hat > img {
  display: block;
}

/* ===== Gorro padrão ===== */
.with-hat .hat {
  position: absolute;
  top: -18%;
  right: -6%;
  width: 45%;
  aspect-ratio: 1/1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  transform: rotate(+18deg);   /* <<< INCLINAÇÃO PADRÃO */
  transform-origin: bottom left;
}

/* ===== LOGO ===== */
.with-hat.logo .hat {
  top: 0%;
  right: 10%;
  width: 22%;
  transform: rotate(16deg);
  transform-origin: bottom left;
}


/* ===== AVATARES ===== */
.with-hat.avatar .hat {
  top: -27%;
  right: -2%;
  width: 40%;
  transform: rotate(+30deg);   /* mais inclinado, combina com o círculo */
  transform-origin: bottom left;
}

/* BODY */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #0f1e2e;
  color: white;
  line-height: 1.6;
}

/* TOPO COM MOEDAS E REDES SOCIAIS */
/* TOP BAR MAIS ENXUTA E COM ÍCONES ALINHADOS */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0a1f33;
  color: white;
  font-size: 14px;
  padding: 0 16px;      /* tira o padding vertical grande */
  height: 40px;         /* altura fixa mais baixinha */
}

/* bloco dos ícones à direita */
.top-bar .redes-sociais {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* cada ícone dentro de uma “caixinha” */
.top-bar .redes-sociais a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-left: 0;       /* zera o margin-left antigo */
  text-decoration: none;
}

/* tamanho dos ícones (SVG ou IMG) */
.top-bar .redes-sociais a img,
.top-bar .redes-sociais a svg {
  display: block;
  width: 20px;
  height: 20px;
}


.ticker {
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

#moeda-temp {
  display: inline-block;
  padding-left: 100%;
  animation: deslizar 60s linear infinite;
}

@keyframes deslizar {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}



/* CABEÇALHO */
header {
  background-color: #0a192f;
  border-bottom: 2px solid #00ff99;
  padding: 10px 20px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.header-esquerda {
  display: flex;
  align-items: center;
  gap: 24px;              /* bem menor que 100px */
}

/* Logo um pouco menor pra reduzir a “faixa” azul */
.header-esquerda img {
  height: 150px;          /* se quiser ainda menor, pode testar 140px */
}


/* Data de hoje (painel/header) */
.data-hoje {
  font-size: 20px;
  color: #ffffff;
  margin-top: 5px;
}

/* CAMPO DE BUSCA */
.form-busca {
  display: flex;
  gap: 10px;
}

.form-busca input {
  padding: 8px;
  border-radius: 5px;
  border: none;
  background-color: #112240;
  color: white;
  width: 200px;
}

.form-busca button {
  background-color: #00ff99;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

/* NAVEGAÇÃO */
nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
  font-size: 18px;
}

nav a:hover {
  color: #00ffcc;
  opacity: 1;
}



/* CONTAINER DE NOTÍCIAS – DESKTOP */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
  justify-content: center;
}

/* CARD INDIVIDUAL – DESKTOP (BASE) */
.card-noticia {
  background-color: #112240;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 12px rgba(0, 255, 153, 0.1);

  width: calc(33.33% - 20px);
  min-width: 300px;  /* não passar de 300 px senão quebra */

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 420px;

  border: 2px solid transparent;
  position: relative;
  z-index: 1;
  transition: box-shadow .15s ease, transform .12s ease, border-color .15s ease;
}

.card-noticia:hover,
.card-noticia:focus,
.card-noticia:focus-within {
  box-shadow: 0 0 0 2px #00ff99 inset, 0 4px 20px rgba(0,0,0,.25);
  outline: none;
}

.card-noticia:active {
  transform: none;
}

.card-noticia img {
  width: 100%;
  height: 180px;
  object-fit: cover;              /* mantém corte proporcional */
  object-position: center 15%;    /* ✅ FOCO NO ROSTO */
  border-radius: 8px;
  margin-bottom: 10px;
}

.card-noticia h3 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;

  /* deixa todos os títulos com mesma altura */
  display: -webkit-box;
  -webkit-line-clamp: 2;     /* no máximo 2 linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;

  min-height: 2.8em;         /* garante altura igual */
}

.card-noticia p {
  font-size: 14px;
  color: #e0e0e0;
  margin-bottom: 10px;
  line-height: 1.4;

  flex-grow: 0;  /* evita esticar demais */

  /* limita a 3 linhas */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;

  min-height: 4.2em; /* mesma altura em todos */
}



/* BOTÃO LER MAIS – ESTILO GERAL */
.botao-verde {
  align-self: stretch;
  background-color: #00ff99;
  color: #0a192f;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  font-size: 14px;
}

.botao-verde:hover {
  background-color: #00e68a;
}

/* Container para os dois botões no rodapé do card */
.card-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: auto;
}

/* Dois botões iguais, menores e centralizados */
.card-actions .botao-verde {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-size: 13px;

  /* ↓↓↓ DEIXA FINO ↓↓↓ */
  padding: 4px 6px;

  border-radius: 8px;
  text-align: center;
}




/* Links dentro do card */
.card-noticia a {
  position: relative;
  z-index: 10;
  outline: none !important;
}

.card-noticia a:focus {
  box-shadow: 0 0 0 2px #00ff99 inset;
  border-radius: 10px;
  outline: none;
}

/* RODAPÉ GERAL DO SITE (simples) */
footer {
  margin-top: 30px;
}

/* ===== Painel ADM: KPIs e Card do gráfico ===== */
.admin-kpis {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.admin-kpi {
  flex: 1 1 220px;
  background: #112240;
  border: 1px solid rgba(0,255,153,0.2);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 0 12px rgba(0,255,153,0.06);
}

.admin-kpi-label {
  color: #99ffdd;
  font-size: 14px;
  margin-bottom: 6px;
}

.admin-kpi-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.admin-card {
  background: #112240;
  border: 1px solid rgba(0,255,153,0.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 0 12px rgba(0,255,153,0.06);
}

/* ===== TICKER RSS ===== */
.ticker-rss {
  white-space: nowrap;
  overflow: hidden;
  background-color: #0a1f33;
  color: white;
  font-size: 14px;
  padding: 8px 20px;
  border-top: 1px solid #00ff99;
}

.ticker-rss span {
  display: inline-block;
  animation: deslizar 25s linear infinite;
}

/* ===== Colunistas – variações de faixas ===== */

/* ===== Colunistas – Página Individual ===== */

.col-header {
  max-width: 1000px;
  margin: 22px auto 8px;
  padding: 0 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center; /* CENTRALIZA A FOTO + TEXTO */
  text-align: center;
}

.col-header img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00ff99;
}

.col-header h1 {
  margin: 0;
  font-size: 26px;
  color: #fff;
}

.col-header p {
  color: #bcd;
  margin-top: 8px;
}

/* Redes sociais — centralizadas */
.col-redes {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Ajustar cards das notícias do colunista */
.cards-container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* CENTRALIZA OS CARDS */
  gap: 20px;
}


/* Faixa antiga de avatares (compatibilidade) */
.colunistas-strip {
  max-width: 1200px;
  margin: 14px auto 8px;
  padding: 0 16px 8px;
}

.colunistas-strip h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #e8f0ff;
}

.colunistas-strip h3 {
  color: #00ff99;
  font-size: 18px;
  margin-bottom: 10px;
}

/* AVATARES EM FAIXA – CENTRALIZADOS */
.colunistas-avatars {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;   /* <<< CENTRALIZA NA FAIXA */
}

.col-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  width: 88px;
}

.col-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00ff99;
  box-shadow: 0 0 10px rgba(0,255,153,.15);
}

.col-avatar span {
  margin-top: 6px;
  font-size: 12px;
  text-align: center;
  opacity: .9;
  align-items: center;
}

/* Colunistas – Home (grid) */
.home-colunistas {
  max-width: 1200px;
  margin: 10px auto 24px;
  padding: 0 20px;
}

.home-colunistas .col-grid {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;   /* <<< AGORA FICA CENTRALIZADO */
}

.home-colunistas .col-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  width: 120px;
  text-align: center;
}

.home-colunistas .col-item img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00ff99;
  box-shadow: 0 6px 18px rgba(0,255,153,.15);
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-colunistas .col-item:hover img {
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(0,255,153,.22);
}

.home-colunistas .col-name {
  color: #e8f0ff;
  font-size: 13px;
  max-width: 92px;
  text-align: center;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.25;
}

/* Compatibilidade com container antigo */
.colunistas-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 25px;
  justify-items: center;
  width: 100%;
  margin: 20px auto;
}

.colunistas-container a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.colunistas-container img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00ff99;
}

.colunistas-container .col-name {
  max-width: 92px;
  color: #e8f0ff;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Lista horizontal de colunistas (scroll no mobile) */
.colunistas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  justify-content: center;      /* <<< CENTRALIZA TAMBÉM A LISTA */
}

.col-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  min-width: 86px;
}

.col-card img {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #00ff99;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.col-name {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.25;
  color: #e8f0ff;
  text-align: center;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  max-width: 120px;
}
/* ===== PÁGINA COLUNISTAS (lista + individual) ===== */

/* Faixa com todos os colunistas (topo da página colunistas) */
.colunistas-strip {
  max-width: 1100px;
  margin: 22px auto 10px;
  padding: 0 20px 10px;
}

.colunistas-strip .cols-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;         /* <<< CENTRALIZA OS CARDS */
}

.colunistas-strip .col-item {
  width: 110px;
  text-align: center;
  text-decoration: none;
}

.colunistas-strip .col-item img {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #00ff99;
  box-shadow: 0 0 15px rgba(0, 255, 153, .45);
}

.colunistas-strip .col-item span {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

/* Bloco do autor na página individual */
.autor-wrap {
  max-width: 900px;
  margin: 22px auto;
  padding: 0 20px;
}

/* Cabeçalho do colunista CENTRALIZADO */
.autor-head {
  display: flex;
  flex-direction: column;          /* <<< FOTO EM CIMA, TEXTO EMBAIXO */
  align-items: center;             /* <<< CENTRALIZA HORIZONTALMENTE */
  gap: 12px;
  text-align: center;
}

.autor-head img {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #00ff99;
}

.autor-bio {
  margin-top: 10px;
  color: #cfe7ff;
}

/* Lista de artigos (cards) do colunista */
.lista-artigos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.art {
  background: #0f1e2e;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  padding: 14px;
}

.art h3 {
  margin: 6px 0 8px;
  color: #fff;
  font-size: 18px;
}

.art p {
  color: #9bb0c9;
  font-size: 14px;
}

.art img.card-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.art small {
  display: block;
  color: #9bb0c9;
  margin-bottom: 6px;
}

.byline {
  font-size: 13px;
  color: #a8c7ff;
  margin-bottom: 4px;
}

/* Aviso de opiniões na página de lista */
.aviso-opinioes {
  background: #112240;
  color: #ccc;
  padding: 12px;
  margin: 20px auto;
  max-width: 1100px;
  border-left: 4px solid #ff4444;
  border-right: 4px solid #ff4444;
  border-radius: 6px;
  text-align: center;
}

.secao-titulo {
  max-width: 1100px;
  margin: 22px auto 0;
  padding: 0 20px;
  text-align: center;
}



/* ===== Marca d’água com LOGO em imagens soltas (.wm) ===== */
.wm {
  position: relative;
  display: inline-block;
}

.wm::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/uploads/logo-atualizaai.png'); /* ajuste se o nome do arquivo for outro */
  background-repeat: no-repeat;
  background-position: right 12px bottom 12px;
  background-size: 30%;
  opacity: .18;
  pointer-events: none;
}

/* ===== Marca d’água forte nos CARDS + notícia interna ===== */

/* Remove qualquer “plaquinha” antiga */
.cards-container .card-noticia::before,
.noticia-hero::before {
  display: none !important;
  content: none !important;
}

/* Cards da home — logo forte, sem fundo */
.cards-container .card-noticia::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 92px;
  height: 92px;
  background-image: url('/uploads/logo-watermark.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .58;
  pointer-events: none;
  z-index: 2;
  filter:
    drop-shadow(0 0 1px rgba(0,0,0,.55))
    drop-shadow(0 0 2px rgba(0,0,0,.35));
}

/* altura consistente da foto do card */
.cards-container .card-noticia img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

/* Página interna (noticia.php) — logo forte, sem fundo */
.noticia-hero {
  position: relative;
  display: block;
}

.noticia-hero > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.noticia-hero::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 104px;
  height: 104px;
  background-image: url('/uploads/logo-watermark.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .58;
  pointer-events: none;
  z-index: 2;
  filter:
    drop-shadow(0 0 1px rgba(0,0,0,.55))
    drop-shadow(0 0 2px rgba(0,0,0,.35));
}

/* ===== Footer (Atualiza Aí 2.0) ===== */
.aa-footer {
  background: #0b1e36;
  color: #ffffff;
  margin-top: 48px;
  border-top: 3px solid #18c16e;
}

.aa-footer__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;  /* ✅ só 2 colunas: marca + contato */
  gap: 24px;
}


.aa-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aa-footer__logo img {
  height: 56px;
  width: auto;
  display: block;
}

.aa-footer__desc {
  color: #dbe7ff;
  font-size: .95rem;
  line-height: 1.5;
}

.aa-footer__col h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
  color: #ffffff;
  position: relative;
}

.aa-footer__col h3::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  background: #18c16e;
  margin-top: 6px;
  border-radius: 999px;
}

/* Lista em colunas usando GRID */
.aa-footer__col .aa-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid !important;
  grid-template-columns: 1fr;   /* ✅ uma coluna */
  gap: 8px;
}


.aa-footer__col .aa-footer__list li {
  margin: 0 !important;
  break-inside: avoid;
}

.aa-footer__col .aa-footer__list a {
  display: block;
  margin: 0;
  font-weight: 500;
  color: #e6f0ff;
  text-decoration: none;
}

.aa-footer__col .aa-footer__list a:hover,
.aa-footer__col .aa-footer__list a:focus {
  color: #18c16e;
  text-decoration: underline;
  outline: none;
}

/* não herdar nav global */
.aa-footer nav a {
  margin: 0;
  font-weight: 500;
}

.aa-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.aa-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.aa-social__btn:hover,
.aa-social__btn:focus {
  transform: translateY(-2px);
  background: rgba(24,193,110,.1);
  border-color: #18c16e;
}

.aa-footer__bar {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: .92rem;
  color: #dbe7ff;
}

.aa-backtop {
  color: #18c16e;
  text-decoration: none;
  border: 1px solid rgba(24,193,110,.6);
  padding: 6px 10px;
  border-radius: 8px;
}

.aa-backtop:hover,
.aa-backtop:focus {
  background: rgba(24,193,110,.12);
}

/* Logo do rodapé – proporção */
.aa-footer .aa-footer__logo {
  display: inline-block;
  line-height: 0;
}

.aa-footer .aa-footer__logo img {
  display: block;
  max-width: 180px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  image-rendering: auto;
}

.aa-footer img.logo,
.aa-footer .logo,
.aa-footer img {
  max-height: none !important;
}


/* =========================================================
   LAYOUT PARA TABLETS (iPad, iPad mini, iPad Air)
   769px até 1024px
   ========================================================= */
@media (min-width: 769px) and (max-width: 1024px) {

  /* Limita a largura total para não esticar demais */
  body,
  .container,
  main {
    max-width: 900px !important;
    margin: 0 auto !important;
  }

  /* Header mais compacto */
  header,
  .header-container {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 10px 20px !important;
  }

  .header-container img {
    height: 70px !important;
  }

  /* Barra de busca ajustada */
  .form-busca {
    max-width: 700px !important;
    margin: 10px auto !important;
  }

  .form-busca input {
    font-size: 16px !important;
    padding: 10px 14px !important;
  }

  /* Grid de colunistas */
  .colunistas-container,
  .colunistas-avatars,
  .col-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    justify-items: center;
  }

  .colunistas-container img {
    width: 72px !important;
    height: 72px !important;
  }

  /* NEWS CARDS – 2 por linha */
  .cards-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 22px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 20px !important;
  }

  .card-noticia {
    width: 100px !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    padding: 16px !important;
  }

  .card-noticia img {
    height: 170px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }

  .card-noticia h3 {
    font-size: 18px !important;
  }

  .card-noticia p {
    font-size: 14px !important;
  }

  /* Botões dentro dos cards */
  .card-actions {
    display: flex !important;
    gap: 10px;
  }

  .card-actions .botao-verde {
    font-size: 14px !important;
    padding: 8px 12px !important;
  }
}
.patro-logos {
  position: relative;
}

.patro-banner {
  display: none;
}

.patro-banner.ativo {
  display: block;
}
