/** ================================
RESET E BASE
=================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #051638;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    background: #FFFFFF;
}

/* Containers */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/** ==========
CSS FILTROS
=============*/



#all:checked~#section-softwares,
#all:checked~#section-distribuidores,
#all:checked~#section-modulos,
#all:checked~#section-plataforma,
#all:checked~#section-tecnologias,
#all:checked~#section-servicos,
#all:checked~#section-provimento {
    display: block;
}

#softwares:checked~#section-softwares,
#distribuidores:checked~#section-distribuidores,
#modulos:checked~#section-modulos,
#plataforma:checked~#section-plataforma,
#tecnologias:checked~#section-tecnologias,
#servicos:checked~#section-servicos,
#provimento:checked~#section-provimento {
    display: block;
}

/* ===== FILTROS ===== */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    background: #fff;
    padding: 20px;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.filters label {
    background: #e9ecef;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.filters input[type="radio"] {
    display: none;
}

.filters input[type="radio"]:checked+label {
    background: radial-gradient(circle, #0570c1, #035ca1);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.filters label:hover {
    transform: translateY(-4px);
}

/* ===== RESPONSIVIDADE FILTROS ===== */
@media (max-width: 768px) {

    .filters {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 8px;
        padding: 12px 15px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

        .filters::-webkit-scrollbar {
            display: none; /* Chrome */
        }

        .filters label {
            flex: 0 0 auto;
            white-space: nowrap;
            padding: 10px 14px;
            font-size: 14px;
            border-radius: 8px;
        }
}
/* ================================
   HERO SECTION
=================================== */
.hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, hsl(204 100% 10%) 0%, hsl(204 100% 32%) 50%, hsl(204 85% 30%) 100%);
    color: #FFFFFF;
    text-align: center;
}

.hero-content {
    max-width: 56rem;
    margin: 0 auto;
    z-index: 10;
    position: relative;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e8f0f8;
}

/* ================================
   SECTION BASE
=================================== */
.section {
    padding: 5rem 0;
}

.bg-white {
    background: #FFFFFF;
}

.bg-gray {
    background: #FBFBFB;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: bold;
    color: #0B1B38;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #75829C;
}

.divider {
    width: 6rem;
    height: 4px;
    background: #051638;
    margin: 1.5rem auto 0;
}

/* ================================
   PRODUCTS GRID (SAAS PREMIUM)
=================================== */

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #035ca1, #0ea5e9);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    box-shadow: 0 25px 50px -12px rgba(3, 92, 161, 0.15);
    transform: translateY(-8px);
    border-color: rgba(3, 92, 161, 0.2);
}

.product-card:hover::before {
    opacity: 1;
}

@media (max-width: 1024px) {
    .product-card {
        padding: 2rem;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 2rem;
}

.service-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/*Teste module card*/

.module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

    .module-header h3 {
        flex: 1;
        margin: 0 10px;
    }

.module-plus {
    width: 32px;
    height: 32px;
    background: #035ca1;
    color: #fff;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ================================
   GRIDS BASE
=================================== */
.modules-grid,
.platform-grid,
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* ================================
   CARDS BASE
=================================== */
.product-card,
.module-card,
.platform-card,
.tech-card,
.service-card {
    cursor: pointer;
}

.module-card,
.platform-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tech-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.module-card:hover,
.platform-card:hover,
.tech-card:hover,
.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(3, 92, 161, 0.1);
    transform: translateY(-6px);
}

/* Ícones base */
.product-icon,
.module-icon,
.platform-icon,
.tech-icon,
.service-icon,
.compliance-icon {
    background: #035ca1;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-icon,
.platform-icon,
.compliance-icon {
    border-radius: 1rem;
}

.module-icon,
.tech-icon,
.service-icon {
    border-radius: 0.75rem;
}

.product-icon {
    width: 3.5rem;
    height: 3.5rem;
}

.module-icon,
.service-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.tech-icon {
    width: 3rem;
    height: 3rem;
}

.platform-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
}

.compliance-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    margin: 0 auto 1.5rem;
}

/* ================================
   REVEAL
=================================== */

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
}

.reveal-top {
    opacity: 0;
    transform: translateY(60px);
}

.reveal-active {
    opacity: 1 !important;
    transform: translate(0,0) !important;
}


/* ================================
   PRODUCT LAYOUT (SAAS)
=================================== */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.product-left {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.product-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
}

.product-right h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.product-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, #035ca1 0%, #0284c7 100%);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 9999px;
    margin-bottom: 1rem;
    width: fit-content;
    box-shadow: 0 2px 4px rgba(3, 92, 161, 0.2);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.product-header h3,
.module-card h3,
.platform-card h3,
.tech-header h3,
.service-card h3,
.compliance-box h3 {
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.product-header h3 {
    font-size: 1.75rem;
    line-height: 1.2;
}

.module-card h3,
.platform-card h3,
.tech-header h3,
.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.product-description,
.module-card p,
.platform-card p,
.tech-header p,
.service-card p,
.compliance-box p {
    color: #475569;
    line-height: 1.7;
    font-size: 1.05rem;
    text-align: justify!important;
}


/* ================================
   FEATURE LISTS (SAAS)
=================================== */
.features-grid,
.tech-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item,
.tech-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
}

.check-icon,
.prodserv-check-icon-sm {
    width: 20px;
    height: 20px;
    color: #10b981 !important;
    /* Premium Emerald */
    flex-shrink: 0;
    margin-top: 2px;
}

/* ================================
   COMPLIANCE BOX
=================================== */
.compliance-box {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
    border: 1px solid #D7DCE6;
    box-shadow: 0 4px 12px rgba(5, 22, 56, 0.15);
}

.compliance-box h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* ================================
   BUTTONS
=================================== */
.btn-primary {
    background: #051638;
    color: #FFFFFF;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: rgba(5, 22, 56, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 22, 56, 0.2);
}

/* ================================
   SAIBA MAIS BTN (Modern Outline)
=================================== */
.btn-saiba-mais-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #035ca1;
    background: transparent;
    border: 2px solid #035ca1;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
    /* Pushes button to bottom if in flex container */
}

.btn-saiba-mais-outline:hover {
    background: #035ca1;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 92, 161, 0.2);
}

/* Modifiers for different layout contexts */
.product-card .btn-saiba-mais-outline {
    margin-top: 2rem;
}

.module-card .btn-saiba-mais-outline,
.platform-card .btn-saiba-mais-outline,
.tech-card .btn-saiba-mais-outline,
.service-card .btn-saiba-mais-outline {
    margin-top: 1.5rem;
    width: 100%;
    /* Full width for smaller boxy cards */
}


/* ================================
   RESPONSIVIDADE
=================================== */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .hero {
        padding: 130px 0 60px 0;
    }

    .hero-content h1 {
        font-size: 36px;
        margin-top: 20%;
    }

    .hero-subtitle {
        font-size: 18px;
    }


    .features-grid,
    .tech-grid,
    .tech-features,
    .products-grid,
    .modules-grid,
    .platform-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }

    .product-card,
    .tech-card {
        padding: 1.5rem;
    }

    .module-card,
    .platform-card,
    .service-card {
        padding: 1.25rem;
    }

    .compliance-box {
        padding: 2rem 1.5rem;
    }

    .product-layout {
        gap: 1.5rem;
    }
}

/* ================================
   PLUS SQUARE BUTTON
=================================== */
.btn-plus-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #035ca1;
    color: #ffffff;
    border-radius: 4px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin-top: 1.5rem;
    align-self: flex-start; /* Ensures it doesn't stretch */
}

.btn-plus-square:hover {
    background-color: #0284c7;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(3, 92, 161, 0.2);
}