/* ── Tokens de cor ─────────────────────────────────────────── */
:root {
    --primary:    #237a06;
    --primary-dk: #1a5a04;
    --secondary:  #2d9908;
    --gold:       #d97706;
    --light-bg:   #f4fdf0;
    --card-shadow: 0 4px 20px rgba(0,0,0,.08);
    --radius:     14px;
}

/* ── Base ──────────────────────────────────────────────────── */
body {
    background: var(--light-bg);
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ── Navbar ────────────────────────────────────────────────── */
.navbar-natal {
    background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 50%, var(--secondary) 100%);
}
.navbar-natal .navbar-brand {
    font-weight: 700;
    color: #fff !important;
    font-size: 1.15rem;
    letter-spacing: -.3px;
}
.navbar-natal .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-size: .88rem;
}
.navbar-natal .nav-link:hover {
    color: #fff !important;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #1a5a04 0%, #237a06 60%, #2d9908 100%);
    color: #fff;
    padding: 3.5rem 0 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ctext y='40' font-size='36' opacity='.07'%3E❄%3C/text%3E%3C/svg%3E");
    pointer-events: none;
}
.hero h1 { font-weight: 700; font-size: 1.9rem; }
.hero .lead { opacity: .9; font-size: 1rem; }

/* ── Cards de criança ──────────────────────────────────────── */
.crianca-card {
    border: 2px solid transparent;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: transform .2s, border-color .2s, box-shadow .2s;
    background: #fff;
    cursor: pointer;
    height: 100%;
}
.crianca-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 28px rgba(220,38,38,.18);
}
.crianca-emoji {
    font-size: 3.2rem;
    line-height: 1;
    margin-bottom: .35rem;
}
.crianca-nome {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
}
.crianca-genero {
    font-size: .85rem;
    font-weight: 600;
    color: #64748b;
}
.crianca-idade {
    font-size: .82rem;
    color: #94a3b8;
}
.crianca-valor {
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    padding: .25rem .75rem;
    display: inline-block;
    margin-top: .4rem;
}

/* ── Card de detalhes da criança selecionada ───────────────── */
.crianca-selecionada {
    background: linear-gradient(135deg, #f0fdf4, #edfae6);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

/* ── Pagamento radios ──────────────────────────────────────── */
.pagamento-option {
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    background: #fff;
}
.pagamento-option:hover {
    border-color: var(--primary);
    background: #edfae6;
}
.pagamento-option.selected {
    border-color: var(--primary);
    background: #edfae6;
}
.pagamento-option .badge-mp {
    background: #009ee3;
    color: #fff;
    border-radius: 4px;
    font-size: .72rem;
    padding: .2rem .5rem;
    font-weight: 700;
}

/* ── Formulário ────────────────────────────────────────────── */
.form-label { font-weight: 600; font-size: .88rem; color: #374151; }
.form-section-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: .35rem;
    margin-bottom: 1rem;
}

/* ── Success page ──────────────────────────────────────────── */
.success-card {
    max-width: 640px;
    margin: 0 auto;
    border-radius: var(--radius);
    border: none;
    box-shadow: 0 8px 40px rgba(0,0,0,.10);
}
.success-icon { font-size: 4rem; line-height: 1; }

/* ── Info blocks ───────────────────────────────────────────── */
.info-block {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem 1.2rem;
}
.info-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
}
.info-label  { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #64748b; }
.info-value  { font-size: 1rem; font-weight: 700; color: #1e293b; }
.info-sub    { font-size: .85rem; color: #64748b; }

/* ── WhatsApp ──────────────────────────────────────────────── */
.btn-whatsapp {
    background: #25d366;
    color: #fff !important;
    border-radius: 50px;
    font-size: .86rem;
    font-weight: 700;
    padding: .5rem 1.4rem;
    border: none;
    display: inline-flex; align-items: center; gap: .4rem;
    text-decoration: none;
    transition: background .2s;
}
.btn-whatsapp:hover { background: #128c4e; }

/* ── Admin ─────────────────────────────────────────────────── */
.sidebar-nav .nav-link {
    color: #374151;
    border-radius: 8px;
    padding: .55rem .9rem;
    font-size: .9rem;
    transition: background .15s;
}
.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active { background: #edfae6; color: var(--primary); }

.admin-header {
    background: linear-gradient(135deg, var(--primary-dk), var(--primary));
    color: #fff;
}

/* ── Badges ────────────────────────────────────────────────── */
.badge { font-weight: 600; }

/* ── Footer ────────────────────────────────────────────────── */
footer { font-size: .8rem; color: #94a3b8; }

/* ── Snowflake decorations ─────────────────────────────────── */
@keyframes snowfall {
    0%   { transform: translateY(-10px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}
