@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Cores Nucleares - Dark Mode Premium */
    --bg-main: #020617;
    /* Slate 950 */
    --bg-card: #0f172a;
    /* Slate 900 */
    --bg-surface: #1e293b;
    /* Slate 800 */

    --primary: #f8a20d;
    /* Sky 400 */
    --primary-glow: rgba(56, 189, 248, 0.4);
    --secondary: #22d3ee;
    /* Cyan 400 */
    --accent: #818cf8;
    /* Indigo 400 */

    --text-primary: #f8fafc;
    /* Slate 50 */
    --text-muted: #e2e8f0 !important;
    /* Slate 200 - Increased for visibility */
    --text-dim: #cbd5e1 !important;
    /* Slate 300 - Increased for visibility */
    --gradient-text-mls: linear-gradient(180deg, #b1ebf9 0%, #0aa3f5 100%) !important;
    --gradient-text-front: linear-gradient(180deg, #fdf9d5 0%, #f8a20d 100%) !important;

    --border-subtle: rgba(255, 255, 255, 0.15);
    /* More visible */
    --border-highlight: rgba(56, 189, 248, 0.2);

    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-blur: 12px;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;

    --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Force Contrast Overrides */
.text-muted {
    color: var(--text-muted) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-dim {
    color: var(--text-dim) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Estilo padrão para telas maiores */
.elemento {
    padding-left: 3rem;  /* px-5 */
    padding-right: 3rem; /* px-5 */
    padding-top: 3rem;   /* py-3 */
    padding-bottom: 3rem;/* py-3 */
    font-size: 1rem;     /* fs-4 */
}

/* Estilo para dispositivos móveis */
@media (max-width: 768px) { /* ajuste a largura conforme necessário */
    .elemento {
        padding-left: 0.7rem !important;  /* px-2 */
        padding-right:  0.7rem !important; /* px-2 */
        padding-top: 0.7rem !important;   /* py-2 */
        padding-bottom: 0.7rem !important;/* py-2 */
        font-size: 0.8rem;     /* fs-6 */
        word-wrap: break-word !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }
}

/* --- Layout Base --- */
section {
    position: relative;
    padding: 120px 0;
}

/* Mesh Gradients de Fundo */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(129, 140, 248, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

/* --- Header Moderna --- */
.site-header {
    transition: var(--transition);    
}

.site-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
}

.navbar-brand.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* --- UI Components --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    padding: 2.5rem;
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: var(--border-highlight);
    transform: translateY(-5px);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-premium,
.btn-premium-hero {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    border-radius: 100px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary-glow {
    background-color: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    background-size: 200% auto;
    color: var(--bg-main);
    box-shadow: 0 0 20px var(--primary-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary-glow:hover {
    background-position: right center;
    background-color: #fff !important;
    background-image: none !important;
    color: var(--primary) !important;
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-outline-glow {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline-glow:hover {
    background: var(--primary);
    color: var(--bg-main);
}

/* Forms */
.form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-subtle) !important;
    color: #fff !important;
    /* Force maximum brightness for input text */
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.form-control::placeholder {
    color: var(--text-dim) !important;
    opacity: 0.8;
}

.form-label {
    color: var(--text-muted) !important;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-glow) !important;
}

/* --- Hero Section --- */
.hero-v3 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 60%);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 2rem;
}

/* --- Classes Utilitárias para aplicar o efeito --- */

/* Aplica o degradê azul/branco (MLS) */
.text-gradient-mls {
  background-image: var(--gradient-text-mls);
  -webkit-background-clip: text; /* Necessário para navegadores WebKit/Chrome/Safari */
  background-clip: text;
  color: transparent !important; /* Torna a cor original transparente para mostrar o fundo */
  display: inline-block; /* Garante que o fundo cubra apenas o texto */
}

/* Aplica o degradê amarelo/laranja (Front) */
.text-gradient-front {
  background-image: var(--gradient-text-front);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  display: inline-block;
}

.text-mls {
    color: var(--gradient-text-mls) !important;
}

.text-front {
    color: var(--gradient-text-front) !important;
}


/* --- Footer --- */
.site-footer {
    background: #010409;
    padding-top: 100px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom {
    background: #000;
    padding: 2rem 0;
}

/* --- Blog & Portfolio Cards --- */
.card-premium {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    transition: var(--transition);
}

.card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card-premium img {
    transition: var(--transition);
}

.card-premium:hover img {
    transform: scale(1.1);
}

/* Micro-animations */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Especial for Matrix Table */
.price-table-container {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.price-table th {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: none;
}

.price-table td {
    color: var(--text-muted);
    border-color: var(--border-subtle);
    background-color: transparent !important;
    /* Force transparent or dark background on load */
}

.price-table tbody tr:hover td,
.price-table tbody tr:hover th {
    background-color: rgba(56, 189, 248, 0.12) !important;
    color: #fff !important;
}

/* Override fixed white background that might come from bootstrap .table classes */
.table {
    --bs-table-bg: transparent !important;
    --bs-table-striped-bg: transparent !important;
    --bs-table-hover-bg: transparent !important;
    color: var(--text-primary) !important;
}

/* Stats Bar Responsiva */
.glass-rounded-pill {
    border-radius: 100px;
}

@media (max-width: 768px) {
    .glass-rounded-pill {
        border-radius: var(--radius-md) !important;
    }

    .navbar-brand.logo.g34 {
        font-size: 1.5rem !important;
    }

    .btn-g34 {
        gap: 1rem !important;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--glass-bg);
        backdrop-filter: blur(var(--glass-blur));
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: var(--radius-md);
        border: 1px solid var(--border-subtle);
        box-shadow: var(--shadow-premium);
        transition: var(--transition);
        /* Suaviza a abertura */
    }

    .nav-link {
        padding: 0.8rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Prevenção de Scroll Horizontal Global */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Alertas de Alta Visibilidade */
.alert {
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15) !important;
    /* Red 500 alpha */
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #fca5a5 !important;
    /* Red 300 - readable light red */
}

.alert-success {
    background: rgba(34, 197, 94, 0.15) !important;
    /* Green 500 alpha */
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    color: #86efac !important;
    /* Green 300 - readable light green */
}

/* Ajuste específico para evitar quebra de containers no mobile extremo */
@media (max-width: 576px) {
    body {
        margin-top: 1rem;
    }

    .container,
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .btn-premium-hero {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 15px !important;
        font-size: 1rem;
    }
}

/* ======================================================
   CHECKOUT E ASSINATURAS MÓDULOS GLOBAIS
====================================================== */
.checkout-hero { padding: 140px 0 80px; background: radial-gradient(ellipse at 60% 0%, rgba(79,70,229,.18) 0%, transparent 70%); }
.checkout-progress { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 60px; }
.step-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-circle {
    width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .85rem; border: 2px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); transition: all .3s;
}
.step-circle.active { background: #4f46e5; border-color: #4f46e5; color: #fff; box-shadow: 0 0 20px rgba(79,70,229,.5); }
.step-circle.done   { background: rgba(16,185,129,.2); border-color: #10b981; color: #10b981; }
.step-label { font-size: .72rem; color: rgba(255,255,255,.4); white-space: nowrap; }
.step-label.active { color: #c7d2fe; }
.step-connector { width: 60px; height: 2px; background: rgba(255,255,255,.1); margin: 0 8px; margin-bottom: 24px; }

/* Region Select */
.region-select-wrap { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 20px 28px; display: inline-flex; align-items: center; gap: 14px; }
.region-select-wrap select { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); color: #fff; border-radius: 8px; padding: 8px 16px; font-size: .9rem; }
.region-select-wrap select option { background: #1a1a2e; color: #fff; }

/* Plan Cards */
.plan-card {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px; padding: 36px 32px; height: 100%; position: relative; overflow: hidden;
    transition: all .35s cubic-bezier(.4,0,.2,1);
}
.plan-card::before {
    content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(79,70,229,.08) 0%, transparent 60%);
    opacity: 0; transition: opacity .35s; pointer-events: none;
}
.plan-card:hover { border-color: rgba(79,70,229,.5); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(79,70,229,.18); }
.plan-card:hover::before { opacity: 1; }
.plan-card.featured { border-color: rgba(79,70,229,.4); }
.plan-badge { position: absolute; top: 20px; right: 20px; background: linear-gradient(135deg,#4f46e5,#7c3aed); color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }
.plan-name { font-size: 1.3rem; font-weight: 700; color: #c7d2fe; margin-bottom: 6px; }
.plan-price-setup { font-size: .85rem; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.plan-price-monthly { font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; }
.plan-price-monthly span { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,.5); }
.plan-features { list-style: none; padding: 0; margin: 24px 0; }
.plan-features li { padding: 7px 0; font-size: .88rem; color: rgba(255,255,255,.7); display: flex; align-items: flex-start; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.plan-features li:last-child { border-bottom: none; }
.plan-features li i { color: #10b981; margin-top: 2px; flex-shrink: 0; }
.btn-contratar {
    display: block; width: 100%; text-align: center; background: linear-gradient(135deg,#4f46e5,#7c3aed);
    color: #fff; border: none; border-radius: 10px; padding: 13px 24px; font-weight: 700; font-size: 1rem;
    text-decoration: none; transition: all .3s; box-shadow: 0 4px 20px rgba(79,70,229,.35);
}
.btn-contratar:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(79,70,229,.5); color: #fff; }
.no-plans-msg { text-align: center; padding: 60px; color: rgba(255,255,255,.4); }

/* Form / Register */
.checkout-form-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 36px; }
.form-label-checkout { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 6px; font-weight: 500; }
.form-control-checkout { background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.12) !important; color: #fff !important; border-radius: 10px !important; padding: 12px 16px !important; font-size: .93rem !important; transition: all .3s !important; }
.form-control-checkout:focus { border-color: rgba(79,70,229,.5) !important; box-shadow: 0 0 0 3px rgba(79,70,229,.15) !important; background: rgba(79,70,229,.06) !important; outline: none !important; }
.form-control-checkout::placeholder { color: rgba(255,255,255,.25) !important; }
.form-control-checkout option { background: #1a1a2e; }
.section-divider { display: flex; align-items: center; gap: 12px; margin: 28px 0 20px; }
.section-divider span { font-size: .75rem; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.section-divider::before, .section-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08); }
.plan-summary-card { background: rgba(79,70,229,.08); border: 1px solid rgba(79,70,229,.3); border-radius: 16px; padding: 24px; }
.price-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .88rem; }
.price-item:last-child { border-bottom: none; }
.price-item .label { color: rgba(255,255,255,.6); }
.price-item .value { color: #fff; font-weight: 600; }
.btn-checkout-submit { background: linear-gradient(135deg,#4f46e5,#7c3aed); color: #fff; border: none; border-radius: 12px; padding: 15px 28px; font-size: 1.05rem; font-weight: 700; width: 100%; transition: all .3s; box-shadow: 0 4px 20px rgba(79,70,229,.35); }
.btn-checkout-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(79,70,229,.5); }
.btn-checkout-submit:disabled { opacity: .6; transform: none; }
.checkout-alert { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; }
.checkout-alert li { color: #fca5a5; font-size: .88rem; }

/* Contrato visualização */
.contract-wrap { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; overflow: hidden; }
.contract-header { padding: 28px 32px; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: 16px; }
.contract-icon { width: 52px; height: 52px; background: rgba(79,70,229,.2); border-radius: 12px; display:flex; align-items:center; justify-content:center; }
.contract-scroll-area { height: 500px; overflow-y: auto; padding: 32px; font-size: .88rem; color: rgba(255,255,255,.75); line-height: 1.8; }
.contract-scroll-area::-webkit-scrollbar { width: 6px; }
.contract-scroll-area::-webkit-scrollbar-track { background: rgba(255,255,255,.04); }
.contract-scroll-area::-webkit-scrollbar-thumb { background: rgba(79,70,229,.4); border-radius: 3px; }
.contract-scroll-area h2 { font-size: 1rem; color: #c7d2fe; margin-top: 20px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.contract-scroll-area table { border-collapse: collapse; width: 100%; margin: 12px 0; }
.contract-scroll-area td { padding: 6px 10px; border: 1px solid rgba(255,255,255,.1); font-size: .83rem; }
.contract-footer { padding: 24px 32px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.2); }
.scroll-indicator { background: rgba(79,70,229,.12); border: 1px solid rgba(79,70,229,.3); border-radius: 10px; padding: 12px 20px; font-size: .83rem; color: #c7d2fe; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }

/* Pagamento PIX */
.pix-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 40px 36px; max-width: 520px; margin: 0 auto; text-align: center; }
.pix-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(79,70,229,.15); border: 1px solid rgba(79,70,229,.3); border-radius: 50px; padding: 6px 18px; font-size: .8rem; color: #c7d2fe; margin-bottom: 24px; }
.qr-frame { display: inline-block; padding: 14px; background: #fff; border-radius: 16px; box-shadow: 0 0 40px rgba(79,70,229,.3), 0 0 80px rgba(79,70,229,.1); margin: 10px 0; }
.qr-frame img { display: block; width: 200px; height: 200px; }
.qr-missing { width: 200px; height: 200px; display: flex; align-items: center; justify-content: center; background: #eee; border-radius: 8px; margin: 0 auto; }
.amount-badge { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); border-radius: 12px; padding: 14px 24px; display: inline-block; margin: 16px 0; }
.amount-value { font-size: 1.8rem; font-weight: 800; color: #10b981; line-height: 1; }
.emv-wrap { background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.emv-code { flex: 1; font-family: monospace; font-size: .75rem; color: rgba(255,255,255,.6); word-break: break-all; text-align: left; max-height: 70px; overflow: hidden; }
.btn-copy { flex-shrink: 0; background: rgba(79,70,229,.2); border: 1px solid rgba(79,70,229,.4); color: #c7d2fe; border-radius: 8px; padding: 8px 16px; font-size: .82rem; transition: all .2s; cursor: pointer; }
.btn-copy:hover { background: rgba(79,70,229,.4); }
.btn-copy.copied { background: rgba(16,185,129,.2); border-color: rgba(16,185,129,.4); color: #10b981; }
.status-bar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: 10px; background: rgba(79,70,229,.1); border: 1px solid rgba(79,70,229,.2); margin-top: 20px; font-size: .88rem; color: #c7d2fe; }
.status-bar.paid { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.3); color: #10b981; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: #4f46e5; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(1.5);opacity:.5;} }
.due-info { font-size: .82rem; color: rgba(255,255,255,.4); margin-top: 10px; }

/* Sucesso */
.success-hero { padding: 120px 0 80px; display: flex; align-items: center; min-height: 80vh; background: radial-gradient(ellipse at 50% 0%, rgba(16,185,129,.15) 0%, transparent 65%); }
.success-card { background: rgba(255,255,255,.04); border: 1px solid rgba(16,185,129,.2); border-radius: 24px; padding: 60px 48px; text-align: center; max-width: 620px; margin: 0 auto; position: relative; overflow: hidden; }
.success-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -20%, rgba(16,185,129,.1) 0%, transparent 60%); pointer-events: none; }
.success-icon-wrap { width: 100px; height: 100px; border-radius: 50%; background: rgba(16,185,129,.15); border: 2px solid rgba(16,185,129,.4); display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; animation: popIn .6s cubic-bezier(.68,-.55,.265,1.55) forwards; }
@keyframes popIn { from{transform:scale(0);opacity:0;} to{transform:scale(1);opacity:1;} }
.success-icon-wrap i { font-size: 2.5rem; color: #10b981; }
.success-title { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.success-subtitle { color: rgba(255,255,255,.6); font-size: 1.05rem; margin-bottom: 36px; }
.steps-next { text-align: left; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 24px 28px; margin-bottom: 32px; }
.step-next-item { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.step-next-item:last-child { border-bottom: none; }
.step-next-num { width: 32px; height: 32px; border-radius: 50%; background: rgba(79,70,229,.2); border: 1px solid rgba(79,70,229,.3); color: #c7d2fe; font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.step-next-text { color: rgba(255,255,255,.75); font-size: .9rem; }
.step-next-text strong { color: #fff; }
.confetti-dot { position: absolute; border-radius: 50%; animation: confettiFall linear forwards; }
@keyframes confettiFall { to { transform: translateY(600px) rotate(720deg); opacity: 0; } }

/* Accordion Custom */
.accordion-button::after { filter: invert(1) grayscale(100%) brightness(200%); }
.accordion-button:not(.collapsed)::after { filter: invert(1) grayscale(100%) brightness(200%); }
.accordion-button:focus { box-shadow: none; border-color: rgba(255, 255, 255, 0.1); }

/* Custom Utilities Home */
.art-glow-box { width: 300px; height: 300px; background: var(--primary); filter: blur(100px); opacity: 0.2; }
.art-img-shadow { filter: drop-shadow(0 0 30px var(--primary-glow)); }
.bg-overlay-primary { position: absolute; top: 0; width: 100%; height: 100%; background: var(--primary); mix-blend-mode: overlay; opacity: 0.05; }
.bg-gradient-special { background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(129, 140, 248, 0.1) 100%); border-color: var(--primary); }
.img-cover { object-fit: cover; }
.h-250px { height: 250px !important; }
.max-w-900 { max-width: 900px; margin-inline: auto; }
.max-w-800 { max-width: 800px; margin-inline: auto; }

/* ======================================================
   MOBILE & RESPONSIVE TWEAKS 
====================================================== */
@media (max-width: 768px) {
    /* Checkout General */
    .checkout-hero { padding: 90px 0 40px; }
    .checkout-progress { margin-bottom: 30px; }
    .step-connector { width: 25px; margin: 0 4px; margin-bottom: 24px; }
    .step-circle { width: 30px; height: 30px; font-size: .75rem; }
    
    /* Plan cards */
    .plan-card { padding: 24px 20px; }
    .plan-name { font-size: 1.15rem; }
    .plan-price-monthly { font-size: 1.8rem; }
    .region-select-wrap { padding: 12px 16px; margin-bottom: 20px; flex-direction: column; width: 100%; text-align: center; }
    .region-select-wrap select { width: 100%; }

    /* Form checkout */
    .checkout-form-card { padding: 24px 20px; }
    
    /* Pix card */
    .pix-card { padding: 24px 20px; }
    
    /* Contract */
    .contract-header { padding: 20px; flex-direction: column; text-align: center; }
    .contract-scroll-area { padding: 20px; height: 380px; }
    .contract-footer { padding: 20px; }
    
    /* Fix para botoes empilhados */
    .stack-mobile-buttons { flex-direction: column !important; }
    .stack-mobile-buttons .btn { width: 100% !important; margin-bottom: 10px; }

    /* Success */
    .success-card { padding: 30px 20px; }
    .success-title { font-size: 1.5rem; }
}

/* ======================================================
   PORTFOLIO MODULE 
====================================================== */
.portfolio-hero {
    padding-top: 150px !important;
}

@media (max-width: 768px) {
    .portfolio-hero {
        padding-top: 100px !important;
        padding-bottom: 2rem !important;
    }

    .project-overlay {
        padding: 1rem !important;
    }

    .project-overlay h3 {
        font-size: 1.2rem !important;
    }

    .project-overlay .badge {
        font-size: 0.7rem !important;
        margin-bottom: 0.25rem !important;
    }

    .stats-grid .h1 {
        font-size: 1.5rem !important;
    }
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-banner-container {
    height: auto;
    background: linear-gradient(45deg, #0f172a, #1e293b);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-banner-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    pointer-events: none;
}

.img-fit-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}