/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F0F0DA; /* Creme/Creme */
    color: #191915; /* Creme/600 */
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout principal */
body {
    display: grid;
    grid-template-columns: 260px 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "sidebar header"
        "sidebar main"
        "sidebar footer";
    min-height: 100vh;
}

/* Header */
.header {
    grid-area: header;
    position: relative;
    background-image: url('assets/banner.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0px 2px 0px 0px rgba(55, 55, 49, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 64px 100px;
    overflow: hidden;
}

.header-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Toolbar mobile (aulas): home + hambúrguer — visível só quando sidebar some em telas menores */
.header-mobile-toolbar {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-link-home-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: #211502;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.nav-link-home-icon:hover {
    opacity: 0.85;
    background-color: rgba(33, 21, 2, 0.08);
}

.nav-link-home-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.header-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin: 0;
    border: none;
    background: transparent;
    color: #211502;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.header-menu-toggle:hover {
    background-color: rgba(33, 21, 2, 0.08);
}

.header-menu-toggle svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* Fundo escuro do menu mobile (aulas) */
.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(25, 25, 21, 0.45);
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.sidebar-backdrop[hidden] {
    display: none;
}

.module-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.module-number,
h1.module-number {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 27px !important;
    line-height: 32px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: #211502 !important;
    margin: 0 !important;
}

.module-title,
h2.module-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-style: normal !important;
    font-size: 44px !important;
    line-height: 54px !important;
    letter-spacing: 0 !important;
    color: #211502 !important;
    margin: 0 !important;
}

/* Estilos específicos para o menu lateral - não devem seguir os estilos do header */
.sidebar .module-title,
.sidebar-module .module-title,
.sidebar-tree .module-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    color: inherit !important;
    margin: 0 !important;
    text-transform: none !important;
}

/* Sidebar */
.sidebar {
    grid-area: sidebar;
    background-color: #F0F0DA;
    border-right: 2px solid #FBB934;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 32px 20px;
    width: 260px;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: sticky;
    top: 0;
}

/* Logo */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.logo-image {
    max-width: 140px;
    height: auto;
    object-fit: contain;
}

.logo-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: #191915;
    text-align: center;
    margin: 0;
}

/* Navigation Menu */
.nav-menu {
    width: 100%;
}

.nav-item {
    position: relative;
}

.nav-divider {
    height: 1px;
    background-color: #FBB934;
    margin: 0.5px 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(251, 185, 52, 0.1);
}

.nav-icon {
    width: 16px;
    height: 16px;
    color: #191915;
    flex-shrink: 0;
}

.nav-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: #191915;
}

/* Course Steps */
.course-steps {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Sidebar tree (módulos e aulas) */
.sidebar-tree {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-module {
    border-bottom: 1px solid #E4D8B5;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.sidebar-module:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.sidebar-encerramento-link.active .nav-text {
    font-weight: 700;
    color: #FBB934;
}

.sidebar-encerramento-link.active .nav-icon {
    color: #FBB934;
}

.sidebar-module-header {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    position: relative;
}

.module-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.module-indicator {
    width: 22px;
    height: 22px;
    border: 1.2px solid #9C9270;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    color: #9C9270;
    background: #FFFFFF;
}

.sidebar .module-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    color: #4A3D02;
}

.module-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    color: #4A3D02;
    margin-top: 4px;
    margin-bottom: 12px;
    text-decoration: none;
    display: inline-block;
}

.module-chevron {
    position: absolute;
    right: 0;
    top: 4px;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid #9C9270;
    border-bottom: 1.5px solid #9C9270;
    transform: rotate(45deg);
    transition: transform 0.2s ease, top 0.2s ease;
}

.sidebar-module.open .module-chevron {
    transform: rotate(225deg);
    top: 6px;
}

.sidebar-lessons {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.sidebar-module.open .sidebar-lessons {
    display: flex;
}

/* Lesson Groups */
.lesson-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid #E4D8B5 !important;
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
}

.sidebar-lessons .lesson-group:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.lesson-header {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-align: left;
}

.lesson-chevron {
    position: relative;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid #9C9270;
    border-bottom: 1.5px solid #9C9270;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.lesson-group.open .lesson-chevron {
    transform: rotate(225deg);
}

.lesson-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    color: #191915;
}

.lesson-title-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    color: #4A3D02;
    font-style: italic;
    padding-left: 16px;
    text-decoration: none;
    display: inline-block;
}

/* Lesson Steps */
.lesson-steps {
    display: none;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
    padding-left: 16px;
    position: relative;
}

/* Linha vertical que conecta os ícones dos steps */
.lesson-steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background-color: #FBB934;
    opacity: 0.4;
    z-index: 0;
}

.lesson-group[data-module="1"] .lesson-steps::before { background-color: #FBB934; }
.lesson-group[data-module="2"] .lesson-steps::before { background-color: #2E96D4; }
.lesson-group[data-module="3"] .lesson-steps::before { background-color: #EA5548; }
.lesson-group[data-module="4"] .lesson-steps::before { background-color: #109D82; }

.lesson-group.open .lesson-steps {
    display: flex;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.step-item:hover {
    opacity: 0.8;
}

.step-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.step-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    color: #191915;
}

.step-item.active .step-title {
    font-weight: 600;
}

.step-item.completed .step-title {
    opacity: 0.8;
}

.stepper-lesson {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stepper-lesson-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 1.5%;
    text-transform: uppercase;
    color: #4A3D02;
    margin: 0;
}

.stepper-lesson-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: #4A3D02;
    margin: 0;
}

.stepper-topics {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

/* Topics */
.topic-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    min-height: 24px;
    position: relative;
}

.topic-item:hover {
    background-color: rgba(251, 185, 52, 0.1);
}

.topic-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: #FBB934;
    flex-shrink: 0;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.topic-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.5%;
    color: #4A3D02;
    flex: 1;
}

/* Estado completado - check com círculo preenchido */
.topic-item.completed .topic-text {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
}

/* Estado ativo - círculo preenchido */
.topic-item.active .topic-text {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
}

/* Estado pendente - círculo vazio (já é o padrão) */

.topic-line {
    display: none;
}

/* Linha vertical contínua atrás dos tópicos */
/* Desenha segmentos por item para garantir continuidade da linha */
.stepper-topics::before { display: none; }

.topic-item::before {
    content: "";
    position: absolute;
    left: 12px;
    top: -12px;
    bottom: -12px;
    width: 2px;
    background-color: #FBB934;
    opacity: 0.3;
    z-index: 1;
}

.topic-item:first-child::before { top: 12px; }
.topic-item:last-child::before { bottom: 12px; }

/* Additional Menu */
.additional-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* NiESP Logo */
.niesp-logo {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.niesp-image {
    max-width: 180px;
    height: auto;
    max-height: 45px;
    object-fit: contain;
}

/* Main Content */
.main-content {
    grid-area: main;
    background-color: #FFFFFF;
    padding: 0;
    overflow-y: auto;
}

.content-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 40px 100px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Lesson Title */
.lesson-title {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.lesson-badge {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    background-color: #F0F0DA;
    border-radius: 8px;
    width: fit-content;
}

.lesson-badge-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #191915;
}

.lesson-title h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
    color: #191915;
    margin: 0;
}

.title-line {
    width: 120px;
    height: 3px;
    background-color: #191915;
}

/* Lesson Body */
.lesson-body {
    width: 100%;
}

.lesson-body p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6em;
    letter-spacing: 0.5%;
    color: #191915;
    margin: 0 0 48px 0;
}

.lesson-body p:last-child {
    margin-bottom: 0;
}

.lesson-body .exercise-text {
    margin: 0 !important;
}

/* Lesson Structure */
.lesson-structure {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.lesson-structure p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    color: #191915;
    margin: 0;
}

.structure-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.structure-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.structure-number {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #191915;
    background-color: transparent;
    border: 1.5px solid #191915;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Quando structure-number for uma imagem */
img.structure-number {
    width: 14px;
    height: 14px;
    min-width: 14px;
    display: block;
    flex-shrink: 0;
    margin-top: 7px;
    border: none;
    border-radius: 0;
    background: transparent;
}

.structure-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: #191915;
}

/* Learning Objectives */
.learning-objectives {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.learning-objectives p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    color: #191915;
    margin: 0;
}

.objectives-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.objective-icon-target {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: #191915;
    flex-shrink: 0;
    margin-top: 2px;
}

.objective-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    flex-shrink: 0;
    margin-top: 8px;
}

.objective-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: #191915;
}

/* Footer */
.footer {
    grid-area: footer;
    background-color: #FFFFFF;
    padding: 60px 80px 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 0 auto 60px;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.footer-section:first-child {
    flex-shrink: 0;
}

.footer-section:last-child {
    flex: 1;
}

.footer-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: #191915;
    margin: 0;
    text-align: center;
}

.footer-logos-apoio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.footer-logos-realizacao {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 24px;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.footer-logo-realizacao {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-placeholder {
    padding: 12px 20px;
    background-color: rgba(251, 185, 52, 0.1);
    border: 1px solid #FBB934;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: #211502;
    text-align: center;
}

.footer-bottom {
    height: 48px;
    background-color: #373731;
    margin: 0 -80px;
}

/* Scrollbar personalizado */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(251, 185, 52, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
    background: #FBB934;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #F5A623;
}

/* Responsividade para Footer em telas médias (14" e similares) */
@media (min-width: 1200px) and (max-width: 1600px) {
    .footer {
        padding: 40px 40px 0;
    }

    .footer-content {
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-logos-realizacao {
        gap: 20px 16px;
    }

    .footer-logo-realizacao {
        height: 50px;
    }

    .footer-logo-img {
        max-width: 130px;
    }

    .footer-bottom {
        margin: 0 -40px;
    }
}

/* Responsividade */
@media (max-width: 1200px) {
    body {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "main"
            "footer";
    }

    .sidebar {
        display: none;
    }

    /* Menu lateral acessível pelo hambúrguer */
    .header-mobile-toolbar {
        display: flex;
    }

    body.sidebar-open .sidebar {
        display: flex !important;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 10000;
        height: 100vh;
        max-height: 100vh;
        max-width: min(320px, 92vw);
        width: 260px;
        box-shadow: 8px 0 24px rgba(0, 0, 0, 0.18);
        overflow-y: auto;
    }

    body.sidebar-open .sidebar-backdrop {
        display: block !important;
    }

    .header {
        padding: 48px 32px;
    }

    .content-container {
        padding: 48px 32px 80px;
    }

    .footer {
        padding: 48px 32px 0;
    }

    .footer-bottom {
        margin: 0 -32px;
    }
}

@media (max-width: 768px) {
    .module-number {
        font-size: 24px;
        line-height: 28px;
    }

    .module-title {
        font-size: 36px;
        line-height: 44px;
    }

    .lesson-title h1 {
        font-size: 24px;
    }

    .content-container {
        gap: 32px;
        padding: 32px 24px 60px;
    }

    .lesson-body p,
    .lesson-structure p,
    .learning-objectives p,
    .structure-text,
    .objective-text {
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-logos-realizacao {
        max-width: 100%;
    }
}

/* ============================================
   COMPONENTES ESPECÍFICOS - STEP 3
   ============================================ */

/* Definition Box - Boxes de definição (Imunidade, Imunização, etc) */
.definition-box {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 48px 0;
}

.definition-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 0;
    padding: 8px;
}

.definition-item:last-child {
    padding-bottom: 24px;
}

.definition-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 12px 24px 12px 0px !important;
    width: 100% !important;
    border-radius: 8px;
    background-color: transparent;
}

.definition-icon {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    max-width: 45px !important;
    color: #191915 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.definition-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    font-size: 21px !important;
    line-height: 1.3333333333333333em !important;
    color: #191915 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 !important;
    display: inline !important;
    width: auto !important;
    vertical-align: middle !important;
}

.definition-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6em;
    letter-spacing: 0.5%;
    color: #191915;
    margin: 0;
    padding: 0;
}


/* Image Container - Container para imagens */
.image-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 48px 0;
    width: 100%;
}

.image-container img {
    width: 100%;
    height: auto;
    border: 2px solid #211502;
    border-radius: 8px;
    box-shadow: 0px 4px 0px 0px rgba(55, 55, 49, 1);
    object-fit: cover;
}

.image-container--sem-moldura img {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.image-container-small img {
    width: 100%;
    max-height: 400px;
    border: 2px solid #211502;
    border-radius: 8px;
    box-shadow: 0px 4px 0px 0px rgba(55, 55, 49, 1);
    object-fit: contain;
    object-position: center;
}

/* Box-img - Componente para imagens com legenda */
.box-img {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 48px 0;
    width: 100%;
}

.box-img img {
    width: 100%;
    max-height: 400px;
    border: 2px solid #211502;
    border-radius: 8px;
    box-shadow: 0px 4px 0px 0px rgba(55, 55, 49, 1);
    object-fit: contain;
    object-position: center;
}

.image-caption {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    letter-spacing: 1.5% !important;
    color: #000000 !important;
    text-align: left !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Accessibility Box - Box de acessibilidade #PraTodosVerem */
.accessibility-box,
.accessibility-title,
.accessibility-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.accessibility-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

/* Info Box - Boxes de Saiba Mais e Importante */
.info-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 2px solid #191915 !important;
    border-bottom-width: 4px !important;
    border-radius: 12px !important;
    margin: 48px 0;
    overflow: hidden;
}

/* Variante: Você Sabia? */
.info-box.vc-sabia .info-box-content {
    padding: 24px 24px 12px;
}

/* ============================================
   COMPONENTES ESPECÍFICOS - STEP 5
   ============================================ */
.timeline-block {
    display: flex;
    flex-direction: column;
    gap: 21px;
    margin: 0 0 48px 0;
}
.timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background-color: #FEE9D4;
    border-radius: 8px;
}
.timeline-header-blue {
    background-color: #C4DFFC;
}
.timeline-icon {
    width: 24px;
    height: 24px;
    color: #191915;
}
.timeline-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.333;
    color: #191915;
}
.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.timeline-year {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px;
}
.timeline-year-icon { width: 24px; height: 24px; }
.timeline-year-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.333;
    color: #191915;
}
.timeline-entry {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px 8px 56px;
}
.timeline-arrow { width: 16px; height: 16px; color: #191915; }
.timeline-entry .timeline-arrow { display: none; }
.timeline-entry {
    position: relative;
}
.timeline-entry::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M3 3v6c0 2.2 1.8 4 4 4h5" stroke="%23191915" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10 11l3 3-3 3" stroke="%23191915" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}
.timeline-entry-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: #191915;
}
.timeline-source {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    line-height: 1.219 !important;
    letter-spacing: 1.5% !important;
    color: #000000 !important;
    margin: 0 !important;
}
.sintese-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background-color: #F0F0DA;
    border-radius: 8px;
    margin: 12px 0;
}
.lesson-body p + .sintese-box { margin-top: -36px; }
.sintese-icon { width: 24px; height: 24px; color: #191915; }
.sintese-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.333;
    color: #191915;
}

/* ============================================
   COMPONENTES AULA 3 - STEP 4 (EXERCÍCIOS)
   ============================================ */
.exercise-container {
    border: 2px solid #191915;
    border-radius: 16px;
    padding: 36px;
    margin: 72px 0;
}

.exercise-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 18px;
}

.exercise-number-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: block;
    margin-top: 0.2em;
}

.exercise-question {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.5%;
    color: #191915;
    margin: 0;
    flex: 1;
}

.exercise-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exercise-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.exercise-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid #191915;
    border-radius: 50%;
    background-color: #F8FAF7;
    position: relative;
    flex-shrink: 0;
    margin-top: 6px;
    box-sizing: border-box;
    display: block;
}

.exercise-option input[type="radio"]:checked + .radio-custom {
    background-color: #FBB934;
    border-color: #191915;
}

.exercise-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 9px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
}

.option-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #191915;
    margin: 0;
    padding: 0;
    flex: 1;
}

.exercise-option.correct {
    opacity: 1;
    background-color: #D4EDDA;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #28A745;
}

.exercise-option.correct .radio-custom {
    border-color: #28A745;
    background-color: #28A745;
}

.exercise-option.correct .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 9px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
}

.exercise-option.correct .option-text {
    color: #155724;
    font-weight: 600;
}

.exercise-option.incorrect {
    opacity: 0.5;
}

.exercise-option.incorrect .radio-custom {
    border-color: #191915;
}

.exercise-option.incorrect .option-text {
    color: #000000;
    opacity: 0.5;
}

/* Estilos para exercícios estáticos (já resolvidos/exemplos) */
.exercise-number {
    flex-shrink: 0;
    margin-top: 4px;
}

.exercise-option-correct {
    opacity: 1;
}

.exercise-option input[type="radio"]:disabled {
    cursor: not-allowed;
}

.exercise-option input[type="radio"]:disabled ~ .radio-custom {
    cursor: not-allowed;
}

.radio-correct {
    border-color: #191915;
    background: #F8FAF7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.objective-item .check-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    margin-top: 4px;
}

.option-text-incorrect {
    color: #191915;
    opacity: 0.5;
}

/* Botão Checar Resposta */
.check-answer-button {
    display: none !important;
}

.check-answer-button:hover {
    background-color: #E5A62E;
}

.check-answer-button:active {
    transform: scale(0.98);
}

.check-answer-button:disabled {
    background-color: #D0D0D0;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Feedback do Exercício */
.exercise-feedback {
    margin-top: 16px;
    padding: 16px 24px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    display: none;
}

.exercise-feedback.correct {
    background-color: #D4EDDA;
    border: 1px solid #C3E6CB;
    color: #155724;
    display: block;
}

.exercise-feedback.incorrect {
    background-color: #F8D7DA;
    border: 1px solid #F5C6CB;
    color: #721C24;
    display: block;
}

/* Caixa de Referências */
.references-box {
    border: 2px solid #191915;
    border-bottom: 4px solid #191915;
    border-radius: 12px;
    margin-top: 48px;
    background: white;
}

.references-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: #109D82;
    border-bottom: 2px solid #191915;
    border-radius: 12px 12px 0 0;
}

.references-icon {
    flex-shrink: 0;
}

.references-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.17;
    color: #191915;
    margin: 0;
}

.references-content {
    padding: 24px;
}

.references-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.43;
    letter-spacing: 0.0025em;
    color: #191915;
    margin: 0 0 16px 0;
}

.references-content p:last-child {
    margin-bottom: 0;
}

/* Estilos para elementos de exercícios com estrutura especial */
.exercise-statements {
    margin: 24px 0;
}

.exercise-statement {
    margin: 0 0 16px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #191915;
}

.info-box-content .statement-text {
    margin: 0 0 16px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #6B6B6B;
}

.info-box-content .link-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.info-box-content .link-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.info-box-content .link-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box-content .link-item-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: #191915;
}

.info-box-content .link-item a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #6B6B6B;
    text-decoration: underline;
    word-break: break-word;
}

/* ============================================
   COMPONENTES AULA 3 - STEP 3
   ============================================ */
.ods-goal {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #191915;
    margin: 0;
}

.ods-indented {
    padding-left: 48px;
}

.list-number-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: block;
}

.list-section .enumerated-list {
    display: flex;
    flex-direction: column;
    gap: 21px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.list-section .enumerated-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.list-section .enumerated-list li .list-number-icon {
    width: 14px;
    height: 14px;
    margin-top: 8px;
    flex-shrink: 0;
}

.list-section .list-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #191915;
}

.list-section .list-intro {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #191915;
    margin: 0 0 32px 0;
}

.sintese-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background-color: #F0F0DA;
    border-radius: 8px;
    margin: 48px 0 48px 0;
}

.sintese-icon {
    width: 24px;
    height: 24px;
    color: #191915;
    flex-shrink: 0;
}

.sintese-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.333;
    color: #191915;
    margin: 0;
}

.sintese-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #191915;
}

/* ============================================
   COMPONENTES AULA 3 - STEP 2
   ============================================ */
.subtitle {
    margin: 48px 0 24px 0;
    text-align: center;
    position: relative;
    padding: 24px 0;
    width: 100%;
    display: block;
}

.subtitle::before,
.subtitle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background-color: #191915;
}

.subtitle::before {
    top: 0;
}

.subtitle::after {
    bottom: 0;
}

.subtitle h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.333;
    color: #191915;
    margin: 0;
    text-align: center;
}

/* Subtítulo à esquerda, sem linhas decorativas (ex.: diagrama Bioética Principialista) */
.subtitle--sem-linhas {
    text-align: left;
}

.subtitle--sem-linhas::before,
.subtitle--sem-linhas::after {
    display: none;
}

.subtitle--sem-linhas h3 {
    text-align: left;
}

.reference-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #191915;
    text-decoration: none;
    margin-top: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 14px;
}

.reference-link:hover {
    text-decoration: underline;
}

.reference-link svg {
    flex-shrink: 0;
}

.timeline-section {
    margin: 48px 0;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background-color: #FEE9D4;
    border-radius: 8px;
    margin-bottom: 21px;
}

.timeline-header-blue {
    background-color: #C4DFFC !important;
}

.timeline-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: #191915;
    flex-shrink: 0;
}

.timeline-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.333;
    color: #191915;
    margin: 0;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px;
}

.timeline-entry-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    margin-left: 36px;
    margin-top: 8px;
}

.timeline-arrow-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: #191915;
    flex-shrink: 0;
    margin-top: 0;
}

.timeline-year {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 140px;
}

.timeline-year-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: #191915;
    flex-shrink: 0;
}

.timeline-year-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.333;
    color: #191915;
}

.timeline-entry-text,
.timeline-multiple-entries .timeline-entry-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #191915;
    margin: 0;
    flex: 1;
}

.timeline-multiple-entries {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.timeline-multiple-entries .timeline-arrow-icon {
    margin-top: 0;
    order: 2;
}

.timeline-multiple-entries .timeline-entry-text {
    order: 1;
}

.timeline-source {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.219;
    letter-spacing: 1.5%;
    color: #000000;
    font-style: italic;
    margin: 0;
}

/* ============================================
   AULA 2 - STEP 1 (listas numeradas e objetivos)
   ============================================ */
.list-section { margin: 48px 0; }
.list-section > p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6em;
    letter-spacing: 0.5%;
    color: #191915;
    margin: 0 0 21px 0;
}
.list-items { display: flex; flex-direction: column; gap: 21px; }
.list-item { display: flex; align-items: flex-start; gap: 12px; }
.num-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 8px;
    /* Estilos para quando for texto */
    border-radius: 50%;
    background: #FFFFFF;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 1;
    box-shadow: 0 1px 0 0 rgba(0,0,0,1);
}

/* Quando num-icon for uma imagem, remove estilos de texto */
img.num-icon {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    width: 14px;
    height: 14px;
}

.list-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6em;
    letter-spacing: 0.5%;
    color: #191915;
}
.info-box-image {
    padding: 12px 24px 24px;
}

.info-box-image img {
    width: 100%;
    max-height: 400px;
    border: 2px solid #211502;
    border-radius: 8px;
    box-shadow: 0px 4px 0px 0px rgba(55, 55, 49, 1);
    object-fit: contain;
    object-position: center;
}

.info-box.vc-saiba .info-box-image {
    padding: 12px 24px 24px;
}
.info-box.vc-sabia .info-box-image img {
    width: 100%;
    height: auto;
    border: 2px solid #211502;
    border-radius: 8px;
    box-shadow: 0px 4px 0px 0px rgba(55, 55, 49, 1);
    object-fit: cover;
}

.info-box-header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 24px;
    padding: 24px;
    background-color: #FBB934 !important;
    border-bottom: 2px solid #191915 !important;
    border-radius: 12px 12px 0px 0px !important;
    width: 100%;
}

.info-box-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    color: #191915 !important;
    flex-shrink: 0;
}

.info-box-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1666666666666667em;
    color: #191915;
    margin: 0;
}

/* Reforço de especificidade para corresponder exatamente ao Figma */
.info-box .info-box-header { display: flex !important; }
.info-box.saiba-mais .info-box-header,
.info-box.importante .info-box-header {
    background-color: #FBB934 !important;
    border-bottom: 2px solid #191915 !important;
}
.info-box.saiba-mais .info-box-icon,
.info-box.importante .info-box-icon {
    color: #191915 !important;
}
.info-box .info-box-title { margin: 0 !important; }

.info-box-content {
    padding: 24px;
    background-color: #FFFFFF !important;
    color: #191915 !important;
}

.info-box-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6em;
    letter-spacing: 0.25%;
    color: #191915;
    margin: 0 0 12px 0;
}

.info-box-content p strong {
    font-weight: 700;
}

.info-box-content p:last-child {
    margin-bottom: 0;
}

/* Variação para box Importante */
.info-box.importante {
    margin-bottom: 24px;
}

.info-box.importante .info-box-content {
    padding: 24px 24px 12px;
}

/* ============================================
   AULA 2 - STEP 4 (perguntas, alertas, figuras)
   ============================================ */

/* Question Box - Caixa de pergunta */
.question-box {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 24px 12px 0;
    border-radius: 8px;
    margin: 48px 0;
    width: 100%;
}

.question-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    color: #191915;
    flex-shrink: 0;
}

.question-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.333;
    color: #191915;
    margin: 0;
    flex: 1;
}

/* Alert Box - Box Importante */
.alert-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 2px solid #191915;
    border-bottom-width: 4px;
    border-radius: 12px;
    margin: 48px 0;
    overflow: hidden;
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background-color: #FBB934;
    border-bottom: 2px solid #191915;
    border-radius: 12px 12px 0 0;
}

.alert-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    color: #191915;
    flex-shrink: 0;
}

.alert-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.167;
    color: #191915;
    margin: 0;
}

.alert-content {
    padding: 24px 24px 12px;
    background-color: #FFFFFF;
}

.alert-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.25%;
    color: #191915;
    margin: 0 0 12px 0;
}

.alert-content p:last-child {
    margin-bottom: 0;
}

/* Enumerated List - Lista enumerada com ícones */
.enumerated-list {
    margin: 48px 0;
}

.enumerated-list > p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #191915;
    margin: 0 0 32px 0;
}

.enumerated-list .list-items {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.enumerated-list .list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.enumerated-list .item-icon {
    width: 14px;
    height: 14px;
    min-width: 14px;
    color: #000000;
    flex-shrink: 0;
    margin-top: 8px;
}

.enumerated-list .item-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #000000;
    margin: 0;
    flex: 1;
}

/* Figure Container - Container para figuras e imagens */
.figure-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 48px 0;
    width: 100%;
    align-items: center;
}

.figure-image {
    width: 100%;
    max-width: 920px;
    height: auto;
    border: 2px solid #211502;
    border-radius: 8px;
    box-shadow: 0px 4px 0px 0px rgba(55, 55, 49, 1);
    object-fit: cover;
}

.figure-container--sem-moldura .figure-image {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.figure-caption {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 1.5%;
    color: #000000;
    text-align: center;
    width: 100%;
    margin: 0;
}

/* Responsividade para componentes do Step 3 */
@media (max-width: 768px) {
    .definition-header {
        gap: 16px;
        padding: 8px 16px 8px 0;
    }

    .definition-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .definition-title {
        font-size: 18px;
    }

    .definition-text {
        font-size: 16px;
    }

    .accessibility-box {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .info-box-header {
        gap: 16px;
        padding: 16px;
    }

    .info-box-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .info-box-title {
        font-size: 18px;
    }

    .info-box-content {
        padding: 16px;
    }

    .info-box-content p {
        font-size: 13px;
    }

    /* Step 4 responsiveness */
    .question-box {
        gap: 16px;
        padding: 8px 16px 8px 0;
    }

    .question-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .question-title {
        font-size: 18px;
    }

    .alert-header {
        gap: 16px;
        padding: 16px;
    }

    .alert-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .alert-title {
        font-size: 18px;
    }

    .alert-content {
        padding: 16px;
    }

    .alert-content p {
        font-size: 13px;
    }

    .enumerated-list > p,
    .enumerated-list .item-text {
        font-size: 16px;
    }
}

/* ============================================
   COMPONENTES AULA 4 - STEP 2
   ============================================ */

/* Quote Box */
.quote-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 32px;
    background-color: #F0F0DA;
    border-radius: 16px;
    margin: 48px 0;
}

.quote-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 1.5%;
    font-style: italic;
    color: #191915;
    margin: 0;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 24px;
}

.quote-dash {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 1.5%;
    font-style: italic;
    color: #191915;
}

.quote-author-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    color: #191915;
}

.quote-box p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #191915;
    margin: 0 0 12px 0;
}

.quote-box p:last-child {
    margin-bottom: 0;
}

/* Reflection Box - Para Refletir */
.reflection-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 2px solid #191915;
    border-bottom-width: 4px;
    border-radius: 12px;
    margin: 48px 0;
    overflow: hidden;
}

.reflection-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background-color: #109D82;
    border-bottom: 2px solid #191915;
    border-radius: 12px 12px 0 0;
}

.reflection-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    color: #191915;
    flex-shrink: 0;
}

.reflection-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.167;
    color: #191915;
    margin: 0;
}

.reflection-content {
    padding: 24px 24px 12px;
    background-color: #FFFFFF;
}

.reflection-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.429;
    letter-spacing: 0.25%;
    color: #191915;
    margin: 0 0 12px 0;
}

.reflection-content p:last-child {
    margin-bottom: 0;
}

/* Synthesis Section - Síntese */
.synthesis-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background-color: #F0F0DA;
    border-radius: 8px;
    margin: 32px 0;
}

.synthesis-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: #191915;
    flex-shrink: 0;
}

.synthesis-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.333;
    color: #191915;
    margin: 0;
}

/* Enumerated Section - Casos numerados */
.enumerated-section {
    margin: 48px 0;
}

.enumerated-section > p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #191915;
    margin: 0 0 32px 0;
}

.enumerated-list {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.enumerated-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.number-icon {
    width: 14px;
    height: 14px;
    min-width: 14px;
    flex-shrink: 0;
    margin-top: 8px;
    color: #000000;
}

.enumerated-item p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #000000;
    margin: 0;
    flex: 1;
}

/* Video Box */
.info-box.video {
    margin: 48px 0;
}

.video-placeholder {
    width: 100%;
    position: relative;
}

.video-thumbnail-link {
    display: block;
    position: relative;
    width: 100%;
    cursor: pointer;
}

.video-thumbnail-image {
    width: 100%;
    height: auto;
    display: block;
}

.video-thumbnail {
    width: 100%;
    height: 420px;
    background-color: #373731;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 1;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-link {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 24px 24px;
    color: #191915;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.428;
    letter-spacing: 0.25%;
}

.video-link:hover {
    text-decoration: underline;
}

.video-link svg {
    flex-shrink: 0;
}

.video-player {
    position: relative;
    width: 100%;
    margin: 0;
}

.video-player .video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.video-player .video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 1;
    background: none;
    border: none;
    padding: 0;
}

.video-player .video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background-color: #373731;
}

.control-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.control-button:hover {
    opacity: 0.8;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: #FBB934;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.video-caption {
    padding: 24px;
    background-color: #FFFFFF;
}

.video-caption p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.428;
    color: #191915;
    margin: 0 0 16px 0;
}

/* Text Bold */
.text-bold {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.4;
    color: #191915;
}

/* Numbered Cards */
.numbered-card {
    display: flex;
    flex-direction: column;
    border: 2px solid #191915;
    border-bottom-width: 4px;
    border-radius: 16px;
    overflow: hidden;
    margin: 48px 0;
}

.numbered-card-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 48px 32px;
    background-color: #F8FAF7;
}

.card-number {
    flex-shrink: 0;
    width: 16px;
    height: 17px;
    margin-top: 4px;
}

.card-number svg {
    width: 14px;
    height: 14px;
}

.numbered-card-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #191915;
    margin: 0;
    flex: 1;
}

.numbered-card-image {
    width: 100%;
    height: 568px;
    overflow: hidden;
}

.numbered-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.numbered-card-caption {
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 32px;
    background-color: #F0F0DA;
    border-radius: 0px 0px 16px 16px;
}

.numbered-card-caption p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.219;
    letter-spacing: 0.4%;
    color: #191915;
    margin: 0;
}

/* Bioética Diagram */
.bioetica-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    margin: 48px 0;
    padding: 32px 0;
}

.diagram-center {
    display: flex;
    justify-content: center;
}

.diagram-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 13px;
    border: 3.28px solid #191915;
    border-radius: 6.55px;
    font-family: 'Montserrat', sans-serif;
    color: #191915;
}

.center-box {
    background-color: #FEE9D4;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.227;
    min-width: 225px;
}

.principle-box {
    background-color: #F8FAF7;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.227;
    min-width: 120px;
}

.diagram-principles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
    width: 100%;
    max-width: 600px;
    position: relative;
}

.diagram-connector {
    display: none;
}

.diagram-source {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.219;
    letter-spacing: 1.5%;
    color: #000000;
    margin: 12px 0 0 0;
    text-align: left;
}

@media (max-width: 768px) {
    .quote-box {
        padding: 16px 24px;
    }

    .quote-text {
        font-size: 16px;
    }

    .quote-author-name {
        font-size: 16px;
    }

    .video-thumbnail {
        height: 280px;
    }

    .numbered-card-content {
        padding: 24px;
    }

    .numbered-card-image {
        height: 320px;
    }

    .diagram-principles {
        gap: 32px 16px;
    }

    .principle-box {
        font-size: 14px;
        min-width: 100px;
    }

    .center-box {
        font-size: 14px;
        min-width: 180px;
    }

    .reflection-header {
        gap: 16px;
        padding: 16px;
    }

    .reflection-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .reflection-title {
        font-size: 18px;
    }

    .reflection-content {
        padding: 16px;
    }

    .reflection-content p {
        font-size: 13px;
    }

    .synthesis-section {
        padding: 12px 16px;
    }

    .synthesis-title {
        font-size: 18px;
    }

    .enumerated-section > p,
    .enumerated-item p {
        font-size: 16px;
    }

    .quote-box p {
        font-size: 16px;
    }
}

/* ============================================
   COMPONENTES AULA 4 - STEP 3
   ============================================ */

/* Topic Header */
.topic-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 24px 12px 0px;
    margin: 48px 0 32px 0;
}

.topic-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    color: #000000;
}

.topic-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 21px;
    line-height: 1.333;
    color: #191915;
    margin: 0;
}

/* Info Box Reflexao */
.info-box.reflexao .info-box-header {
    background-color: #FBB934;
    border-bottom: 2px solid #191915;
}

.info-box.reflexao {
    border: 2px solid #191915;
    border-bottom-width: 4px;
    border-radius: 12px;
    margin: 48px 0;
}

/* Enumerated List - Topicos variant */
.enumerated-list.topicos .list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

@media (max-width: 768px) {
    .topic-header {
        padding: 12px 0;
        gap: 16px;
    }

    .topic-icon {
        width: 32px;
        height: 32px;
    }

    .topic-title {
        font-size: 18px;
    }
}

/* ============================================
   COMPONENTES AULA 4 - STEP 4
   ============================================ */

/* Card Duplo */
.card-duplo {
    display: flex;
    flex-direction: column;
    border: 1px solid #191915;
    border-bottom-width: 4px;
    border-radius: 16px;
    overflow: hidden;
    margin: 48px 0;
}

.card-duplo-image {
    display: flex;
    flex-direction: column;
    gap: -20px;
    margin: 0;
    position: relative;
}

.card-duplo-image img {
    width: 100%;
    height: 264px;
    object-fit: cover;
    border: 1px solid #191915;
    border-radius: 8px 8px 0px 0px;
}

.card-duplo-caption {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.219;
    letter-spacing: 1.5%;
    color: #191915;
    padding: 0 12px 12px;
}

.card-duplo-overlay {
    position: absolute;
    left: 12px;
    bottom: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.1;
    color: #191915;
}

.card-duplo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background-color: #F0F0DA;
    border: 0px 1px 0px 1px solid #191915;
}

.card-duplo-text.first {
    border-top: 0px;
    border-left: 1px solid #191915;
    border-right: 1px solid #191915;
    border-bottom: 0px;
}

.card-duplo-text.second {
    border-top: 1px solid #191915;
    border-left: 1px solid #191915;
    border-right: 1px solid #191915;
    border-bottom: 4px solid #191915;
    border-radius: 0px 0px 16px 16px;
    padding-bottom: 32px;
}

.card-duplo-bold {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.333;
    color: #191915;
    margin: 0;
}

.card-duplo-regular {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.219;
    letter-spacing: 0.4%;
    color: #191915;
    margin: 0;
}

@media (max-width: 768px) {
    .card-duplo-image img {
        height: 180px;
    }

    .card-duplo-text {
        padding: 8px;
    }

    .card-duplo-text.second {
        padding-bottom: 24px;
    }
}

/* ============================================
   MÓDULO 2 - CORES AZUIS (#2E96D4)
   ============================================ */
body.module-2 .sidebar {
    border-right-color: #2E96D4;
}

body.module-2 .nav-link:hover {
    background-color: rgba(46, 150, 212, 0.1);
}

body.module-2 .topic-icon {
    color: #2E96D4;
}

body.module-2 .topic-item.completed .topic-icon circle {
    fill: #2E96D4;
}

body.module-2 .topic-item.active .topic-icon circle {
    fill: #2E96D4;
}

body.module-2 .topic-item .topic-icon circle {
    stroke: #2E96D4;
}

body.module-2 .sidebar::-webkit-scrollbar-thumb {
    background: #2E96D4;
}

body.module-2 .sidebar::-webkit-scrollbar-thumb:hover {
    background: #2580b8;
}

body.module-2 .accessibility-box {
    border-color: #2E96D4;
}

body.module-2 .exercise-option input[type="radio"]:checked + .radio-custom {
    background-color: #2E96D4;
}

body.module-2 .info-box-header {
    background-color: #2E96D4 !important;
}

body.module-2 .info-box.saiba-mais .info-box-header,
body.module-2 .info-box.importante .info-box-header,
body.module-2 .info-box.reflexao .info-box-header,
body.module-2 .info-box.destaque .info-box-header,
body.module-2 .info-box.atencao .info-box-header,
body.module-2 .info-box.referencias .info-box-header,
body.module-2 .info-box.vc-sabia .info-box-header {
    background-color: #2E96D4 !important;
}

body.module-2 .alert-header {
    background-color: #2E96D4;
}

body.module-2 .topic-item::before {
    background-color: #2E96D4;
}

/* ============================================
   MÓDULO 3 - CORES VERMELHAS (#EA5548)
   ============================================ */
body.module-3 .sidebar {
    border-right-color: #EA5548;
}

body.module-3 .nav-link:hover {
    background-color: rgba(234, 85, 72, 0.1);
}

body.module-3 .topic-icon {
    color: #EA5548;
}

body.module-3 .topic-item.completed .topic-icon circle {
    fill: #EA5548;
}

body.module-3 .topic-item.active .topic-icon circle {
    fill: #EA5548;
}

body.module-3 .topic-item .topic-icon circle {
    stroke: #EA5548;
}

body.module-3 .sidebar::-webkit-scrollbar-thumb {
    background: #EA5548;
}

body.module-3 .sidebar::-webkit-scrollbar-thumb:hover {
    background: #d14839;
}

body.module-3 .accessibility-box {
    border-color: #EA5548;
}

body.module-3 .exercise-option input[type="radio"]:checked + .radio-custom {
    background-color: #EA5548;
}

body.module-3 .info-box-header {
    background-color: #EA5548 !important;
}

body.module-3 .info-box.saiba-mais .info-box-header,
body.module-3 .info-box.importante .info-box-header,
body.module-3 .info-box.reflexao .info-box-header,
body.module-3 .info-box.destaque .info-box-header,
body.module-3 .info-box.atencao .info-box-header,
body.module-3 .info-box.referencias .info-box-header,
body.module-3 .info-box.vc-sabia .info-box-header {
    background-color: #EA5548 !important;
}

body.module-3 .alert-header {
    background-color: #EA5548;
}

body.module-3 .topic-item::before {
    background-color: #EA5548;
}

body.module-3 .info-box.voce-sabia .info-box-header {
    background-color: #EA5548 !important;
}

body.module-3 .info-box.video-box .info-box-header {
    background-color: #EA5548 !important;
}

.objectives-section {
    margin: 48px 0;
}

.objectives-intro {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #191915;
    margin: 0 0 32px 0;
}

.objectives-list {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.target-icon {
    min-width: 16px;
    width: 16px;
    height: 16px;
    color: #000000;
    flex-shrink: 0;
    margin-top: 8px;
}

.objective-item span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: #000000;
    margin: 0;
    flex: 1;
}


.link-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
}

.link-item svg {
    width: 16px;
    height: 16px;
    color: #191915;
    flex-shrink: 0;
    margin-top: 2px;
}

.link-item a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #191915;
    text-decoration: underline;
}

.link-item a:hover {
    text-decoration: none;
}

.arrow-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.arrow-list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.arrow-list-item .arrow-icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    color: #191915;
    flex-shrink: 0;
    margin-top: 4px;
}

.arrow-list-item p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: #191915;
    margin: 0;
}

.principle-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 32px 0 16px 0;
}

.principle-arrow {
    min-width: 24px;
    width: 24px;
    height: 24px;
    color: #191915;
    flex-shrink: 0;
}

.principle-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    color: #191915;
    margin: 0;
}

.info-box.voce-sabia .info-box-header {
    background-color: #2E96D4;
}

body.module-2 .info-box.voce-sabia .info-box-header {
    background-color: #2E96D4 !important;
}

.info-box.voce-sabia .image-container img {
    border: none;
    box-shadow: none;
}

.info-box.voce-sabia .image-caption {
    text-align: center !important;
}

.info-box.voce-sabia figcaption {
    text-align: center !important;
}

.info-box.video-box .info-box-header {
    background-color: #2E96D4;
}

body.module-2 .info-box.video-box .info-box-header {
    background-color: #2E96D4 !important;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 24px 0;
    background-color: #000;
    border-radius: 4px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #191915;
    margin: 16px 0;
}

.numbered-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.numbered-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.number-circle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #191915;
    flex-shrink: 0;
    margin-top: 2px;
}

.numbered-item span:last-child {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: #191915;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 48px 0 32px 0;
}

.section-icon {
    min-width: 32px;
    width: 32px;
    height: 32px;
    color: #191915;
    flex-shrink: 0;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.4;
    color: #191915;
    margin: 0;
}

.sintese-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background-color: #F5F3E8;
    border-radius: 8px;
    margin: 48px 0 32px 0;
}

.sintese-icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    color: #191915;
    flex-shrink: 0;
}

.sintese-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #191915;
    margin: 0;
}

.sintese-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #191915;
    margin: 0;
}

.info-box.referencias .info-box-header {
    background-color: #2E96D4;
}

body.module-2 .info-box.referencias .info-box-header {
    background-color: #2E96D4 !important;
}

.exercise-block {
    margin: 48px 0;
    padding: 32px;
    border: 2px solid #191915;
    border-radius: 8px;
}

.exercise-number {
    min-width: 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #191915;
    border-radius: 50%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #191915;
    flex-shrink: 0;
}

.exercise-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #191915;
    margin: 0;
    flex: 1;
}

.exercise-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-left: 48px;
}

.exercise-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.exercise-option input[type="radio"] {
    display: none;
}

.radio-custom {
    min-width: 20px;
    width: 20px;
    height: 20px;
    border: 2px solid #191915;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.exercise-option input[type="radio"]:checked + .radio-custom {
    background-color: #2E96D4;
    border-color: #2E96D4;
}

.exercise-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

.option-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #191915;
}

.formula-box {
    margin: 48px 0;
    padding: 32px;
    border: 2px solid #191915;
    border-radius: 8px;
    background-color: #FFFFFF;
}

.formula-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.formula-icon {
    min-width: 48px;
    width: 48px;
    height: 48px;
    color: #191915;
    flex-shrink: 0;
}

.formula-text {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.formula-text p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #191915;
    margin: 0;
}

.formula-fraction {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.formula-numerator,
.formula-denominator {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #191915;
    text-align: center;
}

.formula-divider {
    height: 2px;
    background-color: #191915;
    width: 100%;
}

.table-container {
    margin: 32px 0;
    overflow-x: auto;
}

.vaccine-table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #191915;
    font-family: 'Montserrat', sans-serif;
}

.vaccine-table thead {
    background-color: #F5F3E8;
}

.vaccine-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #191915;
    border: 1px solid #191915;
}

.vaccine-table td {
    padding: 12px 16px;
    font-weight: 400;
    font-size: 14px;
    color: #191915;
    border: 1px solid #191915;
    vertical-align: top;
}

.vaccine-table tbody tr:nth-child(even) {
    background-color: #FAFAFA;
}

.table-source {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #191915;
    margin-top: 8px;
}

.table-source a {
    color: #191915;
    text-decoration: underline;
}

.table-source a:hover {
    text-decoration: none;
}

/* ============================================
   MÓDULO 4 - CORES VERDE-AZULADAS (#109D82)
   ============================================ */
body.module-4 .sidebar {
    border-right-color: #109D82;
}

body.module-4 .nav-link:hover {
    background-color: rgba(16, 157, 130, 0.1);
}

body.module-4 .topic-icon {
    color: #109D82;
}

body.module-4 .topic-item.completed .topic-icon circle {
    fill: #109D82;
}

body.module-4 .topic-item.active .topic-icon circle {
    fill: #109D82;
}

body.module-4 .topic-item .topic-icon circle {
    stroke: #109D82;
}

body.module-4 .sidebar::-webkit-scrollbar-thumb {
    background: #109D82;
}

body.module-4 .sidebar::-webkit-scrollbar-thumb:hover {
    background: #0e8771;
}

body.module-4 .accessibility-box {
    border-color: #109D82;
}

body.module-4 .exercise-option input[type="radio"]:checked + .radio-custom {
    background-color: #109D82;
}

body.module-4 .info-box-header {
    background-color: #109D82 !important;
}

body.module-4 .info-box.saiba-mais .info-box-header,
body.module-4 .info-box.importante .info-box-header,
body.module-4 .info-box.reflexao .info-box-header,
body.module-4 .info-box.destaque .info-box-header,
body.module-4 .info-box.atencao .info-box-header,
body.module-4 .info-box.referencias .info-box-header,
body.module-4 .info-box.vc-sabia .info-box-header {
    background-color: #109D82 !important;
}

body.module-4 .alert-header {
    background-color: #109D82;
}

body.module-4 .topic-item::before {
    background-color: #109D82;
}

body.module-4 .info-box.voce-sabia .info-box-header {
    background-color: #109D82 !important;
}

body.module-4 .info-box.video-box .info-box-header {
    background-color: #109D82 !important;
}

/* Legendas de imagens */
figcaption {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #191915;
    margin-top: 8px;
    text-align: left;
}
