        *, *::before, *::after {
            box-sizing: border-box;
        }

        :root {
            --background-color-light: #f4f7f6;
            --text-color-light: #333;
            --header-bg-light: #003c78;
            --header-text-light: #fff;
            --card-bg-light: #ffffff;
            --border-color-light: #e0e0e0;
            --accent-color-light: #003c78; 
            --button-bg-light: #003c78;
            --button-text-light: #fff;
            --link-color-light: #003c78;
            --whatsapp-color: #25D366;
            --modal-overlay-bg: rgba(0, 0, 0, 0.5);
            --modal-bg: #ffffff;
            --sidebar-bg-light: #f8f9fa;
        }

        body.dark-mode {
            --background-color-light: #2d3436;
            --text-color-light: #ecf0f1;
            --header-bg-light: #1c2124;
            --header-text-light: #fff;
            --card-bg-light: #3a4145;
            --border-color-light: #4a5155;
            --accent-color-light: #4A90E2; 
            --button-bg-light: #0056b3;
            --button-text-light: #fff;
            --link-color-light: #4A90E2;
            --whatsapp-color: #25D366;
            --modal-overlay-bg: rgba(0, 0, 0, 0.7);
            --modal-bg: #2d3436;
            --sidebar-bg-light: #343a40;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--background-color-light);
            color: var(--text-color-light);
            line-height: 1.6;
            transition: background-color 0.3s ease, color 0.3s ease;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        header {
            background-color: var(--header-bg-light);
            height: 200px;
            background-image: url('./image/faq_fundo.png');
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            color: var(--header-text-light);
            padding: 1.5rem 1rem;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            display: flex; 
            justify-content: center; 
            align-items: center;
            min-height: 50px;
            position: relative; 
        }

        .aviso {
            background-color: #ffcc00;
            color: #333;
            padding: 10px;
            text-align: center;
            font-weight: bold;
        }

        header h1 {
            margin: 0; 
            font-size: 2.2rem;
            padding: 0 4rem; 
        }


        .hamburger-menu {
            display: none;
            font-size: 2rem;
            color: var(--header-text-light);
            cursor: pointer;
            z-index: 1100;
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
        }
        @media (max-width: 767px) {
            .hamburger-menu {
                display: block;
                font-size: 1.8rem; 
            }
            
        }

    
        .theme-toggle-btn {
            background: none;
            border: none;
            color: var(--header-text-light);
            font-size: 1.8rem; 
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 50%;
            transition: background-color 0.3s ease, color 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute; 
            right: 1rem;
            top: 50%;
            transform: translateY(-50%); 
        }

        .theme-toggle-btn:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        .theme-icon {
            display: none; 
        }

        body.dark-mode .dark-mode-icon {
            display: inline-block; 
        }

        body:not(.dark-mode) .light-mode-icon {
            display: inline-block; 
        }


        @media (max-width: 767px) {
            .theme-toggle-btn {
                font-size: 1.5rem; 
                padding: 0.3rem;
                background-color: transparent; 
                box-shadow: none;
            }
            .theme-toggle-btn:hover {
                background-color: rgba(255, 255, 255, 0.1);
            }
        }

        .main-content-wrapper {
            display: flex;
            flex: 1; 
            padding-top: 1rem; 
        }


        .sidebar {
            width: 325px; 
            background-color: var(--sidebar-bg-light);
            padding: 1rem;
            box-shadow: 2px 0 5px rgba(0,0,0,0.1);
            flex-shrink: 0; 
            transition: transform 0.3s ease-in-out;
            position: sticky;
            top: calc(50px + 1.5rem + 1rem); 
            height: fit-content; 
            max-height: calc(100vh - (50px + 1.5rem + 1rem + 2rem)); 
            overflow-y: auto; 
            z-index: 950; 
            border-radius: 8px;
            margin-left: 1rem; 
        }

        @media (min-width: 768px) {
             .sidebar {
                top: calc(75px + 1rem);
            }
        }
        @media (max-width: 767px) {
            .sidebar {
                position: fixed; 
                top: 0;
                left: 0;
                height: 100vh; 
                width: 70%; 
                transform: translateX(-100%);
                z-index: 1050; 
                box-shadow: none; 
                margin-left: 0;
                border-radius: 0;
            }
            body.sidebar-open .sidebar {
                transform: translateX(0);
            }
            .overlay {
                display: none; 
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.5);
                z-index: 1040; 
            }
            body.sidebar-open .overlay {
                display: block; 
            }
        }

        .sidebar h2 {
            color: var(--accent-color-light);
            margin-top: 0;
            font-size: 1.6rem;
            border-bottom: 2px solid var(--border-color-light);
            padding-bottom: 0.8rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
        }
        .sidebar h2 i {
            margin-right: 0.7rem;
        }

        .sidebar ul {
            list-style: none;
            padding: 0;
        }

        .sidebar ul li {
            margin-bottom: 0.5rem;
        }

        .sidebar ul li a {
            display: flex;
            align-items: center;
            padding: 0.8rem 1rem;
            background-color: var(--background-color-light);
            border-radius: 5px;
            text-decoration: none;
            color: var(--text-color-light);
            transition: background-color 0.2s ease, transform 0.2s ease;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }

        .sidebar ul li a:hover {
            background-color: var(--border-color-light);
            transform: translateX(5px);
        }

        .sidebar ul li a i {
            margin-right: 0.7rem;
            color: var(--accent-color-light);
            font-size: 1.2rem;
        }


        .faq-content {
            flex: 1; 
            max-width: 1000px;
            width: 95%; 
            margin: 0 1rem;
            margin-left: 2rem; 
            margin-right: 1rem;
            box-sizing: border-box;
            padding-bottom: 2rem; 
        }
        @media (max-width: 767px) {
            .faq-content {
                margin: 0 0.5rem;
                width: calc(100% - 1rem);
            }
        }


        #search-container {
            margin-bottom: 1.5rem;
            padding: 0.5rem; 
            background-color: var(--card-bg-light);
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        #searchInput {
            width: 100%; 
            padding: 0.8rem 1rem; 
            border: 1px solid var(--border-color-light);
            border-radius: 5px;
            font-size: 1rem;
            background-color: var(--background-color-light);
            color: var(--text-color-light);
            transition: border-color 0.3s ease;
        }

        #searchInput::placeholder {
            color: var(--text-color-light);
            opacity: 0.7;
        }

        #searchInput:focus {
            outline: none;
            border-color: var(--accent-color-light);
        }

        .faq-section {
            background-color: var(--card-bg-light);
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
            margin-bottom: 2rem;
            padding: 1.5rem;
        }

        .faq-section h2 {
            color: var(--accent-color-light);
            margin-top: 0;
            font-size: 1.8rem;
            border-bottom: 2px solid var(--border-color-light);
            padding-bottom: 0.8rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
        }

        .faq-section h2 i {
            margin-right: 0.8rem;
            font-size: 1.5em;
        }

        .accordion-item {
            border: 1px solid var(--border-color-light);
            border-radius: 5px;
            margin-bottom: 1rem;
            overflow: hidden;
        }

        .accordion-item mark {
        background-color: #f1c40f; /* Um amarelo mais forte */
        color: #000;
        padding: 0 2px;
        border-radius: 3px;
        }

        body.dark-mode .accordion-item mark {
            background-color: #f1c40f; /* O amarelo funciona bem nos dois modos */
            color: #000;
        }

        .accordion-header {
            background-color: var(--background-color-light);
            padding: 1rem 1.5rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: bold;
            color: var(--text-color-light);
            transition: background-color 0.2s ease;
        }

        .accordion-header:hover {
            background-color: var(--border-color-light);
        }

        .accordion-header .icon {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        .accordion-header.active .icon {
            transform: rotate(180deg);
        }

        .accordion-content {
            padding: 0 1.5rem;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out, padding 0.4s ease-out;
            background-color: var(--card-bg-light);
        }

        .accordion-content.open {
            max-height: 2000px; 
            padding: 1rem 1.5rem;
            border-top: 1px solid var(--border-color-light);
        }

        .accordion-content p {
            margin: 0 0 1em 0;
        }

        .accordion-content ul {
            list-style: disc;
            padding-left: 20px;
            margin-bottom: 1em;
        }

        .accordion-content ol {
            list-style: decimal;
            padding-left: 20px;
            margin-bottom: 1em;
        }

        .accordion-content a {
            color: var(--link-color-light);
            text-decoration: none;
        }

        .accordion-content a:hover {
            text-decoration: underline;
        }

        .alert-box {
            background-color: #ffe0b2; 
            color: #e65100; 
            border-left: 5px solid #ff9800; 
            padding: 1rem 1.5rem;
            margin: 1rem 0;
            border-radius: 5px;
            font-weight: bold;
        }

        body.dark-mode .alert-box {
            background-color: #61440a; 
            color: #ffe0b2;
            border-color: #ff9800; 
        }

        footer {
            text-align: center;
            padding: 2rem 1rem;
            margin-top: auto; 
            background-color: var(--header-bg-light);
            color: var(--header-text-light);
            box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
        }

        #whatsappFab {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: var(--whatsapp-color);
            color: var(--button-text-light);
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            font-size: 1.8rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
            z-index: 1000;
        }

        #whatsappFab:hover {
            background-color: var(--accent-color-light);
            transform: scale(1.05);
        }


        .modal {
            display: none; 
            position: fixed; 
            z-index: 1001; 
            left: 0;
            top: 0;
            width: 100%; 
            height: 100%; 
            overflow: auto; 
            background-color: var(--modal-overlay-bg); 
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: var(--modal-bg);
            margin: auto;
            padding: 20px;
            border-radius: 8px;
            width: 90%;
            max-width: 600px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            position: relative;
            max-height: 80vh;
            overflow-y: auto;
            color: var(--text-color-light);
        }

        .modal-content h3 {
            color: var(--accent-color-light);
            margin-top: 0;
            border-bottom: 1px solid var(--border-color-light);
            padding-bottom: 10px;
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        .modal-content h4 {
            color: var(--text-color-light);
            margin-top: 20px;
            margin-bottom: 10px;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
        }
        .modal-content h4 i {
            margin-right: 8px;
            color: var(--accent-color-light);
        }

        .modal-content ul {
            list-style: none;
            padding: 0;
            margin-bottom: 1rem;
        }

        .modal-content ul li {
            margin-bottom: 0.5rem;
        }

        .modal-content ul li a.email-link { 
            cursor: pointer; 
            display: flex;
            align-items: center;
            padding: 5px 0;
            color: var(--link-color-light);
            text-decoration: none;
        }

        .modal-content ul li a { 
            color: var(--link-color-light);
            text-decoration: none;
            display: flex;
            align-items: center;
            padding: 5px 0;
        }

        .modal-content ul li a:hover {
            text-decoration: underline;
        }

        .modal-content ul li a i {
            margin-right: 10px;
            color: var(--accent-color-light);
        }

        .close-button {
            color: var(--text-color-light);
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            position: absolute;
            top: 10px;
            right: 20px;
        }

        .close-button:hover,
        .close-button:focus {
            color: #000;
            text-decoration: none;
        }

        body.dark-mode .close-button:hover,
        body.dark-mode .close-button:focus {
            color: #ccc;
        }

        .whatsapp-button { 
            display: inline-flex;
            align-items: center;
            background-color: var(--whatsapp-color);
            color: #fff;
            padding: 10px 15px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: bold;
            margin-top: 15px;
            transition: background-color 0.3s ease;
        }

        .whatsapp-button:hover {
            background-color: var(--accent-color-light);
        }
        body.dark-mode .whatsapp-button:hover {
            background-color: var(--button-bg-light);
        }

        .whatsapp-button i {
            margin-right: 8px;
        }

        
        .toast-notification {
            visibility: hidden;
            min-width: 250px;
            background-color: #333;
            color: #fff;
            text-align: center;
            border-radius: 5px;
            padding: 10px;
            position: fixed;
            z-index: 10000; 
            left: 50%;
            bottom: 30px;
            transform: translateX(-50%);
            opacity: 0;
            transition: opacity 0.5s, visibility 0.5s;
        }

        .toast-notification.show {
            visibility: visible;
            opacity: 1;
        }


        @media (max-width: 768px) {
            header h1 {
                font-size: 1.8rem;
                padding: 0 3rem;
            }
            header {
                height: 68px; 
                background-size: cover;
            }
            .sidebar { 
                transform: translateX(-100%);
            }
            body.sidebar-open .sidebar {
                transform: translateX(0);
                
            }
            .faq-content {
                margin-left: 1rem; 
                margin-right: 1rem;
                width: 90%;
            }

            #whatsappFab {
                width: 50px;
                height: 50px;
                font-size: 1.5rem;
            }
            .modal-content {
                width: 95%;
                padding: 15px;
            }
        }
       
        @media (max-width: 480px) {
            header h1 {
                font-size: 1.5rem;
            }
            .sidebar {
                width: 80%; 
            }
        }
.sidebar ul li.has-submenu > a {
    font-weight: bold; 
}

.sidebar ul li .submenu {
    list-style: none;
    padding-left: 20px; 
    margin-top: 5px;
    margin-bottom: 5px;
}

.sidebar ul li .submenu li a {
    padding: 6px 10px;
    background-color: transparent; 
    box-shadow: none;
    font-size: 0.9em; 
}

.sidebar ul li .submenu li a:hover {
    background-color: var(--border-color-light); 
}


.inner-accordion-container {
    padding-top: 10px; 
}


.inner-accordion-container .accordion-item {
    border-style: dashed; 
    border-color: var(--border-color-light);
    box-shadow: none; 
    margin-bottom: 0.5rem;
}


.inner-accordion-container .accordion-header {
    background-color: transparent;
  
    font-size: 0.95em;
}


.accordion-item.nested-accordion > .accordion-content {
    padding: 0 1rem;
}
.accordion-item.nested-accordion > .accordion-content.open {
    padding: 0.5rem 1rem 1rem 1rem;
}

.faq-section-description {
    margin-bottom: 1.5rem; 
    color: var(--text-color-light);
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 0.5rem; 
    border-bottom: 1px dashed var(--border-color-light);
    padding-bottom: 1.5rem; 
}


.faq-section-description p {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.faq-section-description p:last-child {
    margin-bottom: 0;
}