@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, input, button, select, textarea {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3 {
    color: #0f172a;
}

.main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

.header {
    background-color: #01205f;
    width: 100%;
    padding: 12px 0;
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-style: italic;
    font-size: 1.2rem;
    color: #fff;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.hero {
    display: flex;
    align-items: center;
    text-align:center;
    justify-content: space-between;
    padding: 60px 0 40px 0;
    gap: 40px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.3rem;
    margin-bottom: 12px;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #0f172a;
}

.hero-subtitle strong {
    color: #eab308;
}

.hero-description {
    font-size: 0.85rem;
    color: #0f172a;
    margin-bottom: 24px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-buttons a {
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #facc15;
    border: none;
    padding: 10px 22px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #cbd5e1;
    padding: 10px 22px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.85rem;
    color: #0f172a;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.lumi-highlight {
    font-weight: 700;
    margin-top: 10px;
}

.roadmap-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.roadmap-header h2 {
    font-size: 2rem;
}

.roadmap-description {
    font-size: 0.85rem;
    color: #0f172a;
    margin-bottom: 35px;
    max-width: 850px;
}

/* --- MAPA DO TESOURO INTERATIVO (ROADMAP) --- */
.treasure-map {
    position: relative;
    width: 100%;
    height: 700px;
    margin: 30px 0 80px 0;
}

.map-path-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.treasure-map .map-step {
    position: absolute;
    z-index: 2;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.treasure-map .map-step.revealed {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.treasure-map .number-badge {
    background-color: #facc15;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.treasure-map .number-badge:hover {
    transform: scale(1.1);
}

.treasure-map .map-step.revealed:not(.opened) .number-badge {
    animation: pulseMap 1.5s infinite;
}

@keyframes pulseMap {
    0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(250, 204, 21, 0); }
    100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

.treasure-map .step-content {
    position: absolute;
    width: 320px;
    opacity: 0;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.95);
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1;
}

.treasure-map .map-step.opened .step-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.treasure-map .step-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #0f172a;
}

.treasure-map .step-content p {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.5;
}

.treasure-map .step-content.right {
    top: 50%;
    left: 75px;
    transform: translate(-15px, -50%);
}
.treasure-map .map-step.opened .step-content.right {
    transform: translate(0, -50%);
}

.treasure-map .step-content.bottom {
    top: 70px;
    left: 50%;
    transform: translate(-50%, -15px);
}
.treasure-map .map-step.opened .step-content.bottom {
    transform: translate(-50%, 0);
}

/* --- FOOTER COMPLETO --- */
.footer {
    background-color: #01205f;
    padding: 40px 0 20px 0;
    color: #ffffff;
    text-align: center;
}

.footer-dark {
    background-color: #002b66; 
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #26c6da;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background-color: #facc15;
    color: #0f172a;
    border-color: #facc15;
}

.footer-copyright {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    width: 100%;
}

.vocational-section {
    margin-top: 70px;
}

.vocational-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.vocational-title-area h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.highlight-cyan {
    color: #26c6da;
}

.vocational-description {
    font-size: 0.85rem;
    color: #0f172a;
    max-width: 700px;
}

.vocational-avatar img {
    width: 140px;
}

.section-subtitle {
    color: #26c6da;
    font-style: italic;
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0px 0 20px 0;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.number-badge-small {
    background-color: #facc15;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.center-btn-container {
    display: flex;
    justify-content: center;
    margin: 35px 0 60px 0;
}

.btn-large {
    padding: 12px 35px;
    font-size: 0.9rem;
}

.areas-section h2 {
    font-size: 2.1rem;
    margin-bottom: 0px;
    
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.area-card {
    background-color: #fef9c3;
    border: 1px solid #fde047;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-header img {
    width: 70px;
    height: auto;
}

.card-header h3 {
    font-size: 1.2rem;
    text-align: left;
    max-width: 180px;
}

.area-card p {
    font-size: 0.82rem;
    color: #0f172a;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.4;
}

.btn-card {
    width: fit-content;
    padding: 8px 20px;
}

.link-inline {
    color: #0f172a;
    font-weight: 700;
    text-decoration: underline;
}

.link-inline:hover {
    color: #26c6da;
}

.header-dark, .footer-dark {
    background-color: #002b66;
}

.logo-text-light {
    color: #ffffff;
}

.nav-menu a.nav-light {
    color: #ffffff;
}

.vocational-page {
    padding-top: 50px;
}

.page-header {
    text-align: left;
    max-width: 825px;
    margin: 0 auto 40px auto;
}

.page-header h1 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.page-description {
    font-size: 0.88rem;
    color: #0f172a;
    line-height: 1.6;
}

.highlight-yellow {
    color: #d97706;
}

.vocational-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.vocational-steps {
    flex: 1;
}

.resultado-title,
.quiz-question-title,
.page-header h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lumi-inline {
    width: 80px;
    height: auto;
    vertical-align: middle;
    margin-left: 6px;
    margin-bottom: 3px;
}

.vocational-section .step-content {
    position: relative !important;
    width: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    pointer-events: auto !important;
    transform: none !important;
}

/* --- EFEITO LANTERNA NO LABIRINTO --- */
body {
    background-color: #ffffff; 
}

#luz-labirinto {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    
    background-image: url('imagens/labirinto.png'); 
    
    background-size: 1500px; 
    background-repeat: repeat;
    
    z-index: -10; 
    pointer-events: none; 
    
    --x: -100px;
    --y: -100px;
    
    -webkit-mask-image: radial-gradient(circle 75px at var(--x) var(--y), rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle 75px at var(--x) var(--y), rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    
    opacity: 0.5; 
}
/* --- SEÇÃO LUMI (VÍDEO E TEXTO SEPARADOS) --- */
.lumi-duas-caixas {
    display: flex;
    gap: 25px;
    margin: 40px 0 60px 0;
    align-items: stretch;
}

.lumi-caixa-texto {
    background-color: #fef9c3;
    border: 1px solid #fde047;
    border-radius: 16px;
    padding: 30px;
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lumi-caixa-video {
    flex: 1;
    display: flex;
}

.lumi-caixa-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    background-color: #000; 
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.lumi-caixa-texto h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.lumi-caixa-texto p {
    font-size: 0.85rem;
    color: #0f172a;
    margin-bottom: 10px;
}

/* --- RESPONSIVIDADE GERAL E DO MAPA (CELULARES E TABLETS) --- */
@media (max-width: 768px) {

    #luz-labirinto {
        display: none !important;
    }
    
    /* Cabeçalho e Menu */
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .lumi-duas-caixas {
        flex-direction: column;
        gap: 15px;
    }

    /* Hero (Banner Principal da Home) */
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 30px 0;
        gap: 20px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-content h1 {
        font-size: 1.8rem;
        white-space: normal;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .hero-buttons a {
        width: 100%;
    }
    .hero-image {
        justify-content: center;
        margin-bottom: 10px;
    }

    /* Seções do Questionário de Afinidade */
    .vocational-header, .vocational-body {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 20px;
    }
    .page-header {
        text-align: center;
    }
    .vocational-avatar {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 15px;
    }

    /* Grids Genéricos */
    .cards-grid {
        grid-template-columns: 1fr;
    }

    /* Rodapé */
    .footer-container {
        gap: 20px;
    }
    .footer-nav {
        gap: 15px;
        flex-direction: column;
    }

    /* Mapa do Tesouro Interativo */
    .treasure-map {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding-left: 25px;
        border-left: 3px dashed #26c6da;
        margin: 20px 0 40px 20px;
    }

    .map-path-svg { 
        display: none; 
    }

    .treasure-map .map-step {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: translateX(-30px);
    }
    
    .treasure-map .map-step.revealed { 
        transform: translateX(0); 
    }

    .treasure-map .number-badge {
        position: absolute;
        left: -54px;
        top: 0;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .treasure-map .step-content {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        transform: translateY(-10px) !important;
        padding: 10px 0;
        box-shadow: none;
        border: none;
        background: transparent;
    }

    .treasure-map .map-step.opened .step-content {
        transform: translateY(0) !important;
    }
}