/* ============================================
   COMPONENTES REUTILIZÁVEIS - CURSO HESITAÇÃO VACINAL
   ============================================ */

/* Variáveis CSS para consistência */
:root {
    /* Cores */
    --primary-yellow: #FBB934;
    --primary-yellow-dark: #211502;
    --cream-bg: #F0F0DA;
    --cream-text: #191915;
    --stepper-text: #4A3D02; /* Cor específica para texto do stepper */
    --white: #FFFFFF;
    --dark-gray: #373731;

    /* Espaçamentos */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;

    /* Bordas */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    /* Tipografia */
    --font-family: 'Montserrat', sans-serif;
    --font-size-xs: 10px;
    --font-size-sm: 12px;
    --font-size-md: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-xxl: 24px;
    --font-size-title: 27px;
    --font-size-large: 44px;
}

/* ============================================
   COMPONENTE: STEPPER VERTICAL
   ============================================ */

.stepper-vertical {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    width: 100%;
}

.stepper-lesson {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    width: 100%;
}

.stepper-lesson-title {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: var(--font-size-xs);
    line-height: 1.6;
    letter-spacing: 1.5%;
    color: var(--stepper-text);
    margin-bottom: var(--spacing-xs);
}

.stepper-lesson-description {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: var(--font-size-base);
    line-height: 1.5;
    letter-spacing: 0.5%;
    color: var(--stepper-text);
}

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

/* ============================================
   COMPONENTE: TOPIC ITEM
   ============================================ */

.topic-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    user-select: none;
    position: relative;
}

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

.topic-item.active {
    font-weight: 700;
}

.topic-item.completed {
    font-weight: 300;
}

.topic-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-yellow);
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2; /* garante que o círculo fique sobre a linha */
}

.topic-item.active .topic-icon {
    fill: var(--primary-yellow);
    stroke: var(--primary-yellow);
}

.topic-text {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: var(--font-size-base);
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: var(--stepper-text);
    transition: all 0.3s ease;
}

.topic-item.active .topic-text {
    font-weight: 700;
    font-size: var(--font-size-base);
}

.topic-item.completed .topic-text {
    font-weight: 300;
    font-size: var(--font-size-base);
}

/* Desativa linhas individuais e usa uma linha contínua */
.topic-line { display: none; }

/* 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: var(--primary-yellow);
    opacity: 0.3;
    z-index: 1;
}
.topic-item:first-child::before { top: 12px; }
.topic-item:last-child::before { bottom: 12px; }

.topic-item.active + .topic-line,
.topic-item.completed + .topic-line {
    background-color: var(--primary-yellow);
    opacity: 1;
}

/* ============================================
   COMPONENTE: NAVIGATION LINK
   ============================================ */

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

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

.nav-icon {
    width: 16px;
    height: 16px;
    color: var(--cream-text);
    flex-shrink: 0;
}

.nav-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: var(--font-size-base);
    line-height: 1.5;
    letter-spacing: 0.5%;
    color: var(--stepper-text);
}

/* ============================================
   COMPONENTE: NAVIGATION DIVIDER
   ============================================ */

.nav-divider {
    height: 1px;
    background-color: var(--primary-yellow);
    margin: 0.5px 0;
    width: 100%;
}

/* ============================================
   COMPONENTE: LESSON BADGE
   ============================================ */

.lesson-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-md);
    background-color: var(--cream-bg);
    border-radius: var(--border-radius-md);
    width: fit-content;
}

.lesson-badge-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 21px;
    line-height: 1.333;
    letter-spacing: 8%;
    text-transform: uppercase;
    color: var(--cream-text);
}

/* ============================================
   COMPONENTE: OBJECTIVE ITEM
   ============================================ */

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

.objective-icon-target {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--cream-text);
    flex-shrink: 0;
}

.objective-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: var(--font-size-xl);
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: var(--cream-text);
}

/* ============================================
   COMPONENTE: STRUCTURE ITEM
   ============================================ */

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

.structure-number {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    color: var(--cream-text);
    background-color: transparent;
    border: 1.5px solid var(--cream-text);
    border-radius: 50%;
    flex-shrink: 0;
}

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

.structure-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: var(--font-size-xl);
    line-height: 1.6;
    letter-spacing: 0.5%;
    color: var(--cream-text);
}

/* ============================================
   COMPONENTE: TITLE LINE
   ============================================ */

.title-line {
    width: 128px;
    height: 2px;
    background-color: var(--cream-text);
}

/* ============================================
   COMPONENTE: FOOTER LOGO
   ============================================ */

.footer-logo {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: var(--font-size-xxl);
    color: var(--cream-text);
}

.logo-item {
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--primary-yellow);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family);
    font-weight: 500;
    font-size: var(--font-size-sm);
    color: var(--primary-yellow-dark);
}

/* ============================================
   UTILITÁRIOS
   ============================================ */

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

.text-uppercase {
    text-transform: uppercase;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.font-light {
    font-weight: 300;
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.gap-lg {
    gap: var(--spacing-lg);
}

.gap-xl {
    gap: var(--spacing-xl);
}

/* ============================================
   COMPONENTE: COMPONENT BOX (Saiba Mais, Vídeo, etc)
   ============================================ */

.component-box {
    background-color: #FFF5E6;
    border-left: 4px solid #FBB934;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.component-box.info {
    background-color: #FFF5E6;
    border-left-color: #FBB934;
}

.component-box.video {
    background-color: transparent !important;
    border: 3px solid #191915 !important;
    border-radius: 16px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-left: 3px solid #191915 !important;
}

.component-box.video .component-header {
    background-color: #FBB934 !important;
    padding: 16px 24px !important;
    margin-bottom: 0 !important;
}

.component-box.video .component-icon {
    color: #191915 !important;
}

.component-box.video .component-title {
    color: #191915 !important;
}

.component-box.video .component-content {
    padding: 0 !important;
}

.component-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--spacing-md);
}

.component-icon {
    width: 20px;
    height: 20px;
    color: #FBB934;
    flex-shrink: 0;
}

.component-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: var(--cream-text);
    margin: 0;
}

.component-content {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--cream-text);
}

.component-content p {
    margin: 0 0 var(--spacing-md) 0;
}

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

/* ============================================
   COMPONENTE: VIDEO PLAYER
   ============================================ */

.video-player {
    position: relative;
    width: 100%;
    background-color: #000;
    overflow: hidden;
    margin-bottom: 0;
}

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

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: not-allowed;
    pointer-events: none;
}

.video-controls {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    background-color: #191915 !important;
    padding: 16px 20px !important;
    margin-bottom: 0 !important;
}

.video-controls .control-button {
    cursor: not-allowed;
    pointer-events: none;
}

.control-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.control-button svg {
    fill: #FFFFFF;
}

.progress-bar {
    flex: 1;
    height: 5px;
    background-color: #FFFFFF;
    border-radius: 2.5px;
    position: relative;
    cursor: not-allowed;
}

.progress-fill {
    width: 84px;
    height: 10px;
    background-color: #FBB934;
    border-radius: 0;
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
}

.time-display {
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    color: #FFFFFF;
    white-space: nowrap;
    display: none;
}

.video-caption {
    background-color: #FFFFFF !important;
    padding: 24px !important;
    margin-bottom: 0 !important;
}

.video-caption p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    color: #191915 !important;
}

.video-link {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    color: #191915 !important;
    text-decoration: underline !important;
    padding: 20px 24px 24px !important;
    background-color: #FFFFFF !important;
    transition: color 0.2s ease !important;
}

.video-link:hover {
    color: #FBB934 !important;
}

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

/* ============================================
   COMPONENTE: CONTENT IMAGE
   ============================================ */

.content-image {
    margin: var(--spacing-xl) 0;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    display: block;
}

.content-image figcaption {
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    color: var(--cream-text);
    margin-top: var(--spacing-sm);
    font-style: italic;
}

/* ============================================
   COMPONENTE: HASHTAG TEXT
   ============================================ */

.hashtag-text {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: var(--font-size-md);
    color: #FBB934;
    margin: var(--spacing-md) 0;
}

.accessibility-box {
    background-color: #FEFEF8;
    border: 2px dashed #FBB934;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 24px 0;
}

.accessibility-label {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: #191915;
    display: inline;
}

.accessibility-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    color: #191915;
    font-style: italic;
    margin: 0;
    display: inline;
}

/* ============================================
   COMPONENTE: CONTENT NAVIGATION
   ============================================ */

.content-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(25, 25, 21, 0.1);
}

.btn-navigation {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px 24px;
    background-color: #FBB934;
    color: var(--cream-text);
    border: none;
    border-radius: var(--border-radius-md);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-previous { justify-self: start; }
.btn-next { justify-self: end; }

.btn-navigation:hover {
    background-color: #E5A82E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-navigation:active {
    transform: translateY(0);
}

.btn-navigation:disabled {
    background-color: #CCCCCC;
    cursor: not-allowed;
    opacity: 0.5;
}

.btn-navigation svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   COMPONENTE: TABS
   ============================================ */

.tabs-container {
    margin: var(--spacing-xl) 0;
}

.tabs-header {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    font-size: 0;
}

.tab-button {
    padding: 16px 10px;
    background-color: #E8E8D5;
    border: 3px solid #191915;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 13px;
    color: #191915;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
    text-align: center;
    line-height: 1.3;
}

.tab-button:not(:first-child) {
    margin-left: 4px;
}

.tab-button:first-child {
    border-top-left-radius: 16px;
}

.tab-button:last-child {
    border-top-right-radius: 16px;
}

.tab-button:last-child.active {
    border-top-right-radius: 0;
}

.tab-button:hover {
    background-color: #D5D5BE;
}

.tab-button.active {
    background-color: #FBB934;
    color: #191915;
    font-weight: 700;
    z-index: 3;
    border-bottom: none;
    margin-bottom: -3px;
    padding-bottom: calc(16px + 3px);
}

.tab-button:first-child {
    margin-left: 0;
}

.tab-button:first-child.active {
    border-bottom: 3px solid #191915;
    padding-bottom: 16px;
    margin-bottom: 0;
}

.tabs-content {
    background-color: #FFFFFF;
    border: 3px solid #191915;
    border-radius: 0 0 24px 24px;
    padding: 40px 48px;
    position: relative;
    z-index: 1;
    min-height: 200px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-panel h4 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: var(--cream-text);
    margin: 0 0 var(--spacing-md) 0;
    display: none;
}

.tab-panel p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: #191915;
    margin: 0 0 var(--spacing-lg) 0;
}

.tab-panel p:last-child {
    margin-bottom: 0;
}

.tab-panel p strong {
    font-weight: 700;
}

/* ============================================
   COMPONENTE: VACCINE TYPES CAROUSEL
   ============================================ */

.vaccine-types-carousel {
    margin: var(--spacing-xxl) 0;
    width: 100%;
}

.vaccine-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    font-size: 0;
}

.vaccine-tab {
    padding: 16px 32px;
    background-color: transparent;
    border: 2px solid var(--primary-yellow);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--primary-yellow-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
    text-align: center;
    line-height: 1.333;
    letter-spacing: 0.4%;
}

.vaccine-tab:not(:first-child) {
    margin-left: -1px;
    border-left: 1px solid var(--primary-yellow);
}

.vaccine-tab:first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.vaccine-tab:last-child {
    border-top-right-radius: 16px;
}

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

.vaccine-tab.active {
    background-color: var(--primary-yellow);
    color: var(--primary-yellow-dark);
    font-weight: 600;
    z-index: 3;
    border-bottom: none;
    margin-bottom: -2px;
    padding-bottom: calc(16px + 2px);
}

.vaccine-tab:first-child.active {
    border-bottom: 2px solid var(--primary-yellow);
    padding-bottom: 16px;
    margin-bottom: 0;
}

.vaccine-content {
    background-color: var(--white);
    border: 2px solid var(--primary-yellow);
    border-radius: 0 0 4px 4px;
    padding: 24px;
    position: relative;
    z-index: 1;
    min-height: 160px;
}

.vaccine-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.vaccine-panel.active {
    display: block;
}

.vaccine-panel p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.25%;
    color: var(--cream-text);
    margin: 0;
}

/* ============================================
   COMPONENTE: QUESTION BOX
   ============================================ */

.question-box {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 0;
    width: 100%;
    margin: var(--spacing-xxl) 0;
}

.question-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    color: var(--cream-text);
    flex-shrink: 0;
}

.question-text {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 21px;
    line-height: 1.333;
    letter-spacing: 0%;
    color: var(--cream-text);
    margin: 0;
    flex: 1;
}

/* ============================================
   COMPONENTE: EXERCISE BLOCK
   ============================================ */

.exercise-block {
    background-color: #FFFFFF;
    border: 2px solid #000000;
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 32px;
}

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

.exercise-number {
    width: 14px;
    height: 14px;
    min-width: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: transparent;
    border: 1.05px solid #000000;
    border-radius: 50%;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 9px;
    color: #000000;
    line-height: 1;
    margin-bottom: 3px;
}

.exercise-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.219;
    letter-spacing: 0.5%;
    color: #211502;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1;
    display: block;
}

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

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

.exercise-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 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;
}

/* ============================================
   COMPONENTE: REFERENCES BOX
   ============================================ */

.references-box {
    background-color: transparent;
    border: 2px solid #191915;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 48px;
}

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

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

.references-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.167;
    color: #191915;
    margin: 0;
}

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

.references-content p {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.429;
    letter-spacing: 0.25%;
    color: #191915;
    margin: 0 0 16px 0;
}

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

.references-content a {
    color: #191915;
    text-decoration: underline;
}

.references-content a:hover {
    color: #000000;
}

.exercise-content {
    padding-left: 30px;
    margin-bottom: 24px;
}

.exercise-content p {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: #191915;
    margin: 0 0 12px 0;
}

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

.useful-links-box {
    background-color: transparent;
    border: 2px solid #191915;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 32px;
}

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

.useful-links-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.167;
    color: #191915;
    margin: 0;
}

.useful-links-content {
    padding: 24px;
    background-color: #FFFFFF;
}

.useful-links-content p {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.429;
    letter-spacing: 0.25%;
    color: #191915;
    margin: 0 0 16px 0;
}

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

.useful-links-content a {
    color: #191915;
    text-decoration: underline;
    word-break: break-all;
}

.useful-links-content a:hover {
    color: #000000;
}

/* ============================================
   MÓDULO 2 - CORES AZUIS (#2E96D4)
   ============================================ */
body.module-2 .component-box.info {
    border-left-color: #2E96D4;
}

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

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

body.module-2 .video-link {
    color: #2E96D4 !important;
}

body.module-2 .video-link svg {
    color: #2E96D4;
}

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

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

body.module-2 .tab-button.active {
    background-color: #2E96D4;
}

body.module-2 .vaccine-tab.active {
    background-color: #2E96D4;
}

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

body.module-2 .btn-navigation {
    background-color: #2E96D4;
}

body.module-2 .btn-navigation:hover {
    background-color: #2580b8;
}

body.module-2 .exercise-option input[type="radio"]:checked ~ .radio-custom::before {
    display: none;
}

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

/* ============================================
   MÓDULO 3 - CORES VERMELHAS (#EA5548)
   ============================================ */
body.module-3 .component-box.info {
    border-left-color: #EA5548;
}

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

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

body.module-3 .video-link {
    color: #EA5548 !important;
}

body.module-3 .video-link svg {
    color: #EA5548;
}

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

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

body.module-3 .tab-button.active {
    background-color: #EA5548;
}

body.module-3 .vaccine-tab.active {
    background-color: #EA5548;
}

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

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

body.module-3 .btn-navigation {
    background-color: #EA5548;
}

body.module-3 .btn-navigation:hover {
    background-color: #d94940;
}

body.module-3 .exercise-option input[type="radio"]:checked ~ .radio-custom::before {
    display: block;
}

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

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

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

body.module-4 .video-link {
    color: #109D82 !important;
}

body.module-4 .video-link svg {
    color: #109D82;
}

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

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

body.module-4 .tab-button.active {
    background-color: #109D82;
}

body.module-4 .vaccine-tab.active {
    background-color: #109D82;
}

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

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

body.module-4 .btn-navigation {
    background-color: #109D82;
}

body.module-4 .btn-navigation:hover {
    background-color: #0e8771;
}

body.module-4 .exercise-option input[type="radio"]:checked ~ .radio-custom::before {
    display: block;
}