/* =========================================================================
   docs-inicio.css: só a página /Docs/inicio (Primeiros passos).
   Carregado no <head> por templates/docs/inicio.html, depois do docs-core.css.
   Paleta do site: navy #0D2142, ciano #00B5CC / #26C6DA, azul #1976D2.
   Os componentes compartilhados (figure.docs-shot, .docs-steps, .docs-engines,
   .docs-ficha, .docs-new) vêm do docs-core.css; aqui ficam só os desta página:
     .docs-inicio a          links do texto em ciano (o padrão do site é navy, sem sublinhado)
     .docs-route             o caminho do download à primeira execução, no topo
     .docs-quote             a frase da tela "Sobre"
     .docs-split             print estreito ao lado do texto (Sobre, login)
     .docs-download          cartão de download (antes: estilos inline verdes da 2.x)
     .docs-whatsnew          novidades da 3.2.3 em lista
     .docs-next              para onde ir depois
   Como style.css carrega depois deste arquivo, os seletores usam classe + classe.
   ========================================================================= */

/* ---------- Links no texto ---------- */
.docs-inicio p a:not([class]),
.docs-inicio li a:not([class]),
.docs-inicio td a:not([class]),
.docs-inicio .tip-box a:not([class]),
.docs-inicio .warning-box a:not([class]),
.docs-inicio figcaption a:not([class]) {
    color: #00B5CC;
    font-weight: 700;
}
.docs-inicio p a:not([class]):hover,
.docs-inicio li a:not([class]):hover,
.docs-inicio td a:not([class]):hover,
.docs-inicio .tip-box a:not([class]):hover,
.docs-inicio .warning-box a:not([class]):hover {
    color: #1976D2;
    text-decoration: underline;
}

.docs-inicio .docs-section > h4 {
    margin-top: 34px;
    font-size: 19px;
    font-weight: 800;
}

.docs-inicio .docs-lead {
    color: #4f5d73;
    font-size: 18.5px;
    line-height: 1.7;
}
.docs-inicio .docs-lead strong {
    color: #0D2142;
}

/* Ícone no começo das caixas de dica (no lugar dos emojis da versão antiga) */
.docs-inicio .tip-box > i.bx {
    margin-right: 4px;
    color: #1976D2;
    font-size: 20px;
    line-height: 1;
    vertical-align: -4px;
}

/* ---------- O caminho (topo da página) ---------- */
.docs-inicio .docs-route {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 8px;
    padding: 0;
    list-style: none;
    counter-reset: docs-route;
}
.docs-inicio .docs-route > li {
    position: relative;
    min-width: 0;
    margin: 0;
    counter-increment: docs-route;
}
.docs-inicio .docs-route a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 14px 14px 13px;
    background: #ffffff;
    border: 1px solid #e3ecf4;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(13, 33, 66, 0.05);
    color: #5d6a7d;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.docs-inicio .docs-route a::before {
    content: counter(docs-route);
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #26C6DA 0%, #1976D2 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}
.docs-inicio .docs-route a strong {
    color: #0D2142;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}
.docs-inicio .docs-route a:hover,
.docs-inicio .docs-route a:focus-visible {
    border-color: rgba(0, 181, 204, 0.55);
    box-shadow: 0 12px 26px rgba(13, 33, 66, 0.1);
    transform: translateY(-2px);
}

/* ---------- Frase da tela "Sobre" ---------- */
.docs-inicio .docs-quote {
    position: relative;
    margin: 4px 0 18px;
    padding: 18px 20px 16px 22px;
    background: #f4f8fb;
    border: 1px solid #e3ecf4;
    border-left: 4px solid #00B5CC;
    border-radius: 12px;
}
.docs-inicio .docs-quote p {
    margin: 0;
    color: #0D2142;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}
.docs-inicio .docs-quote span {
    display: block;
    margin-top: 8px;
    color: #6b7a90;
    font-size: 13.5px;
    font-weight: 700;
}

/* ---------- Print estreito ao lado do texto ---------- */
.docs-inicio .docs-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    gap: 30px;
    align-items: start;
    margin: 22px 0 10px;
}
.docs-inicio .docs-split--media-first {
    grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
}
.docs-inicio .docs-split--media-first > .docs-shot {
    order: -1;
}
.docs-inicio .docs-split > .docs-shot {
    margin: 0;
}
.docs-inicio .docs-split > div > :first-child {
    margin-top: 0;
}

/* ---------- Cartão de download ---------- */
.docs-inicio .docs-download {
    position: relative;
    overflow: hidden;
    margin: 24px 0 26px;
    padding: 26px 26px 18px;
    background: linear-gradient(135deg, #0D2142 0%, #0b1a2e 55%, #071018 100%);
    border: 1px solid rgba(38, 198, 218, 0.28);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(13, 33, 66, 0.18);
}
.docs-inicio .docs-download::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(38, 198, 218, 0.22) 0%, rgba(38, 198, 218, 0) 70%);
    pointer-events: none;
}
.docs-inicio .docs-download__main {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 22px;
}
.docs-inicio .docs-download__icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #26C6DA 0%, #1976D2 100%);
    box-shadow: 0 10px 24px rgba(25, 118, 210, 0.35);
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
}
.docs-inicio .docs-download__info {
    flex: 1 1 260px;
    min-width: 0;
}
.docs-inicio .docs-download .docs-download__name {
    margin: 0 0 2px;
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
}
.docs-inicio .docs-download .docs-download__meta {
    margin: 0 0 10px;
    color: #bfd2e3;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}
.docs-inicio .docs-download__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.docs-inicio .docs-download__chips li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    margin: 0;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(38, 198, 218, 0.1);
    border: 1px solid rgba(38, 198, 218, 0.3);
    color: #d6e6f2;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.docs-inicio .docs-download__chips i {
    flex: 0 0 auto;
    color: #26C6DA;
    font-size: 15px;
}
.docs-inicio .docs-download .docs-download__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 26px;
    border-radius: 50px;
    background: linear-gradient(90deg, #26C6DA 0%, #1976D2 100%);
    box-shadow: 0 10px 24px rgba(25, 118, 210, 0.35);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.docs-inicio .docs-download .docs-download__btn i {
    font-size: 21px;
}
.docs-inicio .docs-download .docs-download__btn:hover,
.docs-inicio .docs-download .docs-download__btn:focus-visible {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(25, 118, 210, 0.45);
}
.docs-inicio .docs-download .docs-download__note {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8aa3b8;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.55;
}
.docs-inicio .docs-download__note i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #26C6DA;
    font-size: 16px;
}

/* ---------- Novidades da 3.2.3 ---------- */
.docs-inicio .docs-whatsnew {
    margin: 18px 0 8px;
    padding: 6px 20px;
    background: #f4f8fb;
    border: 1px solid #e3ecf4;
    border-radius: 16px;
    list-style: none;
}
.docs-inicio .docs-whatsnew > li {
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid #e3ecf4;
}
.docs-inicio .docs-whatsnew > li:last-child {
    border-bottom: 0;
}
.docs-inicio .docs-whatsnew > li > i {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f7fa;
    color: #00B5CC;
    font-size: 19px;
    line-height: 1;
}
.docs-inicio .docs-whatsnew > li > div {
    min-width: 0;
    color: #5d6a7d;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.6;
}
.docs-inicio .docs-whatsnew strong {
    display: block;
    color: #0D2142;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 2px;
}
.docs-inicio .docs-whatsnew a {
    color: #00B5CC;
    font-weight: 700;
    white-space: nowrap;
}
.docs-inicio .docs-whatsnew a:hover {
    color: #1976D2;
}

/* ---------- Para onde ir depois ---------- */
.docs-inicio .docs-next {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.docs-inicio .docs-next > li {
    margin: 0;
    min-width: 0;
}
.docs-inicio .docs-next a {
    display: flex;
    gap: 12px;
    height: 100%;
    padding: 16px 16px 15px;
    background: #ffffff;
    border: 1px solid #e3ecf4;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(13, 33, 66, 0.05);
    color: #5d6a7d;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.55;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.docs-inicio .docs-next a > i {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f7fa;
    color: #00B5CC;
    font-size: 20px;
    line-height: 1;
}
.docs-inicio .docs-next a strong {
    display: block;
    color: #0D2142;
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 2px;
}
.docs-inicio .docs-next a:hover,
.docs-inicio .docs-next a:focus-visible {
    border-color: rgba(0, 181, 204, 0.55);
    transform: translateY(-2px);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1199px) {
    .docs-inicio .docs-route {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .docs-inicio .docs-lead {
        font-size: 17px;
    }
    .docs-inicio .docs-route {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
    .docs-inicio .docs-route a {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 10px;
        row-gap: 2px;
        padding: 11px 14px;
    }
    .docs-inicio .docs-route a::before {
        margin: 0;
    }
    .docs-inicio .docs-route a strong {
        flex: 1 1 auto;
        min-width: 0;
    }
    .docs-inicio .docs-route a span {
        flex-basis: 100%;
        padding-left: 38px;
    }
    .docs-inicio .docs-split,
    .docs-inicio .docs-split--media-first {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }
    .docs-inicio .docs-split > .docs-shot {
        order: 0;
        width: 100%;
        max-width: 300px;
        margin: 6px auto 18px;
    }
    .docs-inicio .docs-split--media-first > .docs-shot {
        order: -1;
    }
    .docs-inicio .docs-quote p {
        font-size: 17px;
    }
    .docs-inicio .docs-download {
        padding: 22px 18px 16px;
    }
    .docs-inicio .docs-download__icon {
        width: 54px;
        height: 54px;
        font-size: 30px;
    }
    .docs-inicio .docs-download .docs-download__btn {
        width: 100%;
    }
    .docs-inicio .docs-whatsnew {
        padding: 4px 14px;
    }
    .docs-inicio .docs-whatsnew > li {
        gap: 12px;
    }
    .docs-inicio .docs-whatsnew a {
        white-space: normal;
    }
    .docs-inicio .docs-next {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* Tabelas de duas colunas viram cartões no celular (a 1ª coluna estreita quebrava os rótulos da tela no meio). */
@media (max-width: 575px) {
    .docs-inicio .docs-table.docs-table--stack {
        display: block;
        overflow: visible;
        border-radius: 0;
        box-shadow: none;
    }
    .docs-inicio .docs-table.docs-table--stack thead {
        display: none;
    }
    .docs-inicio .docs-table.docs-table--stack tbody {
        display: block;
    }
    .docs-inicio .docs-table.docs-table--stack tbody tr {
        display: block;
        margin: 0 0 10px;
        background: #ffffff;
        border: 1px solid #e3ecf4;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(13, 33, 66, 0.04);
    }
    .docs-inicio .docs-table.docs-table--stack tbody td {
        display: block;
        padding: 10px 14px;
        border: 0;
        hyphens: manual;
    }
    .docs-inicio .docs-table.docs-table--stack tbody td:first-child {
        background: #f4f8fb;
        border-bottom: 1px solid #e3ecf4;
        color: #0D2142;
    }
}
@media (prefers-reduced-motion: reduce) {
    .docs-inicio .docs-route a,
    .docs-inicio .docs-next a,
    .docs-inicio .docs-download .docs-download__btn {
        transition: none;
    }
}
