/* =========================================================
   PÁGINAS INTERNAS - EMPRESA / DOWNLOADS
   ========================================================= */

/* Cabeçalho de página */

.tk-pagehero {
    position: relative;
    overflow: hidden;
    padding: 44px 0 48px;
    background:
        radial-gradient(700px 360px at 90% 0%, rgba(41, 87, 164, 0.7), transparent 60%),
        linear-gradient(160deg, #081529 0%, #0f2447 60%, #17386d 100%);
    color: #ffffff;
}

.tk-pagehero::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    content: "";
    -webkit-mask-image: linear-gradient(90deg, transparent, #000);
    mask-image: linear-gradient(90deg, transparent, #000);
}

.tk-pagehero .tk-container {
    position: relative;
}

.tk-pagehero h1 {
    margin: 14px 0 12px;
    color: #ffffff;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.tk-pagehero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.6;
}

.tk-crumbs {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
}

.tk-crumbs a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.tk-crumbs a:hover {
    color: #ffffff;
}

/* Empresa */

.tk-about {
    display: grid;
    align-items: center;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
}

.tk-about__copy h2 {
    margin: 12px 0 22px;
    color: #0b1a33;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.tk-prose {
    color: #55627a;
    font-size: 16.5px;
    line-height: 1.8;
}

.tk-prose p {
    margin: 0 0 16px;
}

.tk-about__visual img {
    display: block;
    width: 100%;
    max-height: 460px;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(15, 36, 71, 0.22);
    object-fit: cover;
}

.tk-about__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 360px;
    border-radius: 28px;
    background:
        radial-gradient(400px 260px at 80% 0%, rgba(127, 176, 255, 0.45), transparent 60%),
        linear-gradient(145deg, #0f2447, #2957A4);
    color: #ffffff;
    box-shadow: 0 30px 60px rgba(15, 36, 71, 0.28);
    text-align: center;
    gap: 6px;
}

.tk-about__panel strong {
    font-size: 26px;
    font-weight: 800;
}

.tk-about__panel small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.tk-about__panel-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-bottom: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.14);
}

.tk-about__panel-icon .site-icon {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
}

.tk-diffs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 20px;
}

.tk-diffs li {
    display: flex;
    align-items: flex-start;
    padding: 26px;
    border: 1px solid #e6ebf4;
    border-radius: 20px;
    background: #ffffff;
    gap: 18px;
}

.tk-diffs__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eaf0fb;
}

.tk-diffs__icon .site-icon {
    background-color: #2957A4;
}

.tk-diffs h3 {
    margin: 2px 0 6px;
    color: #0b1a33;
    font-size: 17px;
    font-weight: 700;
}

.tk-diffs p {
    margin: 0;
    color: #5b6881;
    font-size: 14.5px;
    line-height: 1.6;
}

.tk-card__icon .site-icon {
    background-color: #ffffff;
}

/* Downloads */

.tk-dl {
    background: #f4f7fc;
}

.tk-dl__bar {
    display: grid;
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid #e6ebf4;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 36, 71, 0.05);
    gap: 16px;
}

.tk-dl__search {
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid #d9e0ec;
    border-radius: 14px;
    background: #f8fafd;
    gap: 10px;
}

.tk-dl__search:focus-within {
    border-color: #2957A4;
    box-shadow: 0 0 0 4px rgba(41, 87, 164, 0.14);
}

.tk-dl__search .site-icon {
    background-color: #7b8aa5;
}

.tk-dl__search input {
    flex: 1;
    height: 50px;
    border: 0;
    background: transparent;
    color: #0b1a33;
    font-size: 15px;
    outline: 0;
}

.tk-dl__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tk-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border: 1px solid #d9e0ec;
    border-radius: 999px;
    background: #ffffff;
    color: #2b3a55;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    gap: 8px;
    transition: all 160ms ease;
}

.tk-pill span {
    padding: 1px 8px;
    border-radius: 999px;
    background: #eef2f8;
    color: #5b6881;
    font-size: 12px;
    font-weight: 700;
}

.tk-pill:hover {
    border-color: #2957A4;
    color: #2957A4;
}

.tk-pill.is-active {
    border-color: #2957A4;
    background: #2957A4;
    color: #ffffff;
}

.tk-pill.is-active span {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.tk-dl__counter {
    margin: 0 0 14px;
    color: #5b6881;
    font-size: 14px;
    font-weight: 600;
}

.tk-dl__list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 12px;
}

.tk-file {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid #e6ebf4;
    border-radius: 16px;
    background: #ffffff;
    gap: 18px;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.tk-file[hidden] {
    display: none;
}

.tk-file:hover {
    box-shadow: 0 14px 30px rgba(41, 87, 164, 0.13);
    transform: translateY(-2px);
}

.tk-file__ext {
    display: grid;
    flex: none;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2957A4, #4a7dd0);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.tk-file__main {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.tk-file__main strong {
    overflow: hidden;
    color: #0b1a33;
    font-size: 15px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-file__main span {
    color: #6b7891;
    font-size: 13px;
}

.tk-file__btn {
    display: inline-flex;
    flex: none;
    align-items: center;
    padding: 11px 18px;
    border-radius: 999px;
    background: #eaf0fb;
    color: #2957A4;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    gap: 8px;
    transition: background 160ms ease, color 160ms ease;
}

.tk-file__btn .site-icon {
    background-color: currentColor;
}

.tk-file:hover .tk-file__btn,
.tk-file__btn:hover {
    background: #2957A4;
    color: #ffffff;
}

.tk-dl__empty {
    padding: 48px 20px;
    border-radius: 16px;
    background: #ffffff;
    color: #6b7891;
    text-align: center;
}

.tk-dl__empty[hidden] {
    display: none;
}

.tk-dl__pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 28px;
    gap: 8px;
}

.tk-page {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d9e0ec;
    border-radius: 12px;
    background: #ffffff;
    color: #2b3a55;
    font-weight: 700;
    cursor: pointer;
}

.tk-page.is-active {
    border-color: #2957A4;
    background: #2957A4;
    color: #ffffff;
}

@media (max-width: 991px) {
    .tk-about {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tk-diffs {
        grid-template-columns: 1fr;
    }

    .tk-pagehero {
        padding: 34px 0 38px;
    }
}

@media (max-width: 560px) {
    .tk-file {
        flex-wrap: wrap;
        padding: 14px;
    }

    .tk-file__btn {
        justify-content: center;
        width: 100%;
    }
}

/* Evita estouro horizontal com nomes de arquivo longos */
.tk-dl__list,
.tk-dl__bar {
    grid-template-columns: minmax(0, 1fr);
}

.tk-file {
    min-width: 0;
}

/* ---------- Localização (Google Maps) ---------- */

.tk-location {
    overflow: hidden;
    border: 1px solid rgba(15, 36, 71, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(15, 36, 71, 0.22);
}

.tk-location__map iframe {
    display: block;
    width: 100%;
    height: 340px;
    border: 0;
}

.tk-location__info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: linear-gradient(145deg, #0f2447, #2957A4);
    color: #ffffff;
    gap: 16px;
}

.tk-location__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
}

.tk-location__icon .site-icon {
    background-color: #ffffff;
}

.tk-location__text {
    display: flex;
    flex: 1 1 200px;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tk-location__text strong {
    font-size: 17px;
    font-weight: 800;
}

.tk-location__text span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.45;
}

.tk-location__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.tk-location__link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tk-location__link:hover {
    color: #ffffff;
}

@media (max-width: 575px) {
    .tk-location__map iframe {
        height: 260px;
    }
}

/* ---------- Blog: página da notícia ---------- */

.tk-pagehero__meta {
    display: flex;
    flex-wrap: wrap;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    gap: 10px 22px;
}

.tk-pagehero__meta li {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
}

.tk-pagehero__meta .site-icon {
    background-color: #9cc2ff;
}

.tk-pagehero .tk-crumbs {
    flex-wrap: wrap;
}

.tk-post {
    --tk-primary: var(--color-primary, #2957A4);
    padding: 56px 0 88px;
    background: #f4f7fc;
}

.tk-post__grid {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
}

.tk-post__article {
    min-width: 0;
    padding: 32px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 50px rgba(15, 36, 71, 0.1);
}

.tk-post__cover {
    margin: 0 0 28px;
    overflow: hidden;
    border-radius: 20px;
}

.tk-post__cover img {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.tk-post__content {
    color: #46536b;
    font-size: 17px;
    line-height: 1.85;
}

.tk-post__share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #e6ecf5;
    gap: 12px;
}

.tk-post__share > span {
    color: #0b1a33;
    font-weight: 700;
}

.tk-share {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eef3fb;
    color: #2957A4;
    transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.tk-share:hover { color: #ffffff; transform: translateY(-2px); }
.tk-share--fb:hover { background: #1877F2; }
.tk-share--x:hover { background: #000000; }
.tk-share--wa:hover { background: #25D366; }
.tk-share--in:hover { background: #0A66C2; }

.tk-post__back {
    margin-top: 28px;
}

.tk-post__aside {
    position: sticky;
    top: 120px;
    display: grid;
    gap: 20px;
}

.tk-sidecard {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 36, 71, 0.08);
}

.tk-sidecard h3 {
    margin: 0 0 16px;
    color: #0b1a33;
    font-size: 18px;
    font-weight: 800;
}

.tk-recent {
    display: grid;
    gap: 16px;
}

.tk-recent__item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tk-recent__item img {
    flex: none;
    width: 68px;
    height: 68px;
    border-radius: 14px;
    object-fit: cover;
}

.tk-recent__item small {
    display: block;
    color: #7a879d;
    font-size: 12px;
}

.tk-recent__item strong {
    display: block;
    color: #0b1a33;
    font-size: 14px;
    line-height: 1.35;
    transition: color 200ms ease;
}

.tk-recent__item:hover strong {
    color: #2957A4;
}

.tk-sidecard--cta {
    background: linear-gradient(145deg, #0f2447, #2957A4);
    color: #ffffff;
}

.tk-sidecard--cta h3 {
    color: #ffffff;
}

.tk-sidecard--cta p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14.5px;
    line-height: 1.6;
}

.tk-sidecard__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
}

.tk-sidecard__icon .site-icon {
    background-color: #ffffff;
}

@media (max-width: 991px) {
    .tk-post__grid {
        grid-template-columns: 1fr;
    }

    .tk-post__aside {
        position: static;
    }
}

@media (max-width: 575px) {
    .tk-post__article {
        padding: 20px;
        border-radius: 22px;
    }
}

/* Empresa: frase abaixo do título dos diferenciais */
.tk-heading--quote {
    margin-bottom: 40px;
}

.tk-heading .tk-heading__quote {
    max-width: 760px;
    margin: 0 auto;
    color: #2957A4;
    font-size: clamp(17px, 1.8vw, 21px);
    font-style: italic;
    font-weight: 600;
    line-height: 1.5;
}

/* Downloads: aplicativo (Android e Apple) */
.tk-app {
    padding: 56px 0 88px;
    background: #f4f7fc;
}

.tk-app__showcase {
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    padding: 48px 56px 0;
    border-radius: 32px;
    background:
        radial-gradient(520px 360px at 85% 20%, rgba(127, 176, 255, 0.38), transparent 65%),
        linear-gradient(145deg, #0f2447, #2957A4);
    color: #ffffff;
    box-shadow: 0 30px 60px rgba(15, 36, 71, 0.24);
    gap: 40px;
}

.tk-app__copy {
    padding-bottom: 48px;
}

.tk-app__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    gap: 8px;
}

.tk-app__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
}

.tk-app__copy h2 {
    margin: 18px 0 12px;
    color: #ffffff;
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.tk-app__copy h2 span {
    color: #9cc2ff;
}

.tk-app__copy > p {
    max-width: 480px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16.5px;
    line-height: 1.65;
}

.tk-app__features {
    display: grid;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    gap: 14px;
}

.tk-app__features li {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    gap: 12px;
}

.tk-app__features li > span {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.14);
}

.tk-app__features .site-icon {
    background-color: #ffffff;
}

/* Celular ilustrativo */
.tk-phone {
    align-self: end;
    justify-self: center;
    width: 260px;
    height: 390px;
    padding: 10px 10px 0;
    border-radius: 40px 40px 0 0;
    background: #0a1222;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.tk-phone__screen {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 31px 31px 0 0;
    background: #e3ecf9;
}

.tk-phone__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 12px;
    background: #2957A4;
    color: #ffffff;
    font-size: 14px;
}

.tk-phone__map {
    display: block;
    flex: 1;
    width: 100%;
    min-height: 0;
}

.tk-phone__route {
    stroke: #2957A4;
    stroke-width: 4;
    stroke-dasharray: 8 9;
    stroke-linecap: round;
    animation: tk-app-dash 1.6s linear infinite;
}

.tk-phone__pulse {
    fill: rgba(41, 87, 164, 0.35);
    transform-box: fill-box;
    transform-origin: center;
    animation: tk-app-ping 2s ease-out infinite;
}

.tk-phone__card {
    position: absolute;
    right: 12px;
    bottom: 18px;
    left: 12px;
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 36, 71, 0.22);
    color: #0b1a33;
    gap: 10px;
}

.tk-phone__card-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #2957A4;
    color: #ffffff;
}

.tk-phone__card strong {
    display: block;
    font-size: 12.5px;
}

.tk-phone__card small {
    display: block;
    color: #6b7589;
    font-size: 11px;
}

@keyframes tk-app-dash {
    to { stroke-dashoffset: -34; }
}

@keyframes tk-app-ping {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(2.6); }
}

/* Plataformas */
.tk-app__heading {
    margin: 52px 0 28px;
    text-align: center;
}

.tk-app__heading h3 {
    margin: 0 0 8px;
    color: #0b1a33;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
}

.tk-app__heading p {
    margin: 0;
    color: #5b6881;
    font-size: 15.5px;
}

.tk-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
    margin: 0 auto;
    gap: 22px;
}

.tk-platform {
    --tk-brand: #2957A4;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 34px 24px 26px;
    border: 1px solid #e6ebf4;
    border-radius: 24px;
    background: #ffffff;
    text-align: center;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.tk-platform--android { --tk-brand: #1f9d55; }
.tk-platform--apple { --tk-brand: #111827; }

.tk-platform:hover {
    border-color: var(--tk-brand);
    box-shadow: 0 22px 44px rgba(15, 36, 71, 0.14);
    transform: translateY(-5px);
}

.tk-platform__logo {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 22px;
    background: var(--tk-brand);
    color: #ffffff;
    font-size: 40px;
    box-shadow: 0 14px 28px rgba(15, 36, 71, 0.2);
}

.tk-platform h4 {
    margin: 20px 0 4px;
    color: #0b1a33;
    font-size: 20px;
    font-weight: 800;
}

.tk-platform p {
    margin: 0 0 22px;
    color: #5b6881;
    font-size: 14.5px;
}

.tk-platform__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--tk-brand);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    gap: 8px;
}

a.tk-platform__btn:hover {
    color: #ffffff;
    filter: brightness(1.12);
}

.tk-platform__btn--soon {
    border: 1px dashed #c3cde0;
    background: #f4f7fc;
    color: #66738c;
}

@media (max-width: 991px) {
    .tk-app__showcase {
        grid-template-columns: 1fr;
        padding: 36px 24px 0;
    }

    .tk-app__copy {
        padding-bottom: 0;
    }

    .tk-platforms {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tk-phone__route,
    .tk-phone__pulse {
        animation: none;
    }
}

/* Downloads: QR Code dentro do cartão de cada plataforma (só quando cadastrado) */
.tk-platform__qr {
    margin: 0 0 22px;
}

.tk-platform__qr img {
    display: block;
    width: 168px;
    height: 168px;
    margin: 0 auto;
    padding: 8px;
    border: 1px solid #e6ebf4;
    border-radius: 18px;
    background: #ffffff;
    object-fit: contain;
}

.tk-platform__qr figcaption {
    margin-top: 10px;
    color: #66738c;
    font-size: 13px;
    font-weight: 600;
}

/* Botões alinhados na base mesmo quando só alguns cartões têm QR Code */
.tk-platform__btn {
    margin-top: auto;
}

/* Política de privacidade */
.tk-privacy h2 {
    margin: 36px 0 12px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    color: #28166f;
}

.tk-privacy h2:first-child {
    margin-top: 0;
}

.tk-privacy ul {
    margin: 0 0 16px;
    padding-left: 22px;
    list-style: disc;
}

.tk-privacy li {
    margin-bottom: 6px;
}

.tk-privacy a {
    color: #28166f;
    text-decoration: underline;
}
