/* ==============================================
   JRTECH - Home Page Styles
   Hero, Service Cards, Diferenciais
   ============================================== */

/* ---- Hero Home ---- */
.hero-home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-home::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, hsla(210, 100%, 56%, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.hero-home-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-home-text .badge {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    margin-bottom: 1.5rem;
}

.hero-home-text h1 {
    animation: fadeInUp 0.7s 0.1s ease forwards;
    opacity: 0;
    margin-bottom: 1.5rem;
}

.hero-home-text .hero-desc {
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    animation: fadeInUp 0.7s 0.2s ease forwards;
    opacity: 0;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.7s 0.3s ease forwards;
    opacity: 0;
}

.hero-home-visual {
    animation: fadeInScale 0.9s 0.4s ease forwards;
    opacity: 0;
}

.hero-img-wrapper {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: relative;
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Stats Bar ---- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: transform 0.3s var(--ease-smooth);
}

.stat-item:hover { transform: translateY(-4px); }

.stat-number {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ---- Service Cards (3 temas) ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 20px 20px 0 0;
}

.service-card.card-blue::before { background: var(--primary); }
.service-card.card-amber::before { background: var(--accent); }
.service-card.card-green::before { background: var(--success); }

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.card-blue .service-icon {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.card-amber .service-icon {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.card-green .service-icon {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.service-card h3 { margin-bottom: 0.75rem; }

.service-card p { font-size: 0.95rem; }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1.25rem;
    transition: gap 0.3s;
}

.service-link:hover { gap: 0.8rem; }

/* ---- Diferenciais ---- */
.diffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.diff-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.diff-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.diff-item h4 { margin-bottom: 0.5rem; }

/* ---- CTA Bottom ---- */
.cta-section {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(245, 158, 11, 0.04) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section h2 { margin-bottom: 1rem; }
.cta-section .btn { margin-top: 1.5rem; }

/* ---- Responsivo ---- */
@media (max-width: 992px) {
    .hero-home-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-cta { justify-content: center; }
    .hero-home-visual { max-width: 500px; margin: 0 auto; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-bar { margin-top: 2rem; }
}

@media (max-width: 768px) {
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .stats-bar { grid-template-columns: 1fr; }
}
