/* ============================================
   CLINICAL RESEARCH – ESTILOS EXCLUSIVOS
   ============================================ */

/* ----- HERO (ESTILO HOME - ALINHADO À ESQUERDA) ----- */
#hero {
    position: relative;
    min-height: 36vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 50px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg, rgba(186,2,37,0.92) 0%, rgba(186,2,37,0.75) 40%, rgba(10,10,10,0.80) 100%);
}

#hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px 24px 50px;
}

.hero-content {
    max-width: 700px;
    text-align: left;  /* ALINHADO À ESQUERDA */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: var(--font-inter);
    font-size: 0.7rem;
    font-weight: 600;
    color: #D1964F;
    background: rgba(209,150,79,0.2);
    border: 1px solid rgba(209,150,79,0.45);
    margin-bottom: 12px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D1964F;
}

#hero h1 {
    font-family: var(--font-inter);
    font-size: 3.0rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 8px;
}

#hero p {
    font-family: var(--font-lato);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    max-width: 600px;
    margin: 0;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* ----- FUNDO DA ÁREA DE PROJETOS ----- */
#clinical-content {
    background: #F5F0EB;
    padding-bottom: 64px;
}

/* ----- GRID PRINCIPAL ----- */
.clinical-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
    padding: 48px 0 0;
    align-items: start;
}

/* ----- SIDEBAR ----- */
#projects-sidebar {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 100px;
    border: 1px solid #f0f0f0;
    width: 100%;
    max-width: 340px;
}

#projects-sidebar h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4A4A4A;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;  /* Reduzido para diminuir altura */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    margin-bottom: 4px;
    background: transparent;
    min-height: 60px;  /* Reduzido de 70px para 60px (~15% menor) */
}

.project-item:hover {
    background: #F7F9FC;
}

.project-item.active {
    background: #F0E8D9;
    border-left-color: #BA0225;
    border-radius: 8px;
}

.project-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.project-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    align-items: flex-start;  /* Alinha todo o conteúdo à esquerda */
}

.project-name {
    font-weight: 700;
    font-size: 1.15rem;  /* Mantido grande */
    color: #1A1A1A;
    line-height: 1.2;
    display: block;
    text-align: left;  /* Alinhado à esquerda */
    width: 100%;
}

.project-status {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    color: #2E7D32;
    background: #E8F5E9;
    padding: 1px 10px;
    border-radius: 12px;
    margin-top: 2px;
    white-space: nowrap;
    align-self: flex-start;  /* Alinhado à esquerda */
}

/* ----- CONTEÚDO ----- */
#project-content {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

#project-content .project-badge {
    display: none;
}

#project-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 4px;
}

#project-content .project-subtitle {
    font-size: 1rem;
    color: #4A4A4A;
    margin-bottom: 16px;
}

#project-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 28px 0 8px;
    border-bottom: 2px solid #BA0225;
    padding-bottom: 6px;
    display: inline-block;
}

#project-content p {
    font-size: 1rem;
    color: #4A4A4A;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ----- TIERS (ARIA - cards com bordas coloridas) ----- */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 24px 0;
}

.tier-card {
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #ccc;
    background: #F7F9FC;
}

.tier-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.tier-card p {
    font-size: 0.95rem;
    color: #4A4A4A;
    margin-bottom: 0;
    line-height: 1.6;
}

.tier-1 {
    border-left-color: #568784;
}

.tier-2 {
    border-left-color: #D1964F;
}

.tier-3 {
    border-left-color: #BA0225;
}

/* ----- LISTAS (objetivos, participação, benefícios) ----- */
.objectives-list,
.participation-list,
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.objectives-list li,
.participation-list li,
.benefits-list li {
    padding: 6px 0 6px 28px;
    position: relative;
    font-size: 0.95rem;
    color: #4A4A4A;
    line-height: 1.6;
}

.objectives-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #BA0225;
    font-weight: 700;
}

.participation-list li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: #BA0225;
    font-weight: 700;
    font-size: 1.4rem;
}

.benefits-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #D1964F;
    font-weight: 700;
}

/* ----- BANNER DE COLABORAÇÃO (ARIA) ----- */
.collaboration-banner {
    background: #F0E8D9;
    border-left: 6px solid #BA0225;
    border-radius: 8px;
    padding: 16px 24px;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;  /* ← FORÇA COLUNA */
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.collaboration-banner p {
    margin: 0;
    font-size: 1rem;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.collaboration-banner strong {
    font-weight: 700;
}

.btn-banner {
    display: inline-block;
    background: #BA0225;
    color: #FFFFFF;
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-banner:hover {
    background: #8A001C;
    color: #FFFFFF;
}

/* ----- JOIN CTA (ARIA) - BOTÃO VERMELHO CENTRALIZADO ----- */
.join-cta {
    background: #F7F9FC;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    margin-top: 24px;
    border: 1px solid #eee;
}

.join-cta p {
    font-size: 1.1rem;
    color: #1A1A1A;
    font-weight: 500;
    margin-bottom: 16px;
}

.join-cta .btn {
    display: inline-block;
    padding: 14px 40px;
    background: #BA0225;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
}

.join-cta .btn:hover {
    background: #8A001C;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 1024px) {
    .clinical-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    #projects-sidebar {
        position: static;
    }

    .project-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .project-item {
        flex: 1;
        min-width: 140px;
        border-left: none;
        border-top: 3px solid transparent;
        text-align: center;
    }

    .project-item.active {
        border-top-color: #BA0225;
        border-left-color: transparent;
    }

    .tiers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #hero {
        min-height: 50vh;
        padding-top: 50px;
    }

    #hero .container {
        padding: 40px 16px 60px;
    }

    .hero-content {
        text-align: center;
    }

    #hero h1 {
        font-size: 2.2rem;
    }

    #hero p {
        font-size: 1rem;
        margin: 0 auto;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 4px 12px;
    }

    #project-content {
        padding: 20px 16px;
    }

    #project-content h2 {
        font-size: 1.4rem;
    }

    #project-content h3 {
        font-size: 1rem;
    }

    .project-list {
        flex-direction: column;
    }

    .project-item {
        min-width: auto;
        text-align: left;
    }

    .collaboration-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 16px;
    }

    .collaboration-banner p {
        justify-content: center;
    }

    .btn-banner {
        width: 100%;
        text-align: center;
    }

    .tiers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .join-cta {
        padding: 20px;
    }

    .join-cta .btn {
        width: 100%;
        text-align: center;
    }
}