/* ========================================
   EXPEDITION PAGE - ULTRA SIMPLE LAYOUT
   ======================================== */

html {
    scroll-behavior: smooth;
}

.expedition-page {
    background: var(--light-bg);
    min-height: 100vh;
}

.expedition-header {
    background: var(--gradient-3);
    color: var(--white);
    padding: 2.5rem 1.75rem;
    text-align: center;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
}

.expedition-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.expedition-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.guide-welcome {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
}

.expedition-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.4rem 1.5rem 2.8rem;
}

/* ========================================
   MAIN JOURNEY SECTION
   ======================================== */

.journey-main {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.journey-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    min-height: 100%;
}

.chapter-sidebar {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.05));
    padding: 1.75rem 1.4rem;
    border-right: 1px solid rgba(118, 75, 162, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    order: 1;
}

.chapter-stage {
    order: 2;
}

.chapter-chip-strip {
    display: none;
    position: relative;
    overflow-x: auto;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    scroll-snap-type: x proximity;
}

.chapter-chip-strip button {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(103, 126, 234, 0.25);
    padding: 0.45rem 1.1rem;
    font: inherit;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    scroll-snap-align: start;
}

.chapter-chip-strip button.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.25);
}

.chapter-chip-strip button .chip-number {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.chapter-chip-strip button .chip-label {
    white-space: nowrap;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chapter-chip-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 80px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    border-radius: inherit;
    display: none;
}

.chapter-context {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1.2rem 1.8rem 0 1.8rem;
}

.context-card {
    background: rgba(103, 126, 234, 0.08);
    border: 1px solid rgba(103, 126, 234, 0.15);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.context-card-muted {
    opacity: 0.75;
}

.context-card-current {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.15);
}

.context-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(44, 62, 80, 0.65);
    font-weight: 700;
}

.context-card strong {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.4;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.sidebar-header p {
    margin-top: 0.5rem;
    color: rgba(44, 62, 80, 0.8);
    line-height: 1.5;
    font-size: 0.95rem;
}

.chapter-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.chapter-list::-webkit-scrollbar {
    width: 6px;
}

.chapter-list::-webkit-scrollbar-thumb {
    background: rgba(118, 75, 162, 0.4);
    border-radius: 3px;
}

.chapter-pill {
    border: 1px solid rgba(103, 126, 234, 0.2);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
    font: inherit;
    color: inherit;
    outline: none;
}

.chapter-pill:hover {
    border-color: rgba(103, 126, 234, 0.5);
    transform: translateX(4px);
}

.chapter-pill.active {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.chapter-pill .pill-number {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--primary-color);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.chapter-pill .pill-content h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--secondary-color);
}

.chapter-pill .pill-content p {
    margin: 0.35rem 0 0 0;
    font-size: 0.9rem;
    color: rgba(44, 62, 80, 0.8);
}

.chapter-pill i {
    margin-left: auto;
    color: rgba(44, 62, 80, 0.5);
}

.chapter-pill:focus-visible {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
}

.sidebar-progress {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed rgba(118, 75, 162, 0.3);
}

.sidebar-progress-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(44, 62, 80, 0.85);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.sidebar-progress-label i {
    color: var(--primary-color);
}

/* Chapter Header */
.chapter-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 2.25rem 3rem;
    position: relative;
    overflow: hidden;
}

.chapter-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.chapter-number-badge {
    display: inline-flex;
    align-items: baseline;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.chapter-number-badge:hover {
    transform: translateY(-2px);
}

.chapter-number-badge #chapterNumber {
    font-size: 1.75rem;
    font-weight: 800;
    margin-right: 0.4rem;
    line-height: 1;
}

.chapter-number-badge .total {
    opacity: 0.85;
    font-size: 1.05rem;
}

.chapter-header h1 {
    font-size: 2.25rem;
    margin: 0 0 1.15rem 0;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.progress-bar-mini {
    height: 8px;
    background: rgba(102, 126, 234, 0.18);
    border-radius: 10px;
    overflow: hidden;
    max-width: 450px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%);
    border-radius: 10px;
    width: 16.66%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Content Grid - TEXTO + IMAGEM */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 460px;
}

/* LEFT COLUMN: Narrativa */
.narrative-column {
    padding: 3rem 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.narrative-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.35);
    transition: transform 0.3s ease;
}

.narrative-icon:hover {
    transform: rotate(-5deg) scale(1.05);
}

.narrative-text {
    font-size: 1.32rem;
    line-height: 1.75;
    color: #2c3e50;
    font-weight: 400;
    margin-bottom: 2.25rem;
    min-height: 200px;
    transition: opacity 0.5s ease;
    letter-spacing: 0.01em;
}

.narrative-text::first-letter {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Info Card */
#infoCardContainer .info-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-left: 5px solid var(--accent-color);
    padding: 1.3rem 1.45rem;
    border-radius: 16px;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

#infoCardContainer .info-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.info-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-card h4::before {
    content: '\f0eb';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    font-size: 1.4rem;
}

.info-card p {
    color: #2c3e50;
    line-height: 1.65;
    font-size: 1.05rem;
    font-weight: 400;
}

/* RIGHT COLUMN: Anatomia */
.anatomy-column {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    padding: 3rem 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 2px solid #e3e8ef;
    position: relative;
}

.anatomy-column::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.anatomy-viewer {
    width: 100%;
    max-width: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.anatomy-diagram {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease;
}

.anatomy-diagram .reference-image {
    width: 100%;
    height: auto;
    pointer-events: none;
    border-radius: 12px;
}

.anatomy-diagram:hover {
    transform: scale(1.02);
}

.organ-region {
    fill: rgba(255, 255, 255, 0.01);
    stroke: transparent;
    mix-blend-mode: multiply;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.organ-region:hover {
    fill: rgba(236, 72, 153, 0.15);
}

.organ {
    transition: all 0.3s ease;
    cursor: pointer;
}

.organ:hover {
    opacity: 1 !important;
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(52, 152, 219, 0.6));
}

.organ.highlighted {
    animation: highlight-pulse 1.5s infinite;
}

.organ-region.highlighted {
    fill: rgba(236, 72, 153, 0.35);
    stroke: rgba(190, 24, 93, 0.6);
}

.artery,
.vein {
    fill: none;
    pointer-events: none;
    stroke-linecap: round;
    stroke-width: 10;
}

.artery {
    stroke: rgba(192, 57, 43, 0.65);
}

.vein {
    stroke: rgba(36, 113, 163, 0.6);
}

@keyframes highlight-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(52, 152, 219, 1));
    }
}

#nephrons {
    transition: opacity 0.6s ease;
}

.organ-group {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Tooltip */
.anatomy-tooltip {
    position: absolute;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 100;
    pointer-events: none;
    max-width: 220px;
    font-size: 0.9rem;
}

.anatomy-tooltip.hidden {
    display: none;
}

.anatomy-tooltip h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.anatomy-tooltip p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
}

/* ========================================
   NAVIGATION
   ======================================== */

.journey-nav {
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem 2.25rem 2.25rem;
    background: var(--white);
    border-top: 1px solid var(--light-bg);
}

.journey-btn {
    padding: 1rem 2.1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    position: relative;
    overflow: hidden;
}

.journey-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.journey-btn:hover::before {
    left: 100%;
}

.journey-btn:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.45);
}

.journey-btn:active:not(:disabled) {
    transform: translateY(-1px) scale(0.98);
}

.journey-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
    background: #bdc3c7;
}

.journey-btn:disabled:hover {
    transform: none;
}

.journey-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.journey-btn:hover:not(:disabled) i {
    transform: translateX(3px);
}

.journey-btn-prev:hover:not(:disabled) i {
    transform: translateX(-3px);
}

/* Chapter Dots */
.chapter-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.chapter-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.chapter-dots .dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chapter-dots .dot:hover::before {
    opacity: 1;
}

.chapter-dots .dot:hover {
    background: #667eea;
    transform: scale(1.3);
}

.chapter-dots .dot.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 48px;
    border-radius: 7px;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6), 0 4px 12px rgba(102, 126, 234, 0.3);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.6), 0 4px 12px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.8), 0 6px 18px rgba(102, 126, 234, 0.4);
    }
}

/* ========================================
   GLOSSARY & ADVANCED (unchanged)
   ======================================== */

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-bg);
}

.card-header i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.card-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.glossary-section,
.advanced-section {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.glossary-section > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.term-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    border: 3px solid var(--secondary-color);
    color: var(--text-color);
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.term-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.term-btn:hover::before {
    height: 100%;
}

.term-btn i,
.term-btn span {
    position: relative;
    z-index: 1;
}

.term-btn i {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: all 0.4s ease;
}

.term-btn span {
    font-size: 1rem;
}

.term-btn:hover {
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(52, 152, 219, 0.4);
    border-color: transparent;
}

.term-btn:hover i {
    color: var(--white);
    transform: scale(1.15) rotate(5deg);
}

.term-btn:hover span {
    color: var(--white);
}

.advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advanced-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 5px solid var(--accent-color);
}

.advanced-card h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.advanced-card ul {
    list-style: none;
    padding: 0;
}

.advanced-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.advanced-card li i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.note {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    border-left: 3px solid var(--secondary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
    background: none;
    border: none;
}

.close-modal:hover {
    color: var(--accent-color);
}

#modalTitle {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

#modalBody {
    color: var(--text-color);
    line-height: 1.8;
}

#modalBody strong {
    color: var(--primary-color);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .journey-layout {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .chapter-stage {
        width: 100%;
        padding: 0 1rem 1rem;
    }

    .chapter-chip-strip {
        display: flex;
        gap: 0.75rem;
        padding: 0.75rem 1.1rem 1.15rem;
        overflow-x: auto;
        position: relative;
        scroll-snap-type: x proximity;
    }

    .chapter-chip-strip::after {
        display: block;
    }

    .chapter-chip-strip button {
        flex: 0 0 auto;
        border: 1px solid rgba(103, 126, 234, 0.25);
        border-radius: 999px;
        padding: 0.45rem 1.1rem;
        background: rgba(255, 255, 255, 0.9);
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        cursor: pointer;
        transition: background 0.3s ease, color 0.3s ease;
        scroll-snap-align: start;
    }

    .chapter-chip-strip button.active {
        background: var(--primary-color);
        color: var(--white);
        border-color: transparent;
    }

    .chapter-sidebar {
        display: none;
    }

    .chapter-context {
        grid-template-columns: 1fr;
        padding: 1.2rem 0.5rem 0;
    }

    .content-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        row-gap: 1.5rem;
    }

    .narrative-column,
    .anatomy-column {
        padding: 1.75rem 1.25rem;
    }

    .anatomy-column {
        border-left: none;
        border-top: 1px solid #e0e0e0;
        min-height: 380px;
    }

    .anatomy-viewer,
    .anatomy-viewer svg {
        max-height: 320px;
    }
}

@media (max-width: 768px) {
    .expedition-header h1 {
        font-size: 1.8rem;
    }

    .expedition-container {
        padding: 2rem 1rem;
    }

    .chapter-header {
        padding: 2rem 1.5rem;
    }

    .chapter-header h1 {
        font-size: 1.8rem;
    }

    .narrative-column,
    .anatomy-column {
        padding: 2rem 1.5rem;
    }

    .narrative-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .narrative-text {
        font-size: 1.15rem;
        min-height: auto;
        margin-bottom: 1.5rem;
    }

    .journey-nav {
        grid-template-columns: 1fr;
        padding: 1.75rem 1rem 1.25rem;
        gap: 1rem;
        position: sticky;
        bottom: 0;
        z-index: 10;
        background: var(--white);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
    }

    .journey-btn {
        width: 100%;
    }

    .chapter-dots {
        order: -1;
    }

    .chapter-context {
        padding: 1rem 1.25rem;
        gap: 0.5rem;
    }

    #infoCardContainer .info-card {
        padding: 1rem 1.2rem;
    }

    .anatomy-column {
        min-height: auto;
    }

    .glossary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advanced-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .chapter-chip-strip {
        padding: 0.6rem 0.85rem 1rem;
    }

    .chapter-context {
        grid-template-columns: 1fr;
    }

    .content-grid {
        row-gap: 1.5rem;
    }

    .narrative-column,
    .anatomy-column {
        padding: 1.75rem 1.25rem;
    }

    .anatomy-viewer,
    .anatomy-viewer svg {
        max-height: 280px;
    }

    .journey-nav {
        padding: 1.5rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .expedition-header {
        padding: 2rem 1rem;
    }

    .expedition-header h1 {
        font-size: 1.5rem;
    }

    .chapter-header h1 {
        font-size: 1.5rem;
    }

    .chapter-number-badge {
        font-size: 1rem;
    }

    .narrative-text {
        font-size: 1.05rem;
        min-height: auto;
    }

    .journey-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .chapter-context {
        padding: 0.75rem 1rem;
    }

    #infoCardContainer .info-card {
        padding: 0.85rem 1rem;
    }

    .journey-nav {
        padding: 1.5rem 1rem;
    }

    .glossary-grid {
        grid-template-columns: 1fr;
    }

    .term-btn i {
        font-size: 1.5rem;
    }
}

/* ========================================
   SVG ANATOMIA INTERATIVA - IMAGEM REAL + OVERLAY
   ======================================== */

.anatomy-viewer {
    background: linear-gradient(135deg, #f5f7fa 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-radius: 15px;
}

/* Elementos SVG overlay transparentes */
.organ-group {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.organ {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover - overlay colorido vibrante */
.organ-group:hover .organ {
    fill: rgba(52, 152, 219, 0.5) !important;
    stroke: #3498db !important;
    stroke-width: 6 !important;
    filter: drop-shadow(0 0 20px rgba(52, 152, 219, 0.8));
    animation: organ-pulse-hover 1.2s ease-in-out infinite;
}

@keyframes organ-pulse-hover {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Estado highlighted (durante narrativa) - overlay amarelo */
.organ-group.highlighted .organ {
    fill: rgba(255, 193, 7, 0.6) !important;
    stroke: #FFC107 !important;
    stroke-width: 6 !important;
    filter: drop-shadow(0 0 25px rgba(255, 193, 7, 0.9));
    animation: organ-highlight-pulse 1.5s ease-in-out infinite;
}

@keyframes organ-highlight-pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}
