h1, h2, h3, h4,
.btn {
    text-transform: capitalize;
}

.brand-mark {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.br-alert {
    border: 0;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-stat-card,
.process-card {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    position: relative;
}

.process-card .btn-square,
.feature-stat-card .btn-square {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.process-card .btn-square i,
.feature-stat-card .btn-square i {
    font-size: 1.75rem;
}

.process-step {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(52, 173, 84, 0.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.team-item img {
    width: 100%;
    object-fit: cover;
    min-height: 340px;
}

.portfolio-text p {
    max-width: 240px;
}

.carousel-caption .btn-outline-light:hover {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-name {
        font-size: 1rem;
    }
}

/* ── Mobile: hero carousel ─────────────────────────────────────────── */
/* Telas pequenas (< 576px): reduz título e parágrafo para caber os botões */
@media (max-width: 575.98px) {
    .carousel-caption h1.display-3 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .carousel-caption p.fs-5 {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .carousel-caption .btn {
        padding: 0.45rem 0.9rem;
        font-size: 0.85rem;
    }

    .carousel-caption .col-lg-9 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Telas médias (576px – 767px): ajuste intermediário */
@media (min-width: 576px) and (max-width: 767.98px) {
    .carousel-caption h1.display-3 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .carousel-caption p.fs-5 {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
}
