/* --- START OF FILE style.css --- */

/* ==========================================================================
   Configurações Globais e Variáveis CSS (Tema Tech/Geek Sóbrio)
   ========================================================================== */

:root {
    /* Paleta Tech/Geek Sóbria */
    --tech-bg-dark: #0d1117;        /* Fundo principal (Cinza muito escuro/Quase preto) */
    --tech-bg-medium: #161b22;      /* Fundo de containers/cards (Cinza escuro) */
    --tech-bg-light: #21262d;       /* Fundo de inputs/áreas secundárias */
    --tech-border: #30363d;         /* Cor de borda principal */
    --tech-border-light: #8b949e;   /* Cor de borda sutil/hover */
    --tech-primary-blue: #58a6ff;   /* Azul Primário (Acento principal) */
    --tech-primary-blue-dark: #1f6feb;/* Azul Primário Escuro (Hover/Active) */
    --tech-secondary-cyan: #39c5cf; /* Ciano Secundário (Detalhes) */
    --tech-secondary-cyan-dark:#218e96;/* Ciano Secundário Escuro */
    --tech-text-primary: #c9d1d9;   /* Texto principal (Cinza claro) */
    --tech-text-secondary: #8b949e; /* Texto secundário (Cinza médio) */
    --tech-text-muted: #6e7681;     /* Texto mudo (Cinza escuro) */
    --tech-error-red: #f85149;      /* Vermelho para Erros */
    --tech-success-green: #3fb950;  /* Verde para Sucesso */
    --white: #ffffff;               /* Branco puro */

    /* Sombras e Transições */
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.3);
    --glow-shadow-blue: 0 0 8px rgba(88, 166, 255, 0.3); /* Brilho azul sutil */
    --glow-shadow-cyan: 0 0 8px rgba(57, 197, 207, 0.3); /* Brilho ciano sutil */
    --transition-smooth: all 0.3s ease-in-out; /* Transição padrão */
}

/* Reset básico e configurações globais */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; /* Fonte moderna sans-serif */
    background-color: var(--tech-bg-dark);
    /* Fundo com padrão de grade sutil */
    background-image: linear-gradient(rgba(48, 54, 61, 0.3) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(48, 54, 61, 0.3) 1px, transparent 1px);
    background-size: 30px 30px; /* Tamanho da grade */
    background-attachment: fixed;
    color: var(--tech-text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* Estilo de Seleção */
::selection {
    background-color: var(--tech-primary-blue);
    color: var(--tech-bg-dark);
}

/* ==========================================================================
   Fundo (Removido estrelas, mantido grade)
   ========================================================================== */
#star-background { display: none; } /* Remove o fundo de estrelas anterior */

/* ==========================================================================
   Preloader (Estilo Tech)
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--tech-bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Spinner mais técnico (pode ser um SVG ou CSS mais complexo) */
#preloader .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--tech-border);
    border-top-color: var(--tech-primary-blue);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; /* Animação mais suave */
    margin-bottom: 20px;
}
#preloader .spinner::before { /* Elemento interno para efeito */
    content: '';
    position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--tech-secondary-cyan);
    animation: spin 1.8s linear infinite reverse; /* Gira ao contrário */
}

#preloader p {
    color: var(--tech-text-secondary);
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-family: 'Roboto Mono', monospace; /* Fonte mono para texto de status */
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Cabeçalho (Estilo Tech Sóbrio)
   ========================================================================== */
.matrix-header { /* Reutilizando classe, mas mudando estilo */
    background: var(--tech-bg-medium);
    color: var(--tech-text-primary);
    padding: 2.5rem 1.5rem 3rem 1.5rem;
    margin-bottom: -40px; /* Puxa o card para cima */
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--tech-border);
    box-shadow: var(--shadow-soft);
    text-align: center; /* Garantir centralização */
}

.matrix-header h1 {
    font-family: 'Orbitron', sans-serif; /* Fonte com tema espacial/tech opcional (requer import) ou manter padrão */
    /* font-family: inherit; */ /* Ou usar a fonte do body */
    font-weight: 600;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    letter-spacing: 1px;
    position: relative; /* Remove data-text se não usar glitch */
    /* Efeito de texto sutil (sem glitch) */
    /* color: transparent;
    background: linear-gradient(90deg, var(--tech-primary-blue-light), var(--white));
    -webkit-background-clip: text;
    background-clip: text; */
    animation: subtleShine 5s infinite linear alternate; /* Animação de brilho sutil */
}

@keyframes subtleShine {
    from { text-shadow: 0 0 2px rgba(88, 166, 255, 0.2); }
    to { text-shadow: 0 0 6px rgba(88, 166, 255, 0.4); }
}


/* Remove estilos glitch */
.glitch::before, .glitch::after { display: none; }
.glitch { animation: none; } /* Remove animação glitch */


.matrix-header .sub-headline {
    color: var(--tech-text-secondary);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* ==========================================================================
   Container Principal e Card (Estilo Tech)
   ========================================================================== */
main.container {
    max-width: 860px;
    padding: 0 15px;
    position: relative;
    z-index: 20;
}

.matrix-card { /* Reutilizando classe */
    background-color: var(--tech-bg-medium);
    border: 1px solid var(--tech-border);
    border-radius: 10px; /* Cantos ligeiramente menos arredondados */
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    margin-bottom: 3.5rem;
    overflow: hidden;
    position: relative;
}

/* Remove brilho externo */
.matrix-card::before { display: none; }

.matrix-card:hover {
     border-color: var(--tech-border-light); /* Borda mais clara no hover */
     box-shadow: var(--shadow-medium), 0 0 15px rgba(0, 0, 0, 0.2); /* Sombra mais definida */
     transform: translateY(-4px); /* Leve elevação */
}

.card-body {
    padding: clamp(1.8rem, 5vw, 2.8rem);
}

.card-title.h4 {
    color: var(--tech-primary-blue); /* Título em Azul */
    border-bottom: 1px solid var(--tech-border);
    padding-bottom: 1rem;
    margin-bottom: 2.2rem !important;
    font-weight: 600; /* Mais peso */
    font-size: clamp(1.4rem, 4vw, 1.7rem);
    letter-spacing: 0.5px;
    text-shadow: none; /* Remove text-shadow */
    display: flex; /* Alinha ícone */
    align-items: center;
}
.card-title i {
    margin-right: 0.8rem;
    font-size: 1.1em;
    opacity: 0.9;
    color: var(--tech-primary-blue);
}

hr.matrix-hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, transparent, var(--tech-border), transparent);
    opacity: 0.8;
}

/* ==========================================================================
   Formulários (Estilo Tech)
   ========================================================================== */

.form-label {
    color: var(--tech-text-secondary);
    font-weight: 500; /* Ligeiramente mais peso */
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
}
.form-label i {
    margin-right: 0.5rem;
    font-size: 1em;
    color: var(--tech-text-secondary); /* Ícone na cor do texto secundário */
    opacity: 0.8;
    transition: color 0.3s ease;
}
.form-label:hover i {
    color: var(--tech-primary-blue); /* Ícone azul no hover do label */
}
.form-label .fa-info-circle { /* Ícone de info */
    color: var(--tech-text-muted);
    cursor: help;
    font-size: 0.9em;
    opacity: 0.7;
}

.form-control,
.form-select {
    background-color: var(--tech-bg-light);
    color: var(--tech-text-primary);
    border: 1px solid var(--tech-border);
    border-radius: 6px; /* Cantos padrão */
    padding: 0.8rem 1rem;
    transition: var(--transition-smooth);
    font-size: 0.95rem; /* Tamanho um pouco menor */
    font-family: inherit;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
.form-control:focus,
.form-select:focus {
    background-color: var(--tech-bg-light);
    color: var(--tech-text-primary);
    border-color: var(--tech-primary-blue); /* Borda Azul no Foco */
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1), 0 0 0 3px rgba(88, 166, 255, 0.2); /* Glow azul bem sutil */
    outline: none;
}
.form-control::placeholder {
    color: var(--tech-text-muted);
    opacity: 0.8;
    font-style: normal;
}

/* Estilizando o seletor (seta) */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238b949e' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); /* Seta cinza */
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    appearance: none;
}
.form-select:focus {
     background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2358a6ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); /* Seta Azul no Foco */
}

/* Input de Cor */
.form-control-color {
    padding: 0.3rem;
    height: calc(1.5em + 1.6rem + 2px);
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid var(--tech-border);
    transition: var(--transition-smooth);
}
.form-control-color:hover {
    border-color: var(--tech-primary-blue);
    transform: scale(1.03);
}

/* Radio Buttons e Checkboxes (Estilo Sóbrio) */
.form-check-label {
    color: var(--tech-text-primary);
    cursor: pointer;
    padding-left: 0.4em;
    font-size: 0.95rem;
}
.form-check-input {
    cursor: pointer;
    margin-top: 0.25em;
    background-color: var(--tech-bg-light); /* Fundo igual ao input */
    border: 1px solid var(--tech-border);
    transition: var(--transition-smooth);
    appearance: none;
    width: 1.25em;
    height: 1.25em;
    border-radius: 50%; /* Rádio */
    position: relative;
    vertical-align: text-top;
    margin-right: 0.5em;
}
.form-check-input[type="checkbox"] {
    border-radius: 4px; /* Checkbox */
}

.form-check-input:checked {
    background-color: var(--tech-primary-blue);
    border-color: var(--tech-primary-blue);
    box-shadow: none; /* Remove sombra */
}
/* Marca interna (círculo ou V) */
.form-check-input:checked::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
}
/* Círculo para radio */
.form-check-input[type="radio"]:checked::before {
    width: 0.45em;
    height: 0.45em;
    border-radius: 50%;
}
/* V para checkbox */
.form-check-input[type="checkbox"]:checked::before {
    width: 0.6em;
    height: 0.6em;
    background-color: transparent;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
    top: 55%;
}

.form-check-input:focus {
    border-color: var(--tech-primary-blue);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2); /* Glow sutil no foco */
    outline: none;
}

.form-text.text-muted-light { /* Mapeia para text-muted do tema */
    color: var(--tech-text-muted);
    font-size: 0.85em;
    opacity: 1;
}

/* Validação Bootstrap (Cores Tech) */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--tech-error-red);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f85149'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f85149' stroke='none'/%3e%3c/svg%3e"); /* Ícone de erro vermelho */
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.8rem) center;
    background-size: calc(0.75em + 0.4rem) calc(0.75em + 0.4rem);
    padding-right: calc(1.5em + 1.6rem);
}
.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
     box-shadow: 0 0 0 3px rgba(248, 81, 73, 0.2); /* Glow Vermelho Erro */
}
.invalid-feedback {
    color: var(--tech-error-red);
    font-size: 0.85em;
    margin-top: 0.3rem;
    font-weight: 500;
}
.form-select.is-invalid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238b949e' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); /* Mantém seta padrão */
}
/* Estilo para campos válidos (opcional) */
.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--tech-success-green);
    /* Adicionar ícone de sucesso se desejar */
}
.form-control.is-valid:focus,
.form-select.is-valid:focus {
    box-shadow: 0 0 0 3px rgba(63, 185, 80, 0.2); /* Glow Verde Sucesso */
}


/* ==========================================================================
   Botões (Estilo Tech Sóbrio)
   ========================================================================== */
.matrix-button, .matrix-button-secondary { /* Reutilizando classes */
    border: 1px solid transparent; /* Borda inicial transparente */
    color: var(--white);
    padding: 0.8rem 1.6rem; /* Padding um pouco menor */
    font-weight: 600; /* Mais peso */
    text-transform: none; /* Sem uppercase */
    letter-spacing: 0.3px;
    border-radius: 6px; /* Cantos padrão */
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.95rem;
}
.matrix-button i, .matrix-button-secondary i {
    font-size: 1em;
    line-height: 1;
}

/* Botão Primário (Azul) */
.matrix-button {
    background-color: var(--tech-primary-blue);
    border-color: var(--tech-primary-blue);
    color: var(--tech-bg-dark); /* Texto escuro para contraste */
    box-shadow: var(--shadow-soft);
}
.matrix-button:hover, .matrix-button:focus {
    background-color: var(--tech-primary-blue-dark);
    border-color: var(--tech-primary-blue-dark);
    color: var(--white); /* Texto branco no hover */
    box-shadow: var(--shadow-soft), 0 0 5px rgba(88, 166, 255, 0.3); /* Sombra + glow sutil */
    transform: translateY(-2px);
    outline: none;
}
.matrix-button:active {
    transform: translateY(0px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

/* Botão Secundário (Ciano/Cinza) */
.matrix-button-secondary {
    background-color: var(--tech-bg-light);
    border-color: var(--tech-border);
    color: var(--tech-primary-blue); /* Texto azul */
    box-shadow: none;
}
.matrix-button-secondary:hover, .matrix-button-secondary:focus {
    background-color: var(--tech-border); /* Fundo mais escuro no hover */
    border-color: var(--tech-border-light);
    color: var(--tech-text-primary); /* Texto mais claro */
    box-shadow: none;
    transform: translateY(-2px);
    outline: none;
}
.matrix-button-secondary:active {
    transform: translateY(0px);
    background-color: var(--tech-border);
}

/* Botão Desabilitado */
.matrix-button:disabled, .matrix-button-secondary:disabled {
    background-color: var(--tech-bg-light);
    border-color: var(--tech-border);
    color: var(--tech-text-muted);
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.matrix-button:disabled:hover, .matrix-button-secondary:disabled:hover {
    background-color: var(--tech-bg-light);
    transform: none;
    box-shadow: none;
}

/* Botão de Sucesso (para feedback de cópia) */
.btn-success.matrix-button-secondary { /* Override para o botão de cópia */
    background-color: var(--tech-success-green);
    border-color: var(--tech-success-green);
    color: var(--white);
}

/* Remove efeito ripple */
.ripple:hover { background: none; }
.ripple:active { background: none; }


/* ==========================================================================
   Área do QR Code (Estilo Tech Sóbrio)
   ========================================================================== */

#qr-code-result-area {
    margin-top: 3rem !important;
    padding: 1.5rem 1rem;
    background-color: var(--tech-bg-light); /* Fundo da área */
    border-radius: 8px;
    border: 1px solid var(--tech-border);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
    animation: fadeInResult 0.5s ease-out forwards;
    display: none;
}

@keyframes fadeInResult {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

#qr-code-container {
    display: inline-block;
    position: relative;
    margin-bottom: 1.5rem !important;
}

/* Wrapper para o Canvas/IMG do QR */
#qr-code {
    display: block;
    padding: 8px; /* Padding da moldura */
    background-color: var(--tech-bg-medium); /* Fundo da moldura */
    border: 1px solid var(--tech-border);
    border-radius: 6px; /* Arredonda a moldura */
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

/* O Canvas/IMG gerado */
#qr-code canvas,
#qr-code img {
    display: block;
    margin: 0;
    background-color: var(--white); /* Fundo branco padrão (sobrescrito pelo JS) */
    padding: 5px; /* Padding interno */
    border-radius: 4px; /* Leve arredondamento interno */
    box-shadow: none; /* Remove sombra interna */
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
}

/* Linha de Scanner Sutil */
.scanner-line {
    position: absolute;
    top: 8px; /* Considera padding */
    left: 8px;
    right: 8px;
    height: 2px; /* Linha mais fina */
    background: var(--tech-primary-blue); /* Cor sólida azul */
    box-shadow: 0 0 5px var(--tech-primary-blue); /* Brilho sutil */
    opacity: 0;
    animation: scan 3s ease-in-out infinite; /* Animação mais lenta */
    border-radius: 1px;
    z-index: 5;
}

#qr-code-result-area.visible .scanner-line {
    opacity: 0.6; /* Opacidade menor */
}

@keyframes scan {
    0% { top: 8px; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { top: calc(100% - 10px); opacity: 0; } /* 8px padding + 2px altura */
}

/* Estilo para mensagem de erro */
#qr-code.error p {
    color: var(--tech-error-red);
    font-size: 0.9rem;
    font-weight: 500;
}


/* ==========================================================================
   Opções de Conteúdo Específico (Estilo Tech)
   ========================================================================== */

.content-options {
    display: none;
    padding: 1.2rem 1.2rem 0.2rem 1.2rem;
    background-color: rgba(33, 38, 45, 0.5); /* Fundo mais sutil */
    border-radius: 6px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--tech-border); /* Borda sólida */
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.content-options.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Título dentro das opções */
.options-title {
    color: var(--tech-secondary-cyan); /* Ciano para títulos secundários */
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
}
.options-title i {
    margin-right: 0.6rem;
    opacity: 0.9;
    color: var(--tech-secondary-cyan);
}

/* Sub-opções */
.content-options-child {
     display: none;
     opacity: 0;
     transition: opacity 0.3s ease-out;
     padding-top: 0.5rem;
}
.content-options-child.active {
    display: block;
    opacity: 1;
}

/* ==========================================================================
   Rodapé (Estilo Tech Sóbrio)
   ========================================================================== */

.matrix-footer { /* Reutilizando classe */
    padding: 2rem 1rem 1.5rem 1rem;
    margin-top: 3.5rem;
    background-color: var(--tech-bg-medium);
    color: var(--tech-text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--tech-border);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 5;
    text-align: center; /* Garantir centralização */
}

.matrix-footer p b {
    color: var(--tech-text-primary);
    font-weight: 600;
}

.matrix-footer .footer-links {
    margin-bottom: 1rem;
}

.matrix-footer a {
    color: var(--tech-text-secondary);
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition-smooth);
    display: inline-block;
}

.matrix-footer a:hover {
    color: var(--tech-primary-blue); /* Hover azul */
    text-decoration: underline;
    transform: translateY(-1px);
}

.matrix-footer span { /* Separador */
    margin: 0 4px;
    opacity: 0.5;
    color: var(--tech-border-light);
}

.matrix-footer .copyright {
    font-size: 0.8rem;
    color: var(--tech-text-muted);
    margin-top: 1rem;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   Responsividade (Ajustes Menores)
   ========================================================================== */

@media (max-width: 767px) {
    body {
        font-size: 15px;
        background-size: 40px 40px; /* Grade maior em mobile */
    }
    .matrix-header {
        padding: 2rem 1rem 2.5rem 1rem;
        margin-bottom: -30px;
    }
    .card-body {
        padding: clamp(1.5rem, 4vw, 2rem);
    }
    .matrix-button, .matrix-button-secondary {
        padding: 0.75rem 1.4rem;
        font-size: 0.9rem;
    }
    .d-md-flex.justify-content-md-center {
        flex-direction: column; /* Mantém botões empilhados */
    }
    #qr-code {
        padding: 6px;
    }
    #qr-code canvas, #qr-code img {
        padding: 4px;
    }
}

@media (max-width: 575px) {
    .matrix-header h1 {
        font-size: 1.8rem; /* Ajuste manual */
    }
     .matrix-header .sub-headline {
        font-size: 0.9rem;
    }
    .card-body {
        padding: 1.2rem;
    }
     .card-title.h4 {
        font-size: 1.25rem;
    }
    .matrix-button, .matrix-button-secondary {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }
    .matrix-footer .footer-links {
        gap: 0.6rem; /* Menor espaçamento vertical */
    }
    .matrix-footer span { display: none; }
    .matrix-footer a { margin: 0; }
}


/* --- END OF FILE style.css --- */