:root {
    --rz-color: #00d2d3; /* Cyan Tech */
    --rz-dark: #222f3e;
    --dark-bg: #1e272e;
    --body-bg: #f1f2f6;
    --surface: #ffffff;
    --text: #2d3436;
    --border: #dfe4ea;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background-color: var(--body-bg);
    /* Grid tecnológica de fundo */
    background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    padding-bottom: 90px;
    color: var(--text);
}

.wrapper { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; margin: 0; padding: 0; }

/* --- TOP BAR --- */
.top-bar { background: #111; color: #777; padding: 8px 0; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.flex-apart { display: flex; justify-content: space-between; align-items: center; }
.login-link { color: var(--rz-color); font-weight: bold; }

/* --- HEADER TECH --- */
.header-portal {
    height: 180px;
    background: #2c3e50; /* Cor sólida corporativa */
    position: relative;
    display: flex; align-items: center;
    border-bottom: 4px solid var(--rz-color);
}
.header-overlay-tech {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 210, 211, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 210, 211, 0.1) 0%, transparent 20%);
}
.header-content { z-index: 2; display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo-area h1 { color: white; font-size: 45px; margin: 0; font-weight: 900; letter-spacing: -1px; }
.logo-area .highlight { color: var(--rz-color); }
.slogan { color: #aaa; font-size: 12px; display: block; margin-top: -5px; }

/* WIDGET STATUS NO HEADER */
.network-status-widget {
    background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 15px; border-radius: 6px;
}
.status-title { color: #888; font-size: 10px; font-weight: bold; margin-bottom: 5px; letter-spacing: 1px; }
.status-grid { display: flex; gap: 15px; }
.status-item { color: white; font-size: 12px; font-weight: bold; display: flex; align-items: center; gap: 6px; }
.status-item .dot { width: 8px; height: 8px; border-radius: 50%; display: block; }
.online .dot { background: #2ecc71; box-shadow: 0 0 5px #2ecc71; }
.maintenance .dot { background: #f1c40f; }

/* --- NAV --- */
.nav-portal { background: white; box-shadow: 0 5px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.nav-portal ul { display: flex; align-items: center; }
.nav-portal li a { display: block; padding: 20px 25px; font-size: 13px; font-weight: bold; color: #555; text-transform: uppercase; }
.nav-portal li.active a, .nav-portal li a:hover { color: var(--rz-color); background: #fcfcfc; box-shadow: inset 0 -3px 0 var(--rz-color); }
.hire-btn { background: var(--rz-color); color: #000 !important; }
.nav-right { margin-left: auto; }

/* --- LAYOUT --- */
.portal-grid { display: grid; grid-template-columns: 1fr 320px; gap: 30px; margin-top: 30px; }

.section-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.section-header h3 { margin: 0; font-size: 18px; color: var(--rz-dark); white-space: nowrap; }
.line { width: 100%; height: 2px; background: #e0e0e0; }

/* --- DESTAQUE PROJETO --- */
.featured-project {
    background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex; margin-bottom: 40px; border: 1px solid var(--border);
}
.proj-bg { width: 55%; background-size: cover; background-position: center; position: relative; min-height: 280px; }
.proj-badge {
    position: absolute; top: 20px; left: 20px; background: #2ecc71; color: white;
    padding: 5px 10px; font-size: 11px; font-weight: bold; border-radius: 4px;
}
.proj-info { padding: 30px; width: 45%; display: flex; flex-direction: column; justify-content: center; }
.proj-info h2 { margin: 0 0 10px 0; color: var(--rz-dark); font-size: 24px; }
.proj-info p { color: #666; line-height: 1.5; font-size: 14px; margin-bottom: 20px; }
.tech-stack { display: flex; gap: 10px; margin-bottom: 25px; }
.tech-stack span {
    background: #f1f2f6; color: #555; padding: 4px 10px; border-radius: 4px;
    font-size: 11px; font-weight: bold; border: 1px solid #ddd;
}
.btn-view-proj {
    background: var(--rz-dark); color: white; border: none; padding: 12px;
    border-radius: 4px; font-weight: bold; cursor: pointer; align-self: flex-start;
}

/* --- PORTFOLIO GRID --- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-card {
    background: white; border-radius: 6px; overflow: hidden; border: 1px solid var(--border);
    transition: 0.3s;
}
.portfolio-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.p-thumb { height: 140px; background-size: cover; background-position: center; }
.p-body { padding: 15px; }
.p-body h4 { margin: 0; color: var(--rz-dark); font-size: 16px; }
.client-name { display: block; font-size: 11px; color: #999; margin: 5px 0 10px 0; }
.visit-link { font-size: 12px; color: var(--rz-color); font-weight: bold; }

/* --- SIDEBAR --- */
.widget-box { background: white; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 25px; overflow: hidden; }
.widget-header, .widget-top {
    background: #f8f9fa; padding: 12px 15px; font-weight: bold; color: #555; border-bottom: 1px solid #eee;
    font-size: 13px;
}

/* LOGIN WIDGET */
.login-widget { border-top: 3px solid var(--rz-color); }
.widget-content { padding: 20px; text-align: center; }
.widget-content p { font-size: 13px; color: #666; margin-bottom: 15px; }
.btn-client-login {
    width: 100%; background: var(--rz-color); color: #000; font-weight: bold;
    border: none; padding: 10px; border-radius: 4px; cursor: pointer;
}

/* MONITOR LIST */
.monitor-list li {
    padding: 10px 15px; border-bottom: 1px solid #f1f1f1; display: flex; justify-content: space-between;
    align-items: center; font-size: 13px;
}
.monitor-list li:last-child { border: none; }
.site-name { font-weight: 500; color: #333; }
.badge { font-size: 10px; font-weight: bold; padding: 2px 6px; border-radius: 3px; color: white; }
.status-ok .badge { background: #2ecc71; }
.status-warn .badge { background: #f1c40f; }
.status-err .badge { background: #e74c3c; }

/* NEWS WIDGET */
.update-item { padding: 15px; border-bottom: 1px solid #f1f1f1; }
.update-date { font-size: 10px; color: #aaa; font-weight: bold; text-transform: uppercase; }
.update-item p { margin: 5px 0 0 0; font-size: 13px; color: #444; line-height: 1.4; }

.portal-footer { text-align: center; color: #aaa; font-size: 12px; padding: 30px 0; }

/* --- PLAYER V6 --- */
.pro-radio-bar {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 70px;
    background: #111; color: white; z-index: 9999; border-top: 1px solid #333;
    display: flex; justify-content: center;
}
.radio-progress-bar {
    position: absolute; top: -2px; left: 0; height: 2px; width: 100%;
    background: linear-gradient(90deg, var(--rz-color), transparent);
}
.radio-content { width: 100%; display: flex; align-items: center; justify-content: space-between; }

.radio-left { display: flex; gap: 15px; align-items: center; min-width: 250px; }
.album-art-box { width: 50px; height: 50px; position: relative; border: 1px solid #333; border-radius: 4px; overflow: hidden; }
.album-img { width: 100%; height: 100%; object-fit: cover; }
.audio-visualizer {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 2px; background: rgba(0,0,0,0.5);
}
.audio-visualizer span { width: 4px; background: var(--rz-color); animation: bounce 1s infinite; }
.audio-visualizer span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.audio-visualizer span:nth-child(2) { height: 60%; animation-delay: 0.3s; }
.audio-visualizer span:nth-child(3) { height: 30%; animation-delay: 0.2s; }
.audio-visualizer span:nth-child(4) { height: 50%; animation-delay: 0.4s; }
@keyframes bounce { 0%, 100% { height: 20%; } 50% { height: 80%; } }

.track-details { display: flex; flex-direction: column; justify-content: center; }
.now-playing-label { font-size: 9px; color: var(--rz-color); font-weight: bold; margin-bottom: 3px; }
.scrolling-track { font-size: 13px; font-weight: bold; color: white; width: 200px; overflow: hidden; }

.radio-center { display: flex; gap: 15px; align-items: center; }
.ctrl-btn { background: none; border: none; color: #888; font-size: 18px; cursor: pointer; }
.ctrl-btn:hover { color: white; }
.play-main { width: 40px; height: 40px; border-radius: 50%; border: 2px solid white; color: white; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.play-main:hover { background: white; color: black; transform: scale(1.1); }

.radio-right { display: flex; align-items: center; }
.volume-control { display: flex; gap: 10px; align-items: center; color: #888; }
.vol-bar { width: 60px; height: 4px; background: #444; border-radius: 2px; }
.vol-level { width: 70%; height: 100%; background: var(--rz-color); }

/* RESPONSIVO */
@media (max-width: 768px) {
    .portal-grid, .portfolio-grid, .featured-project { grid-template-columns: 1fr; display: block; }
    .proj-bg { width: 100%; height: 200px; }
    .proj-info { width: 100%; }
    .portfolio-card { margin-bottom: 15px; }
    .header-content { flex-direction: column; gap: 15px; height: auto; padding: 20px; text-align: center; }
    .nav-portal ul { overflow-x: auto; }
    .nav-portal li a { white-space: nowrap; }
    
    /* Player Mobile */
    .radio-right { display: none; }
    .radio-center { position: absolute; right: 20px; }
    .scrolling-track { width: 150px; }
}

/* --- BOTÕES DO CARD DE PORTFÓLIO --- */
.card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.visit-link {
    display: block;
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}

.site-btn {
    background: #ecf0f1;
    color: #2d3436;
    border: 1px solid #bdc3c7;
}
.site-btn:hover { background: #bdc3c7; }

.content-btn {
    background: var(--rz-color); /* O Ciano que definimos */
    color: #000;
    box-shadow: 0 2px 5px rgba(0,210,211,0.3);
}
.content-btn:hover {
    background: #0acaae;
    transform: translateY(-2px);
}

/* --- PÁGINA CLIENTE.PHP --- */
.client-header-card {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.client-cover {
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
}
.client-overlay {
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 30px; color: white;
}
.client-overlay h1 { margin: 0; font-size: 32px; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.client-badge {
    background: var(--rz-color); color: #000; padding: 4px 10px;
    border-radius: 4px; font-weight: bold; font-size: 11px;
    width: fit-content; margin-top: 5px;
}

.client-content-box {
    background: white; padding: 30px; border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid #dfe4ea;
}

.info-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.info-item label { display: block; font-size: 11px; color: #aaa; text-transform: uppercase; font-weight: bold; margin-bottom: 5px; }
.info-item span { font-size: 16px; font-weight: 500; color: #333; }

.project-gallery {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px;
}
.btn-visit-big {
    display: block; width: 100%; text-align: center; background: #2d3436;
    color: white; padding: 15px; border-radius: 6px; font-weight: bold; text-transform: uppercase;
}
.btn-visit-big:hover { background: #000; color: var(--rz-color); }


/* =========================================
   MODAL (CORRIGIDO E OTIMIZADO)
   ========================================= */

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(5px); 
    z-index: 10000;
    display: flex; 
    justify-content: center; align-items: center;
    opacity: 0; 
    visibility: hidden; /* Garante que não atrapalhe quando fechado */
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active { 
    opacity: 1; 
    visibility: visible;
}

.modal-container {
    background: white; 
    width: 90%; 
    max-width: 700px;
    border-radius: 12px; 
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    transform: translateY(50px); 
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0); 
    opacity: 1; 
}

/* Loading Container - Centralizado */
#modalContentLoading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    color: #555;
}

/* Estilos internos do Modal */
.modal-header-img {
    height: 200px; background-size: cover; background-position: center;
    position: relative; display: flex; align-items: flex-end; padding: 20px;
}
.modal-header-img::before {
    content:''; position:absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.modal-title-badge { position: relative; z-index: 2; color: white; }
.modal-title-badge h2 { margin: 0; font-size: 28px; text-shadow: 0 2px 4px black; }
.modal-title-badge span { background: var(--rz-color); color: black; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: bold; }

.close-modal-btn {
    position: absolute; top: 15px; right: 15px; z-index: 5;
    background: rgba(0,0,0,0.5); color: white; border: none;
    width: 35px; height: 35px; border-radius: 50%; cursor: pointer; font-size: 18px; transition: 0.2s;
}
.close-modal-btn:hover { background: white; color: black; transform: rotate(90deg); }

.modal-body-content { padding: 30px; }

.modal-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; text-align: center; background: #f9f9f9; padding: 15px; border-radius: 8px; border: 1px solid #eee; }
.m-item strong { display: block; font-size: 11px; color: #888; text-transform: uppercase; }
.m-item p { margin: 5px 0 0 0; font-weight: bold; color: #333; }

.mockup-placeholder {
    background: #eee; min-height: 150px;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; color: #aaa; border-radius: 8px; margin: 20px 0;
    border: 2px dashed #ccc;
    text-align: center;
    line-height: 1.5;
}
.mockup-placeholder i { margin-bottom: 10px; font-size: 30px; }

.btn-modal-visit {
    display: block; text-align: center; background: var(--rz-dark); color: white;
    padding: 15px; border-radius: 6px; font-weight: bold; text-transform: uppercase;
    text-decoration: none; margin-top: 20px;
}
.btn-modal-visit:hover { background: #000; color: var(--rz-color); }

/* --- AÇÕES DO MODAL (NOVOS BOTÕES) --- */
.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dois botões lado a lado */
    gap: 15px;
    margin-top: 20px;
}

.btn-modal-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.btn-modal-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Estilo Botão Interno (Ver Detalhes) - Cor da Marca */
.btn-internal {
    background: var(--rz-color); /* Ciano */
    color: #000;
    border: 1px solid var(--rz-color);
}
.btn-internal:hover {
    background: #0acaae;
    color: white;
}

/* Estilo Botão Externo (Online) - Escuro */
.btn-external {
    background: var(--rz-dark);
    color: white;
    border: 1px solid var(--rz-dark);
}
.btn-external:hover {
    background: #000;
    border-color: #000;
}

/* Responsividade para Mobile (Botões um embaixo do outro) */
@media (max-width: 600px) {
    .modal-actions {
        grid-template-columns: 1fr; /* Uma coluna */
    }
}

/* Estilos para os Prints Reais */
.project-gallery {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px;
}

.gallery-item-real {
    display: flex; flex-direction: column; gap: 5px;
}
.gallery-item-real img {
    width: 100%; height: 150px; object-fit: cover; 
    border-radius: 6px; border: 1px solid #ddd; 
    transition: transform 0.3s;
    cursor: pointer;
}
.gallery-item-real img:hover { transform: scale(1.02); }

.gallery-item-real span { font-size: 11px; color: #888; font-weight: bold; }

/* Placeholder cinza caso não tenha imagem */
.gallery-item-placeholder {
    background: #eee; height: 150px; display: flex; flex-direction: column;
    justify-content: center; align-items: center; color: #999;
    border-radius: 6px; border: 2px dashed #ccc;
}
.gallery-item-placeholder i { margin-bottom: 5px; font-size: 24px; }

/* Responsivo */
@media (max-width: 600px) {
    .project-gallery { grid-template-columns: 1fr; }
    .gallery-item-real img { height: auto; }
}

/* --- PÁGINA PORTFOLIO / INSTITUCIONAL --- */

/* Hero Section (Quem Somos) */
.about-hero {
    background: url('https://images.habbo.com/c_images/HotelView/m_view_xmas_2017.png') center center;
    background-size: cover;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
}
.about-overlay {
    background: linear-gradient(90deg, rgba(30, 39, 46, 0.95) 40%, rgba(30, 39, 46, 0.7));
    padding: 40px;
    color: white;
}
.rz-tag { 
    background: var(--rz-color); color: #000; padding: 4px 10px; 
    font-size: 10px; font-weight: bold; border-radius: 4px; letter-spacing: 1px;
}
.about-content h1 { font-size: 28px; margin: 15px 0; }
.about-content p { line-height: 1.6; color: #ccc; font-size: 14px; max-width: 600px; }

/* Grid de Serviços */
.services-grid-box {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Colunas */
    gap: 20px;
}

.service-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--rz-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.icon-box {
    width: 50px; height: 50px;
    background: #f1f2f6;
    color: var(--rz-dark);
    border-radius: 10px;
    display: flex; justify-content: center; align-items: center;
    font-size: 24px;
    margin-bottom: 15px;
    transition: 0.3s;
}
.service-card:hover .icon-box {
    background: var(--rz-color);
    color: white;
}

.service-card h3 { margin: 0 0 10px 0; color: var(--rz-dark); font-size: 18px; }
.service-card p { color: #666; font-size: 13px; line-height: 1.5; margin: 0; }

/* Área de Contato */
.contact-area {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
}
.contact-text h4 { font-size: 20px; margin-bottom: 10px; color: var(--rz-dark); }
.contact-text p { color: #666; margin-bottom: 25px; font-size: 14px; }

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-contact {
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    color: white;
    display: flex; align-items: center; gap: 8px;
    transition: 0.2s;
}
.btn-contact:hover { filter: brightness(1.1); transform: scale(1.05); }

.discord { background: #5865F2; }
.whatsapp { background: #25D366; }
.email { background: #2d3436; }

/* Responsivo */
@media (max-width: 768px) {
    .services-grid-box { grid-template-columns: 1fr; }
    .contact-buttons { flex-direction: column; }
    .btn-contact { width: 100%; justify-content: center; }
}

/* --- SISTEMAS À VENDA (VITRINE) --- */
.sistemas-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    gap: 30px;
}

.sistema-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    border: 1px solid var(--border);
}
.sistema-card:hover { transform: translateY(-5px); }

.sistema-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.sistema-price {
    position: absolute; bottom: 10px; right: 10px;
    background: var(--rz-color); color: black;
    padding: 5px 10px; font-weight: 900; border-radius: 4px;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.sistema-body { padding: 20px; }
.sistema-body h4 { margin: 0 0 10px 0; color: var(--rz-dark); font-size: 20px; }
.sistema-body .desc { font-size: 13px; color: #666; margin-bottom: 15px; }

.tech-details { margin-bottom: 20px; }
.tech-details summary { font-weight: bold; color: var(--rz-color); cursor: pointer; }
.tech-details p { margin-top: 10px; font-size: 12px; color: #888; border-left: 3px solid #eee; padding-left: 10px; }

.btn-buy-wa {
    display: block; width: 100%; text-align: center;
    background: #25D366; color: white; padding: 12px;
    font-weight: bold; border-radius: 4px; text-decoration: none;
    transition: 0.2s;
}
.btn-buy-wa:hover { background: #1da851; }

/* --- ORÇAMENTO FORM --- */
.quote-form-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.quote-form-box h4 { font-size: 20px; color: var(--rz-dark); margin-bottom: 20px; }
.service-option label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    cursor: pointer;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #eee;
}
.service-option input[type="checkbox"] { margin-right: 10px; }
#details { margin-top: 5px; width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; resize: vertical; }
.final-note { font-size: 12px; color: #888; margin-top: 15px; }
.btn-send-quote {
    width: 100%; background: #25D366; color: white;
    border: none; padding: 15px; font-weight: bold;
    border-radius: 4px; cursor: pointer; font-size: 14px;
}
.btn-send-quote:hover { background: #1da851; }

/* Responsivo */
@media (max-width: 768px) {
    .sistemas-list-grid { grid-template-columns: 1fr; }
}

/* --- SISTEMAS GRÁTIS (FRONTEND) --- */

.intro-text {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border-left: 5px solid var(--rz-color);
    margin-bottom: 20px;
    color: #555;
}

.gratis-list-grid {
    display: grid;
    grid-template-columns: 1fr; /* Coluna única, focando no código */
    gap: 25px;
}

.code-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    overflow: hidden;
}

.card-header-code {
    background: var(--rz-dark);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-header-code h4 { margin: 0; font-size: 18px; }
.code-badge { background: #2ecc71; padding: 4px 8px; font-size: 10px; border-radius: 4px; font-weight: bold; }

.code-description {
    padding: 15px;
    color: #666;
    font-size: 14px;
}

.code-details {
    border-top: 1px solid #eee;
    margin: 0 15px;
    padding-top: 10px;
}

.code-details summary {
    font-weight: bold;
    color: var(--rz-color);
    cursor: pointer;
    padding-bottom: 10px;
}

.code-block-container {
    padding: 10px 0 20px 0;
    overflow-x: auto; /* Permite rolagem lateral para códigos longos */
}

/* Estilo para a área do código */
.code-block-container pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 12px;
    line-height: 1.4;
    color: #333;
    overflow-x: auto;
    white-space: pre-wrap; /* Quebra linha se o código for muito longo */
}

/* Responsivo */
@media (max-width: 768px) {
    .gratis-list-grid { grid-template-columns: 1fr; }
}

