/* ============================================
   Página de Clientes/Projetos — service.html
   Estilos exclusivos da página
   ============================================ */

.service-hero {
    background:
        radial-gradient(ellipse at top left, rgba(22, 216, 66, 0.18), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(26, 255, 107, 0.12), transparent 55%),
        linear-gradient(180deg, #0a0a0a 0%, #101010 100%);
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(22, 216, 66, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 216, 66, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    pointer-events: none;
}

/* ============================================
   Pills de estatística (reutilizável na página)
   ============================================ */
.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(22, 216, 66, 0.1);
    border: 1px solid rgba(22, 216, 66, 0.25);
    border-radius: 999px;
    font-size: 0.875rem;
    color: #cbd5d1;
}

.stat-pill__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16d842;
    box-shadow: 0 0 8px #16d842;
}

/* ============================================
   Sessão por vertical (heading forte)
   ============================================ */
.vertical-section {
    position: relative;
    scroll-margin-top: 100px;
}

.vertical-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.vertical-section__title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vertical-section__icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: rgba(22, 216, 66, 0.1);
    border: 1px solid rgba(22, 216, 66, 0.25);
    color: #16d842;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.vertical-section__heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.vertical-section__tag {
    color: #16d842;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
}

.vertical-section__count {
    font-size: 0.875rem;
    color: rgba(203, 213, 209, 0.6);
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(26, 26, 26, 0.8);
    border-radius: 999px;
}

/* ============================================
   Card de cliente
   ============================================ */
.client-card {
    background: linear-gradient(145deg, #121212, #0b0b0b);
    border: 1px solid rgba(26, 26, 26, 0.8);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                box-shadow 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.client-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(22, 216, 66, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.client-card:hover {
    transform: translateY(-8px);
    border-color: rgba(22, 216, 66, 0.35);
    box-shadow: 0 25px 50px -15px rgba(22, 216, 66, 0.25);
}

.client-card:hover::before { opacity: 1; }

.client-card__media {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-card__media--contain img {
    object-fit: contain;
    padding: 2rem;
    background: #1a1a1a;
}

.client-card:hover .client-card__media img {
    transform: scale(1.08);
}

.client-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.9) 100%);
    pointer-events: none;
}

.client-card__sector {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.25rem 0.65rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #16d842;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(22, 216, 66, 0.3);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
}

.client-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.client-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.client-card__title i {
    color: rgba(22, 216, 66, 0.4);
    font-size: 0.875rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.client-card:hover .client-card__title i {
    color: #16d842;
    transform: translate(2px, -2px);
}

.client-card__description {
    color: rgba(203, 213, 209, 0.75);
    font-size: 0.875rem;
    line-height: 1.6;
}

.client-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.75rem 0;
    flex: 1;
}

.client-card__meta-item dt {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(22, 216, 66, 0.85);
    margin-bottom: 0.25rem;
}

.client-card__meta-item dd {
    font-size: 0.8125rem;
    color: rgba(203, 213, 209, 0.88);
    line-height: 1.55;
}

.client-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(26, 26, 26, 0.8);
}

.client-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #16d842;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.3s ease, gap 0.3s ease;
}

.client-card__link:hover {
    color: #1aff6b;
    gap: 0.75rem;
}

.client-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.client-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(203, 213, 209, 0.7);
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(26, 26, 26, 0.8);
    border-radius: 999px;
}

/* ============================================
   Setores atendidos (chips grandes)
   ============================================ */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.sector-chip {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(145deg, #121212, #0a0a0a);
    border: 1px solid rgba(26, 26, 26, 0.8);
    border-radius: 1rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.sector-chip:hover {
    border-color: rgba(22, 216, 66, 0.35);
    transform: translateY(-4px);
}

.sector-chip__icon {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    background: rgba(22, 216, 66, 0.1);
    color: #16d842;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.sector-chip__label {
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.sector-chip__sub {
    font-size: 0.75rem;
    color: rgba(203, 213, 209, 0.6);
    margin-top: 0.15rem;
}

/* ============================================
   Divider suave entre seções
   ============================================ */
.service-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(22, 216, 66, 0.25), transparent);
    margin: 4rem auto;
    max-width: 280px;
}

/* ============================================
   Responsivo
   ============================================ */
@media (max-width: 768px) {
    .vertical-section__header {
        flex-direction: column;
        align-items: flex-start;
    }
    .vertical-section__count { align-self: flex-start; }
    .client-card__media { height: 160px; }
}

@media (max-width: 380px) {
    .vertical-section__icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .vertical-section__title { gap: 0.65rem; }
    .client-card__body { padding: 1.25rem; }
    .sector-chip { padding: 1rem; gap: 0.75rem; }
    .sector-chip__icon { width: 38px; height: 38px; }
}

/* ============================================
   CTA final — conversão
   ============================================ */
.service-cta {
    position: relative;
}

.service-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 50% 100%, rgba(22, 216, 66, 0.14), transparent 68%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(22, 216, 66, 0.06), transparent 70%);
    pointer-events: none;
}

.service-cta__panel {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-color: rgba(22, 216, 66, 0.22);
    box-shadow:
        0 0 0 1px rgba(22, 216, 66, 0.1),
        0 28px 70px -24px rgba(22, 216, 66, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.service-cta__panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(420px, 70%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(22, 216, 66, 0.55), transparent);
    pointer-events: none;
}

.service-cta__eyebrow {
    display: inline-block;
    letter-spacing: 0.3em;
}

.service-cta__title {
    letter-spacing: -0.02em;
}

.service-cta__subtitle {
    line-height: 1.7;
    color: rgba(203, 213, 209, 0.88);
}

.service-cta__actions {
    position: relative;
    z-index: 1;
}

.service-cta__btn-primary {
    padding: 1.125rem 2.35rem;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow:
        0 14px 36px -10px rgba(22, 216, 66, 0.6),
        0 0 0 1px rgba(22, 216, 66, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s ease,
        background 0.25s ease;
}

.service-cta__btn-primary i {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-cta__btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 22px 48px -12px rgba(22, 216, 66, 0.78),
        0 0 36px -6px rgba(22, 216, 66, 0.45),
        0 0 0 1px rgba(26, 255, 107, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.service-cta__btn-primary:hover i {
    transform: translateX(5px);
}

.service-cta__btn-secondary {
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.service-cta__btn-secondary i {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-cta__btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px -6px rgba(22, 216, 66, 0.45);
    border-color: rgba(26, 255, 107, 0.75);
}

.service-cta__btn-secondary:hover i {
    transform: translateY(-1px) scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
    .service-cta__btn-primary,
    .service-cta__btn-primary i,
    .service-cta__btn-secondary,
    .service-cta__btn-secondary i {
        transition: none;
    }

    .service-cta__btn-primary:hover,
    .service-cta__btn-secondary:hover {
        transform: none;
    }

    .service-cta__btn-primary:hover i,
    .service-cta__btn-secondary:hover i {
        transform: none;
    }
}
