/* ============================================================
   Empregos Para Todos - EXCELLENCE DESIGN SYSTEM (v2.0)
   Focused on Depth, Motion, and Clarity
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* --- Palette Refinement --- */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-glow: rgba(79, 70, 229, 0.35);
    --primary-soft: rgba(79, 70, 229, 0.06);

    --secondary: #ec4899;
    --accent: #6366f1;
    /* Indigo for gradients */

    --warning: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;

    /* --- Neutral Scales --- */
    --bg-main: #f8fafc;
    --bg-alt: #f1f5f9;
    --surface: #ffffff;
    --surface-dark: #0f172a;

    /* --- Text Tokens --- */
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --text-on-dark: #f8fafc;

    /* --- Geometry & Spacing --- */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 32px;
    --radius-pill: 100px;

    /* --- High Precision Shadows --- */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 24px -6px rgba(0, 0, 0, 0.04), 0 4px 12px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    --shadow-primary: 0 10px 20px -5px var(--primary-glow);

    /* --- Animation --- */
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition: all 0.4s var(--ease-out);
}

/* 1. Global Reset & Performance */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.625;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

/* 2. Navbar - High Transparency Glass */
.navbar {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 1rem 0;
    transition: var(--transition);
    z-index: 99;
}

.navbar-brand span {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-brand img {
    width: 180px;
}

.navbar .nav-link {
    font-weight: 600;
    color: var(--text-muted) !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.navbar .nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-soft);
    transform: translateY(-1px);
}

/* 3. Hero - Deep Field Gradient */
.hero-section {
    background:
        radial-gradient(circle at 20% 30%, rgba(78, 223, 252, 0.749) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgb(134 227 148) 0%, transparent 40%), #0360ad;
    padding: 6rem 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    position: relative;
    overflow: hidden;
}

/* 4. Cards - Tactile Depth */
.card {
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.job-card {
    border-left: 5px solid transparent !important;
}

.job-card:hover {
    border-left-color: var(--primary) !important;
}

/* 5. Typography Refinement */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.badge {
    padding: 0.65em 1.25em;
    font-weight: 700;
    border-radius: var(--radius-pill);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.62rem;
    border: 1px solid transparent;
}

.bg-soft-primary {
    background: var(--primary-soft) !important;
    color: var(--primary) !important;
    border-color: rgba(79, 70, 229, 0.1);
}

/* 6. Buttons - Skeuomorphic Softness */
.btn {
    font-weight: 700;
    border-radius: var(--radius-pill);
    padding: 0.85rem 2.2rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    box-shadow: var(--shadow-primary);
    border: none;
    justify-content: center;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.btn-success,
.btn-link,
.btn-warning,
.btn-light {
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-donate {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
}

.btn-donate:hover {
    background: var(--surface);
    color: var(--primary);
    transform: rotate(-1deg) scale(1.05);
}

/* 7. Forms - Modern Focus States */
.form-control,
.form-select {
    background-color: var(--bg-alt);
    border: 2px solid transparent;
    padding: 0.9rem 1.4rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.form-control:focus {
    background-color: var(--surface);
    border-color: var(--primary);
    box-shadow: 0 0 0 5px var(--primary-soft);
    transform: translateY(-1px);
}

/* 8. Radio/Checkbox Custom Look */
.form-check-input {
    width: 1.4em;
    height: 1.4em;
    border: 2px solid var(--text-light);
    margin-top: 0.15em;
    transition: var(--transition);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
    filter: drop-shadow(0 4px 6px var(--primary-glow));
}

/* 9. Footer - Elegant Slate */
.footer-premium {
    background: var(--surface-dark);
    color: var(--text-light);
    padding: 5rem 0 3rem;
    position: relative;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-links a:hover {
    color: var(--warning);
    padding-left: 10px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    color: var(--text-on-dark);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px) rotate(8deg);
}

/* 10. Motion - High End Physics */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.1);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.15);
    }

    70% {
        transform: scale(1);
    }
}

.mascot img {
    width: 400px;
    margin-top: -120px;
}

.pulse {
    animation: heartBeat 2.5s infinite var(--ease-in-out);
}

/* 11. Pagination - Organic Shapes */
.page-link {
    border-radius: 14px !important;
    margin: 0 5px;
    border: none;
    background: var(--bg-alt);
    color: var(--text-muted);
    font-weight: 700;
    transition: var(--transition);
}

.page-item.active .page-link {
    background: var(--primary);
    box-shadow: var(--shadow-primary);
    transform: scale(1.1);
}
 
/* Responsive Logic */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1rem;
    }

    .card {
        margin-left: 10px;
        margin-right: 10px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .mascot {
        width: 100%;
    }

    .mascot img {
        width: 100%;
        margin-top: 0;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Utilitários extras de alto nível */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.footer-premium {
    background-color: #12141d;
    /* Tom escuro e moderno */
    color: #a0a5ba;
    /* Texto suave para contraste agradável */
}

.footer-premium .navbar-brand {
    transition: opacity 0.3s ease;
}

.footer-premium .navbar-brand:hover {
    opacity: 0.8;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ícones Sociais Modernos */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #ffc107;
    /* Cor de aviso/warning do Bootstrap */
    color: #12141d;
    transform: translateY(-3px);
    /* Efeito de flutuação */
}

/* Links do Footer com animação */
.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #a0a5ba;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
    /* Desliza levemente para a direita */
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Links Legais */
.footer-legal-links a {
    color: #a0a5ba;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #ffc107;
}

/* Input da Newsletter */
.newsletter-input:focus {
    box-shadow: none;
    border-color: #ffc107;
}