/* Página Fábrica de Software */
/* --- Reset e Configurações Globais --- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    background-color: #FFFFFF;
    color: #0A0A0A;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.bg-white .btn1 {
    background-color: #111;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.bg-white .btn1:hover {
    background-color: #111;
    color: #fff;
    -moz-transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.hero-content .btn1,
.gap-4 .btn1 {
    background: linear-gradient(135deg, #CF2410 0%, #880e00 100%);
    border: 0 solid transparent;
    color: #fff;
    gap: .5rem;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.hero-content .btn1:hover,
.gap-4 .btn1:hover {
    background: linear-gradient(135deg, #CF2410 0%, #880e00 100%);
    border: 0 solid transparent;
    color: #fff;
    -moz-transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.hero-content .btn1 svg {
    height: 18px;
    margin-left: .5rem;
}

.hero-content .btn1 svg path {
    fill: #fff;
}

.bg-white .btn1:hover {
    -moz-transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

/* --- Layout e Utilitários --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.max-w-6xl {
    max-width: 1152px;
}

.max-w-5xl {
    max-width: 1024px;
}

.max-w-4xl {
    max-width: 896px;
}

.max-w-3xl {
    max-width: 768px;
}

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

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.hidden {
    display: none;
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }

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

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.align-center {
    align-items: center;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-12 {
    gap: 3rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* --- Cores e Tipografia --- */
.text-black {
    color: #0A0A0A;
}

.text-white {
    color: #FFFFFF;
}

.text-gray-400 {
    color: #9CA3AF;
}

.text-gray-500 {
    color: #6B7280;
}

.text-gray-600 {
    color: #4B5563;
}

.text-red {
    color: #CF2410;
}

.text-green {
    color: #4ADE80;
}

.text-blue {
    color: #60A5FA;
}

.bg-white {
    background-color: #FFFFFF;
}

.bg-gray-50 {
    background-color: #F9FAFB;
}

.bg-gray-100 {
    background-color: #F3F4F6;
}

.bg-cover-black {
    background-color: #0A0A0A;
}

.bg-cover-dark {
    background-color: #111;
}

.text-gradient {
    background: linear-gradient(135deg, #CF2410 0%, #880e00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Botões --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #CF2410 0%, #C62828 100%);
    color: #FFFFFF;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(229, 57, 53, 0.4);
}

.btn-secondary {
    border: 2px solid #CF2410;
    color: #CF2410;
    background: transparent;
}

.btn-secondary:hover {
    background: #CF2410;
    color: #FFFFFF;
}

.btn-dark {
    background: #0A0A0A;
    color: #FFFFFF;
}

.btn-dark:hover {
    background: #111;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
}

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

@media (min-width: 640px) {
    .desktop-btn {
        display: inline-flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-content {
    display: none;
    background-color: #111;
    border-top: 1px solid #2A2A2A;
}

.mobile-menu-content.active {
    display: block;
}

.mobile-menu-inner {
    padding: 1rem;
}

/* --- Hero --- */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0A0A0A;
}

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

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

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.9) 50%, rgba(10, 10, 10, 0.95) 100%);
}

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

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.blob-top-left {
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background-color: rgba(229, 57, 53, 0.2);
}

.blob-bottom-right {
    bottom: 5rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
    background-color: rgba(229, 57, 53, 0.1);
}

.hero-content {
    position: relative;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(42, 42, 42, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    margin-bottom: 2rem;
    border: 1px solid rgba(229, 57, 53, 0.3);
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #CF2410;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #9CA3AF;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-desc {
    font-size: 1.125rem;
    color: #9CA3AF;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.625;
}

@media (min-width: 768px) {
    .hero-desc {
        font-size: 1.25rem;
    }
}

.hero-features {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.875rem;
    color: #9CA3AF;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    width: 1.25rem;
    height: 1.25rem;
    color: #CF2410;
}

/* --- Sections Generic --- */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    font-size: 1rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.section-text {
    font-size: 1.125rem;
    line-height: 1.75;
}

.border-y {
    border-top: 1px solid #2A2A2A;
    border-bottom: 1px solid #2A2A2A;
}

/* --- Problem & Solution Images --- */
.relative-img-wrapper {
    position: relative;
}

.img-blob-bg {
    position: absolute;
    inset: -1rem;
    background-color: rgba(229, 57, 53, 0.1);
    border-radius: 1.5rem;
    filter: blur(24px);
    z-index: 0;
}

.rounded-img {
    position: relative;
    border-radius: 1rem;
    border: 1px solid #E5E7EB;
    width: 100%;
    object-fit: cover;
    height: 400px;
}

@media (max-width: 1023px) {
    .order-1-mobile {
        order: 1;
    }

    .order-2-mobile {
        order: 2;
    }
}

/* --- Problem List --- */
.problem-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #F9FAFB;
    border-radius: 0.5rem;
    border-left: 4px solid #CF2410;
}

.problem-item i {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    color: #CF2410;
}

.problem-item span {
    font-weight: 500;
    color: #0A0A0A;
}

/* --- Services Cards --- */
.card {
    padding: 1.5rem;
    border: transparent;
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(229, 57, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(229, 57, 53, 0.2);
}

.card-icon-wrapper i {
    color: #CF2410;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0A0A0A;
    margin-bottom: 0.75rem;
}

.card-desc {
    font-size: 0.875rem;
    color: #4B5563;
    line-height: 1.625;
}

/* --- Case Study --- */
.case-card {
    background-color: #0A0A0A;
    padding: 1.5rem;
    border: 1px solid #2A2A2A;
}

.case-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #CF2410;
    margin-bottom: 0.75rem;
}

.quote-block {
    background-color: #0A0A0A;
    border-left: 4px solid #CF2410;
    padding: 1.5rem;
    font-style: italic;
    color: #9CA3AF;
}

.quote-footer {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #CF2410;
    font-weight: 600;
    font-style: normal;
    height: auto;
}

.metrics-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.metric-box {
    padding: 2rem;
    text-align: center;
}

.metric-red {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.2) 0%, #0A0A0A 100%);
    border: 1px solid rgba(229, 57, 53, 0.3);
}

.metric-green {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, #0A0A0A 100%);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.metric-blue {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, #0A0A0A 100%);
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* --- Process Section --- */
.process-container {
    position: relative;
}

.process-line {
    display: none;
}

@media (min-width: 768px) {
    .process-line {
        display: block;
        position: absolute;
        top: 2rem;
        left: 50%;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, #CF2410 0%, transparent 100%);
        transform: translateX(-50%);
        z-index: 0;
    }
}

.process-step {
    position: relative;
    z-index: 10;
    background-color: #FFFFFF;
    padding: 1.5rem;
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.step-number {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem auto;
    background-color: #CF2410;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0A0A0A;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.875rem;
    color: #4B5563;
}

/* --- CTA Section --- */
.bg-blobs-absolute {
    position: absolute;
    inset: 0;
}

.blob-cta-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    background-color: rgba(229, 57, 53, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.blob-cta-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background-color: rgba(229, 57, 53, 0.05);
    border-radius: 50%;
    filter: blur(60px);
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-md {
    width: 1.5rem;
    height: 1.5rem;
}

/* --- Form --- */
.form-container {
    background-color: #F9FAFB;
    border-radius: 1rem;
    padding: 2rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0A0A0A;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #D1D5DB;
    background-color: #FFFFFF;
    color: #0A0A0A;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-input:focus {
    border-color: #CF2410;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.resize-none {
    resize: none;
}

/* --- Benefits --- */
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
}

.benefit-item i {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.quote-block ul {
    list-style: disc;
    margin-left: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    /* --- Animations --- */
    .pulse-glow {
        animation: pulseGlow 2s ease-in-out infinite;
    }

    @keyframes pulseGlow {
        0%, 100% {
            box-shadow: 0 0 20px rgba(229, 57, 53, 0.3);
        }
        50% {
            box-shadow: 0 0 40px rgba(229, 57, 53, 0.6);
        }
    }

    @keyframes pulse {
        0%, 100% {
            opacity: 1;
        }
        50% {
            opacity: 0.5;
        }
    }

    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
    }

    .scroll-reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajustes 05/03 */
.hero-section span,
.bg-white span,
.bg-gray-50 span.text-gradient,
.bg-cover-dark span,
.bg-gray-100 span,
.bg-cover-black span {
    font-family: 'Montserrat Bold', sans-serif;
}

p.card-desc {
    text-align: left !important;
}
