/* --- Variáveis de Cores e Estilo --- */
:root {
    --blue: #4973F4;
    --red: #FF5757;
    --cyan: #54E2EA;
    --light-blue: #A2B9F9;
    --white: #ffffff;
    --light-gray: #f4f7f6;
    --gray: #6c757d;
    --dark-gray: #1a1e23;
    /* Bordas assimétricas para identidade visual */
    --radius-shape: 30px 30px 0 30px; 
    --radius-shape-alt: 30px 30px 30px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    color: var(--dark-gray);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-size: 2.8rem;
    color: var(--dark-gray);
    margin-bottom: 1.2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--red);
    margin-top: 15px;
    border-radius: 4px;
}

.text-center h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.text-center p {
    text-align: center;
}

/* --- Botões --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    background-color: var(--red);
    color: var(--white);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    border-radius: var(--radius-shape);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 87, 87, 0.3);
}

.btn:hover {
    background-color: var(--blue);
    box-shadow: 0 10px 20px rgba(73, 115, 244, 0.3);
    transform: translateY(-3px);
    border-radius: var(--radius-shape-alt); 
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--blue);
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 75px auto;
    padding: 0 20px;
}

section {
    padding: 7rem 0;
    position: relative;
}

.page-header {
    background: linear-gradient(135deg, rgba(73, 115, 244, 0.9) 0%, rgba(84, 226, 234, 0.8) 100%), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding: 12rem 0 6rem;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* --- Header (Nav) --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    max-width: 1200px;
    margin: 0px auto;
    padding: 0 20px;
}

.logo img { height: 45px; object-fit: contain; }

.nav-links {
    display: flex;
    gap: 2.5rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.nav-links a:hover { color: var(--blue); }

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(73, 115, 244, 0.9) 0%, rgba(84, 226, 234, 0.8) 100%), 
                url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding-top: 90px;
    color: var(--white);
}

.hero-content { max-width: 750px; }
.hero h1 { font-size: 4.5rem; margin-bottom: 1.5rem; line-height: 1.1; }
.hero h1 span { color: var(--cyan); }
.hero p { font-size: 1.3rem; margin-bottom: 2.5rem; opacity: 0.95; font-weight: 600; }

/* --- Cards Gerais & Full Service --- */
.service-grid, .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-shape);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover { transform: translateY(-10px); }

.card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 120px; height: 120px;
    background: var(--light-gray);
    border-radius: 0 30px 0 100px;
    z-index: 0;
    opacity: 0.5;
    transition: all 0.3s;
}

.card:hover::before { background: var(--light-blue); }

.card-icon {
    width: 65px;
    height: 65px;
    background: var(--blue);
    color: var(--white);
    border-radius: 20px 20px 20px 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
}

.card h3 { position: relative; z-index: 1; font-size: 1.4rem; margin-bottom: 1rem; color: var(--dark-gray); }
.card p { position: relative; z-index: 1; color: var(--gray); font-size: 1.05rem; }

/* --- Produtos Extras --- */
.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue);
    margin-top: 1rem;
    display: block;
    position: relative;
    z-index: 1;
}

/* --- Aceleração --- */
.acceleration { background-color: var(--light-gray); }

.accel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.accel-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-shape-alt);
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.accel-item:nth-child(even) { 
    border-radius: var(--radius-shape); 
}

/* --- Ícones do Partnership --- */
.tier-icon {
    width: 55px;
    height: 55px;
    background: var(--light-blue);
    border-radius: 18px 18px 0 18px; /* Mantendo a identidade visual */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}
.tier-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--blue);
    transition: all 0.3s ease;
}
.tier:hover .tier-icon {
    background: var(--blue);
    border-radius: 18px 18px 18px 0; /* Inverte a borda no hover */
}
.tier:hover .tier-icon svg {
    stroke: var(--white);
}

.accel-icon svg { width: 40px; height: 40px; stroke: var(--red); }

/* --- Vantagens --- */
.vantagens-flex {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.vantagens-img { flex: 1; position: relative; }
.vantagens-img img { width: 100%; height: auto; border-radius: var(--radius-shape); box-shadow: 0 20px 40px rgba(73, 115, 244, 0.15); }
.vantagens-img::after {
    content: ''; position: absolute; bottom: -25px; right: -25px;
    width: 120px; height: 120px; background-color: var(--cyan);
    border-radius: 30px 30px 0 30px; z-index: -1;
}
.vantagens-text { flex: 1; }

.check-list li {
    display: flex; align-items: center; gap: 15px; margin-bottom: 1.2rem;
    font-size: 1.2rem; font-weight: 700; color: var(--blue);
}
.check-icon {
    width: 35px; height: 35px; background: var(--cyan); border-radius: 12px 12px 0 12px;
    display: flex; align-items: center; justify-content: center; color: var(--dark-gray);
}

/* --- Resultados --- */
.resultados {
    background: linear-gradient(rgba(45, 52, 54, 0.9), rgba(73, 115, 244, 0.9)), 
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    color: var(--white); text-align: center;
}
.resultados h2 { color: var(--white); }
.resultados h2::after { background: var(--cyan); margin: 15px auto 0; }

.stats-container { display: flex; justify-content: space-between; flex-wrap: wrap; margin-top: 5rem; gap: 2rem; }
.stat-box { flex: 1; min-width: 200px; }
.stat-box span { display: block; font-size: 4.5rem; font-weight: 900; color: var(--cyan); line-height: 1; margin-bottom: 10px; }
.stat-box p { font-size: 1.2rem; font-weight: 600; }

/* --- Partnership Tiers --- */
.tiers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 5rem; }
.tier {
    padding: 3rem 2rem; border-radius: var(--radius-shape); background: var(--light-gray);
    transition: all 0.3s; border: 2px solid transparent;
}
.tier:hover { background: var(--white); border-color: var(--blue); box-shadow: 0 15px 30px rgba(73, 115, 244, 0.15); transform: translateY(-5px); }
.tier h3 { color: var(--blue); margin-bottom: 1rem; font-size: 1.4rem; }
.tier p { font-size: 1.05rem; color: var(--gray); line-height: 1.6; }

/* --- Formulário --- */
.form-section { background-color: var(--white); }
.form-wrapper {
    background: var(--light-blue); padding: 4rem; border-radius: var(--radius-shape-alt);
    max-width: 800px; margin: 3rem auto 0; box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}
.form-group { margin-bottom: 1.8rem; }
.form-control {
    width: 100%; padding: 18px 25px; border: 2px solid transparent; background: var(--white);
    border-radius: 20px 20px 0 20px; font-size: 1.05rem; outline: none; transition: border 0.3s;
    font-family: 'Nunito', sans-serif; font-weight: 600;
}
.form-control:focus { border-color: var(--blue); }

/* --- Footer --- */
footer { background: var(--dark-gray); color: var(--white); padding: 4rem 0 3rem; text-align: center; }

/* --- Responsivo --- */
@media(max-width: 1024px) {
    .service-grid, .tiers-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .vantagens-flex { flex-direction: column; gap: 4rem;}
    .accel-item:nth-child(even) { transform: translateY(0); }
}
@media(max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 3rem; }
    .service-grid, .tiers-grid, .stats-container, .accel-grid, .products-grid { grid-template-columns: 1fr; }
    .form-wrapper { padding: 2.5rem; border-radius: 20px; }
    section { padding: 5rem 0; }
}

/* --- PRODUTOS FILTRO ---- */

/* --- Estilos Extras para a Página de Produtos --- */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--light-gray);
    color: var(--gray);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--blue);
}

.filter-btn.active {
    background: var(--white);
    border-color: var(--blue);
    color: var(--blue);
    box-shadow: 0 5px 15px rgba(73, 115, 244, 0.15);
}

.product-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.product-badge.badge-cpf { background: rgba(84, 226, 234, 0.2); color: #00939c; }
.product-badge.badge-cnpj { background: rgba(255, 87, 87, 0.15); color: var(--red); }
.product-badge.badge-nuvem { background: rgba(73, 115, 244, 0.15); color: var(--blue); }

.validity-list {
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.validity-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.95rem;
}

.validity-item span:first-child { color: var(--gray); font-weight: 600; }
.validity-item span:last-child { color: var(--dark-gray); font-weight: 800; }

/* Ajuste no card para suportar o novo layout e o botão fixo embaixo */
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card .btn {
    width: 100%;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}