/* ==========================================================================
   Design System & Variáveis (Obrigatório)
   ========================================================================== */
:root {
    /* Cores Primárias */
    --b2up-navy: #161538;
    --b2up-yellow: #FECC00;
    --b2up-blue: #4440FE;
    --b2up-text-muted: #777793;
    --b2up-ice: #F4F7FB;
    --b2up-white: #FFFFFF;

    /* Tipografia via Google Fonts */
    --font-headline: 'Outfit', sans-serif;
    --font-body: 'Jost', sans-serif;

    /* UI Elements */
    --border-radius: 6px;
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Reset & Global Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--b2up-navy);
    line-height: 1.6;
    background-color: var(--b2up-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headline);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.bg-dark {
    background-color: var(--b2up-navy);
    color: var(--b2up-white);
}

.bg-light {
    background-color: var(--b2up-ice);
    color: var(--b2up-navy);
}

.text-navy {
    color: var(--b2up-navy);
}

.text-white {
    color: var(--b2up-white);
}

section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--b2up-text-muted);
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-body);
}

.bg-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headline);
    font-size: 10pt;
    /* Configuração solicitada de 10pt/14px */
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--b2up-yellow);
    color: var(--b2up-navy);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(254, 204, 0, 0.35);
    /* Leve sombra amarela */
}

.btn-outline {
    background-color: transparent;
    color: var(--b2up-yellow);
    border: 2px solid var(--b2up-yellow);
}

.btn-outline:hover {
    background-color: var(--b2up-yellow);
    color: var(--b2up-navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(254, 204, 0, 0.35);
}

/* ==========================================================================
   1. Navbar
   ========================================================================== */
.navbar {
    background-color: var(--b2up-navy);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--b2up-white);
    letter-spacing: 1px;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--b2up-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:not(.btn):hover {
    color: var(--b2up-yellow);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px !important;
    /* Tamanho fixo para não estourar */
    height: 4px;
    background-color: var(--b2up-white);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: left center;
}

/* Mobile Nav Active */
.nav-links.active {
    padding: 100px 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--b2up-navy);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    align-items: flex-start;
}

@keyframes pulse {
    0% { background-color: rgba(238, 238, 238, 0.5); }
    50% { background-color: rgba(238, 238, 238, 0.9); }
    100% { background-color: rgba(238, 238, 238, 0.5); }
}

.b2up-skeleton-card {
    height: 100%;
    width: 100%;
    background: #eee;
    border-radius: 8px;
    animation: pulse 1.5s infinite;
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
        width: 25px !important;
        height: 3px !important;
    }

    .nav-links {
        display: flex;
    }
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Imagem corporativa genérica com overlay gradient */
    background: linear-gradient(135deg, rgba(22, 21, 56, 0.92) 0%, rgba(22, 21, 56, 0.75) 100%),
        url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 4rem;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--b2up-white);
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   3. Quem Somos (Nova Estrutura)
   ========================================================================== */
.b2up-section {
    padding: 6rem 0;
}

.b2up-bg-ice {
    background-color: var(--b2up-ice);
    color: var(--b2up-navy);
}

.b2up-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.b2up-section-title {
    font-size: 2.25rem;
    margin-bottom: 3.5rem;
    text-align: center;
}

.b2up-text-center {
    text-align: center;
}



.b2up-about-text p {
    margin-bottom: 1.25rem;
    color: var(--b2up-text-muted);
}

.b2up-lead-text {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--b2up-navy) !important;
}

.b2up-hidden-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

.b2up-hidden-content.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1.25rem;
}

.b2up-btn-text {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--b2up-yellow);
    font-family: var(--font-headline);
    font-weight: 700;
    color: var(--b2up-navy);
    cursor: pointer;
    font-size: 1rem;
    padding-bottom: 2px;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.b2up-btn-text:hover {
    color: var(--b2up-blue);
    border-color: var(--b2up-blue);
}

/* =========================================
   REFINAMENTO: QUEM SOMOS (GRID, STICKY & FLOAT)
   ========================================= */

/* Grid Principal da Seção */
.b2up-about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Coluna do texto é mais larga */
    gap: 60px;
    align-items: center;
    /* Centraliza verticalmente em relação ao texto */
}

/* Container da Direita - COMPORTAMENTO STICKY */
.b2up-about-branding {
    position: sticky;
    top: calc(50vh - 150px);
    /* Mantém fixo próximo ao centro da tela ao rolar */
    z-index: 10;
}

/* O CARD DE DESTAQUE - ESTILO E ANIMAÇÃO FLOAT */
.b2up-brand-card {
    background: var(--b2up-white);
    padding: 48px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(22, 21, 56, 0.05);
    /* Sombra suave Navy */
    text-align: left;

    /* Aplicação da Animação de Flutuação */
    animation: b2upFloat 6s ease-in-out infinite;
}

.b2up-brand-card h3 {
    font-size: 20pt;
    color: var(--b2up-navy);
    margin-bottom: 20px;
}

.b2up-brand-card ul {
    list-style: none;
    /* Remove marcadores padrão */
    padding: 0;
    margin: 0;
}

.b2up-brand-card ul li {
    font-size: 14pt;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    color: var(--b2up-text-muted);
}

/* Opcional: Adicionar um pequeno bullet customizado */
.b2up-brand-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--b2up-yellow);
    font-weight: 700;
}

/* =========================================
   DEFINIÇÃO DA ANIMAÇÃO DE FLUTUAÇÃO (KEYFRAMES)
   ========================================= */
@keyframes b2upFloat {
    0% {
        transform: translateY(0px);
        box-shadow: 0 15px 35px rgba(22, 21, 56, 0.05);
    }

    50% {
        transform: translateY(-10px);
        /* Sobe sutilmente 10px */
        box-shadow: 0 25px 50px rgba(22, 21, 56, 0.1);
        /* Sombra aumenta ao subir */
    }

    100% {
        transform: translateY(0px);
        box-shadow: 0 15px 35px rgba(22, 21, 56, 0.05);
    }
}

/* Responsividade Mobile */
@media (max-width: 992px) {
    .b2up-about-grid {
        grid-template-columns: 1fr;
        /* Empilha no celular/tablet */
        gap: 40px;
    }

    .b2up-about-branding {
        position: static;
        /* Remove o Sticky no mobile */
    }

    .b2up-brand-card {
        padding: 32px;
        animation: none;
        /* Opcional: Desliga animação no mobile para performance */
    }
}

.b2up-text-yellow {
    color: var(--b2up-yellow);
    font-size: 1.1em;
}

/* ==========================================================================
   4. Nossos Serviços
   ========================================================================== */
.b2up-bg-navy {
    background-color: var(--b2up-navy);
}

.b2up-text-white {
    color: var(--b2up-white);
}

.b2up-subtitle-max {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
}

.b2up-services-grid {
    display: grid;
    /* Grid moderno, auto-fit em min 320px */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.b2up-service-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.b2up-service-card:hover,
.b2up-service-card.active {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--b2up-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.b2up-service-icon {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(254, 204, 0, 0.15);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    line-height: 1;
    transition: var(--transition);
}

.b2up-service-card:hover .b2up-service-icon,
.b2up-service-card.active .b2up-service-icon {
    color: rgba(254, 204, 0, 0.3);
}

.b2up-service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--b2up-white);
    padding-right: 3.5rem;
    line-height: 1.3;
}

.b2up-service-summary p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.b2up-service-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.b2up-service-card.active .b2up-service-details {
    max-height: 1000px;
    opacity: 1;
    margin-bottom: 1.5rem;
}

.b2up-service-details p {
    color: var(--b2up-white);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.b2up-service-details ul {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.b2up-service-details li {
    margin-bottom: 0.6rem;
    list-style-type: square;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.b2up-service-details li::marker {
    color: var(--b2up-yellow);
}

.b2up-service-goal {
    font-size: 0.95rem !important;
    background-color: rgba(68, 64, 254, 0.2);
    padding: 1rem;
    border-radius: 4px;
    border-left: 3px solid var(--b2up-blue);
    margin-top: 1rem;
}

.b2up-service-goal strong {
    color: var(--b2up-yellow);
}

.b2up-btn-expand {
    background: transparent;
    border: none;
    color: var(--b2up-yellow);
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin-top: auto;
    /* Empurra para o fundo do card flex */
    transition: var(--transition);
}

.b2up-btn-expand span {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease;
}

.b2up-service-card.active .b2up-btn-expand span {
    transform: rotate(45deg);
    /* Altera o + para x quando aberto */
}

.b2up-service-card:hover .b2up-btn-expand {
    color: var(--b2up-white);
}

.b2up-service-card:hover .b2up-btn-expand span {
    color: var(--b2up-yellow);
}

/* ==========================================================================
   5. Blog & Vagas
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Artigos (Blog) */
.article-card {
    background-color: var(--b2up-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.card-img-placeholder {
    height: 220px;
    background-color: #E2E8F0;
    width: 100%;
}

.card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-tag {
    font-size: 0.8rem;
    font-family: var(--font-headline);
    color: var(--b2up-blue);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.article-card h4 {
    font-size: 1.25rem;
    color: var(--b2up-navy);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-card p {
    color: var(--b2up-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    font-weight: 600;
    color: var(--b2up-blue);
    font-size: 0.95rem;
    align-self: flex-start;
}

.read-more:hover {
    color: var(--b2up-navy);
}

/* Vagas */
.job-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    border-color: var(--b2up-yellow);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.job-type {
    font-size: 0.85rem;
    font-family: var(--font-headline);
    background-color: rgba(254, 204, 0, 0.15);
    color: var(--b2up-yellow);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    align-self: flex-start;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.job-card h4 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--b2up-white);
}

.job-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.job-card .btn {
    margin-top: auto;
    width: 100%;
}

/* ==========================================================================
   6. Fale Conosco
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1.2fr;
        align-items: center;
        gap: 5rem;
    }
}

.contact-info .section-title {
    text-align: left;
}

.contact-info p {
    color: var(--b2up-text-muted);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.contact-form-container {
    perspective: 1000px;
}

.contact-form {
    background-color: var(--b2up-white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(22, 21, 56, 0.05);
    border: 1px solid rgba(22, 21, 56, 0.05);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--b2up-navy);
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--b2up-navy);
    transition: var(--transition);
    background-color: rgba(244, 247, 251, 0.5);
    /* slightly colored input backgrounds */
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--b2up-blue);
    background-color: var(--b2up-white);
    box-shadow: 0 0 0 3px rgba(68, 64, 254, 0.1);
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.footer {
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 576px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr 1fr;
    }
}

.footer-col h4 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--b2up-yellow);
}

.footer-logo {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--b2up-white);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 280px;
    line-height: 1.5;
}

.footer-col ul li {
    margin-bottom: 0.85rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.footer-col a:hover {
    color: var(--b2up-yellow);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    font-weight: 700;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--b2up-yellow);
    color: var(--b2up-navy);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   PÁGINAS INTERNAS (VAGAS & BLOG)
   ========================================================================== */

/* Hero Interno */
.b2up-hero-internal {
    padding: 140px 0 80px 0;
    /* Menor que a Home, leva em conta a altura fixa do header */
}

.b2up-hero-title {
    font-family: var(--font-headline);
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.b2up-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

/* Grid de Vagas */
.b2up-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.b2up-job-card {
    background-color: var(--b2up-white);
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: 0 10px 30px rgba(22, 21, 56, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.b2up-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(22, 21, 56, 0.1);
}

.b2up-job-content {
    margin-bottom: 30px;
}

.b2up-job-title {
    font-family: var(--font-headline);
    font-size: 1.6rem;
    color: var(--b2up-navy);
    margin-bottom: 10px;
}

.b2up-job-meta {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--b2up-text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.b2up-job-desc {
    color: var(--b2up-text-muted);
    font-family: var(--font-body);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Limita a 2 linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.b2up-job-btn {
    align-self: flex-start;
}

/* Grid do Blog */
.b2up-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 992px) {
    .b2up-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .b2up-blog-grid {
        grid-template-columns: 1fr;
    }
}

.b2up-blog-card {
    background-color: var(--b2up-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(22, 21, 56, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.b2up-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(22, 21, 56, 0.1);
}

.b2up-blog-img-placeholder {
    width: 100%;
    height: 220px;
    background-color: rgba(22, 21, 56, 0.05);
    /* Cinza escuro/muted */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.b2up-blog-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.b2up-blog-tag {
    color: var(--b2up-navy);
    background-color: var(--b2up-yellow);
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.b2up-blog-title {
    font-family: var(--font-headline);
    font-size: 1.4rem;
    color: var(--b2up-navy);
    margin-bottom: 15px;
    line-height: 1.4;
}

.b2up-blog-desc {
    color: var(--b2up-text-muted);
    font-family: var(--font-body);
    line-height: 1.6;
    margin-bottom: 25px;
}

.b2up-blog-link {
    font-family: var(--font-body);
    color: var(--b2up-navy);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    /* Empurra pro fundo */
    transition: var(--transition);
}

.b2up-blog-link:hover {
    color: var(--b2up-blue);
    text-decoration: underline;
}

/* Informações de Contato Interna */
.contact-channels-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.contact-channels-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    color: var(--b2up-navy);
    font-size: 1.05rem;
    font-family: var(--font-body);
}

.contact-channels-list li span:first-child {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--b2up-text-muted);
}

.contact-channels-list li>div>span:last-child {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--b2up-navy);
}

.contact-channels-list a {
    color: var(--b2up-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: var(--transition);
}

.contact-channels-list a:hover {
    color: var(--b2up-blue);
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: var(--b2up-white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(22, 21, 56, 0.05);
    color: var(--b2up-yellow);
    flex-shrink: 0;
}

.contact-icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* =========================================
   MODAL DE CANDIDATURA
   ========================================= */
.b2up-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 21, 56, 0.85);
    /* Navy transparente escuro */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.b2up-modal.active {
    opacity: 1;
    visibility: visible;
}

.b2up-modal-content {
    background-color: var(--b2up-white);
    padding: 40px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
    max-height: 90vh;
    overflow-y: auto;
}

.b2up-modal.active .b2up-modal-content {
    transform: translateY(0);
}

.b2up-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--b2up-text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.b2up-modal-close:hover {
    color: var(--b2up-navy);
}

.b2up-modal-header {
    margin-bottom: 25px;
    text-align: center;
}

.b2up-modal-title {
    font-family: var(--font-headline);
    color: var(--b2up-navy);
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.b2up-modal-subtitle {
    font-family: var(--font-body);
    color: var(--b2up-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   TOAST NOTIFICATIONS (B2UP FEEDBACK)
========================================= */
.b2up-toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--b2up-white, #FFFFFF);
    box-shadow: 0 15px 35px rgba(22, 21, 56, 0.15);
    /* Sombra elegante B2UP */
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    padding: 20px;
    width: 350px;
    max-width: calc(100vw - 40px);
    z-index: 9999;
    transform: translateX(150%);
    /* Escondido fora da tela */
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-left: 6px solid transparent;
    /* Linha lateral que muda de cor */
}

.b2up-toast-container.show {
    transform: translateX(0);
    opacity: 1;
}

.b2up-hidden {
    display: none !important;
}

.b2up-toast-content {
    flex-grow: 1;
    margin-left: 15px;
}

.b2up-toast-content h4 {
    font-family: var(--font-headline, 'Outfit', sans-serif);
    color: var(--b2up-navy, #161538);
    font-size: 18px;
    margin: 0 0 5px 0;
}

.b2up-toast-content p {
    font-family: var(--font-body, 'Jost', sans-serif);
    color: var(--b2up-text-muted, #777793);
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

#b2up-toast-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    line-height: 1;
    transition: color 0.3s;
}

#b2up-toast-close:hover {
    color: var(--b2up-navy, #161538);
}

/* Modificadores de Sucesso e Erro */
.b2up-toast-success {
    border-left-color: #28a745;
}

.b2up-toast-success .b2up-toast-icon::before {
    content: '✔️';
    font-size: 22px;
}

.b2up-toast-error {
    border-left-color: var(--b2up-yellow, #FECC00);
}

.b2up-toast-error .b2up-toast-icon::before {
    content: '⚠️';
    font-size: 22px;
}

/* ==========================================================================
   ESTILO DEFINITIVO DOS CARDS DE VAGAS B2UP
   ========================================================================== */
.b2up-vagas-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    padding: 20px 0 !important;
    width: 100% !important;
}

.b2up-card-vaga {
    background-color: #FFFFFF !important;
    /* Força o fundo branco */
    padding: 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    border-top: 5px solid var(--b2up-yellow, #FECC00) !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    height: 100% !important;
}

.b2up-card-vaga:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
}

.b2up-card-vaga .b2up-badge {
    background-color: var(--b2up-yellow, #FECC00) !important;
    color: var(--b2up-navy, #161538) !important;
    font-weight: 800 !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    margin-bottom: 20px !important;
    width: fit-content !important;
}

.b2up-card-vaga h3 {
    color: var(--b2up-navy, #161538) !important;
    /* Título escuro no fundo branco */
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

.b2up-card-vaga .nivel {
    color: var(--b2up-blue, #4440FE) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    margin-bottom: 15px !important;
}

.b2up-card-vaga .descricao {
    color: #555555 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
    flex-grow: 1 !important;
    /* Empurra o botão para o fim do card */
}

.b2up-card-vaga button {
    width: 100% !important;
    padding: 14px !important;
    border: none !important;
    border-radius: 8px !important;
    background-color: var(--b2up-navy, #161538) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    margin-top: auto !important;
}

.b2up-card-vaga button:hover {
    background-color: var(--b2up-blue, #4440FE) !important;
}

/* ==========================================================================
   LOGIN DO PAINEL ADMINISTRATIVO
   ========================================================================== */
.b2up-login-body {
    background-color: var(--b2up-ice, #F4F7FB);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

.b2up-login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.b2up-login-card {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(22, 21, 56, 0.1);
}

.b2up-login-header {
    text-align: center;
    margin-bottom: 30px;
}

.b2up-login-header h2 {
    font-family: var(--font-headline);
    color: var(--b2up-yellow);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.b2up-login-header h3 {
    font-family: var(--font-headline);
    color: var(--b2up-navy);
    font-size: 1.5rem;
    margin-bottom: 0;
}

.b2up-login-form .input-group {
    margin-bottom: 20px;
}

.b2up-login-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--b2up-navy);
    font-weight: 600;
    font-family: var(--font-body);
}

.b2up-login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.b2up-login-form input:focus {
    outline: none;
    border-color: var(--b2up-blue);
}

.b2up-login-form button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: var(--b2up-navy);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.b2up-login-form button:hover {
    background-color: var(--b2up-blue);
    transform: none;
    box-shadow: none;
}

.b2up-login-feedback {
    color: #dc3545;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
}

/* ==========================================================================
   B2UP LOGIN PAGE STYLES (ALTO CONTRASTE)
   ========================================================================== */
.b2up-login-body {
    background-color: var(--b2up-navy, #161538) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.b2up-login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.b2up-login-card {
    background: var(--b2up-white, #FFFFFF) !important;
    padding: 40px;
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
}

.b2up-login-header {
    text-align: center;
    margin-bottom: 30px;
}

.b2up-login-header h2 {
    color: var(--b2up-navy, #161538) !important;
    font-size: 28px;
    margin-bottom: 5px;
}

.b2up-login-header h3 {
    color: var(--b2up-navy, #161538) !important;
    font-size: 16px;
    font-weight: 600 !important;
}

.b2up-login-form .input-group {
    margin-bottom: 20px;
}

.b2up-login-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--b2up-navy, #161538) !important;
    font-weight: 600 !important;
    font-size: 14px;
}

.b2up-login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E2E8F0 !important;
    border-radius: 6px !important;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--b2up-navy, #161538) !important;
    background-color: var(--b2up-white, #FFFFFF) !important;
    transition: var(--transition);
}

.b2up-login-form input:focus {
    outline: none !important;
    border-color: var(--b2up-blue, #4440FE) !important;
    box-shadow: 0 0 0 3px rgba(68, 64, 254, 0.2) !important;
}

.b2up-hidden {
    display: none !important;
}

/* ==========================================================================
   PAINEL ADMINISTRATIVO (DASHBOARD)
   ========================================================================== */
.b2up-admin-body {
    display: flex;
    min-height: 100vh;
    background-color: var(--b2up-ice, #F4F7FB);
    margin: 0;
    overflow-x: hidden;
}

/* --- SIDEBAR --- */
.admin-sidebar {
    width: 260px;
    background-color: var(--b2up-navy, #161538);
    display: flex;
    flex-direction: column;
    color: var(--b2up-white, #FFFFFF);
    flex-shrink: 0;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.admin-logo {
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: 1.5rem;
    padding: 30px 20px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--b2up-yellow, #FECC00);
    text-align: center;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    flex-grow: 1;
}

.admin-nav a {
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    color: var(--b2up-white, #FFFFFF);
    background-color: rgba(255, 255, 255, 0.03);
    border-left-color: var(--b2up-yellow, #FECC00);
}

.admin-nav a.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.admin-nav .btn-logout {
    margin-top: auto;
    color: #ff6b6b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 25px;
}

.admin-nav .btn-logout:hover {
    background-color: rgba(255, 107, 107, 0.05);
    color: #ff4d4d;
    border-left-color: #ff4d4d;
}

/* --- MAIN CONTENT --- */
.admin-main {
    flex-grow: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
}

.admin-header {
    margin-bottom: 40px;
}

.admin-header h1 {
    font-family: var(--font-headline);
    color: var(--b2up-navy, #161538);
    font-size: 2.25rem;
    margin-bottom: 5px;
}

.admin-header p {
    color: var(--b2up-text-muted, #777793);
    font-family: var(--font-body);
    font-size: 1.1rem;
}

.admin-card {
    background: var(--b2up-white, #FFFFFF);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(22, 21, 56, 0.05);
}

.admin-card h2 {
    font-family: var(--font-headline);
    color: var(--b2up-navy, #161538);
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E2E8F0;
}

/* --- FORMS NO PAINEL --- */
.b2up-form-admin .input-group {
    margin-bottom: 25px;
    width: 100%;
}

.b2up-form-admin label {
    display: block;
    margin-bottom: 8px;
    color: var(--b2up-navy, #161538);
    font-weight: 600;
    font-size: 14px;
}

.b2up-form-admin input,
.b2up-form-admin textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--b2up-navy, #161538);
    background-color: #FFFFFF;
    transition: var(--transition);
}

.b2up-form-admin input:focus,
.b2up-form-admin textarea:focus {
    outline: none;
    border-color: var(--b2up-blue, #4440FE);
    box-shadow: 0 0 0 3px rgba(68, 64, 254, 0.15);
}

.b2up-form-admin textarea {
    resize: vertical;
    min-height: 100px;
}

/* Grid Lado a Lado (Desktop) */
.b2up-form-admin .input-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 992px) {
    .b2up-form-admin .input-row {
        flex-direction: row;
        gap: 25px;
    }

    .b2up-form-admin .input-row .input-group {
        flex: 1;
        /* Divide o espaço igualmente na horizontal */
    }
}

.b2up-form-admin button[type="submit"] {
    margin-top: 10px;
}

/* Responsividade Básica da Sidebar (Mobile) */
@media (max-width: 768px) {
    .b2up-admin-body {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
    }

    .admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
    }

    .admin-nav a {
        flex: 1 1 50%;
        text-align: center;
        border-left: none;
        border-bottom: 4px solid transparent;
        padding: 15px;
    }

    .admin-nav a:hover,
    .admin-nav a.active {
        border-left-color: transparent;
        border-bottom-color: var(--b2up-yellow, #FECC00);
    }

    .admin-nav .btn-logout {
        flex: 1 1 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .admin-main {
        padding: 20px;
        height: auto;
    }

    .admin-card {
        padding: 25px;
    }
}

/* ==========================================================================
   ESTILOS DO BLOG DINÂMICO
   ========================================================================== */
.b2up-blog-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    width: 100%;
}

.b2up-blog-card {
    background-color: var(--b2up-white, #FFFFFF) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(22, 21, 56, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.b2up-blog-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(22, 21, 56, 0.1) !important;
}

/* ==========================================================================
   ESTILO DO LOADER (Spinner)
   ========================================================================== */
.b2up-loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 200px;
    grid-column: 1 / -1;
}

.b2up-loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--b2up-ice, #F4F7FB);
    border-bottom-color: var(--b2up-blue, #4440FE);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: b2upRotation 1s linear infinite;
}

@keyframes b2upRotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 1
    }

    50% {
        opacity: 0.5
    }

    100% {
        opacity: 1
    }
}

/* ==========================================================================
   ESTILOS PARA O CONTEÚDO RICH TEXT (TINYMCE) DO BLOG
   ========================================================================== */
.post-conteudo {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--b2up-text-muted);
}

.post-conteudo p {
    margin-bottom: 1.5rem;
}

.post-conteudo h2, 
.post-conteudo h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--b2up-navy);
}

.post-conteudo ul, 
.post-conteudo ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-conteudo img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
}