/* ═══════════════════════════════════════════════════════════
   BATALHA ESPIRITUAL — Design System (BibliaJovem Identity)
   ═══════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
    /* Backgrounds */
    --bg: #0c0f1a;
    --bg-elevated: #131725;
    --bg-card: #181d2f;
    --bg-card-hover: #1e2540;
    --bg-input: #1a1f33;
    --bg-overlay: rgba(12,15,26,0.85);

    /* Borders */
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --border-focus: rgba(240,180,41,0.4);

    /* Text */
    --text: #f0f0f5;
    --text-secondary: #9ca3b4;
    --text-muted: #5f6680;

    /* Accent & Colors */
    --accent: #f0b429;
    --accent-hover: #dda020;
    --accent-soft: rgba(240,180,41,0.1);
    --accent-glow: rgba(240,180,41,0.25);
    --red: #ef4444;
    --red-soft: rgba(239,68,68,0.1);
    --green: #22c55e;
    --green-soft: rgba(34,197,94,0.1);
    --blue: #3b82f6;
    --blue-soft: rgba(59,130,246,0.1);

    /* Spacing & Sizing */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --radius-pill: 50px;
    --max-w: 1080px;
    --max-w-narrow: 680px;

    /* Effects */
    --shadow-card: 0 2px 20px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 60px rgba(240,180,41,0.08);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}
button { cursor: pointer; }

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
.bg-elevated { background: var(--bg-elevated); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.3px;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.1rem; }
p { line-height: 1.65; }

/* ── SECTION HEADER ── */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header .label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

/* ── NAVBAR ── */
.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 14px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-overlay);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.site-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-logo .icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), #e09400);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--bg);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: var(--bg);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
}
.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Mobile nav */
.nav-toggle { display: none; font-size: 1.2rem; color: var(--text); }
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), #e09400);
    color: var(--bg);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(240,180,41,0.3);
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(240,180,41,0.4);
}
.btn-primary.btn-full { width: 100%; }
.btn-primary.btn-lg { padding: 16px 32px; font-size: 1rem; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 14px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
}
.btn-secondary:hover {
    border-color: var(--border-hover);
    color: var(--text);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
}
.btn-ghost:hover { color: var(--accent-hover); }

/* ── BADGES / TAGS ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
}
.badge-accent {
    background: var(--accent-soft);
    border: 1px solid rgba(240,180,41,0.15);
    color: var(--accent);
}
.badge-green {
    background: var(--green-soft);
    color: var(--green);
}
.badge-red {
    background: var(--red-soft);
    color: var(--red);
}
.badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: blink 2s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ── CARDS ── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}
.card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.card-elevated:hover {
    transform: translateY(-3px);
}
.card-accent:hover {
    border-color: rgba(240,180,41,0.2);
}

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text);
    font-size: 0.9rem;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(240,180,41,0.08);
}
.form-control::placeholder { color: var(--text-muted); }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3b4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* ── VERSE BLOCK ── */
.verse-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
}
.verse-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), transparent);
}
.verse-block p {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
}
.verse-block .ref {
    display: block;
    text-align: right;
    font-style: normal;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ── ICON BOX ── */
.icon-box {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.icon-box-red { background: var(--red-soft); color: var(--red); }
.icon-box-green { background: var(--green-soft); color: var(--green); }
.icon-box-blue { background: var(--blue-soft); color: var(--blue); }
.icon-box-accent { background: var(--accent-soft); color: var(--accent); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.animate-fade-up { animation: fadeUp 0.6s ease-out both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* ── FOOTER ── */
.site-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
}
.site-footer .heart { color: var(--red); }
.site-footer a { color: var(--text-secondary); }
.site-footer a:hover { color: var(--accent); }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.78rem; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.glow-text {
    background: linear-gradient(135deg, var(--accent), #ffd97d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: 1fr; }
    section { padding: 60px 0; }
}
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .btn-secondary { display: none; }
}
