/* Página de projeto (/projeto/...) — My Help */
:root {
    --pj-ink: #0b1f3a;
    --pj-blue: #2d6cdf;
    --pj-sky: #1a9bff;
    --pj-muted: #5b6b7c;
    --pj-line: rgba(15, 40, 70, 0.1);
    --pj-soft: #f4f7fb;
}

.pj-hero {
    position: relative;
    min-height: clamp(460px, 68vh, 700px);
    margin-top: 72px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}

.pj-hero-media {
    position: absolute;
    inset: 0;
}

.pj-hero-media picture,
.pj-hero-bg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: scale(1.08);
    filter: blur(2.5px) brightness(0.72) saturate(0.9);
    animation: pj-ken 18s ease-in-out alternate both;
}

.pj-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 22, 42, 0.45) 0%, rgba(8, 22, 42, 0.72) 38%, rgba(8, 22, 42, 0.96) 100%),
        linear-gradient(105deg, rgba(8, 22, 42, 0.88) 0%, rgba(8, 22, 42, 0.55) 42%, transparent 70%);
}

.pj-hero-inner {
    position: relative;
    z-index: 1;
    padding: 3.75rem 0 5.75rem;
    max-width: 820px;
    animation: pj-rise 0.75s ease both;
}

.pj-hero .local-breadcrumb a,
.pj-hero .local-breadcrumb,
.pj-hero .integrated-breadcrumb,
.pj-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.72) !important;
}

.pj-hero-badge {
    display: inline-block;
    margin: 0.65rem 0 0.85rem;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
}

.pj-hero-title {
    font-size: clamp(2.55rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin: 0 0 1rem;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.pj-hero-lead {
    font-size: clamp(1.08rem, 2.1vw, 1.32rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.94);
    margin: 0 0 1.6rem;
    max-width: 34rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.pj-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.pj-hero-site {
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.pj-hero-site i {
    margin-left: 0.35rem;
    font-size: 0.85em;
}

.pj-hero-cta {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.pj-main {
    background:
        radial-gradient(ellipse 70% 45% at 0% 0%, rgba(45, 108, 223, 0.09), transparent 55%),
        radial-gradient(ellipse 55% 40% at 100% 8%, rgba(26, 155, 255, 0.08), transparent 50%),
        var(--pj-soft);
    padding: 0 0 3rem;
}

.pj-wrap {
    max-width: 1080px;
}

/* Screenshot em moldura de browser */
.pj-shot {
    margin-top: -1.75rem;
    position: relative;
    z-index: 2;
    animation: pj-rise 0.75s ease 0.08s both;
}

.pj-shot-chrome {
    background: #fff;
    border-radius: 1.15rem;
    overflow: hidden;
    border: 1px solid rgba(15, 40, 70, 0.08);
    box-shadow:
        0 4px 6px rgba(15, 40, 70, 0.04),
        0 28px 60px rgba(15, 40, 70, 0.16);
}

.pj-shot-bar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border-bottom: 1px solid var(--pj-line);
}

.pj-shot-dots {
    display: flex;
    gap: 0.35rem;
}

.pj-shot-dots span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #d0d7e2;
}

.pj-shot-dots span:nth-child(1) { background: #ff5f57; }
.pj-shot-dots span:nth-child(2) { background: #febc2e; }
.pj-shot-dots span:nth-child(3) { background: #28c840; }

.pj-shot-url {
    flex: 1;
    min-width: 0;
    font-size: 0.78rem;
    color: var(--pj-muted);
    background: #fff;
    border: 1px solid var(--pj-line);
    border-radius: 999px;
    padding: 0.28rem 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pj-shot-url a {
    color: inherit;
    text-decoration: none;
}

.pj-shot-url a:hover {
    color: var(--pj-blue);
}

.pj-shot-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dbe5f2;
}

.pj-shot-media picture,
.pj-shot-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Intro + meta */
.pj-intro-row {
    display: grid;
    grid-template-columns: 1.55fr 0.45fr;
    gap: 1.15rem 1.5rem;
    margin: 1.35rem 0 0;
    align-items: start;
    animation: pj-rise 0.7s ease 0.14s both;
}

.pj-intro {
    font-size: clamp(1.02rem, 1.7vw, 1.12rem);
    line-height: 1.55;
    color: var(--pj-ink);
    margin: 0;
    font-weight: 500;
}

.pj-intro a {
    color: var(--pj-blue);
    font-weight: 650;
    text-decoration: none;
    border-bottom: 1px solid rgba(45, 108, 223, 0.35);
}

.pj-intro a:hover {
    border-bottom-color: var(--pj-blue);
}

.pj-meta {
    background: #fff;
    border: 1px solid var(--pj-line);
    border-radius: 0.9rem;
    padding: 0.9rem 1rem;
    box-shadow: 0 8px 20px rgba(15, 40, 70, 0.05);
}

.pj-meta-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--pj-muted);
    margin-bottom: 0.15rem;
}

.pj-meta-value {
    margin: 0 0 0.7rem;
    color: var(--pj-ink);
    font-weight: 700;
    font-size: 0.92rem;
}

.pj-meta-value:last-child,
.pj-meta-link:last-child {
    margin-bottom: 0;
}

.pj-meta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--pj-blue);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    margin-bottom: 0.7rem;
}

.pj-meta-link:hover {
    color: #1e4fb8;
}

.pj-meta-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--pj-muted);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
}

.pj-meta-back:hover {
    color: var(--pj-ink);
}

/* Story blocks */
.pj-story {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.35rem;
}

.pj-block {
    background: #fff;
    border: 1px solid rgba(15, 40, 70, 0.07);
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 8px 22px rgba(15, 40, 70, 0.045);
    animation: pj-rise 0.7s ease both;
}

.pj-block:nth-child(1) { animation-delay: 0.16s; }
.pj-block:nth-child(2) { animation-delay: 0.22s; }
.pj-block:nth-child(3) { animation-delay: 0.28s; }

.pj-kicker {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pj-blue);
    margin-bottom: 0.4rem;
}

.pj-block h2 {
    font-size: clamp(1.2rem, 2.2vw, 1.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--pj-ink);
    margin: 0 0 0.5rem;
}

.pj-block p {
    margin: 0;
    color: #3d4f63;
    font-size: 0.98rem;
    line-height: 1.55;
}

.pj-block--result {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d6cdf 58%, #1a9bff 100%);
    border: none;
    color: #fff;
    box-shadow: 0 20px 44px rgba(45, 108, 223, 0.28);
}

.pj-block--result .pj-kicker {
    color: rgba(255, 255, 255, 0.75);
}

.pj-block--result h2 {
    color: #fff;
}

.pj-block--result p {
    color: rgba(255, 255, 255, 0.92);
}

.pj-solutions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
}

.pj-solutions li {
    position: relative;
    padding-left: 1.55rem;
    color: #3d4f63;
    font-size: 1.02rem;
    line-height: 1.45;
}

.pj-solutions li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pj-blue), var(--pj-sky));
    box-shadow: 0 0 0 3px rgba(45, 108, 223, 0.15);
}

/* More projects */
.pj-more {
    margin-top: 2rem;
    animation: pj-rise 0.7s ease 0.3s both;
}

.pj-more-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.pj-more-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--pj-ink);
    margin: 0;
}

.pj-more-all {
    color: var(--pj-blue);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

.pj-more-all:hover {
    color: #1e4fb8;
}

.pj-more-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.pj-more-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(15, 40, 70, 0.07);
    box-shadow: 0 10px 28px rgba(15, 40, 70, 0.06);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.pj-more-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.14);
    color: inherit;
}

.pj-more-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dbe5f2;
}

.pj-more-media picture,
.pj-more-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pj-more-card:hover .pj-more-media img {
    transform: scale(1.05);
}

.pj-more-body {
    padding: 1rem 1.1rem 1.15rem;
}

.pj-more-name {
    margin: 0 0 0.25rem;
    font-size: 1.08rem;
    font-weight: 750;
    color: var(--pj-ink);
}

.pj-more-sub {
    margin: 0;
    font-size: 0.88rem;
    color: var(--pj-muted);
    line-height: 1.4;
}

@keyframes pj-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pj-ken {
    from { transform: scale(1.04); }
    to { transform: scale(1.1); }
}

@media (max-width: 991.98px) {
    .pj-intro-row {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .pj-more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .pj-shot {
        margin-top: -1rem;
    }

    .pj-solutions {
        grid-template-columns: 1fr;
    }

    .pj-more-grid {
        grid-template-columns: 1fr;
    }

    .pj-hero-inner {
        padding-bottom: 4.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pj-hero-inner,
    .pj-shot,
    .pj-intro-row,
    .pj-block,
    .pj-more,
    .pj-hero-bg,
    .pj-more-card,
    .pj-more-media img {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        filter: brightness(0.72) !important;
    }
}
