/* =====================================================
   Módulo Indique e Ganhe — FACET26
   Paleta: reutiliza variáveis do tema quando disponíveis
   ===================================================== */

:root {
  --ind-azul:      #0a18d6;
  --ind-azul-deep: #0712a8;
  --ind-amarelo:   #ffc400;
  --ind-amarelo-h: #e6b000;
  --ind-branco:    #ffffff;
  --ind-cinza:     #f3f4f7;
  --ind-borda:     #d0d9e8;
  --ind-texto:     #0c1023;
}

/* ── Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html.ind-page,
body.ind-page {
  background: linear-gradient(150deg, var(--ind-azul) 0%, var(--ind-azul-deep) 55%, #050d80 100%);
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', 'Poppins', system-ui, sans-serif;
}

/* Remove estilos do tema FACET26 que colidiriam */
body.ind-page .facet-footer,
body.ind-page #mainNav,
body.ind-page #topbar,
body.ind-page .wa-float,
body.ind-page #toTop,
body.ind-page .cookie-bar { display: none !important; }

/* ── Wrapper centralizado ────────────────────────────── */
.ind-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding: 24px 16px;
}

/* ── Card ────────────────────────────────────────────── */
#ind-card {
  background: var(--ind-branco);
  border-radius: 18px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 28px 72px rgba(5, 13, 128, 0.55);
  overflow: hidden;
  text-align: center;
}

/* ── Header do card ──────────────────────────────────── */
.ind-card-header {
  background: var(--ind-azul);
  padding: 28px 24px 20px;
  text-align: center;
}

.ind-logo {
  max-width: 200px;
  width: 65%;
  margin-bottom: 6px;
}

.ind-marca {
  font-size: 22px;
  font-weight: 800;
  color: var(--ind-amarelo);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.ind-subtitulo {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  margin: 4px 0 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── Body do card ────────────────────────────────────── */
.ind-card-body {
  padding: 28px 28px 8px;
  color: var(--ind-texto);
}

/* ── Tipografia ──────────────────────────────────────── */
.ind-destaque {
  font-size: 18px;
  font-weight: 700;
  color: var(--ind-azul);
  margin: 0 0 8px;
  line-height: 1.35;
}

.ind-sub {
  font-size: 13px;
  color: #555;
  margin: 0 0 20px;
  font-weight: 400;
  line-height: 1.65;
}

.ind-aviso {
  color: #aaa;
  font-size: 11px;
  margin: 4px 8px 20px;
  line-height: 1.5;
}

/* ── Badge PIX ───────────────────────────────────────── */
.ind-pix-badge {
  display: inline-block;
  background: var(--ind-amarelo);
  color: var(--ind-azul);
  font-weight: 800;
  font-size: 22px;
  border-radius: 50px;
  padding: 6px 24px;
  margin: 6px 0 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(255, 196, 0, 0.45);
}

/* ── Caixa de indicações ─────────────────────────────── */
.ind-contador {
  background: var(--ind-cinza);
  border: 2px solid var(--ind-borda);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 16px;
  text-align: center;
}

.ind-contador .numero {
  font-size: 48px;
  font-weight: 800;
  color: var(--ind-azul);
  line-height: 1;
}

.ind-contador .rotulo {
  font-size: 11px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ── Bloco PIX potencial ─────────────────────────────── */
.ind-pix-potencial {
  background: linear-gradient(135deg, var(--ind-azul), var(--ind-azul-deep));
  color: var(--ind-branco);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.6;
}

.ind-pix-potencial strong {
  color: var(--ind-amarelo);
  font-size: 22px;
  display: block;
}

/* ── Inputs ──────────────────────────────────────────── */
.ind-card-body input[type="text"],
.ind-card-body input[type="tel"],
.ind-card-body input[type="email"] {
  background: var(--ind-cinza);
  border: 2px solid var(--ind-borda);
  color: var(--ind-texto);
  padding: 13px 16px;
  display: block;
  font-size: 15px;
  font-family: inherit;
  margin: 0 auto 12px;
  width: 100%;
  border-radius: 10px;
  transition: border-color 0.25s, background 0.25s;
  text-align: left;
}

.ind-card-body input:focus {
  background: var(--ind-branco);
  border-color: var(--ind-azul);
  outline: none;
}

.ind-card-body input::placeholder { color: #bbb; }

/* ── Aviso de indicação duplicada ────────────────────── */
.ind-dup-aviso {
  background: #fff7ed;
  border: 1.5px solid #fdba74;
  border-radius: 10px;
  color: #c2410c;
  font-size: .84rem;
  font-weight: 600;
  padding: 11px 14px;
  margin: -4px 0 12px;
  line-height: 1.4;
}

/* ── Select de cidade ────────────────────────────────── */
.ind-select {
  background: var(--ind-cinza)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230a18d6' d='M6 8L0 0h12z'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  border: 2px solid var(--ind-borda);
  color: var(--ind-texto);
  padding: 13px 40px 13px 16px;
  display: block;
  font-size: 15px;
  font-family: inherit;
  margin: 0 auto 12px;
  width: 100%;
  border-radius: 10px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.25s;
}

.ind-select:focus {
  border-color: var(--ind-azul);
  outline: none;
}

/* ── Botão submit ────────────────────────────────────── */
.ind-btn {
  background: var(--ind-amarelo);
  color: var(--ind-azul);
  width: 100%;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 20px;
  border-radius: 10px;
  margin: 8px 0 24px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 196, 0, 0.5);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: block;
  text-decoration: none;
}

.ind-btn:hover {
  background: var(--ind-amarelo-h);
  box-shadow: 0 8px 28px rgba(255, 196, 0, 0.65);
  color: var(--ind-azul);
}

.ind-btn:active { transform: scale(0.97); }

.ind-btn:disabled {
  background: #d8d8d8;
  color: #999;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ── Separador ───────────────────────────────────────── */
.ind-divider {
  border: none;
  border-top: 1px solid var(--ind-borda);
  margin: 4px 0 18px;
}

/* ── Footer do card ──────────────────────────────────── */
#ind-card-footer {
  background: var(--ind-azul);
  padding: 12px 24px;
  text-align: center;
  border-top: 3px solid var(--ind-amarelo);
  font-size: 12px;
}

#ind-card-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

#ind-card-footer a:hover { color: var(--ind-amarelo); }

#ind-card-footer span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

/* ── Animações ───────────────────────────────────────── */
@keyframes fadeInDown {
  0%   { opacity: 0; transform: translateY(-32px); }
  100% { opacity: 1; transform: translateY(0); }
}

.fadeInDown { animation: fadeInDown 0.6s ease both; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.fadeIn {
  opacity: 0;
  animation: fadeIn ease-in 1 forwards 0.7s;
}

.fadeIn.d1 { animation-delay: 0.15s; }
.fadeIn.d2 { animation-delay: 0.30s; }
.fadeIn.d3 { animation-delay: 0.45s; }
.fadeIn.d4 { animation-delay: 0.60s; }

/* ── Regulamento ─────────────────────────────────────── */
.ind-reg-corpo {
  font-size: 14px;
  color: #333;
  line-height: 1.7;
  text-align: left;
}

.ind-reg-secao {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ind-borda);
}

.ind-reg-secao:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.ind-reg-secao h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ind-azul);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 8px;
}

.ind-reg-secao p { margin: 0 0 6px; }

.ind-reg-secao ul {
  margin: 4px 0 6px 18px;
  padding: 0;
}

.ind-reg-secao ul li { margin-bottom: 4px; }

.ind-destaque-secao {
  background: linear-gradient(135deg, #f0f5ff, #e8f0ff);
  border: 1px solid #c0d0f0;
  border-radius: 10px;
  padding: 14px 16px !important;
  border-bottom: 1px solid #c0d0f0 !important;
}

/* ── Responsivo ──────────────────────────────────────── */
@media (max-width: 480px) {
  #ind-card { border-radius: 12px; }
  .ind-card-body { padding: 20px 16px 6px; }
  .ind-card-header { padding: 22px 16px 16px; }
  .ind-destaque { font-size: 16px; }
  .ind-btn { font-size: 15px; padding: 14px; }
}
