/* =========================================================
   VIPPR — CSS LEGADO (ORGANIZADO)
   Arquivo: /css/style.css
   Obs: Não altera comportamento visual existente
   ========================================================= */

/* =========================================================
   1) BASE / RESET
   ========================================================= */
body,
ul,
li,
p {
  margin: 5px;
  font-size: 1rem;
  font-family: Verdana, Arial;
}

body {
  margin-bottom: 100px;
  background: #ECEFF1;
}

a {
  text-decoration: none;
  color: #000000;
}

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

/* =========================================================
   2) TIPOGRAFIA GLOBAL
   ========================================================= */
h1,
h2,
h3 {
  font-weight: bold;
  font-size: 1rem;
  font-family: Verdana, Arial, sans-serif;
}

h1 {
  text-align: center;
}

.a_cabecalho {
  font-weight: bold;
  font-size: 0.8em;
  color: #FFFFFF;
}

/* =========================================================
   3) HEADER / MENU (LEGADO)
   ========================================================= */
.header {
  background: #1d1e20;
  color: #FFFFFF;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.menu {
  display: flex;
  color: #FFFFFF;
}

.menu li {
  margin-left: 10px;
}

.menu li a {
  display: block;
  padding: 2.5px;
}

/* =========================================================
   4) LAYOUTS FLEX / GRID
   ========================================================= */
.flex {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.flex > div {
  flex: 1 1 200px;
  margin: 2px;
}

/* GRID PRINCIPAL */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 800px;
  padding: 5px;
  margin: 0 auto;
  grid-gap: 2.5px;
}

@media (max-width: 700px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* GRID SECUNDÁRIO */
.grid1 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 800px;
  padding: 5px;
  margin: 0 auto;
  grid-gap: 2.5px;
}

@media (max-width: 700px) {
  .grid1 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 400px) {
  .grid1 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   5) COMPONENTES VISUAIS
   ========================================================= */
/* ================================
   DIÁRIA – container
   ================================ */
/* ================================
   DIÁRIA – container externo
   ================================ */

.diaria {
  background-color: #efefef;
  max-width: 80px;
  margin: 0 auto;
  font: 0.8em Verdana, sans-serif;
  color: #000;
  border-radius: 10px;
  border: 1px solid #000;
  overflow: hidden;          /* CORTE REAL */
}

/* ================================
   LINK (sem padding!)
   ================================ */

.diaria a{
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

/* ================================
   IMAGEM
   ================================ */

.diaria img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;

  /* TOPO RETO, BASE ARREDONDADA */
  border-radius: 0 0 10px 10px;
}

/* ================================
   TEXTO
   ================================ */

.diaria a font{
  display: block;
  text-align: center;
  padding: 3px 0;
  white-space: nowrap;
}


/* ================================
   BANNER – container
   ================================ */
.banner {
  display: flex;
  background-color:#474745;
  max-width: 205px;
  margin: 0 auto;
  justify-content: center;
  font: 0.8em Verdana, sans-serif;
  border-radius: 10px;
  border: 1px solid #000;
}

.qua {
  background-color:#fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 1px 1px 5px;
}

.modular {
  font: 1rem Verdana, sans-serif;
  line-height: 0.9em;
  color: #000;
  position: relative;
}

/* =========================================================
   6) SELOS / DESTAQUES
   ========================================================= */
/* ===== TARJAS SOBRE A FOTO — CANTO DIREITO ===== */
.qua .modular{
  position: relative;
}

/* bloco das tarjas */
.qua .modular .destaque{
  position: absolute;
  top: 8px;
  right: 8px;
  left: auto;
  z-index: 20;

  display: flex;
  flex-direction: column;
  gap: 4px;

  max-width: calc(100% - 16px);
  align-items: flex-end;   /* encosta as tarjas na direita */
  pointer-events: none;
}

/* cada tarja */
.qua .modular .destaque > *{
  display: inline-block;
  padding: 3px 8px;
  border-radius: 10px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
  background: rgba(220, 0, 0, 0.75); /* vermelho semi-transparente */
  color: #fff;                      /* fonte branca */
}

/* mantém a imagem como base */
.qua .modular img{
  display: block;
}


/* =========================================================
   7) MODELO / COMENTÁRIOS
   ========================================================= */
.modelo {
  font:1rem Verdana,sans-serif;
  padding:10px;
  max-width:800px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.comentarios {
  max-width:700px;
  padding:10px;
  border-radius:10px;
  border:1px solid #000;
  box-shadow:1px 1px 5px;
}

/* =========================================================
   8) SEO — TEXTO INSTITUCIONAL
   ========================================================= */
.home-seo {
  max-width:900px;
  margin:40px auto;
  padding:20px 25px;
  background:#1a1a1a;
  color:#f2f2f2;
  border-radius:12px;
  line-height:1.6;
  font-family:"Segoe UI",sans-serif;
}

/* =========================================================
   9) HERO / SOCIAL (AJUSTES PONTUAIS)
   ========================================================= */
.vippr-hero {
  display:flex;
  align-items:center;
  gap:14px;
}

.vippr-social {
  display:flex;
  gap:8px;
}

.vippr-social img {
  display:inline-block;
}
/* Preview do vídeo no resposta.php */
.video-preview{
  width: 100%;
  max-width: 360px;   /* ajuste: 280 / 320 / 400 */
  height: auto;
  max-height: 220px;  /* ajuste: 180 / 200 / 240 */
  display: block;
  border-radius: 12px;
}