

/* ============ BANNER DO TOPO ============ */
.curso-top-main {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 350px;
}
.curso-top-img {
    flex: 0 0 60%;
    width: 60%;
    min-width: 220px;
    min-height: 350px;
    max-height: 450px;
    object-fit: cover;
    display: block;
}
.curso-top-info {
    flex: 1 1 0;
    min-width: 240px;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
}
.curso-top-info-inner {
    padding: 40px 30px 30px 30px;
    width: 100%;
}
.curso-top-title {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 8px;
}
.curso-top-subtitle {
    font-size: 1.18em;
    font-weight: 400;
    color: #bbb;
}
.curso-top-desc {
    margin-top: 20px;
    font-size: 1.08em;
    color: #fff;
}
.curso-info-box {
    background: #232323;
    border-radius: 7px;
    padding: 16px 20px;
    margin-top: 18px;
    box-shadow: 0 2px 10px #0001;
    color: #fff;
    max-width: 300px;
    border-top: 5px solid #d43c2b;
}
.curso-info-box h4 { margin: 0 0 12px 0; color: #fff; }
.curso-info-box ul { list-style: none; padding: 0; margin: 0; }
.curso-info-box li {
    margin-bottom: 7px;
    font-size: 1em;
    display: flex;
    align-items: center;
}
.curso-info-check {
    color: #e05454;
    margin-right: 8px;
    font-size: 1.1em;
}
.curso-btn-atendimento {
    background: #e05454;
    color: #fff;
    font-weight: bold;
    padding: 12px 26px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin: 22px 0;
    font-size: 1em;
    box-shadow: 0 2px 10px #0003;
    transition: background .2s;
    display: inline-block;
}
.curso-btn-atendimento:hover { background: #ff7153; color: #fff; }

/* ============ DIFERENCIAIS ============ */
.diferenciais-container {
    background: #181818;
    width: 100%;
    padding: 36px 32px 10px 32px;
    margin-top: 36px;
    box-sizing: border-box;
}
.curso-info-container {
    background: #181818;
    width: 100%;
    padding: 36px 32px 34px 32px;
    margin-top: 36px;
    box-sizing: border-box;
}
.diferenciais-lista-curso {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: center;
    margin: 28px 0 40px 0;
}
.diferencial-curso {
    width: 180px;
    text-align: center;
    margin-bottom: 15px;
}
.diferencial-curso img {
    width: 42px;
    margin-bottom: 12px;
}
.diferencial-curso h4 { font-size: 15px; margin: 7px 0 3px 0; color: #fff; }
.diferencial-curso p { font-size: 13px; color: #bbb; }
/* ============ SLIDESHOW (REAL) ============ */
.curso-slideshow-main {
    width: 100%;
    margin: 36px 0;
    padding: 0 32px;
    box-sizing: border-box;
}
.curso-slideshow-container {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    background: #000;
}
.curso-slideshow-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}
.curso-slideshow-photo.active {
    opacity: 1;
    z-index: 2;
}
.curso-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 3;
}
.curso-slide-btn:hover {
    background: #e05454;
    transform: translateY(-50%) scale(1.08);
}
.curso-slide-btn.prev { left: 16px; }
.curso-slide-btn.next { right: 16px; }
.curso-slide-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
    z-index: 3;
}
.curso-slide-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.curso-slide-dot:hover { background: rgba(255, 255, 255, 0.85); }
.curso-slide-dot.active {
    background: #e05454;
    transform: scale(1.25);
}


/* ============ SEÇÕES DE TEXTO ============ */
.curso-section-title {
    font-size: 1.23em;
    font-weight: bold;
    margin: 40px 0 15px 0;
    color: #fff;
}
.curso-section-title hr {
    border: none;
    border-top: 2px solid #e05454;
    width: 40px;
    margin: 0 0 10px 0;
}
.curso-text-block {
    color: #ccc;
    margin-bottom: 23px;
    font-size: 1.06em;
}
.curso-modulo-title {
    margin-top: 18px;
    margin-bottom: 2px;
    font-size: 1.08em;
    font-weight: bold;
    color: #fff;
}
.curso-modulo-desc {
    color: #bbb;
    font-size: .98em;
    margin-bottom: 14px;
}



/* ============ RODAPÉ ============ */
.curso-footer {
    width: 100%;
    background: #121212;
    color: #bbb;
    font-size: .96em;
    padding: 40px 0 12px 0;
    margin-top: 44px;
}
.curso-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: space-between;
    box-sizing: border-box;
}
.curso-footer-col {
    min-width: 180px;
    max-width: 330px;
    margin-bottom: 22px;
}
.curso-footer-col h4 {
    color: #fff;
    font-weight: bold;
    margin: 0 0 12px 0;
    font-size: 1.05em;
    border-bottom: 1px solid #bbb3;
    padding-bottom: 7px;
}
.curso-footer-logo { margin-bottom: 15px; }



/* ============ RESPONSIVO ============ */
@media (max-width: 950px) {
    .curso-top-main { flex-direction: column; min-height: 0; }
    .curso-top-img {
        flex: 0 0 auto;
        width: 100%;
        height: 240px;
        min-height: 0;
        max-height: 280px;
    }
    .curso-top-info-inner { padding: 26px 18px; }
    .curso-info-box { margin: 18px auto 0 auto; }
    .diferenciais-lista-curso { gap: 17px; }
    .curso-slide-btn { width: 40px; height: 40px; font-size: 1.2em; }
}
@media (max-width: 600px) {
    .curso-top-title { font-size: 1.4em; }
    .curso-top-img { height: 180px; max-height: 180px; }
    .diferencial-curso { width: 95vw; max-width: 260px; }
    .diferenciais-container,
    .curso-info-container { padding: 24px 6vw 8px 6vw; }
    .curso-slide-btn { width: 34px; height: 34px; font-size: 1em; }
    .curso-slide-btn.prev { left: 8px; }
    .curso-slide-btn.next { right: 8px; }
    .curso-slide-dots { bottom: 10px; gap: 6px; }
    .curso-slide-dot { width: 9px; height: 9px; }
    .curso-slideshow-main { padding: 0 6vw; }
    .curso-slideshow-container { aspect-ratio: 16 / 9; }
}
@media (max-width: 800px) {
    .curso-footer-inner { flex-direction: column; gap: 18px; align-items: flex-start; }
    .curso-footer-col { max-width: 100vw; }
}