/* ── Hero ebook (estilo dark como catálogo) ── */
.ebook-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 48px;
    background: linear-gradient(160deg, #070821 0%, #1b1355 40%, #2d1470 70%, #3b1a8e 100%);
}

.ebook-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 15% 30%, rgba(122, 40, 255, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 85% 60%, rgba(91, 30, 187, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.ebook-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 48px;
    align-items: center;
}

.ebook-hero-cover {
    flex: 0 0 300px;
    position: relative;
}

/* Ajustar o card-ebook dentro do hero escuro */
.ebook-hero-cover .card-ebook {
    background: transparent;
    border: none;
    box-shadow: none;
    width: 100%;
    max-width: 300px;
}

.ebook-hero-cover .card-ebook:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Esconder body/actions/buy do card no hero — só queremos o visual do livro */
.ebook-hero-cover .card-ebook-body,
.ebook-hero-cover .ebook-card-actions {
    display: none;
}

.ebook-hero-info {
    flex: 1;
    min-width: 0;
}

.ebook-hero-info .badge-tipo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(122, 40, 255, 0.2);
    border: 1px solid rgba(122, 40, 255, 0.35);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #c4b5fd;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

.ebook-hero-info h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 16px;
}

.ebook-hero-info h1 span {
    background: linear-gradient(90deg, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ebook-hero-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.ebook-hero-stars .fa {
    font-size: 16px;
    color: #f5a623;
    text-shadow: 0 1px 4px rgba(245, 166, 35, 0.4);
}

.ebook-hero-stars .stars-note {
    font-size: 14px;
    font-weight: 700;
    color: #d4c6f0;
    margin-left: 6px;
}

.ebook-hero-stars .stars-label {
    font-size: 13px;
    color: #b8a4d6;
    margin-left: 4px;
}

.ebook-hero-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.ebook-hero-meta span {
    font-size: 0.92rem;
    color: #d4c6f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ebook-hero-meta span i {
    color: #a78bfa;
    font-size: 1rem;
}

.ebook-hero-resumo {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #d4c6f0;
    line-height: 1.7;
    margin-bottom: 28px;
}

.ebook-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.ebook-hero-preco {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ebook-hero-btn-cart {
    background: linear-gradient(90deg, var(--purple-1), var(--purple-2));
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(122, 40, 255, 0.3);
    letter-spacing: 0.3px;
}

.ebook-hero-btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(122, 40, 255, 0.45);
}

.ebook-hero-btn-promo {
    background: linear-gradient(90deg, #FF4569, #FF6B35);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(255, 69, 105, 0.3);
    letter-spacing: 0.3px;
}

.ebook-hero-btn-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 69, 105, 0.45);
}

/* ── Curso relacionado ── */
.ebook-curso-relacionado {
    padding: 50px 0;
    background: #fff;
}

.ebook-curso-relacionado .section-label-wrap {
    text-align: center;
    margin-bottom: 32px;
}

.ebook-curso-relacionado .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(122, 40, 255, 0.08);
    border: 1px solid rgba(122, 40, 255, 0.18);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--purple-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.curso-rel-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.curso-rel-card-wrap {
    flex: 0 0 262px;
}

.curso-rel-card-wrap .card_curso {
    margin: 0;
}

.curso-rel-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.curso-rel-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

.curso-rel-info .curso-rel-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.curso-rel-info .curso-rel-introducao {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.75;
    padding: 14px 18px;
    background: var(--bg);
    border-left: 3px solid var(--purple-1);
    border-radius: 0 8px 8px 0;
}

.curso-rel-info .curso-rel-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.curso-rel-info .curso-rel-badges .badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: #555;
    background: var(--bg);
    padding: 6px 14px;
    border-radius: 8px;
}

.curso-rel-info .curso-rel-badges .badge-item i {
    color: var(--purple-1);
    font-size: 1rem;
}

.curso-rel-info .curso-rel-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.curso-rel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.curso-rel-btn-primary {
    background: linear-gradient(90deg, var(--purple-1), var(--purple-2));
    color: #fff;
    border: none;
}

.curso-rel-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 40, 255, 0.3);
}

.curso-rel-btn-outline {
    background: transparent;
    color: var(--purple-1);
    border: 2px solid var(--purple-1);
}

.curso-rel-btn-outline:hover {
    background: rgba(122, 40, 255, 0.06);
}

/* ── Seção O que você vai ler ── */
.ebook-capitulos-section {
    padding: 50px 0;
    background: #fff;
}

.ebook-capitulos-section .section-header {
    margin-bottom: 32px;
}

.ebook-capitulos-section .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(122, 40, 255, 0.08);
    border: 1px solid rgba(122, 40, 255, 0.18);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--purple-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.ebook-capitulos-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px;
}

.ebook-capitulos-section .section-sub {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.capitulos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}

.capitulo-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #ede8f5;
    border-radius: 12px;
    padding: 16px 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.capitulo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.capitulo-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--purple-1), var(--purple-2));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.capitulo-nome {
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.4;
}

/* ── Pacote / Ebooks do curso (Grid Simples) ── */
.ebook-pacote-section {
    padding: 50px 0 60px;
    background: var(--bg);
}

.ebook-pacote-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}

.ebook-pacote-section .pacote-subtitulo {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 32px;
}

/* Grid de e-books */
.ebook-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    justify-items: center;
}

.ebook-grid .card-ebook {
    width: 100%;
    max-width: 180px;
}

/* Ajustes especiais para cards na seção de e-books do curso */
.ebook-pacote-section .card-ebook {
    font-size: 0.9rem;
}

.ebook-pacote-section .card-ebook .ebook-book-category {
    font-size: 9px;
    padding: 3px 6px;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 85%;
}

.ebook-pacote-section .card-ebook .ebook-book-title-overlay {
    font-size: 10px;
    line-height: 1.2;
    padding: 5px 7px;
}

/* Ocultar resumo na seção de e-books do curso */
.ebook-pacote-section .card-ebook-body .card-ebook-resumo {
    display: none;
}

/* Reorganizar layout dos elementos restantes */
.ebook-pacote-section .card-ebook-body {
    padding: 10px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Linha 1: Estrelas */
.ebook-pacote-section .card-ebook-stars {
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 3px;
    justify-content: center;
    height: 16px;
}

.ebook-pacote-section .card-ebook-stars-note {
    font-size: 10px;
    margin-left: 4px;
}

/* Linha 2: Valor */
.ebook-pacote-section .card-ebook-price-value {
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    height: 18px;
    line-height: 18px;
}

/* Linha 3: Botão */
.ebook-pacote-section .card-ebook-buy {
    font-size: 11px;
    padding: 6px 10px;
    height: 32px;
    width: 100%;
    margin: 0;
}

/* Remover o info-row original que juntava estrelas e preço */
.ebook-pacote-section .card-ebook-info-row {
    display: none;
}

/* ── Bloco Promocional do Pacote ── */
.pacote-promo-block {
    margin-top: 48px;
    padding: 0;
}

.pacote-promo-card {
    position: relative;
    background: linear-gradient(135deg, #7A28FF 0%, #5B1EBB 50%, #4A148C 100%);
    border-radius: 20px;
    padding: 32px 28px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(122, 40, 255, 0.25);
    transform: perspective(1000px) rotateX(0deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pacote-promo-card:hover {
    transform: perspective(1000px) rotateX(1deg) translateY(-4px);
    box-shadow: 0 16px 56px rgba(122, 40, 255, 0.35);
}

.pacote-promo-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20px;
    width: 160px;
    height: 160px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pacote-promo-selo {
    position: absolute;
    top: -8px;
    left: 28px;
    background: linear-gradient(90deg, #FF4569, #FF6B35);
    color: #fff;
    padding: 8px 20px;
    border-radius: 0 0 16px 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 69, 105, 0.3);
    z-index: 5;
}

.pacote-promo-selo-certificado {
    position: absolute;
    top: -8px;
    right: 28px;
    background: linear-gradient(90deg, #4AFF9A, #00C853);
    color: #1B5E20;
    padding: 6px 16px;
    border-radius: 0 0 12px 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(74, 255, 154, 0.25);
    z-index: 5;
}

.pacote-promo-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

.pacote-promo-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.3;
}

.pacote-promo-info .promo-descricao {
    font-size: 0.95rem;
    margin: 0 0 16px;
    opacity: 0.9;
    line-height: 1.5;
}

.pacote-promo-info .promo-beneficios {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.promo-beneficio {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.promo-beneficio i {
    color: #4AFF9A;
    font-size: 14px;
}

.pacote-promo-pricing {
    text-align: right;
}

.promo-off-badge {
    background: linear-gradient(90deg, #4AFF9A, #00C853);
    color: #1B5E20;
    font-size: 1.1rem;
    font-weight: 900;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
    display: inline-block;
    letter-spacing: 0.3px;
}

.promo-precos .preco-original {
    font-size: 1rem;
    text-decoration: line-through;
    opacity: 0.7;
    margin-bottom: 4px;
}

.promo-precos .preco-promocional {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 16px;
}

.promo-btn {
    background: linear-gradient(90deg, #FF4569, #FF6B35);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 69, 105, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    min-width: 220px;
    justify-content: center;
}

.promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 69, 105, 0.4);
}

.promo-btn:active {
    transform: translateY(-1px);
}

.promo-economia {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 8px;
    font-style: italic;
}

.promo-destaque {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border-left: 3px solid #4AFF9A;
}

.promo-destaque i {
    color: #4AFF9A;
    font-size: 16px;
}

/* Card do ebook atual no grid — destaque visual */
.ebook-pacote-section .card-ebook-atual {
    border: 2px solid var(--purple-1);
    box-shadow: 0 0 0 3px rgba(122, 40, 255, 0.12), 0 8px 24px rgba(122, 40, 255, 0.10);
    position: relative;
}

.ebook-pacote-section .card-ebook-atual::after {
    content: 'Você está aqui';
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--purple-1);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    z-index: 6;
    letter-spacing: 0.3px;
}

/* Responsividade do bloco promocional */
@media (max-width: 900px) {
    .pacote-promo-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .pacote-promo-pricing {
        text-align: center;
    }

    .pacote-promo-info h3 {
        font-size: 1.3rem;
    }

    .pacote-promo-card {
        padding: 28px 24px;
    }

    .pacote-promo-selo-certificado {
        right: 24px;
    }
}

@media (max-width: 680px) {
    .pacote-promo-block {
        margin-top: 32px;
    }

    .pacote-promo-card {
        padding: 24px 20px;
    }

    .pacote-promo-info h3 {
        font-size: 1.2rem;
    }

    .promo-precos .preco-promocional {
        font-size: 1.6rem;
    }

    .promo-btn {
        width: 100%;
        min-width: auto;
        font-size: 0.9rem;
    }

    .pacote-promo-info .promo-beneficios {
        justify-content: center;
    }

    .pacote-promo-selo-certificado {
        right: 20px;
        font-size: 9px;
        padding: 4px 12px;
    }

    .promo-destaque {
        text-align: left;
    }
}

/* Responsividade do grid */
@media (max-width: 1200px) {
    .ebook-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 18px;
    }
}

@media (max-width: 900px) {
    .ebook-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .ebook-grid .card-ebook {
        max-width: 160px;
    }
}

@media (max-width: 680px) {
    .ebook-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .ebook-grid .card-ebook {
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .ebook-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .ebook-grid .card-ebook {
        max-width: 160px;
    }
}

/* ── Breadcrumbs ── */
.ebook-breadcrumbs {
    padding: 14px 0 0;
    background: linear-gradient(160deg, #070821 0%, #1b1355 40%);
}

.ebook-breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.82rem;
}

.ebook-breadcrumbs ol li {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #b8a4d6;
}

.ebook-breadcrumbs ol li a {
    color: #c4b5fd;
    text-decoration: none;
}

.ebook-breadcrumbs ol li a:hover {
    text-decoration: underline;
    color: #fff;
}

.ebook-breadcrumbs ol li::after {
    content: '›';
    margin-left: 2px;
    color: #7c6a9e;
}

.ebook-breadcrumbs ol li:last-child::after {
    content: '';
}

/* ── Seção Prova Social / Depoimentos ── */
.prova-social-section {
    padding: 50px 0;
    background: #fff;
}

.prova-social-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.prova-social-section .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(122, 40, 255, 0.08);
    border: 1px solid rgba(122, 40, 255, 0.18);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--purple-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.prova-social-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}

.prova-social-section .section-sub {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.comentarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.card-comentario {
    background: #fff;
    border: 1px solid #ede8f5;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-comentario:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.comentario-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.avatar-iniciais {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-1), var(--purple-2));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

.comentario-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 2px;
}

.comentario-info time {
    font-size: 0.82rem;
    color: #666;
}

.comentario-corpo {
    margin-bottom: 16px;
}

.comentario-corpo p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.comentario-footer .estrelas {
    display: flex;
    gap: 2px;
}

.comentario-footer .estrelas .fa {
    color: #f5a623;
    font-size: 14px;
}

.prova-social-cta {
    text-align: center;
    padding: 24px;
    background: var(--bg);
    border-radius: 16px;
}

.prova-social-cta p {
    font-size: 1.1rem;
    color: var(--text);
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.prova-social-cta a {
    color: var(--purple-1);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.prova-social-cta a:hover {
    border-bottom-color: var(--purple-1);
}

/* ── Responsivo ── */
@media (max-width: 900px) {
    .ebook-hero .container {
        gap: 32px;
    }

    .ebook-hero-cover {
        flex: 0 0 240px;
    }

    .ebook-hero-cover .card-ebook {
        max-width: 240px;
    }

    .ebook-hero-info h1 {
        font-size: 1.6rem;
    }

    .curso-rel-card-wrap {
        flex: 0 0 260px;
    }

    .curso-rel-row {
        gap: 28px;
    }
}

@media (max-width: 680px) {
    .ebook-hero {
        padding: 40px 0 36px;
    }

    .ebook-hero .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ebook-hero-cover {
        flex: none;
    }

    .ebook-hero-meta {
        justify-content: center;
    }

    .ebook-hero-stars {
        justify-content: center;
    }

    .ebook-hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .ebook-hero-actions button {
        width: 100%;
        max-width: 280px;
    }

    .curso-rel-card {
        flex-direction: column;
        text-align: center;
    }

    .curso-rel-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .curso-rel-card-wrap {
        flex: none;
        width: 100%;
        max-width: 300px;
    }

    .curso-rel-info .curso-rel-badges {
        justify-content: center;
    }

    .curso-rel-info .curso-rel-actions {
        justify-content: center;
    }

    .capitulos-grid {
        grid-template-columns: 1fr;
    }

    .comentarios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .ebook-hero {
        padding: 28px 0;
    }

    .ebook-hero-info h1 {
        font-size: 1.3rem;
    }
}

/* ========================================================================================
   14. MODAL DE CARGA HORÁRIA - REMOVIDA (não é mais necessária)
======================================================================================== */

/* CSS da modal removido - carga horária agora é fixa em 60h */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
box-sizing: border-box;
}

.modal-carga-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-carga-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    font-family: 'Poppins', sans-serif;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-carga-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid #f1f5f9;
}

.modal-carga-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-carga-header h3 i {
    color: var(--purple-1);
    font-size: 20px;
}

.modal-carga-close {
    background: none;
    border: none;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-carga-close:hover {
    background: #f8fafc;
    color: var(--text);
}

.modal-carga-body {
    padding: 28px;
}

.modal-carga-desc {
    margin: 0 0 24px 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.horas-opcoes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.hora-opcao {
    cursor: pointer;
    position: relative;
}

.hora-opcao input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.hora-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hora-opcao input[type="radio"]:checked+.hora-card {
    background: linear-gradient(135deg, var(--purple-1), var(--purple-2));
    border-color: var(--purple-1);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122, 40, 255, 0.25);
}

.hora-opcao:hover .hora-card {
    border-color: var(--purple-1);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.hora-numero {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.hora-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.hora-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #10b981;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-carga-info {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 28px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--purple-1);
    font-size: 16px;
    flex-shrink: 0;
}

.modal-carga-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 20px 28px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}

.btn-modal-cancelar {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-modal-cancelar:hover {
    background: #e2e8f0;
    color: var(--text);
}

.btn-modal-confirmar {
    background: linear-gradient(90deg, var(--purple-1), var(--purple-2));
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-modal-confirmar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 40, 255, 0.3);
}

.btn-modal-confirmar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsividade do Modal */
@media (max-width: 680px) {
    .modal-carga-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }

    .horas-opcoes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hora-card {
        padding: 16px 12px;
        min-height: 70px;
    }

    .hora-numero {
        font-size: 20px;
    }

    .modal-carga-header {
        padding: 20px;
    }

    .modal-carga-body {
        padding: 20px;
    }

    .modal-carga-footer {
        padding: 16px 20px;
        flex-direction: column;
    }

    .btn-modal-cancelar,
    .btn-modal-confirmar {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .horas-opcoes-grid {
        grid-template-columns: 1fr;
    }
}
}

.ebook-hero-info h1 {
    font-size: 1.3rem;
}

.ebook-hero-cover .card-ebook {
    max-width: 220px;
}

.ebook-hero-preco {
    font-size: 1.25rem;
}

.ebook-hero-btn-cart {
    padding: 12px 24px;
    font-size: 0.92rem;
}

.ebook-hero-btn-promo {
    padding: 12px 24px;
    font-size: 0.92rem;
}

.comentarios-grid {
    gap: 16px;
}

.card-comentario {
    padding: 20px;
}

.prova-social-cta p {
    font-size: 1rem;
}
}

/* ==================== Modal Login Bonito ==================== */
.login-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(20, 13, 45, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.login-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.login-modal-box {
    width: min(420px, 100%);
    border-radius: 16px;
    border: 1px solid #e5ddfa;
    background: #fff;
    box-shadow: 0 20px 40px rgba(17, 8, 43, 0.25);
    padding: 32px 24px 24px;
    text-align: center;
    transform: scale(0.9);
    transition: transform .25s ease;
}

.login-modal-overlay.is-open .login-modal-box {
    transform: scale(1);
}

.login-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--purple-1, #7A28FF), var(--purple-2, #5B1EBB));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.login-modal-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #2f2360;
    font-family: 'Poppins', sans-serif;
}

.login-modal-text {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.5;
    color: #4a3e70;
    font-family: 'Poppins', sans-serif;
}

.login-modal-actions {
    display: flex;
    justify-content: center;
}

.btn-modal-login {
    background: linear-gradient(135deg, var(--purple-1, #7A28FF), var(--purple-2, #5B1EBB));
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(122, 40, 255, 0.3);
}

.btn-modal-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 40, 255, 0.4);
}

.btn-modal-login:active {
    transform: translateY(0);
}

/* Responsividade do Modal de Login */
@media (max-width: 480px) {
    .login-modal-box {
        padding: 24px 20px 20px;
    }

    .login-modal-icon {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .login-modal-title {
        font-size: 18px;
    }

    .btn-modal-login {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }
}