@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    min-height: 100%;
}

html{
     height: 100%;
}

/* =========================================================
   HERO
   ========================================================= */

.curso-hero,
.curso-hero * {
    color: inherit;
}

.curso-hero-descricao,
.curso-hero-descricao * {
    color: rgba(255, 255, 255, 0.92) !important;
}

.curso-hero {
    background: var(--curso-hero-bg, #447ba1);
    color: #fff;
    padding: 48px 48px 56px;
}

.curso-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 48px;
    align-items: center;
}

.curso-hero-categoria {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.curso-hero-titulo {
    font-size: 32px;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 16px;
    line-height: 1.3;
}

.curso-hero-descricao {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
    max-width: 560px;
    margin: 0 0 28px;
}

.curso-hero-descricao p {
    margin: 0 0 10px;
}

.curso-hero-descricao p:last-child {
    margin-bottom: 0;
}

.curso-hero-acoes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.curso-btn-entrar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    background: var(--laranja);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.curso-btn-entrar:hover {
    background: #d8732e;
}

.curso-btn-voltar-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.curso-btn-voltar-hero:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Mídia do hero (vídeo ou imagem) */
.curso-hero-midia {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.curso-hero-midia .curso-video {
    margin-bottom: 0;
}

.curso-hero-midia img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
}

.curso-hero-descricao details {
    display: none !important;
}

.curso-libras-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.curso-libras-link:hover {
    color: #fff;
}
/* =========================================================
   FAIXA DE METADADOS
   ========================================================= */
.curso-meta-faixa {
    background: #fff;
    border-bottom: 1px solid #e8ecf4;
}

.curso-meta-faixa-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 48px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
}

.curso-meta-faixa-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.curso-meta-faixa-item i {
    font-size: 26px;
    color: #1f4f73;
}

.curso-meta-faixa-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.curso-meta-faixa-valor {
    font-size: 15px;
    color: #4F5A68;
    font-weight: 700;
}

/* =========================================================
   CONTEÚDO PRINCIPAL
   ========================================================= */
.curso-detalhe {
     flex: 1 0 auto;
    min-height: 0;
    padding: 0;
    background: #f8f9fc;
}

.curso-detalhe-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.curso-descricao h2 {
    font-size: 18px;
    font-weight: 700;
    color: #4F5A68;
    margin: 0 0 16px;
}

.curso-descricao-texto {
    font-size: 15px;
    color: #4F5A68;
    line-height: 1.8;
}

.curso-descricao-texto p {
    margin: 0 0 12px;
}

.curso-descricao-texto p:last-child {
    margin-bottom: 0;
}

.curso-descricao-texto strong,
.curso-descricao-texto b {
    color: #4F5A68;
    font-weight: 700;
}

/* Vídeo (formato 16:9, usado dentro do hero) */
.curso-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

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

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 900px) {
    .curso-hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .curso-hero-midia {
        order: -1;
    }

    .curso-hero {
        padding: 32px 24px 40px;
    }

    .curso-meta-faixa-inner {
        padding: 24px;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .curso-detalhe {
    flex: 1 0 auto;
    min-height: 120px;
    padding: 40px 48px 64px;
    background: #f8f9fc;
    }
}

@media (max-width: 600px) {
    .curso-hero-titulo {
        font-size: 24px;
    }

    .curso-hero-acoes {
        flex-direction: column;
    }

    .curso-btn-entrar,
    .curso-btn-voltar-hero {
        width: 100%;
    }
}

#vitrine {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.footer {
    flex-shrink: 0;
    margin-top: auto;
}