/* ======================================================
   VARIÁVEIS – PALETA OFICIAL
====================================================== */
:root {
    --verde: #1db954;
    --vermelho: #d90429;
    --preto: #000000;
    --preto-soft: #0b0b0b;
    --cinza: #9ca3af;
    --branco: #ffffff;

    --glass-bg: linear-gradient(
        135deg,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0.03)
    );

    --glass-border: rgba(255,255,255,0.12);

    --glass-shadow:
        0 20px 45px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.08);

    --radius: 18px;
    --blur: blur(14px);
}

/* ======================================================
   RESET / BASE
====================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Roboto', Arial, sans-serif;
    color: var(--branco);
    background:
        radial-gradient(circle at top left, #10291a, #040906 55%, #000 100%);
    min-height: 100vh;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

/* ======================================================
   CONTAINER
====================================================== */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ======================================================
   HEADER
====================================================== */
header {
    background: linear-gradient(90deg, #000, #040906, #000);
    border-bottom: 3px solid var(--verde);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}

header h1 {
    font-size: 1.6rem;
    font-weight: 700;
}

.menu-topo a {
    color: var(--branco);
    text-decoration: none;
    margin-left: 16px;
    font-weight: 600;
}

.menu-topo a:hover {
    color: var(--verde);
}

.on-air {
    color: var(--verde);
    font-weight: bold;
    animation: blink 1.4s infinite;
}

@keyframes blink {
    0%,100% { opacity: 1 }
    50% { opacity: .35 }
}

/* ======================================================
   LAYOUT PRINCIPAL
====================================================== */
.main-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.cards-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2rem 0 1.25rem;
}

.mini-card {
    background: rgba(13, 20, 12, 0.95);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
}

.card-kicker {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.card-cta h4,
.card-info h4,
.card-highlight h4 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.card-cta p,
.card-info p,
.card-highlight p {
    margin: 0.6rem 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.95rem;
}

.card-link {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--verde);
    text-decoration: none;
}

/* ======================================================
   GLASS BASE
====================================================== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 20px;
}

/* ======================================================
   DESTAQUE / HERO
====================================================== */
.destaque {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.destaque img {
    width: 100%;
    height: auto;
}

/* ======================================================
   OVERLAY DE NOTÍCIAS (JS DEPENDE DISSO)
====================================================== */
.news-ticker-overlay {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 420px;
    max-width: 90%;
    z-index: 4;
    pointer-events: none;
}

#newsTicker {
    list-style: none;
    margin: 0;
    padding: 0;
    min-height: 130px;
    position: relative;
}

#newsTicker li {
    position: absolute;
    right: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    padding: 14px 18px;
    border-left: 4px solid var(--verde);
    border-radius: 12px;
    font-size: 18px;
    line-height: 1.4;

    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

#newsTicker li.active {
    opacity: 1;
    transform: translateX(0);
}

#newsTicker a {
    color: #fff;
    text-decoration: none;
}

/* ======================================================
   TEXTO + BOTÕES SOBRE A FOTO (DESKTOP)
====================================================== */
.destaque-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95),
        rgba(0,0,0,0.2)
    );

    padding: 22px;
    z-index: 3;
    color: #fff;
}

.destaque-content h2 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.destaque-content p {
    color: var(--cinza);
}

.tts-controls {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

/* ======================================================
   BOTÕES
====================================================== */
.btn,
.tts-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.tts-btn {
    background: var(--verde);
    color: #000;
}

.tts-btn.stop {
    background: var(--vermelho);
    color: #fff;
}

/* ======================================================
   GRID DE NOTÍCIAS
====================================================== */
.grid-noticias {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.4rem;
}

.noticia-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.noticia-card img {
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 14px;
}

.categoria {
    color: var(--verde);
    font-size: 12px;
    font-weight: bold;
}

.noticia-card h4 a {
    color: var(--branco);
    text-decoration: none;
}

/* ======================================================
   SIDEBAR
====================================================== */
.widget {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    padding: 16px;
    margin-bottom: 1.5rem;
}

.widget h4 {
    margin-bottom: 10px;
    border-left: 4px solid var(--verde);
    padding-left: 10px;
}

.widget {
    background: linear-gradient(155deg, rgba(1, 4, 5, 0.75), rgba(7, 25, 10, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 35px rgba(1, 2, 4, 0.55);
    padding: 22px;
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.widget-header h4 {
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
}

.widget-header span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.news-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(12, 18, 11, 0.75);
    box-shadow: 0 16px 30px rgba(0,0,0,0.5);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.news-card:hover {
    transform: translateY(-2px);
    border-color: rgba(242, 201, 76, 0.6);
}

.news-card-media {
    border-radius: 12px;
    overflow: hidden;
    width: 110px;
    height: 90px;
}

.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card-date {
    margin: 0;
    font-size: 0.78rem;
    color: var(--cinza);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.news-card-body h5 {
    margin: 4px 0 0;
    font-size: 0.95rem;
    line-height: 1.35;
}

.news-card-body h5 a {
    color: #fff;
    text-decoration: none;
}

.news-card-body h5 a:hover {
    color: var(--verde);
}

.news-card-label {
    margin-top: 6px;
    align-self: flex-start;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(37, 187, 94, 0.7);
    color: rgba(37, 187, 94, 0.9);
    background: rgba(18, 66, 35, 0.6);
}

/* ======================================================
   FOOTER
====================================================== */
footer {
    margin-top: 3rem;
    padding: 2rem 0;
    text-align: center;
    background: #000;
    border-top: 3px solid var(--verde);
}

/* ======================================================
   RESPONSIVO – SEM QUEBRAR JS
====================================================== */
@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}


#newsTicker li {
    font-size: 30px;   /* antes ~18px */
    line-height: 1.45;
}
/* ======================================================
   LAYOUT DEFINITIVO DO HERO (DESKTOP)
   - Nome: topo esquerdo
   - Botões: topo direito
   - Ticker: faixa inferior grande (70% → 100%)
====================================================== */

/* garante referência */
.destaque {
    position: relative;
}

/* =========================
   TOPO ESQUERDO – NOME
========================= */
.destaque-content {
    position: absolute;
    top: 20px;
    left: 20px;
    right: auto;
    bottom: auto;

    max-width: 50%;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    padding: 14px 16px;
    border-radius: 14px;
    z-index: 6;
}

.destaque-content h2 {
    font-size: 24px;
    margin: 0;
    line-height: 1.1;
}

.destaque-content p {
    margin-top: 6px;
    font-size: 13px;
    color: var(--cinza);
}

.btn-leia-mais {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--verde);
    text-decoration: none;
}

/* =========================
   TOPO DIREITO – BOTÕES
========================= */
.tts-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: auto;
    left: auto;

    margin: 0;
    display: flex;
    gap: 10px;
    z-index: 6;
}

.tts-btn {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
}

/* =========================
   FAIXA INFERIOR – NOTÍCIA GRANDE
   (70% → 100% da imagem)
========================= */
.news-ticker-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;

    width: 100%;
    padding: 0 20px 20px;

    z-index: 5;
    pointer-events: none;
}

#newsTicker {
    position: relative;
    min-height: 160px;
}

/* NOTÍCIA GRANDE */
#newsTicker li {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) translateY(20px);

    width: 100%;
    max-width: 95%;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.9),
        rgba(0,0,0,0.65)
    );

    padding: 22px 26px;
    border-left: 6px solid var(--verde);
    border-radius: 18px;

    font-size: 32px;          /* 🔥 GRANDE */
    line-height: 1.25;
    font-weight: 800;

    opacity: 0;
    transition: all 0.6s ease;
}

/* ativo (JS) */
#newsTicker li.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


/* ======================================================
   CORREÇÃO DE LEGIBILIDADE – PÁGINA DA NOTÍCIA
====================================================== */

/* container principal da notícia */
article.glass {
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.75)
    );
}

/* título da notícia */
article.glass h1 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

/* data / autor */
article.glass > div {
    color: #cbd5e1 !important;
}

/* texto da notícia */
.texto-noticia,
article.glass div[style*="line-height"] {
    color: #f1f5f9;
    font-size: 18px;
    line-height: 1.9;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* garante leitura em parágrafos */
.texto-noticia p {
    margin-bottom: 16px;
}

/* botão comentar */
article.glass .btn-success {
    background: var(--verde);
    color: #000;
    font-weight: 700;
}
/* ======================================================
   CORREÇÃO DE CONTRASTE – HEADER
====================================================== */

header h1 {
    color: #ffffff !important;
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0,0,0,0.85);
}

/* ======================================================
   CORREÇÃO DE LEGIBILIDADE – COMENTÁRIOS
====================================================== */

/* container de comentários */
.glass h4 {
    color: #ffffff;
    font-weight: 700;
}

/* cada comentário */
.glass strong {
    color: #22c55e; /* verde destaque para WhatsApp */
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

/* data do comentário */
.glass span {
    color: #cbd5e1 !important;
}

/* texto do comentário */
.glass p {
    color: #f8fafc !important;
    font-size: 16px;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* fundo um pouco mais sólido só nos comentários */
.glass {
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.88),
        rgba(0,0,0,0.78)
    );
}
/* ======================================================
   FIX MOBILE: manter overlays EM CIMA DA FOTO
   (cole no FINAL do CSS)
====================================================== */
@media (max-width: 768px) {

  .destaque {
    position: relative;
    overflow: hidden;
  }

  /* garante “hero” alto no celular */
  .destaque img{
    width: 100%;
    height: 58vh;         /* ajuste se quiser mais/menos */
    max-height: 460px;
    object-fit: cover;
    display: block;
  }

  /* =========================
     TOPO ESQUERDO – NOME
  ========================= */
  .destaque-content{
    position: absolute !important;
    top: 12px;
    left: 12px;
    right: 110px;         /* reserva espaço pros botões */
    bottom: auto;

    max-width: none;
    text-align: left;

    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(0,0,0,.55);

    z-index: 6;
  }

  .destaque-content h2{
    font-size: 18px;
    line-height: 1.15;
    margin: 0;
  }

  .destaque-content p{
    font-size: 12px;
    margin-top: 6px;
  }

  /* =========================
     TOPO DIREITO – BOTÕES
  ========================= */
  .tts-controls{
    position: absolute !important;
    top: 12px;
    right: 12px;
    left: auto;
    bottom: auto;

    gap: 8px;
    z-index: 7;

    pointer-events: auto; /* deixa clicar */
  }

  .tts-btn{
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
  }

  /* =========================
     FAIXA INFERIOR – TICKER
  ========================= */
  .news-ticker-overlay{
    position: absolute !important;
    left: 12px;
    right: 12px;
    bottom: 12px;
    top: auto;

    width: auto;
    padding: 0;

    z-index: 5;
    pointer-events: none; /* mantém overlay “leve” */
  }

  #newsTicker{
    min-height: 96px;
    position: relative;
  }

  #newsTicker li{
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;

    transform: translateY(14px);

    max-width: none;
    padding: 14px 14px;
    border-radius: 16px;
    border-left-width: 5px;

    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;

    /* opcional: corta excesso de linhas sem estourar o box */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #newsTicker li.active{
    transform: translateY(0);
  }

  /* permite clicar no link da notícia mesmo com overlay */
  #newsTicker a{
    pointer-events: auto;
  }
}

/* extra: telas muito pequenas */
@media (max-width: 420px){
  .destaque-content{ right: 12px; } /* se precisar, tira a reserva */
  .tts-controls{ top: 10px; right: 10px; }
  #newsTicker li{ font-size: 16px; -webkit-line-clamp: 3; }
}
/* ======================================================
   FIX LOGO / IMAGEM DO CARD – ocupar 100% da largura
====================================================== */
.noticia-card img,
.widget img,
.card img {
    width: 100% !important;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ======================================================
   MENU SUPERIOR – VISUAL MODERNO / MOBILE FIRST
====================================================== */
header {
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.95),
        rgba(0,0,0,0.75)
    );
    border-bottom: 2px solid var(--verde);
    backdrop-filter: blur(10px);
}

/* layout do header */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

/* =========================
   LOGO / TÍTULO
========================= */
header h1 {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .4px;
}

header h1 span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--cinza);
    text-transform: none;
}

/* =========================
   MENU LINKS
========================= */
.menu-topo {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.menu-topo a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    transition: all .25s ease;
}

.menu-topo a:hover {
    background: rgba(29,185,84,0.15);
    color: var(--verde);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.install-app-btn {
    appearance: none;
    border: 1px solid rgba(29, 185, 84, 0.4);
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.18), rgba(12, 58, 31, 0.92));
    color: #f3fff8;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.install-app-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(71, 235, 132, 0.8);
    box-shadow: 0 14px 28px rgba(4, 17, 9, 0.38);
}

.install-app-btn[hidden] {
    display: none !important;
}

.install-app-btn.is-mobile-cta {
    border-color: rgba(71, 235, 132, 0.85);
    background: linear-gradient(135deg, #27d76b, #0f7a43);
    color: #02140a;
    box-shadow: 0 10px 24px rgba(20, 160, 80, 0.35);
}

.pwa-install-tip {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    width: min(360px, calc(100vw - 32px));
    border: 1px solid rgba(71, 235, 132, 0.65);
    border-radius: 16px;
    background: rgba(2, 15, 8, 0.96);
    color: #f3fff8;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
}

.pwa-install-tip.is-visible {
    display: flex;
    animation: pwaFloatIn .22s ease-out;
}

.pwa-install-tip strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.pwa-install-tip span {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(243, 255, 248, 0.78);
}

.pwa-install-tip button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    background: #27d76b;
    color: #02140a;
    font-weight: 800;
    white-space: nowrap;
}

@keyframes pwaFloatIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   AO VIVO
========================= */
.on-air {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(29,185,84,0.15);
    color: var(--verde);
}

.on-air::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--verde);
    animation: blink 1.2s infinite;
}

/* =========================
   MOBILE – menu compacto
========================= */
@media (max-width: 768px) {

    .header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    header h1 {
        font-size: 18px;
    }

    .menu-topo {
        width: 100%;
        justify-content: space-between;
    }

    .menu-topo a {
        font-size: 13px;
        padding: 6px 8px;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .install-app-btn.is-mobile-cta {
        flex: 1;
        padding: 10px 14px;
    }

    .pwa-install-tip {
        right: 12px;
        top: 12px;
        width: calc(100vw - 24px);
    }
}

/* ======================================================
   MOBILE – botões no topo direito, nome protegido
====================================================== */
@media (max-width: 768px) {

  .destaque {
    position: relative;
  }

  /* =========================
     NOME – TOPO ESQUERDO
     (reserva espaço pros botões)
  ========================= */
  .destaque-content {
    position: absolute !important;
    top: 12px;
    left: 12px;
    right: 150px;        /* 👈 RESERVA espaço pros botões */
    bottom: auto;

    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(0,0,0,.55);

    z-index: 6;
  }

  .destaque-content h2 {
    font-size: 18px;
    line-height: 1.15;
    margin: 0;
  }

  .destaque-content p {
    font-size: 12px;
    margin-top: 6px;
  }

  /* =========================
     BOTÕES – TOPO DIREITO
  ========================= */
  .tts-controls {
    position: absolute !important;
    top: 12px;
    right: 12px;
    left: auto;
    bottom: auto;

    display: flex;
    gap: 8px;

    z-index: 7;
    pointer-events: auto;
  }

  .tts-btn {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
  }

}
/* ======================================================
   HERO MOBILE FINAL – LIMPO E DEFINITIVO
====================================================== */
@media (max-width: 768px) {

  .destaque {
    position: relative;
    overflow: hidden;
  }

  .destaque img {
    width: 100%;
    height: 58vh;
    max-height: 460px;
    object-fit: cover;
  }

  /* NOME – TOPO ESQUERDO */
  .destaque-content {
    position: absolute !important;
    top: 12px;
    left: 12px;
    right: 150px; /* espaço dos botões */

    padding: 12px 14px;
    background: rgba(0,0,0,.55);
    border-radius: 14px;

    z-index: 6;
  }

  .destaque-content h2 {
    font-size: 18px;
    margin: 0;
  }

  .destaque-content p {
    font-size: 12px;
    margin-top: 6px;
  }

  /* BOTÕES – TOPO DIREITO */
  .tts-controls {
    position: absolute !important;
    top: 12px;
    right: 12px;

    display: flex;
    gap: 8px;

    z-index: 7;
    pointer-events: auto;
  }

  .tts-btn {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
  }

  /* TICKER – FAIXA INFERIOR */
  .news-ticker-overlay {
    position: absolute !important;
    left: 12px;
    right: 12px;
    bottom: 12px;

    z-index: 5;
    pointer-events: none;
  }

  #newsTicker {
    min-height: 96px;
    position: relative;
  }

  #newsTicker li {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 14px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 800;

    transform: translateY(14px);
  }

  #newsTicker li.active {
    transform: translateY(0);
  }

}
/* ======================================================
   PAINEL ADMIN – GRID RESPONSIVO
====================================================== */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* =========================
   CARD
========================= */
.admin-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 120px;
    padding: 24px;
    border-radius: 18px;

    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    color: #000;

    background: #22c55e;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);

    transition: all .25s ease;
}

/* ícone */
.admin-card span {
    margin-top: 10px;
    font-size: 16px;
}

/* hover */
.admin-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

/* =========================
   VARIAÇÕES
========================= */
.admin-card.success {
    background: #22c55e;
}

.admin-card.primary {
    background: #3b82f6;
    color: #fff;
}

.admin-card.warning {
    background: #facc15;
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
    .admin-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 576px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-card {
        min-height: 100px;
        font-size: 16px;
    }
}
