/* =========================================
   PÁGINA: ELABORAÇÃO DE PROJETOS
   Design High Ticket - Timeline Vertical
   ========================================= */

.projeto-page {
    gap: 30px;
}

/* =========================================
   1. HEADER DA PÁGINA
   ========================================= */
.botao-voltar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted-on-bg);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 0;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.botao-voltar:hover {
    color: #fff;
}

.page-header h1 {
    font-size: 24px;
    line-height: 1.12;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.page-header .tagline {
    color: rgba(248,250,252,.82);
    font-size: 15px;
    max-width: 52ch;
    margin: 0 auto;
    text-align: center;
    line-height: 1.75;
}

.hero-projeto {
    position: relative;
    padding: 28px 24px 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(29, 124, 187, 0.24), transparent 38%),
        radial-gradient(circle at bottom right, rgba(255,255,255,0.08), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow-depth);
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.hero-pill {
    padding: 16px 14px;
    border-radius: 18px;
    background: rgba(10,16,26,.28);
    border: 1px solid rgba(255,255,255,.10);
    text-align: left;
}

.hero-pill strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 6px;
}

.hero-pill span {
    color: rgba(248,250,252,.72);
    font-size: 12px;
    line-height: 1.55;
}

/* =========================================
   2. TEXT SECTIONS (Reaproveitamento Elegante)
   ========================================= */
.text-section {
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 24px;
    padding: 34px 28px;
    box-shadow: 0 16px 34px rgba(0,0,0,.14);
}

.text-section h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 18px;
    text-align: center;
}

.text-section p {
    color: rgba(248,250,252,.82);
    font-size: 15px;
    text-align: center;
    line-height: 1.8;
    max-width: 54ch;
    margin: 0 auto;
}

/* =========================================
   3. TIMELINE VISUAL (O Core da Página)
   ========================================= */
.timeline-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline {
    position: relative;
    padding-left: 35px; /* Espaço para a linha e os "nós" */
    margin-bottom: 20px;
}

/* A Linha Vertical da Timeline */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px; /* Posiciona a linha à esquerda */
    width: 2px;
    background: linear-gradient(180deg, var(--wm-blue), rgba(29, 124, 187, 0.1));
    border-radius: 2px;
}

/* Os Cards de cada Etapa */
.step {
    position: relative;
    background: linear-gradient(180deg, var(--surface), var(--surface-soft));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:last-child {
    margin-bottom: 0;
}

.step:hover {
    transform: translateX(5px); /* Efeito interativo High Ticket */
    border-color: rgba(29, 124, 187, 0.4);
    box-shadow: var(--shadow-depth);
}

/* O "Nó" (Ponto luminoso) na linha do tempo */
.step::before {
    content: '';
    position: absolute;
    top: 24px;
    left: -31px; /* Posiciona exatamente em cima da linha */
    width: 12px;
    height: 12px;
    background-color: var(--bg-body);
    border: 3px solid var(--wm-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(29, 124, 187, 0.6);
    z-index: 1;
}

.step h3 {
    font-size: 15px;
    color: var(--text-on-surface);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step h3 i {
    color: var(--wm-blue);
    font-size: 16px;
}

.step p {
    font-size: 13px;
    color: var(--muted-on-surface);
    margin: 0;
    line-height: 1.5;
}

/* Lista de Projetos Complementares */
.projeto-lista {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.projeto-lista li {
    font-size: 12px;
    color: var(--muted-on-surface);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.projeto-lista li i {
    color: var(--wm-blue);
    font-size: 10px;
}

/* =========================================
   4. AUTORIDADE & CTA
   ========================================= */
.crea-destaque {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: var(--wm-blue);
    margin-top: 15px !important;
}

.cta-projeto h2 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 12px;
}

.cta-projeto p {
    font-size: 13px;
    margin-bottom: 24px;
}

@media (max-width: 760px) {
    .hero-summary {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 22px;
        flex-wrap: wrap;
    }

    .page-header .tagline {
        font-size: 14px;
    }
}

@media (max-width: 560px) {
    .projeto-page {
        width: 100%;
        max-width: 100%;
    }

    .hero-projeto {
        padding: 26px 18px 22px;
    }

    .hero-badge {
        margin-bottom: 14px;
        font-size: 10px;
        letter-spacing: 0.1em;
    }

    .page-header h1 {
        font-size: 20px;
        line-height: 1.18;
        gap: 8px;
    }

    .page-header h1 i {
        font-size: 18px;
    }

    .page-header .tagline {
        max-width: 30ch;
        line-height: 1.7;
    }

    .hero-summary {
        gap: 10px;
        margin-top: 18px;
    }

    .hero-pill {
        padding: 14px 12px;
        border-radius: 16px;
    }

    .text-section {
        padding: 26px 20px;
    }

    .text-section h2 {
        font-size: 21px;
    }

    .processo-projeto {
        overflow: hidden;
        width: 100%;
    }

    .timeline-title {
        font-size: 17px;
        margin-bottom: 22px;
    }

    .timeline {
        padding-left: 14px;
        padding-right: 0;
        margin-left: 0;
    }

    .timeline::before {
        left: 2px;
    }

    .step {
        padding: 18px 16px;
        margin-bottom: 18px;
        border-radius: 16px;
        margin-left: 0;
        width: calc(100% - 2px);
    }

    .step::before {
        top: 22px;
        left: -14px;
        width: 10px;
        height: 10px;
    }

    .step h3 {
        font-size: 14px;
        gap: 8px;
        line-height: 1.35;
    }

    .step p,
    .projeto-lista li {
        font-size: 13px;
        line-height: 1.55;
    }
}

@media (max-width: 380px) {
    .projeto-page {
        gap: 24px;
    }

    .hero-projeto {
        padding: 22px 16px 18px;
        border-radius: 22px;
    }

    .page-header h1 {
        font-size: 18px;
    }

    .timeline {
        padding-left: 12px;
        padding-right: 0;
    }

    .timeline::before {
        left: 1px;
    }

    .step {
        padding: 16px 14px;
        margin-left: 0;
        width: calc(100% - 1px);
    }

    .step::before {
        left: -13px;
    }
}
