/* =========================================================
   COGNITUS EDUCAÇÃO
   PÁGINA INDIVIDUAL DE MATERIAL
========================================================= */

.produto-single {
    background: #f7faff;
    padding: 48px 20px 80px;
}

.produto-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* VOLTAR */

.produto-voltar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
    color: #5d6b82;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.produto-voltar:hover {
    color: #123b7a;
}


/* =========================================================
   ÁREA PRINCIPAL
========================================================= */

.produto-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 64px;
    align-items: center;

    background: #ffffff;
    border: 1px solid #e6edf7;
    border-radius: 28px;
    padding: 42px;

    box-shadow: 0 18px 50px rgba(18, 59, 122, 0.07);
}


/* =========================================================
   IMAGEM
========================================================= */

.produto-imagem {
    width: 100%;
    min-width: 0;
}

.produto-capa {
    display: block;
    width: 100%;
    height: auto;
    max-height: 610px;
    object-fit: contain;

    background: #f4f8fd;
    border-radius: 20px;
}

.produto-sem-imagem {
    width: 100%;
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3f7fc;
    border-radius: 20px;

    color: #8390a5;
    font-size: 15px;
}


/* =========================================================
   INFORMAÇÕES
========================================================= */

.produto-info {
    min-width: 0;
}

.produto-tag {
    display: inline-block;
    margin-bottom: 16px;

    color: #2e92df;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.produto-info h1 {
    margin: 0 0 16px;

    color: #102f62;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.produto-subtitulo {
    margin: 0 0 28px;

    color: #65738a;
    font-size: 17px;
    line-height: 1.65;
}


/* =========================================================
   PREÇO
========================================================= */

.produto-precos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;

    margin: 0 0 26px;
}

.produto-preco-antigo {
    color: #8994a5;
    font-size: 15px;
    text-decoration: line-through;
}

.produto-preco-atual {
    color: #123b7a;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.025em;
}


/* =========================================================
   BENEFÍCIOS
========================================================= */

.produto-beneficios {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin: 0 0 28px;
    padding: 22px 0;

    border-top: 1px solid #e7edf5;
    border-bottom: 1px solid #e7edf5;

    color: #34445d;
    font-size: 15px;
    line-height: 1.5;
}

.produto-beneficios div::first-letter {
    color: #238bd2;
}


/* =========================================================
   BOTÃO
========================================================= */

.produto-comprar {
    width: 100%;
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px 24px;

    background: #123b7a;
    color: #ffffff !important;

    border-radius: 14px;

    font-size: 16px;
    font-weight: 800;
    text-decoration: none;

    box-shadow: 0 10px 24px rgba(18, 59, 122, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.produto-comprar:hover {
    background: #0d3269;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(18, 59, 122, 0.23);
}

.produto-aviso {
    margin: 14px 0 0;

    color: #8792a4;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.produto-descricao {
    margin-top: 32px;
    padding: 52px;

    background: #ffffff;
    border: 1px solid #e6edf7;
    border-radius: 28px;

    box-shadow: 0 14px 40px rgba(18, 59, 122, 0.05);
}

.produto-descricao-titulo {
    margin-bottom: 28px;
}

.produto-descricao-titulo span {
    display: block;
    margin-bottom: 7px;

    color: #2e92df;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.produto-descricao-titulo h2 {
    margin: 0;

    color: #102f62;
    font-size: 30px;
    line-height: 1.2;
}

.produto-conteudo {
    max-width: 820px;

    color: #536177;
    font-size: 16px;
    line-height: 1.8;
}

.produto-conteudo > *:first-child {
    margin-top: 0;
}

.produto-conteudo > *:last-child {
    margin-bottom: 0;
}

.produto-conteudo h2,
.produto-conteudo h3,
.produto-conteudo h4 {
    color: #173c73;
}

.produto-conteudo ul,
.produto-conteudo ol {
    padding-left: 22px;
}


/* =========================================================
   SEGURANÇA
========================================================= */

.produto-seguranca {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;

    margin-top: 24px;
}

.produto-seguranca > div {
    padding: 22px;

    background: #eef6ff;
    border: 1px solid #dceafa;
    border-radius: 18px;
}

.produto-seguranca strong {
    display: block;
    margin-bottom: 5px;

    color: #123b7a;
    font-size: 14px;
}

.produto-seguranca span {
    display: block;

    color: #6b778a;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .produto-single {
        padding: 32px 18px 60px;
    }

    .produto-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 28px;
    }

    .produto-imagem {
        max-width: 620px;
        margin: 0 auto;
    }

    .produto-info {
        max-width: 620px;
        margin: 0 auto;
        width: 100%;
    }

    .produto-seguranca {
        grid-template-columns: 1fr;
    }

    .produto-descricao {
        padding: 36px 30px;
    }
}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 600px) {

    .produto-single {
        padding: 24px 14px 48px;
    }

    .produto-voltar {
        margin-bottom: 20px;
    }

    .produto-grid {
        gap: 28px;
        padding: 18px;
        border-radius: 20px;
    }

    .produto-capa,
    .produto-sem-imagem {
        border-radius: 14px;
    }

    .produto-info h1 {
        font-size: 30px;
    }

    .produto-subtitulo {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .produto-preco-atual {
        font-size: 32px;
    }

    .produto-beneficios {
        font-size: 14px;
    }

    .produto-comprar {
        min-height: 54px;
    }

    .produto-descricao {
        margin-top: 20px;
        padding: 28px 20px;
        border-radius: 20px;
    }

    .produto-descricao-titulo h2 {
        font-size: 25px;
    }

    .produto-conteudo {
        font-size: 15px;
    }
}

/* =========================================================
   COGNITUS - GALERIA DO PRODUTO
========================================================= */

.produto-imagem-principal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produto-imagem-principal .produto-capa {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition:
        opacity .18s ease,
        transform .18s ease;
}

.produto-imagem-principal .produto-capa.trocando {
    opacity: .35;
    transform: scale(.985);
}


/* MINIATURAS */

.produto-miniaturas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.produto-miniatura {
    width: 72px;
    height: 72px;

    padding: 4px;

    border: 2px solid transparent;
    border-radius: 10px;

    background: #ffffff;

    cursor: pointer;

    overflow: hidden;

    transition:
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.produto-miniatura img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 6px;
}

.produto-miniatura:hover {
    transform: translateY(-2px);
    border-color: #8ecaff;
}

.produto-miniatura.ativa {
    border-color: #163d7a;
    box-shadow: 0 4px 12px rgba(22, 61, 122, .12);
}


/* RESPONSIVO */

@media (max-width: 768px) {

    .produto-miniaturas {
        gap: 8px;
    }

    .produto-miniatura {
        width: 62px;
        height: 62px;
    }
}