/* Home (pages/page-home.php), mockup "Home · 3APPS, LLC". */

/* ---------- Abertura ---------- */

.ta-hero--home {
    gap: 26px;
    min-height: 720px;
    padding: 0 24px 60px;
}

.ta-hero__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 920px;
}

.ta-hero__text p {
    margin: 0;
    font-size: 19px;
    line-height: 1.6;
}

.ta-hero__mouse {
    position: absolute;
    left: 50%;
    bottom: 44px;
    display: flex;
    justify-content: center;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    padding-top: 8px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
}

.ta-hero__mouse span {
    width: 4px;
    height: 8px;
    border-radius: 2px;
    background: var(--ta-white);
    animation: ta-mouse 1.8s ease-in-out infinite;
}

@keyframes ta-mouse {
    0%, 100% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(10px); opacity: 0.2; }
}

@media (prefers-reduced-motion: reduce) {
    .ta-hero__mouse span {
        animation: none;
    }
}

/* ---------- Nossos sites ---------- */

.ta-sites {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

.ta-site {
    display: flex;
    flex-direction: column;
    width: 364px;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--ta-line);
    border-radius: 20px;
    background: var(--ta-white);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.07);
    color: var(--ta-ink);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ta-site:hover {
    color: var(--ta-ink);
    box-shadow: 0 24px 52px rgba(2, 6, 23, 0.12);
    transform: translateY(-4px);
}

.ta-site__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    background: var(--ta-line);
}

.ta-site__dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 4px;
}

.ta-site__dot--r { background: #F87171; }
.ta-site__dot--y { background: #FBBF24; }
.ta-site__dot--g { background: #34D399; }

.ta-site__host {
    overflow: hidden;
    margin-left: 10px;
    padding: 2px 10px;
    border-radius: 6px;
    background: var(--ta-white);
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--ta-muted);
}

.ta-site__shot {
    display: block;
    width: 100%;
    height: 228px;
    object-fit: cover;
    object-position: top;
}

.ta-site__body {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    gap: 12px;
    padding: 20px 22px 22px;
    border-top: 1px solid var(--ta-line);
}

.ta-site__text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ta-text);
}

.ta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ta-chips span {
    padding: 5px 10px;
    border: 1px solid var(--ta-line);
    border-radius: 999px;
    background: var(--ta-soft);
    font-size: 12px;
    font-weight: 600;
    color: var(--ta-text);
}

.ta-site__visit {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: var(--ta-accent-dark);
}

/* ---------- Ecossistema ---------- */

.ta-eco {
    display: grid;
    grid-template-columns: 1fr 44px 1fr 44px 1fr;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.ta-eco__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 30px 26px;
    border: 1px solid var(--ta-line);
    border-radius: 20px;
    background: var(--ta-white);
    text-align: center;
}

.ta-eco__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ta-eco__title {
    font-size: 21px;
    font-weight: 800;
    color: var(--ta-ink);
}

.ta-eco__card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ta-text);
}

.ta-eco__arrow {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background: var(--ta-accent);
    color: var(--ta-white);
    font-size: 20px;
    font-weight: 800;
}

.ta-strip {
    width: 100%;
    margin: 0;
    padding: 18px 24px;
    border-radius: 14px;
    background: var(--ta-ink);
    color: var(--ta-white);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.ta-strip span {
    font-weight: 800;
    color: #93B4FF;
}

.ta-step {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--ta-line);
    border-radius: 18px;
    background: var(--ta-white);
}

.ta-step__title {
    font-size: 19px;
    font-weight: 800;
    color: var(--ta-ink);
}

.ta-step p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ta-text);
}

/* ---------- Meet UpCards ---------- */

.ta-sec--upcards {
    gap: 60px;
}

.ta-upcards {
    display: grid;
    grid-template-columns: 720px 460px;
    align-items: center;
    column-gap: 60px;
    width: 1240px;
    max-width: calc(100% - 96px);
}

.ta-phones {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.ta-phone {
    flex-shrink: 0;
    width: 168px;
    height: 360px;
    padding: 7px;
    border-radius: 30px;
    background: #0B1220;
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.2);
}

.ta-phone img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 23px;
    background: var(--ta-white);
    object-fit: cover;
    object-position: top;
}

.ta-upcards__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ta-upcards__body .ta-pill {
    align-self: flex-start;
}

.ta-upcards__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ta-upcards__name {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.ta-upcards__claim {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
}

.ta-upcards__text {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ta-text);
}

.ta-upcards__sub {
    margin: 0;
    padding-top: 4px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.ta-upcards__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding-left: 22px;
}

.ta-upcards__list li {
    font-size: 17px;
    line-height: 1.5;
    color: var(--ta-text);
}

.ta-upcards__cta {
    padding-top: 14px;
}

/* ---------- Responsivo ---------- */

@media (max-width: 1240px) {
    .ta-upcards {
        grid-template-columns: 1fr;
        row-gap: 48px;
        width: auto;
        max-width: 720px;
    }

    .ta-upcards__body .ta-pill {
        align-self: flex-start;
    }
}

@media (max-width: 1024px) {
    .ta-eco {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .ta-eco__card {
        width: 100%;
        max-width: 560px;
    }

    .ta-eco__arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .ta-hero--home {
        min-height: 640px;
        padding: 80px 20px 120px;
    }

    .ta-hero__text p {
        font-size: 17px;
    }

    .ta-sec--upcards {
        gap: 40px;
    }

    .ta-upcards {
        max-width: calc(100% - 40px);
    }

    .ta-phones {
        gap: 8px;
    }

    .ta-phone {
        flex: 1 1 0;
        width: auto;
        max-width: 168px;
        height: auto;
        aspect-ratio: 168 / 360;
        padding: 4px;
        border-radius: 18px;
    }

    .ta-phone img {
        border-radius: 14px;
    }

    .ta-upcards__name {
        font-size: 30px;
    }

    .ta-upcards__sub {
        font-size: 22px;
    }

    .ta-upcards__text,
    .ta-upcards__list li {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ta-site__shot {
        height: 190px;
    }
}
