/* Página de Produtos — Code Minds Technology */

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* ── Hero ── */
.products-hero {
    position: relative;
    background: linear-gradient(145deg, #0d0618 0%, #1a0a2e 35%, #2d1b69 70%, #4a1a8a 100%);
    color: #fff;
    text-align: center;
    padding: 9rem 0 6rem;
    overflow: hidden;
    min-height: 78vh;
    display: flex;
    align-items: center;
}

.products-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(138, 44, 226, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 30%, rgba(106, 29, 184, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.products-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 100%);
    pointer-events: none;
}

.products-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: auto !important;
}

.products-hero .hero-buttons {
    margin-top: 0 !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

.hero-badge {
    display: inline-block;
    background: rgba(138, 44, 226, 0.2);
    border: 1px solid rgba(138, 44, 226, 0.4);
    color: #d4b3ff;
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.products-hero h1 {
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.products-hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.88;
    line-height: 1.75;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #8a2ce2, #6a1db8);
    color: #fff;
    box-shadow: 0 8px 28px rgba(138, 44, 226, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(138, 44, 226, 0.5);
    color: #fff;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* ── Faixa de confiança ── */
.trust-strip {
    background: #12101f;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(138, 44, 226, 0.15);
    border-bottom: 1px solid rgba(138, 44, 226, 0.15);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trust-item {
    text-align: center;
    padding: 0.5rem;
}

.trust-item i {
    font-size: 1.4rem;
    color: #8a2ce2;
    margin-bottom: 0.6rem;
    display: block;
}

.trust-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.trust-item span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ── Seções comuns ── */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8a2ce2;
    margin-bottom: 0.75rem;
}

.section-dark .section-label {
    color: #c49aff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-dark .section-title {
    color: #fff;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #6c757d;
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.section-note {
    color: #868e96;
    max-width: 700px;
    margin: 1.5rem auto 0;
    font-size: 0.88rem;
    line-height: 1.65;
    font-style: italic;
}

.section-dark .section-note {
    color: rgba(255, 255, 255, 0.45);
}

/* ── Fundos alternados ── */
.section-light {
    background: #eef0f7;
    padding: 5.5rem 0;
}

.section-dark {
    background: linear-gradient(180deg, #12101f 0%, #1a1035 100%);
    padding: 5.5rem 0;
    color: #fff;
}

/* ── O que podemos desenvolver ── */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.solution-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(18, 16, 31, 0.06);
    border: 1px solid rgba(138, 44, 226, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(138, 44, 226, 0.14);
    border-color: rgba(138, 44, 226, 0.25);
}

.solution-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}

.solution-badge {
    display: inline-flex;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6a1db8;
    background: rgba(138, 44, 226, 0.1);
}

.solution-badge.badge-consulta {
    color: #4a5568;
    background: rgba(74, 85, 104, 0.1);
}

.solution-badge.badge-exclusivo {
    color: #5b21b6;
    background: rgba(91, 33, 182, 0.1);
}

.solution-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8a2ce2, #6a1db8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-icon i {
    font-size: 1.15rem;
    color: #fff;
}

.solution-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.solution-card p {
    color: #5a6474;
    line-height: 1.65;
    font-size: 0.92rem;
    margin: 0;
    flex-grow: 1;
}

/* ── Como nasce um projeto ── */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.workflow-step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.6rem;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.workflow-step:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(138, 44, 226, 0.3);
}

.workflow-step-number {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8a2ce2, #6a1db8);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(138, 44, 226, 0.3);
}

.workflow-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.workflow-step p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

/* ── Por que desenvolver ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.why-card i {
    font-size: 1.5rem;
    color: #8a2ce2;
    margin-bottom: 1rem;
    display: block;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.why-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* ── CTA ── */
.cta-section {
    padding: 5rem 0;
    background: #eef0f7;
}

.cta-content {
    background: linear-gradient(135deg, #1a0a2e 0%, #4a1a8a 60%, #6a1db8 100%);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    color: #fff;
    text-align: center;
    box-shadow: 0 24px 64px rgba(26, 10, 46, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.25;
}

.cta-content p {
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.65;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.cta-btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn-primary {
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
    color: #fff;
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Footer mobile ── */
@media (max-width: 768px) {
    .footer-links {
        display: none;
    }
}

/* ── Responsivo ── */
@media (max-width: 1100px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 1024px) {
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .products-hero {
        padding: 7rem 0 4.5rem;
        min-height: auto;
    }

    .section-light,
    .section-dark,
    .cta-section {
        padding: 4rem 0;
    }

    .trust-strip {
        padding: 2rem 0;
    }

    .solutions-grid,
    .workflow-steps,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .solution-card,
    .workflow-step,
    .why-card {
        padding: 1.4rem;
    }

    .cta-content {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn,
    .cta-btn {
        justify-content: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
}
