/* =========================================================
   MATÉRIAS EINSTEIN – COMPLEMENTO
   Usar junto com contratar-planos-einstein.css
   PRETO + DOURADO
========================================================= */

/* Autor e data no topo */

.em-autor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: -8px 0 30px;
    color: #bdb5a8;
    font-size: 14px;
}

.em-autor strong {
    color: #e8ca80;
}

.em-autor span + span::before {
    content: "•";
    margin-right: 14px;
    color: #7a6a4f;
}


/* Tabelas */

.em-tabela-wrap {
    margin: 30px 0 12px;
    overflow-x: auto;
    border: 1px solid #e1d2b7;
    border-radius: 14px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.em-tabela {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 15px;
}

.em-tabela th {
    padding: 15px 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .3px;
    text-align: left;
    background: #12100d;
    border-bottom: 3px solid #c79b4c;
}

.em-tabela td {
    padding: 14px 16px;
    color: #3d3932;
    line-height: 1.5;
    vertical-align: top;
    border-bottom: 1px solid #eee3d0;
}

.em-tabela tr:nth-child(even) td {
    background: #fbf7ef;
}

.em-tabela tr:last-child td {
    border-bottom: 0;
}

.em-tabela td:first-child {
    color: #221c14;
    font-weight: 700;
}

.em-tabela .em-num {
    text-align: right;
    white-space: nowrap;
}

.em-tabela a {
    color: #98702e;
    font-weight: 700;
    text-decoration: none;
}

.em-tabela-nota {
    margin: 0 0 10px;
    color: #857d71;
    font-size: 13px;
    line-height: 1.6;
}

.evp-secao--escura .em-tabela-wrap {
    border-color: rgba(232, 202, 128, .25);
}


/* Cartões de operadora */

.em-operadoras {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 32px;
}

.em-operadora {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid rgba(232, 202, 128, .22);
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    transition: .25s ease;
}

.em-operadora:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 202, 128, .55);
}

.em-operadora > span {
    margin-bottom: 14px;
    color: #e8ca80;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.em-operadora h3 {
    margin: 0 0 8px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.em-operadora p {
    margin: 0 0 14px;
    color: #b3ab9f;
    font-size: 15px;
    line-height: 1.6;
}

.em-operadora__linhas {
    margin: 0 0 16px;
    padding: 12px 14px;
    color: #f1e6d0;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 8px;
    background: rgba(199, 155, 76, .12);
}

.em-operadora a {
    margin-top: auto;
    color: #e8ca80;
    font-weight: 800;
    text-decoration: none;
}


/* Linha do tempo */

.em-linha {
    position: relative;
    margin: 34px 0 0;
    padding-left: 34px;
    border-left: 2px solid #dec99f;
}

.em-linha > div {
    position: relative;
    margin-bottom: 26px;
}

.em-linha > div:last-child {
    margin-bottom: 0;
}

.em-linha > div::before {
    content: "";
    position: absolute;
    left: -43px;
    top: 4px;
    width: 16px;
    height: 16px;
    border: 3px solid #fbf7ee;
    border-radius: 50%;
    background: #c79b4c;
    box-shadow: 0 0 0 1px #c79b4c;
}

.em-linha strong {
    display: block;
    margin-bottom: 4px;
    color: #251f17;
    font-size: 17px;
}

.em-linha span {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 10px;
    color: #6f5125;
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
    background: #f3e6ce;
}

.em-linha p {
    margin: 0;
    color: #6d665c;
    font-size: 15px;
    line-height: 1.65;
}


/* Destaque numérico */

.em-numeros {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.em-numeros > div {
    padding: 24px;
    border: 1px solid #e1d2b7;
    border-radius: 12px;
    background: #fff;
}

.em-numeros strong {
    display: block;
    margin-bottom: 6px;
    color: #98702e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.1;
}

.em-numeros p {
    margin: 0;
    color: #6d665c;
    font-size: 14px;
    line-height: 1.55;
}


/* Listas no corpo do texto */

.em-lista {
    max-width: 920px;
    margin: 10px 0 20px;
    padding: 0;
    list-style: none;
}

.em-lista li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 26px;
    font-size: 16px;
    line-height: 1.7;
}

.em-lista li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #c79b4c;
    font-weight: 800;
}

.evp-secao--escura .em-lista li {
    color: #c8c1b6;
}

.evp-secao h3.em-subtitulo {
    margin: 38px 0 12px;
    color: #1d1811;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
}

.evp-secao--escura h3.em-subtitulo {
    color: #fff;
}


/* Fontes */

.em-fontes {
    max-width: 1120px;
    margin: 0 auto 60px;
    padding: 0 25px;
    color: #857d71;
    font-size: 13px;
    line-height: 1.7;
}

.em-fontes strong {
    color: #4b4439;
}


/* Responsivo */

@media (max-width: 980px) {

    .em-operadoras,
    .em-numeros {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 680px) {

    .em-operadoras,
    .em-numeros {
        grid-template-columns: 1fr;
    }

    .em-tabela {
        font-size: 14px;
    }

    .em-fontes {
        padding: 0 20px;
    }

}

.evp-secao > p.em-tabela-nota {
    font-size: 13px;
    line-height: 1.6;
}
