* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Baloo 2', cursive;
    min-height: 100vh;
    background: linear-gradient(-45deg, #51C3D0, #FEC43C, #F58220, #A4CE39, #51C3D0);
    background-size: 500% 500%;
    animation: gradientBG 15s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

@keyframes gradientBG {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 100%;
    max-width: 480px;
    animation: fadeIn 1.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* LOGO */
.logo-circle {
    display: inline-block;
    margin-bottom: 20px;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* TEXTO */
h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* BOTÕES PADRÃO (index / obrigado) */
.btn {
    display: inline-block;
    background-color: #F58220;
    color: #fff;
    padding: 10px 22px;
    font-size: 0.95rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    margin-top: 12px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #e76b18;
}

/* BOTÃO DO FORMULÁRIO */
.btn-form {
    display: block;
    width: 100%;
    max-width: 420px;
    background-color: #F58220;
    color: #fff;
    padding: 14px;
    font-size: 1rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

/* FORM */
form {
    width: 100%;
}

input {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
}

input:focus {
    outline: none;
}

/* LGPD + CAPTCHA */
.form-extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.lgpd {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #fff;
    text-align: left;
    max-width: 420px;
}

.lgpd input {
    transform: scale(1.2);
    cursor: pointer;
}

.lgpd-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border-radius: 50%;
    background-color: #FEC43C;
    color: #333;
    font-weight: bold;
    font-size: 0.75rem;
    cursor: pointer;
    position: relative;
}

.lgpd-info::after {
    content: "Usamos seus dados apenas para entrar em contato sobre a KidSpeak. Eles não são compartilhados com terceiros.";
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    padding: 10px;
    border-radius: 10px;
    width: 220px;
    font-size: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 10;
}

.lgpd-info:hover::after {
    opacity: 1;
}

.captcha {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* MOBILE */
@media (max-width: 480px) {
    h1 { font-size: 1.6rem; }
    p  { font-size: 1rem; }
    .logo { max-width: 140px; }
}

/* LGPD - checkbox customizado */
.lgpd-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    max-width: 420px;
    margin: 10px auto 0;
    font-size: 0.9rem;
    color: #fff;
    text-align: left;
}

/* Esconde o checkbox padrão */
.lgpd-check input {
    display: none;
}

/* Caixa do checkbox */
.checkmark {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #fff;
    border: 2px solid #FEC43C;
    position: relative;
    flex-shrink: 0;
}

/* Check ✓ */
.lgpd-check input:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    color: #F58220;
    font-size: 14px;
    font-weight: bold;
}

/* Texto LGPD */
.lgpd-text {
    line-height: 1.4;
}

/* Ícone ? */
.lgpd-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border-radius: 50%;
    background-color: #FEC43C;
    color: #333;
    font-weight: bold;
    font-size: 0.7rem;
    cursor: pointer;
    position: relative;
}

/* Status dos boletos */
.status-pago {
  color: #00ff7f; /* verde */
  font-weight: 900;
}

.status-vencido {
  color: #ff3b30; /* vermelho */
  font-weight: 900;
}

.status-aberto {
  color: #ffd60a; /* amarelo */
  font-weight: 900;
}

.status-outro {
  color: #ffffff;
  font-weight: 900;
}

/* ===== Status (texto) ===== */
.status-pago {
  color: #00ff7f;
  font-weight: 900;
}
.status-vencido {
  color: #ff3b30;
  font-weight: 900;
}
.status-aberto {
  color: #ffd60a;
  font-weight: 900;
}
.status-outro {
  color: #ffffff;
  font-weight: 900;
}

/* ===== Card com borda por status ===== */
.card-boleto {
  background: #ffffff22;
  border: 2px solid #ffffff33;
  border-radius: 16px;
  padding: 12px;
  margin: 10px 0;
}

.card-boleto.pago {
  border-color: rgba(0, 255, 127, 0.75);
}

.card-boleto.vencido {
  border-color: rgba(255, 59, 48, 0.8);
}

.card-boleto.aberto {
  border-color: rgba(255, 214, 10, 0.85);
}
