:root {
    --primary-color: #206b20;
    --primary-dark: #76C876;
    --text-color: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa;
}

/* Top Bar (hidden on mobile) */
.top-bar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 100;
}

.top-bar.hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.top-bar-content {
    padding: 15px 0;
}

.logo {
    max-height: 40px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.contact-info {
    font-size: 0.9rem;
    color: #555;
}

/* Main Navbar */
.main-navbar {
    background-color: var(--primary-color);
    transition: all 0.4s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 101;
}

.main-navbar.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 0;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    margin: 0 5px;
}

.nav-link:hover {
    background-color: var(--primary-dark);
    color: white !important;
}

.nav-link.active {
    background-color: var(--primary-dark);
    color: white !important;
}

.navbar-brand {
    color: white !important;
    font-weight: 700;
    font-size: 1.4rem;
}

/* Hero Section */
.hero-section {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://rh2brasil.com.br/public/assets/img/hero-bg.png') no-repeat center center / cover;

    background-attachment: fixed;
    /* ← FALTANDO */

    color: white;
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 25px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(144, 238, 144, 0.4);
}

.btn-outline-light {
    border-color: white;
    color: white;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Features */
.feature-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    background-color: var(--primary-color);
    color: white;
    font-size: 2rem;
    padding: 25px;
    text-align: center;
}

.feature-content {
    padding: 25px;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: #212529;
    color: #adb5bd;
    padding: 60px 0 20px;
}

.footer-logo {
    max-height: 40px;
    margin-bottom: 20px;
    /* filter: brightness(0) invert(1); */
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #343a40;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 20px;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .top-bar {
        display: none !important;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        background-color: rgba(0, 0, 0, 0.164);
        padding: 10px;
        border-radius: 5px;
    }

    /*  .bg-txt-hero{
    background-color: rgba(0, 0, 0, 0.164);
    padding: 10px;
    border-radius: 5px;
} */

    .btn-primary,
    .btn-outline-light {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* detalhe vaga */
.lista-beneficios {
    list-style: none;
    padding-left: 0;
}

.lista-beneficios li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

/* Accessibility */
.accessibility-btn {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.accessibility-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.accessibility-box {
    position: fixed;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999;
    transition: all 0.3s;
}

.accessibility-box.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(-20px);
}

.accessibility-box h5 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Dark Mode */
body.dark-mode {
    --primary-color: #4a90e2;
    --primary-dark: #357abd;
    --text-color: #e0e0e0;
    background-color: #121212;
    color: var(--text-color);
}

body.dark-mode .top-bar,
body.dark-mode .feature-card,
body.dark-mode .footer {
    background-color: #1e1e1e;
    color: #e0e0e0;
}

body.dark-mode .main-navbar {
    background-color: #1e1e1e;
}

body.dark-mode .hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://rh2brasil.com.br/public/assets/img/hero-bg.png') no-repeat center center / cover;
}

/* High Contrast */
body.high-contrast {
    --primary-color: #000;
    --primary-dark: #333;
    --text-color: #000;
    background-color: #fff;
    color: #000;
}

body.high-contrast * {
    border-color: #000 !important;
}

body.high-contrast .btn {
    border: 2px solid #000 !important;
    color: #000 !important;
}

body.high-contrast .nav-link {
    color: #000 !important;
}

body.high-contrast .main-navbar {
    background-color: #fff;
    border-bottom: 2px solid #000;
}

/* Font Size Adjustments */
body.font-large {
    font-size: 1.2em;
}

body.font-xlarge {
    font-size: 1.4em;
}

/* VLibras Positioning */
div[vwdone] [vw-access-button] {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    left: auto !important;
    top: auto !important;
}