/* =========================
   ESTILO GERAL DO SITE
========================= */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #b3eaff; /* azul claro */
  color: #222;
}

a {
  text-decoration: none;
  color: #0066cc;
}

h1, h2, h3 {
  margin: 5px 0;
  padding: 0;
}

/* =========================
   CABEÇALHO
========================= */
.site-header {
  background: white;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.brandline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.logo {
  max-height: 180px;
  height: auto;
  width: auto;
  object-fit: contain;
}

.brand-center {
  flex: 1;
  text-align: center;
}

.site-title {
  font-size: 28px;
  color: #0a7a2a;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  font-weight: bold;
}

.slogan {
  font-size: 14px;
  font-style: italic;
  margin-bottom: 5px;
  color: #555;
}

.boas-vindas {
  background: #dfffe0;
  padding: 12px 15px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 15px; /* AUMENTADO */
  line-height: 1.5;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* =========================
   BOTÕES CENTRAIS
========================= */
.botoes-centrais {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}

/* BOTÃO PADRÃO OFICIAL APROVEITAI */
.btn-aproveitai,
.btn,
.btn-parceiro {
  background: #1fae5a;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}

.btn-aproveitai:hover,
.btn:hover,
.btn-parceiro:hover {
  background: #168c48;
}

/* =========================
/* =====================================================
   INDEX – FILTROS (BOTÃO NA MESMA LINHA)
   ===================================================== */

.filtros {
  max-width: 1200px;
  margin: 30px auto;
  padding: 15px 20px;
  background: rgba(255,255,255,0.35);
  border-radius: 18px;

  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Campo buscar */
.filtros input {
  flex: 2;
  min-width: 260px;
}

/* Selects */
.filtros select {
  flex: 1;
  min-width: 180px;
}

/* Botão */
.filtros button {
  flex: 0;
  min-width: 140px;
  height: 46px;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 900px) {
  .filtros {
    flex-direction: column;
    align-items: stretch;
  }

  .filtros input,
  .filtros select,
  .filtros button {
    width: 100%;
  }
}

/* =========================
   CARDS DE PARCEIROS
========================= */
.container-parceiros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 100px;
  padding: 20px;
}

.card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 260px;
  width: 100%;
  min-height: 210px; /* aumentada */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  word-break: break-word;
}

.card img {
  max-height: 100px;
  margin-bottom: 10px;
  width: auto;
  object-fit: contain;
}

/* =========================
   RODAPÉ
========================= */
.footer {
  background: #dfffe0;
  color: #222;
  padding: 10px 10px;
  font-size: 13px;
  border-top: 3px solid white;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  max-width: 1000px;
  margin: auto;
  padding: 5px 0;
}

.footer a {
  color: #0066cc;
  font-size: 13px;
}

.footer-bottom {
  text-align: center;
  margin-top: 5px;
  font-size: 11px;
}
/* =========================
   RESPONSIVIDADE
========================= */
@media (max-width: 600px) {
  .brandline {
    flex-direction: column;
    align-items: center;
  }

  .card {
    height: auto;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
input#cpf {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  font-size: 16px;
}

.card .small {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}
.status-box {
  background: #f3fff3;
  border: 1px solid #cceccc;
  padding: 15px;
  margin-top: 15px;
  border-radius: 8px;
}
.codigo {
  font-weight: bold;
  color: #0a7a2a;
  margin-top: 10px;
}
.resultado.ativo {
  background: #e9fbe9;
  border: 2px solid #1e8e3e;
}

.resultado.inativo {
  background: #fdeaea;
  border: 2px solid #d93025;
}
.btn-cartao {
  background: #28a745; /* verde */
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-cartao:hover {
  background: #1e7e34;
}
#boxCliente.ativo {
  background: #e6fffa;
  border: 2px solid #16a34a;
}

#boxCliente.inativo {
  background: #fee2e2;
  border: 2px solid #dc2626;
}
.beneficio {
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  background: #f8f9fa;
}

.beneficio.geral {
  border-left: 6px solid #6c757d;
}

.beneficio.grupo {
  border-left: 6px solid #facc15;
}

.beneficio.exclusivo {
  border-left: 6px solid #16a34a;
  background: #ecfdf5;
}
/* ===== PAINEL CLIENTE ===== */

body {
  margin: 0;
  font-family: system-ui, Arial, sans-serif;
  background: linear-gradient(135deg, #bdeeff, #81d4fa);
  color: #232630;
}

.wrap {
  max-width: 600px;
  margin: auto;
  padding: 16px;
}

.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
  padding: 20px;
  margin: 18px auto;
}

input {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  margin-top: 16px;
  padding: 12px 18px;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: #0a7f2e;
  width: 100%;
}

button:hover {
  background: #086826;
}

.btn2 {
  background: #0a7f2e;
}

.voltar {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 14px;
  background: #0a7f2e;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
}

/* ===== STATUS ===== */

#resultado {
  margin-top: 14px;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid #e5eaee;
  background: #f7fbff;
}

#resultado.ativo {
  background: #e9fbe9;
  border: 2px solid #1e8e3e;
}

#resultado.inativo {
  background: #fdeaea;
  border: 2px solid #d93025;
}

/* ===== BENEFÍCIOS / PROMO ===== */

#beneficiosCliente div,
#promocoesCliente div {
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 10px;
}

/* ===== LEGENDAS ===== */

.small {
  font-size: .9rem;
  color: #444;
  text-align: center;
  margin-top: 6px;
}
/* Aumenta largura do bloco principal */
.container,
.card,
.box,
.painel {
  max-width: 520px !important;
}

/* Campo de input maior */
input[type="text"],
input[type="search"] {
  width: 100%;
  font-size: 16px;
  padding: 14px;
}
#listaBeneficios,
#listaPromocoes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* ======== GRID DE PARCEIROS / CARDS ======== */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

/* ======== CARD INDIVIDUAL ======== */
.card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  padding: 22px;
  text-align: center;
  max-width: 100%;
}

/* ======== AJUSTE MOBILE ======== */
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
    padding: 0 12px;
  }
}
CARDS DE PARCEIROS
========================= */
.container-parceiros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 260px;
  width: 100%;
  min-height: 420px; /* aumentada */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  word-break: break-word;
}

.card img {
  max-height: 100px;
  margin-bottom: 10px;
  width: auto;
  object-fit: contain;
}

* ======== GRID DE PARCEIROS / CARDS ======== */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}
/* ======== GRID DE PARCEIROS (TAMANHO ORIGINAL) ======== */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* 🔙 como era antes */
  gap: 22px;
  width: 100%;
  max-width: 300px;
  margin: 30px auto;
  padding: 0 16px;
}

/* ======== CARD INDIVIDUAL (COMPACTO) ======== */
.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  padding: 18px;
  text-align: center;
  max-width: 100%;
}
<div class="filtros-container">
  <input type="text" placeholder="Buscar por nome">

  <div class="filtros-linha">
    <select>...</select>
    <select>...</select>
    <button>Filtrar</button>
  </div>
</div>
/* =====================================================
   INDEX – GRID DE CARDS (TAMANHO COMPACTO)
   ===================================================== */

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* 🔻 menor */
  gap: 20px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 16px;
}

/* Card individual */
.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  padding: 16px;                /* 🔻 menor */
  text-align: center;
  font-size: 0.95rem;
}

.card h3,
.card strong {
  font-size: 1rem;
  margin-bottom: 6px;
}

.card img {
  max-width: 80px;
  margin-bottom: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
  }
}
/* =====================================================
   INDEX – BOTÕES (ISOLADOS)
   ===================================================== */

.index-page button {
  height: 48px;
  min-width: 180px;
  font-size: 0.95rem;
}
/* =====================================================
   INDEX – GRID REAL DE PARCEIROS
   ===================================================== */

.grid-parceiros {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); /* 🔥 menor */
  gap: 22px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 16px;
}

/* Card real */
.card-parceiro {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  padding: 18px;
  text-align: center;
}

/* Logo dentro do card */
.card-parceiro img {
  max-width: 90px;
  margin: 0 auto 12px;
  display: block;
}

/* Texto */
.card-parceiro strong {
  display: block;
  margin: 8px 0;
}

/* Mobile */
@media (max-width: 768px) {
  .grid-parceiros {
    grid-template-columns: 1fr;
  }
}
/* =====================================================
   INDEX – GRID DE PARCEIROS (COMPACTO – COMO ERA ANTES)
   ===================================================== */

.container-parceiros {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 16px;
}
/* =====================================================
   INDEX – CARD DO PARCEIRO
   ===================================================== */

.container-parceiros .card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  padding: 16px;
  text-align: center;
  font-size: 0.95rem;
}

.container-parceiros .card img {
  max-height: 90px;
  margin: 0 auto 10px;
  display: block;
}
/* =====================================================
   FILTROS – BOTÃO NA MESMA LINHA (FINAL)
   ===================================================== */

.filtros {
  max-width: 1200px;
  margin: 30px auto;
  padding: 15px 20px;
  background: rgba(255,255,255,0.35);
  border-radius: 16px;

  display: flex;
  gap: 12px;
  align-items: center;

  flex-wrap: nowrap;        /* 🔥 NÃO QUEBRA LINHA */
}

/* Buscar */
.filtros input {
  flex: 2 1 0;
  min-width: 0;             /* 🔥 permite encolher */
}

/* Selects */
.filtros select {
  flex: 1 1 0;
  min-width: 0;
}

/* Botão */
.filtros button {
  flex: 0 0 120px;          /* 🔥 largura fixa */
  height: 46px;
  white-space: nowrap;
}

/* MOBILE */
@media (max-width: 900px) {
  .filtros {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .filtros input,
  .filtros select,
  .filtros button {
    width: 100%;
  }
}
/* =====================================================
   INDEX – GRID DE PARCEIROS (RESPIRO VISUAL)
   ===================================================== */

.container-parceiros {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;                 /* 🔥 MAIS ESPAÇO */
  max-width: 1200px;
  margin: 30px auto 50px;
  padding: 0 20px;
}
/* =====================================================
   INDEX – CARD DO PARCEIRO (RESPIRADO)
   ===================================================== */

.container-parceiros .card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.14);
  padding: 22px;              /* 🔥 MAIS RESPIRO */
  text-align: center;
  font-size: 0.95rem;
}
/* =====================================================
   INDEX – LOGO DO PARCEIRO (MAIOR E CENTRAL)
   ===================================================== */

.container-parceiros .card img {
  max-height: 190px;          /* 🔥 MAIOR */
  max-width: 100%;
  margin: 0 auto 14px;
  display: block;
  object-fit: contain;
}
/* GRID – AJUSTE FINO */
.container-parceiros {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* 🔥 MENOR */
  gap: 48px;                     /* 🔥 MAIS ESPAÇO */
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 32px;
}
.container-parceiros .card {
  max-width: 260px;     /* 🔥 LIMITE REAL */
  margin: 0 auto;       /* centraliza dentro da coluna */
}
.container-parceiros .card {
  padding: 24px 20px;
  border-radius: 16px;
}
/* FILTROS – BLOCO FECHADO */
.filtros {
  max-width: 1200px;
  margin: 30px auto 30px;
  padding: 15px 20px;
  background: rgba(255,255,255,0.35);
  border-radius: 18px;

  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 16px;
}

.filtros button {
  grid-column: 1 / -1;   /* botão embaixo, central */
  height: 48px;
}

/* Mobile */
@media (max-width: 768px) {
  .filtros {
    grid-template-columns: 1fr;
  }
}
/* =====================================================
   FILTROS – CAMPOS DO MESMO TAMANHO (BOTÃO EMBAIXO)
   ===================================================== */

.filtros {
  max-width: 1200px;
  margin: 30px auto;
  padding: 15px 20px;
  background: rgba(255,255,255,0.35);
  border-radius: 16px;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* 🔥 três colunas iguais */
  gap: 16px;
}

/* input e selects iguais */
.filtros input,
.filtros select {
  width: 100%;
  height: 44px;          /* 🔥 mesma altura */
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  box-sizing: border-box;
}

/* botão ocupa linha inteira */
.filtros button {
  grid-column: 1 / -1;   /* 🔥 botão embaixo */
  height: 46px;
  margin-top: 6px;
}

/* MOBILE */
@media (max-width: 900px) {
  .filtros {
    grid-template-columns: 1fr;
  }
}
/* ===== BENEFÍCIOS / PROMOÇÕES EXCLUSIVAS ===== */
.card-exclusivo {
  border: 2px solid #ff7a00;
  background: linear-gradient(135deg, #fff4e6, #ffffff);
  position: relative;
}

.badge-exclusivo {
  display: inline-block;
  background: #ff7a00;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 6px;
}
/* ===== BENEFÍCIOS / PROMOÇÕES EXCLUSIVAS ===== */
.card-exclusivo {
  border: 3px solid #ff6a00;
  background: linear-gradient(135deg, #fff1e0, #ffffff);
}

.badge-exclusivo {
  background: #ff6a00;
  color: #fff;
/* ====== CARDS BENEFÍCIOS / PROMOÇÕES ====== */
.item-card {
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background: #fff;
}

.item-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #0a4c1a;
}

.item-card p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.4;
}

.item-card small {
  font-size: 12px;
  color: #555;
}

/* ====== TIPOS ====== */
.item-geral {
  border-left: 6px solid #ccc;
}

.item-grupo {
  background: #fffbe6;
  border-left: 6px solid #f2c200;
}

.item-exclusivo {
  background: #e6ffe6;
  border-left: 6px solid #1e8e3e;
}

/* ====== TARJA ====== */
.tarja {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: bold;
/* 
.beneficios-wrapper { ... }
.beneficios-grid { ... }
.item-card { ... }
*/
}

.tarja-geral { background:#eee; color:#555; }
.tarja-grupo { background:#f2c200; color:#000; }
.tarja-exclusivo { background:#1e8e3e; color:#fff; }
  font-size: 11px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 14px;
  margin-left: 8px;
}
.status-box.ativo {
  background:#e9f9ef;
  border:2px solid #198754;
}
.status-box.inativo {
  background:#fdeaea;
  border:2px solid #dc3545;
}
.card-beneficio {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  margin: 10px;
  width: 260px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  position: relative;
}

.tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: bold;
}

.tag-todos { background: #2ecc71; color: #fff; }
.tag-grupo { background: #f1c40f; color: #000; }
.tag-exclusivo { background: #e74c3c; color: #fff; }

.card-beneficio h3 {
  margin-top: 10px;
  color: #0b6623;
}

.card-beneficio small {
  display: block;
  margin-top: 4px;
  color: #555;
}
.card-beneficio, .card-promocao {
  background: #ffffff;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.card-beneficio.exclusivo,
.card-promocao.exclusivo {
  background: #e6ffe6;
  border: 2px solid #1f8f3a;
}

.tarja {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #1f8f3a;
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 8px;
  font-weight: bold;
}
.card-beneficio-publico {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  margin: 15px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  position: relative;
  max-width: 320px;
}

.card-beneficio-publico.exclusivo {
  background: #f0fff4;
  border: 2px solid #1f8f3a;
}

.card-beneficio-publico h3 {
  margin-top: 0;
  color: #0b5d2a;
}

.tarja {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #1f8f3a;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
}

.msg-exclusivo {
  margin-top: 10px;
  font-size: 12px;
  color: #1f8f3a;
  font-weight: bold;
}
.grid-beneficios,
.grid-promocoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
}
.card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.secao-beneficios,
.secao-promocoes {
  background: #e9f7ef;
  padding: 30px;
  border-radius: 16px;
}
.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
}
.card.exclusivo {
  background: #eaffea;
  border: 2px solid #2ecc71;
  position: relative;
}
.badge-exclusivo {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #2ecc71;
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
}
/* =========================
   ÁREA DO CLIENTE – LISTAS
========================= */

.titulo-secao{
  text-align:center;
  color:#0a4c1a;
  margin:30px 0 15px;
}

.secao-lista{
  background:#e9f7ee;
  padding:20px;
  border-radius:14px;
  margin-bottom:30px;
}

/* Grid responsivo */
.grid-cards{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap:20px;
}

/* Card padrão */
.card-beneficio,
.card-promocao{
  background:#ffffff;
  border-radius:14px;
  padding:18px;
  box-shadow:0 6px 14px rgba(0,0,0,.08);
  position:relative;
  min-height:160px;
}

/* Exclusivo */
.card-beneficio.exclusivo,
.card-promocao.exclusivo{
  background:#eaffea;
  border:2px solid #2e7d32;
}

/* Tarja exclusivo */
.tarja{
  position:absolute;
  top:10px;
  right:10px;
  background:#2e7d32;
  color:#fff;
  font-size:12px;
  padding:4px 10px;
  border-radius:20px;
  font-weight:bold;
}
/* ===== ÁREA PADRÃO (FUNDO) ===== */
.area-bloco {
  background: #eaf8ef;
  padding: 30px;
  border-radius: 20px;
  margin: 30px auto;
  max-width: 1200px;
}

/* ===== GRID RESPONSIVO ===== */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* ===== CARD PADRÃO ===== */
.card-beneficio,
.card-promocao {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ===== EXCLUSIVO ===== */
.card-exclusivo {
  background: #e9fff0;
  border: 2px solid #1fa64a;
}

.tarja-exclusivo {
  background: #1fa64a;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 20px;
  width: fit-content;
  align-self: flex-end;
}
.parceiro {
  margin-top: 8px;
  font-size: 14px;
}
/* Destaque do parceiro */
.linha-info.parceiro {
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 6px;
  color: #000;
}

.linha-info.parceiro strong {
  font-weight: 700;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cliente-card,
.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform .2s ease;
}

.cliente-card:hover,
.card:hover {
  transform: translateY(-4px);
}

.cliente-card h3 {
  margin-bottom: 12px;
  text-align: center;
  color: #0b7a38;
}

.cliente-card .linha {
  margin-bottom: 6px;
  font-size: 14px;
}

.status {
  text-align: center;
  font-weight: bold;
  padding: 8px;
  border-radius: 8px;
  margin-top: 10px;
}

.status.ativo {
  background: #e6ffec;
  color: #0b7a38;
}

.status.inativo {
  background: #ffeaea;
  color: #b00020;
}
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
}

.card-padrao {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
}
.card-branco {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  max-width: 1000px;
  margin: 30px auto;
}

.titulo-secao {
  text-align: center;
  color: #0a7a2f;
  margin-bottom: 20px;
}
/* GRID PADRÃO PARA BENEFÍCIOS E PROMOÇÕES */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

/* CARD PADRÃO */
.card-beneficio,
.card-promocao {
  background: #ffffff;
  border-radius: 14px;
  padding: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  position: relative;
}

/* EXCLUSIVO */
.card-beneficio.exclusivo,
.card-promocao.exclusivo {
  border: 2px solid #1fa34a;
  background: #eaffef;
}

/* TARJA EXCLUSIVO */
.tarja {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #1fa34a;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 10px;
  font-weight: bold;
}

/* TÍTULO DA SEÇÃO */
.titulo-secao {
  color: #0a4c1a;
  text-align: center;
  margin-bottom: 10px;
}
.container-parceiros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  position: relative;
}

.card.exclusivo {
  background: #eaffea;
  border: 2px solid #1f8f3a;
}

.tarja {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #1f8f3a;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
}
.card-branco {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  max-width: 1100px;
  margin: 40px auto;
}

.titulo-secao {
  text-align: center;
  margin: 30px 0 20px;
  color: #1f8f3a;
}

.separador {
  margin: 40px 0;
  border: none;
  height: 1px;
  background: #e0e0e0;
}
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.wrap {
  flex: 1;
}

footer.footer {
  margin-top: auto;
}
footer.footer {
  background: #e9ffe9;
  padding: 30px 20px;
  width: 100%;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;       /* 👈 FORÇA LINHA */
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-container > div {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

.footer-container h3 {
  margin-top: 0;
  color: #0a7f2e;
}

.footer-container a {
  color: #0a7f2e;
  text-decoration: none;
}

.footer-container a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 8px; /* 🔽 menos espaço */
  font-size: 12px;
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
footer.footer {
  background: #e9ffe9;
  width: 100%;
  padding: 10px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-container > div {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

.footer-container h3 {
  margin-top: 0;
  color: #0a7f2e;
}

.footer-container a {
  color: #0a7f2e;
  text-decoration: none;
}

.footer-container a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #333;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
.contatos {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contatos .link {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  color: #fff;
}

.link.zap {
  background: #25D366;
}

.link.insta {
  background: #C13584;
}

.link.site {
  background: #0a7f2e;
}
/* ===== PADRÃO INPUT – CLIENTE / PARCEIRO ===== */
.input-padrao {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #cfd8dc;
  background: #ffffff;
  box-sizing: border-box;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}

.input-padrao:focus {
  border-color: #0a7f2e;
  box-shadow: 0 0 0 2px rgba(10, 127, 46, 0.15);
}

.label-padrao {
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
  color: #0a4c1a;
}
.btn-padrao {
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 10px;
  border: none;
  background: #0a7f2e;
  color: #fff;
  cursor: pointer;
}

.btn-padrao:hover {
  opacity: 0.95;
}
/* =========================
   RELATÓRIO DE CONSULTAS
========================= */

.relatorio-container {
  max-width: 1100px;
  margin: 30px auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
}

.relatorio-container h2 {
  text-align: center;
  color: #2e7d32;
  margin-bottom: 20px;
}

.relatorio-botao {
  display: block;
  margin: 0 auto 20px;
  background: #2e7d32;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
}

.relatorio-botao:hover {
  background: #256528;
}

.tabela-relatorio {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tabela-relatorio th {
  background: #2e7d32;
  color: #fff;
  padding: 10px;
}

.tabela-relatorio td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: center;
}

.tabela-relatorio tr:nth-child(even) {
  background: #f5f5f5;
}

/* Impressão / PDF */
@media print {
  button {
    display: none;
  }
  body {
    background: #fff;
  }
}
/* ===== RELATÓRIO ===== */

.relatorio-botao {
  background: #0a7f2e;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  margin: 15px 0;
}

.relatorio-botao:hover {
  background: #086a26;
}

table {
  margin-top: 15px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

th {
  background: #0a7f2e;
  color: #fff;
}

@media print {
  .relatorio-botao {
    display: none;
  }
}
.dados-parceiro {
  margin: 12px 0 18px 0;
  padding: 12px;
  background: #e9fbe9;
  border-left: 6px solid #0a7f2e;
  font-size: 15px;
}
/* TARJA VERDE PADRÃO – CARTÃO / RELATÓRIO */
.tarja-verde {
  background: #e8ffe8;
  border-top: 3px solid #0b7a2a;
  border-bottom: 3px solid #0b7a2a;
  padding: 12px;
  text-align: center;
  font-weight: bold;
  color: #0b7a2a;
  margin-bottom: 20px;
}
/* BOTÃO PADRÃO VERDE */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}

/* BOTÃO PARCEIRO */
.btn-parceiro {
  background: #128c3a;
  color: #fff !important;
}

.btn-parceiro:hover {
  background: #0f6f2e;
}
.conteudo-legal {
  max-width: 900px;
  margin: 40px auto;
  background: #f9fefe;
  padding: 30px;
  border-radius: 12px;
}
.status {
  display: inline-block;
  padding: 6px 12px;
  margin-top: 6px;
  border-radius: 6px;
  font-weight: bold;
  color: #fff;
}

.status-ativo {
  background: #2e7d32; /* verde */
}

.status-inativo {
  background: #c62828; /* vermelho */
}
.mensagem-promocao {
  text-align: center;
  margin: 15px auto;
  padding: 10px 15px;
  max-width: 600px;

  /* visual opcional (recomendo) */
  background: #fff3cd;       /* amarelo claro */
  color: #664d03;
  border: 1px solid #ffecb5;
  border-radius: 8px;

  font-weight: 600;
}
.alerta-info {
  max-width: 900px;
  margin: 25px auto;
  padding: 14px 18px;
  background: #eaffea;
  border-left: 6px solid #28a745;
  border-radius: 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: #1b5e20;
}

.alerta-info b {
  color: #0a7a2a;
}
.alerta-final {
  max-width: 900px;
  margin: 30px auto 40px auto;
  padding: 14px 18px;
  background: #eaffea;
  border-left: 6px solid #28a745;
  border-radius: 10px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 500;
  color: #1b5e20;
  line-height: 1.5;
}

.alerta-final b {
  color: #0a7a2a;
}
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.footer {
  background: #dfffe0;
  padding: 15px 10px;
  font-size: 13px;
  border-top: 3px solid #fff;
}
/* Ajustes mobile */
@media (max-width: 768px) {

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 22px;
  }

  .container,
  .box,
  .area-validacao {
    width: 95% !important;
    max-width: 95% !important;
  }

  #reader {
    width: 260px !important;
    height: 260px !important;
  }

  button {
    width: 90%;
    font-size: 16px;
  }
}
/* FUNDO POR STATUS */
.body-ativo {
  background: linear-gradient(180deg, #dfffe0, #b8f5c2);
}

.body-inativo {
  background: linear-gradient(180deg, #ffe0e0, #f5b8b8);
}

/* MENSAGEM DE ALERTA */
.alerta-inativo {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #ffe0e0;
  color: #8b0000;
  font-weight: 700;
  text-align: center;
}
.status {
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
}

.status.ativo {
  background: #d4f8d4;
  color: #0a7a0a;
}

.status.inativo {
  background: #ffe0e0;
  color: #b00000;
}
.btn-voltar-flutuante {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  background: #198754;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.btn-voltar-flutuante:hover {
  background: #146c43;
}
.filtros {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: #d9f4ff;
  padding: 12px;
  border-radius: 14px;
  max-width: 900px;
  margin: 15px auto;
}

.filtros input,
.filtros select {
  height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  min-width: 180px;
}

.filtros button {
  height: 42px;
  padding: 0 22px;
  border-radius: 10px;
  border: none;
  background: #198754;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.filtros button:hover {
  background: #146c43;
}
.container-parceiros {
  margin-top: 1px;
}

.card-parceiro {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-parceiro:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.card-contatos {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.card-contatos img {
  width: 26px;
  height: 26px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.card-contatos img:hover {
  transform: scale(1.15);
  opacity: 0.85;
}
.card-contatos-texto {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-contato {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
  color: #0a3d1c;
  background: #d4f5e2;
  border: 1px solid #a3e6c1;
  transition: 0.2s;
}

.tag-contato:hover {
  background: #a3e6c1;
}

.tag-whatsapp { }
.tag-instagram { }
.tag-site { }
.tag-email { }
.card-status {
  max-width: 420px;
  margin: 30px auto;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-aviso {
  background: #fff3cd;
  border: 2px solid #ffecb5;
}

.card-status .icone {
  font-size: 40px;
  margin-bottom: 10px;
}

.card-status h3 {
  margin: 10px 0;
  color: #664d03;
}

.card-status p {
  font-size: 15px;
  margin-bottom: 20px;
}

.btn-principal {
  background: #198754;
  color: #fff;
  border: none;
  padding: 14px 22px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}

.btn-secundario {
  margin-top: 12px;
  background: transparent;
  border: none;
  color: #0a7a2a;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}
