/* ════════════════════════════════════════════════════════
   CONVERSOR DE VÍDEO — STYLE.CSS
   ════════════════════════════════════════════════════════ */

/* ── Reset e base ────────────────────────────────────── */
* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: Arial, sans-serif;
}

/* ── Fundo decorativo (fixo, atrás de tudo) ─────────── */
.parede {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}


/* ════════════════════════════════════════════════════════
   VARIÁVEIS DE TAMANHO — ajuste fino da cena
   ════════════════════════════════════════════════════════
   --scene-w     → largura total da cena
   --scene-h     → altura da cena
   --maquina-w   → tamanho da imagem da máquina (% da cena)
   --maquina-top → sobe (negativo) ou desce (positivo)
*/
:root {
  --scene-w:     min(900px, 100vw);
  --scene-h:     500px;
  --maquina-w:   65%;
  --maquina-top: -300px;
}


/* ════════════════════════════════════════════════════════
   ESTRUTURA GERAL — blocos
   ════════════════════════════════════════════════════════ */
.bloco {
  position: relative;
  z-index: 2;
  width: 100%;
}


/* ════════════════════════════════════════════════════════
   BLOCO 1 — Logo + Máquina + Ad
   ════════════════════════════════════════════════════════ */

/* ── Container do bloco 1 ────────────────────────────── */
.bloco-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ── Cabeçalho / Logo ────────────────────────────────── */
.site-header {
  position: relative;
  width: 100%;
  max-width: var(--scene-w);
  padding: 16px 20px 0;
  text-align: center;
  z-index: 4;
  margin: 0 auto;
  pointer-events: none;
}

.site-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* ── Elementos do logo ───────────────────────────────── */
.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  letter-spacing: 1px;
}

.logo-sub {
  position: relative;
  top: -135px;
  left: -16px;
  font-size: 16px;
  color: rgba(255, 241, 219, 0.685);
  font-weight: bold;
  letter-spacing: 1px;
  /*text-transform: uppercase;*/
  font-family: Georgia, 'Times New Roman', serif;
}

.logo-img {
  position: relative;
  top: -20px;
  width: 420px;        /* ← ajuste o tamanho aqui */
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

/* ── Cena (contém máquina + UI) ──────────────────────── */
.scene {
  position: relative;
  margin: 10vh auto 0;
  left: unset;
  transform: unset;
  width: var(--scene-w);
  height: var(--scene-h);
  z-index: 2;
  pointer-events: none;
}

/* ── Imagem da máquina ───────────────────────────────── */
.maquina {
  position: absolute;
  width: var(--maquina-w);
  top: var(--maquina-top);
  left: 49%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* ── Camada UI (sobre a máquina) ─────────────────────── */
.ui {
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  z-index: 3;
  pointer-events: none;
}

/* Reativa cliques nos elementos interativos da UI */
.ui input,
.ui button { pointer-events: all; }

/* ── Elementos editáveis (modo admin) ────────────────── */
.editavel { position: absolute; }
button.editavel       { cursor: pointer; }
input.editavel        { cursor: text; }
body.editing .editavel { cursor: move; }

/* ── Elementos de UI — posições (desktop) ────────────── */
.urlInput {
  position: absolute;
  top: -15%;
  left: 31.4%;
  width: 370px;
  height: 11.1%;
  font-size: 30px;
  color: #000;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(0,0,0,0.3);
  padding: 4px;
  border-radius: 4px;
}

.pasteBtn {
  position: absolute;
  top: -13.5%;
  left: 64.6%;
  width: 65px;
  height: 40px;
  font-size: 17px;
  color: rgb(10,3,3);
}

.baixar {
  position: absolute;
  top: 2%;
  left: 39.9%;
  width: 210px;
  height: 71px;
  font-size: 25px;
  color: #fff;
  background: linear-gradient(145deg, #00c853, #009624);
  box-shadow:
    0 0 6px rgba(0,255,100,0.4),
    0 2px 2px rgba(0,0,0,0.4);
}

/* ── Ad Bloco 1 ──────────────────────────────────────── */
.ad-bloco1 {
  margin-top: -220px;
}


/* ════════════════════════════════════════════════════════
   BLOCO 2 — Resultado (preview + download + ad)
   ════════════════════════════════════════════════════════ */

/* ── Container do bloco 2 ────────────────────────────── */
.resultado {
  display: block;
  width: 900px;
  margin: 60px auto 0;
  text-align: center;
}

/* ── Container ornamento + thumbnail ─────────────────── */
.ornamento-wrap {
  position: relative;
  width: 650px;
  margin: -40px auto 0;
}

/* ── Ornamento decorativo (camada de fundo) ──────────── */
.ornamento {
  width: 100%;
  display: block;
}

/* ── Moldura da thumbnail (sobreposta ao ornamento) ───── */
/*
   Ajuste fino:
   top   → sobe/desce a thumbnail dentro da moldura
   width → tamanho da thumbnail (% do ornamento)
*/
.thumb-frame {
  position: absolute;
  top: 7%;
  left: 64.5%;
  transform: translateX(-50%);
  width: 53%;
  text-align: center;
}

/* ── Thumbnail ───────────────────────────────────────── */
.thumb-frame img {
  width: 45%;
  border-radius: 6px;
  display: block;
}

/* ── Título do vídeo ─────────────────────────────────── */
.videoTitle {
  color: white;
  font-size: 16px;
  margin-top: 6px;
  padding: 0 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  position: relative;
  top: -40px;     /* ← positivo = desce, negativo = sobe */
  left: -100px;     /* ← positivo = direita, negativo = esquerda */
}

/* ── Container dos botões de download ───────────────────*/
.download-options {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 33px;
  margin-top: -260px;
  margin-left: 0px;
}

/* ── Botões de download ──────────────────────────────── */
.btn-download {
  width: 260px;
  height: 50px;
  font-size: 20px;
  font-weight: bold;
  background: linear-gradient(145deg, #fd9800, #dba100);
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

/* ── Ad Bloco 2 ──────────────────────────────────────── */
.ad-bloco2 {
  margin-top: 55px;
  margin-bottom: 50px;
}


/* ════════════════════════════════════════════════════════
   AD CONTAINER — compartilhado blocos 1 e 2
   ════════════════════════════════════════════════════════ */
.ad-container {
  width: 100%;
  max-width: 728px;
  margin-left: auto;
  margin-right: auto;
}

/* Placeholder visual (enquanto AdSense não está ativo) */
.ad-placeholder {
  width: 100%;
  min-height: 100px;
  background: rgba(0,0,0,0.35);
  border: 2px dashed rgba(255,255,255,0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Tamanho dos placeholders — desktop */
.ad-bloco1 .ad-placeholder,
.ad-bloco2 .ad-placeholder {
  min-height: 250px;
}


/* ════════════════════════════════════════════════════════
   BOTÕES — estilo geral
   ════════════════════════════════════════════════════════ */
button {
  border: 1px solid rgba(0,0,0,0.6);
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: filter 0.1s ease, box-shadow 0.1s ease;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 2px 3px rgba(0,0,0,0.4);
}

button:hover   { filter: brightness(1.1); }

button:active {
  filter: brightness(0.85);
  transform: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 1px 2px rgba(0,0,0,0.5);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* ════════════════════════════════════════════════════════
   MODAL DE ERRO
   ════════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modalContent {
  background: linear-gradient(145deg, #3a2a1f, #1e140f);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 24px;
  border-radius: 10px;
  text-align: center;
  color: white;
  min-width: 300px;
  max-width: 90vw;
}

#modalTexto {
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 1.4;
  white-space: pre-line;
}

#modalOk {
  background: linear-gradient(145deg, #ffb300, #ff6f00);
  border: none;
  padding: 8px 24px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  color: white;
}


/* ════════════════════════════════════════════════════════
   BLOCO 3 — POPUP DE DOWNLOAD
   ════════════════════════════════════════════════════════ */

/* ── Overlay ─────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9000;
}

.popup-overlay.ativo { display: flex; }

/* ── Caixa do popup ──────────────────────────────────── */
.popup-box {
  position: relative;
  width: 600px;
  height: 800px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.1);
}

/* ── Fundo do popup ──────────────────────────────────── */
.popup-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2a1a0e 0%, #1a0f08 50%, #0d0805 100%);
  background-image: url('Images/Parede.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* ── Metade superior: progresso ──────────────────────── */
.popup-top {
  position: relative;
  z-index: 1;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(228, 148, 0, 0.062);
  background-image: url('Images/FundoPopUp.png');  /* ← adicione essa linha */
  background-size: cover;
  background-position: center top;
}

/* ── Spinner circular ────────────────────────────────── */
.spinner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.spinner {
  width: 80px; height: 80px;
  transform: rotate(-90deg);
}

.spinner-track {
  fill: none;
  stroke: rgba(255,255,255,0.1);
  stroke-width: 5;
}

.spinner-fill {
  fill: none;
  stroke: #ffb300;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 150.8;
  stroke-dashoffset: 150.8;
  animation: spin-dash 1.4s ease-in-out infinite;
}

@keyframes spin-dash {
  0%   { stroke-dashoffset: 150.8; }
  50%  { stroke-dashoffset: 30; }
  100% { stroke-dashoffset: 150.8; }
}

.spinner-label {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  letter-spacing: 1px;
}

/* ── Estado: download concluído ──────────────────────── */
.popup-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.popup-check      { font-size: 30px; line-height: 1; }

.popup-done-text {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.popup-ok-btn {
  background: linear-gradient(145deg, #ffb300, #ff6f00);
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 36px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 2px 8px rgba(255,100,0,0.4);
}

.popup-ok-btn:hover { filter: brightness(1.1); }

/* ── Metade inferior: anúncio ────────────────────────── */
.popup-ad {
  position: relative;
  z-index: 1;
  padding: 16px;
  min-height: 728px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-ad .ad-placeholder {
  width: 100%;
  min-height: 110px;
  font-size: 12px;
  position: relative;
  top: -150px;    /* ← negativo = sobe */
}


/* Modo admin removido */











/* ════════════════════════════════════════════════════════
   MOBILE (max-width: 768px)
   ════════════════════════════════════════════════════════ */








   @media (max-width: 768px) {

  /* ── Variáveis da cena ─────────────────────────────── */
  :root {
    --scene-h:     380px;
    --maquina-w:   95%;
    --maquina-top: -90px;
  }

  .scene {
    margin-top: -7vh;    /* ← aumente o negativo para subir mais */
  }

  /* ── Bloco 1 — container ─────────────────────────────*/
  .bloco-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  /* ── Bloco 1 — logo ──────────────────────────────────*/
  .logo-text { font-size: 22px; }
  
  .logo-sub  { 
    font-size: 14px;
    top: -122px;          /* ← negativo = sobe, positivo = desce */
    left: -15px;   
  }

  /* ── Bloco 1 — elementos de UI ───────────────────────*/
  .urlInput {
    top: 15.5%;
    left: 23%;
    width: 62%;
    font-size: 18px;
  }

  .pasteBtn {
    top: 16%;
    left: 70%;
    width: 55px;
    height: 36px;
    font-size: 14px;
  }

  .baixar {
    top: 30%;
    left: 53.2%;
    transform: translateX(-50%);
    width: 34%;
    height: 51px;
    font-size: 20px;
  }

  /* ── Bloco 1 — ad ────────────────────────────────────*/
  .ad-bloco1 {
    margin-top: -80px;
  }

  /* ── Bloco 2 — container ─────────────────────────────*/
  .resultado {
    width: 100%;
    padding: 0 10px;
    margin-top: 70px;
  }

  /* ── Bloco 2 — elementos ─────────────────────────────*/
  .ornamento-wrap {
    width: 125%;
    margin-left: -12%; 
  }

  .thumb-frame {
    top: 7%;
    left: 68%;
    width: 61%;
  }

  .videoTitle {
    top: -40px;     /* ← sobe/desce */
    left: -90px;    /* ← direita/esquerda */
    font-size: 15px;
  }



  .btn-download { width: 90%; }

  /* ── Bloco 2 — ad ────────────────────────────────────*/
  .ad-bloco2 { margin-top: 60px; }

  /* ── Ad containers ───────────────────────────────────*/
  .ad-container {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .ad-placeholder {
    width: 100%;
    box-sizing: border-box;
  }

  .ad-bloco1 .ad-placeholder,
  .ad-bloco2 .ad-placeholder {
    min-height: 30vh;
    max-height: 280px;
  }

  /* ── Bloco 3 — popup ─────────────────────────────────*/
   .popup-box {
    width: 92vw;          /* ← largura do popup */
    max-width: 400px;     /* ← largura máxima */
    max-height: 75vh;
    overflow: hidden;
  }

  .popup-top {
    height: 220px;        /* ← altura da metade superior (imagem de fundo) */
    background-image: url('Images/FundoPopUp.png');
    background-size: 110%; 
    background-position: center top;
  }

  .popup-ad .ad-placeholder {
    min-height: 25vh;
    max-height: 250px;
  }

    .popup-check {
    font-size: 20px;   /* ← menor no celular */
  }

  .popup-done-text {
    font-size: 17px;
  }

  .popup-ok-btn {
    font-size: 14px;
    padding: 8px 24px;
  }

  .popup-done {
    gap: 3px;          /* ← menos espaço entre os elementos */
  }


  .download-options {
    margin-top: -200px;   /* ← valor diferente do desktop */
    left: 3px;
    gap: 20px;
  }

  .btn-download {
    width: 51%;      /* ← valor diferente do desktop */
    height: 43px;
    font-size: 18px;
  }

}


/* ════════════════════════════════════════════════════════
   BLOCO 4 — BLOG / CONTEÚDO
   ════════════════════════════════════════════════════════ */

/* ── Container geral do blog ─────────────────────────── */
.blog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 60px;
  padding: 0 20px;
  color: rgba(255,255,255,0.85);
  font-family: Georgia, 'Times New Roman', serif;
}

/* ── Divisor decorativo topo ─────────────────────────── */
.blog-divisor {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 60px 0 50px;
}

.blog-divisor-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,180,0,0.5), transparent);
}

.blog-divisor-icon {
  font-size: 28px;
  color: #ffb300;
  text-shadow: 0 0 12px rgba(255,180,0,0.6);
  animation: girar 8s linear infinite;
}

@keyframes girar {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Seção genérica ──────────────────────────────────── */
.blog-secao {
  margin-bottom: 20px;
}

.blog-titulo {
  font-size: 28px;
  font-weight: bold;
  color: #ffb300;
  text-shadow: 0 0 16px rgba(255,180,0,0.3);
  margin: 0 0 8px;
  letter-spacing: 0.5px;
  border-left: 4px solid #ffb300;
  padding-left: 14px;
}

.blog-intro {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin: 0 0 30px 18px;
  font-style: italic;
}

.blog-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,180,0,0.2), transparent);
  margin: 50px 0;
}

/* ════════════════════════
   SEÇÃO 1 — COMO USAR
   ════════════════════════ */

.passos {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.passo {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,180,0,0.15);
  border-radius: 8px;
  padding: 20px 24px;
}

.passo-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffb300, #ff6f00);
  color: #1a0f00;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(255,150,0,0.4);
}

.passo-corpo h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #fff;
}

.passo-corpo p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

.passo-seta {
  text-align: center;
  color: rgba(255,180,0,0.4);
  font-size: 20px;
  padding: 6px 0;
}

/* ════════════════════════
   SEÇÃO 2 — PLATAFORMAS
   ════════════════════════ */

.plataformas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plataforma-card {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,180,0,0.12);
  border-radius: 8px;
  padding: 20px 16px;
  transition: border-color 0.2s, background 0.2s;
}

.plataforma-card:hover {
  border-color: rgba(255,180,0,0.35);
  background: rgba(0,0,0,0.5);
}

.plataforma-icon {
  font-size: 26px;
  color: #ffb300;
  margin-bottom: 10px;
}

.plataforma-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #fff;
}

.plataforma-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
}




/* ════════════════════════
   SEÇÃO 3 — DIFERENCIAIS
   ════════════════════════ */

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.diferencial-card {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,180,0,0.12);
  border-radius: 8px;
  padding: 22px 20px;
  transition: border-color 0.2s, background 0.2s;
}

.diferencial-card:hover {
  border-color: rgba(255,180,0,0.35);
  background: rgba(0,0,0,0.5);
}

.diferencial-icone {
  font-size: 32px;
  margin-bottom: 10px;
}

.diferencial-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #ffb300;
}

.diferencial-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

/* ════════════════════════
   SEÇÃO 4 — FAQ
   ════════════════════════ */

.faq-lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,180,0,0.15);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '＋';
  font-size: 18px;
  color: #ffb300;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: rgba(255,180,0,0.06);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,180,0,0.1);
  padding-top: 14px;
}

/* ── Rodapé ──────────────────────────────────────────── */
.blog-footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,180,0,0.15);
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}

.blog-footer-links a {
  color: rgba(255,180,0,0.5);
  text-decoration: none;
}

.blog-footer-links a:hover {
  color: #ffb300;
}

/* ════════════════════════════════════════════════════════
   BLOG — MOBILE
   ════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .blog {
    padding: 0 14px;
  }

  .blog-titulo {
    font-size: 22px;
  }

  .plataformas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diferenciais-grid {
    grid-template-columns: 1fr;
  }

  .passo {
    flex-direction: column;
    gap: 12px;
  }

}

@media (max-width: 480px) {

  .plataformas-grid {
    grid-template-columns: 1fr;
  }

}


/* ════════════════════════════════════════════════════════
   BLOCO NOTÍCIAS — RSS CARDS
   ════════════════════════════════════════════════════════ */

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Card individual ─────────────────────────────────── */
.noticia-card {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,180,0,0.15);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
}

.noticia-card:hover {
  border-color: rgba(255,180,0,0.4);
  transform: translateY(-3px);
}

/* ── Imagem do card ──────────────────────────────────── */
.noticia-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: rgba(255,180,0,0.05);
}

.noticia-img-placeholder {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, rgba(255,180,0,0.08), rgba(0,0,0,0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: rgba(255,180,0,0.3);
}

/* ── Corpo do card ───────────────────────────────────── */
.noticia-corpo {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.noticia-tema {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffb300;
}

.noticia-titulo {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

.noticia-rodape {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Estado de loading ───────────────────────────────── */
.noticia-loading {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}

/* ── Taboola placeholder ─────────────────────────────── */
.taboola-placeholder {
  width: 100%;
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .noticias-grid {
    grid-template-columns: 1fr;
  }
}