Ativa o menu
Alternar menu de preferências
Alternar menu pessoal
Não autenticado(a)
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: mudanças entre as edições

Página de Interface do MediaWiki
Sem resumo de edição
Sem resumo de edição
Etiqueta: Revertido
Linha 1: Linha 1:
/* CELTA WIKI FRAMEWORK */
/* =========================================
  CELTA WIKI FRAMEWORK - VERSÃO CONSOLIDADA
  ========================================= */
 
:root {
:root {
   /* Colors */
   /* Colors */
Linha 19: Linha 22:
   --celta-card-bg: #ffffff;
   --celta-card-bg: #ffffff;
   --celta-card-header-bg: #f8f9fa;
   --celta-card-header-bg: #f8f9fa;
  /* Light gray for header accent */


   /* Borders */
   /* Borders */
Linha 33: Linha 35:
   --celta-font-sans: 'Segoe UI', Roboto, sans-serif;
   --celta-font-sans: 'Segoe UI', Roboto, sans-serif;
   --celta-font-mono: 'Consolas', 'Monaco', monospace;
   --celta-font-mono: 'Consolas', 'Monaco', monospace;
 
  /* Shadow */
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
}


Linha 269: Linha 274:
   background: var(--celta-card-bg);
   background: var(--celta-card-bg);
   padding: 0;
   padding: 0;
   transition: transform 0.2s,
   transition: transform 0.2s, box-shadow 0.2s;
    box-shadow 0.2s;
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
Linha 345: Linha 349:
.celta-card-body li:last-child a {
.celta-card-body li:last-child a {
   border-bottom: none;
   border-bottom: none;
}
@media (max-width: 480px) {
  /* PRINTS */
  .celta-print-container {
    margin: 15px auto;
    padding: 0 5px;
  }
  .celta-print-img {
    max-height: 400px;
    border-radius: 6px;
  }
  .celta-print-caption {
    font-size: 0.78em;
    margin: 15px auto;
    padding: 0 5px;
  }
  /* GRID DE CARDS */
  .celta-grid {
    grid-template-columns: 1fr;
    /* 1 card por linha */
    gap: 12px;
    padding: 0 10px;
  }
  /* CARD */
  .celta-card {
    border-radius: 10px;
  }
  .celta-card-header {
    padding: 16px;
    font-size: 0.95em;
  }
  .celta-card-body {
    padding: 0 16px 16px 16px;
    font-size: 0.9em;
  }
  .celta-card-body li a {
    padding: 10px 0;
    font-size: 0.9em;
  }
  .celta-card-body li a::before {
    font-size: 1.1em;
  }
}
}


/* CARDS ACCENTS */
/* CARDS ACCENTS */
.celta-card.accent-blue {
.celta-card.accent-blue { border-top: 4px solid var(--celta-blue); }
  border-top: 4px solid var(--celta-blue);
.celta-card.accent-blue .celta-card-header i { color: var(--celta-blue); }
}
 
.celta-card.accent-blue .celta-card-header i {
  color: var(--celta-blue);
}


.celta-card.accent-dark {
.celta-card.accent-dark { border-top: 4px solid var(--celta-dark); }
  border-top: 4px solid var(--celta-dark);
.celta-card.accent-dark .celta-card-header i { color: var(--celta-dark); }
}


.celta-card.accent-dark .celta-card-header i {
.celta-card.accent-orange { border-top: 4px solid var(--celta-yellow); }
  color: var(--celta-dark);
.celta-card.accent-orange .celta-card-header i { color: var(--celta-yellow); }
}


.celta-card.accent-orange {
.celta-card.accent-green { border-top: 4px solid var(--celta-green); }
  border-top: 4px solid var(--celta-yellow);
.celta-card.accent-green .celta-card-header i { color: var(--celta-green); }
}


.celta-card.accent-orange .celta-card-header i {
.celta-card.accent-red { border-top: 4px solid var(--celta-red); }
  color: var(--celta-yellow);
.celta-card.accent-red .celta-card-header i { color: var(--celta-red); }
}
 
.celta-card.accent-green {
  border-top: 4px solid var(--celta-green);
}
 
.celta-card.accent-green .celta-card-header i {
  color: var(--celta-green);
}
 
.celta-card.accent-red {
  border-top: 4px solid var(--celta-red);
}
 
.celta-card.accent-red .celta-card-header i {
  color: var(--celta-red);
}


@media (min-width: 768px) {
@media (min-width: 768px) {
Linha 444: Linha 371:
     grid-template-columns: 1fr 1fr !important;
     grid-template-columns: 1fr 1fr !important;
   }
   }
}
@media (max-width: 480px) {
  .celta-print-container { margin: 15px auto; padding: 0 5px; }
  .celta-print-img { max-height: 400px; border-radius: 6px; }
  .celta-print-caption { font-size: 0.78em; margin: 15px auto; padding: 0 5px; }
  .celta-grid { grid-template-columns: 1fr; gap: 12px; padding: 0 10px; }
  .celta-card { border-radius: 10px; }
  .celta-card-header { padding: 16px; font-size: 0.95em; }
  .celta-card-body { padding: 0 16px 16px 16px; font-size: 0.9em; }
  .celta-card-body li a { padding: 10px 0; font-size: 0.9em; }
  .celta-card-body li a::before { font-size: 1.1em; }
}
}


Linha 504: Linha 443:
}
}


.celta-sys-btn:hover i {
.celta-sys-btn:hover i { color: #3b82f6 !important; }
  color: #3b82f6 !important;
.celta-sys-menu a { text-decoration: none !important; display: block !important; }
}
 
.celta-sys-menu a {
  text-decoration: none !important;
  display: block !important;
}


/* BARRA DE CONTATOS */
/* BARRA DE CONTATOS (ESTILOS GERAIS DOS ITENS) */
/* NOTA: O layout do box no footer é sobrescrito mais abaixo na seção FOOTER MINIMAL */
.celta-contact-section {
.celta-contact-section {
   max-width: 900px;
   max-width: 900px;
Linha 552: Linha 486:
   justify-content: flex-start !important;
   justify-content: flex-start !important;
   gap: 15px !important;
   gap: 15px !important;
  /*border-right: 1px solid #f1f5f9;*/
   transition: background 0.2s;
   transition: background 0.2s;
   box-sizing: border-box !important;
   box-sizing: border-box !important;
}
}


.celta-contact-item:last-child {
.celta-contact-item:last-child { border-right: none; }
  border-right: none;
.celta-contact-item:hover { background: #f8fafc; }
}
 
.celta-contact-item:hover {
  background: #f8fafc;
}


/* NOVA CAIXA DE ÍCONE COM FUNDO COLORIDO */
/* NOVA CAIXA DE ÍCONE */
.celta-contact-icon {
.celta-contact-icon {
   width: 42px !important;
   width: 42px !important;
Linha 581: Linha 509:
}
}


.icon-blue {
.icon-blue { background: #e0f2fe !important; color: #0284c7 !important; }
  background: #e0f2fe !important;
.icon-green { background: #dcfce7 !important; color: #16a34a !important; }
  color: #0284c7 !important;
.icon-purple { background: #f3e8ff !important; color: #9333ea !important; }
}
.icon-mail i { color: lightskyblue !important; background: transparent !important; }
 
.icon-whatsapp i { color: #25d366 !important; background: transparent !important; }
.icon-green {
.icon-site i { color: darkblue !important; background: transparent !important; }
  background: #dcfce7 !important;
  color: #16a34a !important;
}
 
.icon-purple {
  background: #f3e8ff !important;
  color: #9333ea !important;
}
 
.icon-mail i {
  color: lightskyblue !important;
  background: transparent !important;
}
 
.icon-whatsapp i {
  color: #25d366 !important;
  background: transparent !important;
}
 
.icon-site i {
  color: darkblue !important;
  background: transparent !important;
}


/* Wrapper do conteúdo (label + value) */
/* Wrapper do conteúdo (label + value) */
Linha 656: Linha 561:
   background: none !important;
   background: none !important;
   padding: 0 !important;
   padding: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
   margin: 0 !important;
   margin: 0 !important;
   line-height: inherit !important;
   line-height: inherit !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  white-space: normal !important;
   display: inline !important;
   display: inline !important;
   border: none !important;
   border: none !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}
}


Linha 679: Linha 577:
   background: none !important;
   background: none !important;
}
}
/*.celta-contact-item:hover .celta-contact-value a {
  color: var(--celta-blue) !important;
  background: none !important;
}*/


@media (max-width: 700px) {
@media (max-width: 700px) {
   .celta-contact-box {
   .celta-contact-box { flex-direction: column; }
    flex-direction: column;
   .celta-contact-item { border-right: none; border-bottom: 1px solid #f1f5f9; }
  }
 
   .celta-contact-item {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }
}
}


/* LISTAS DE LINKS */
/* LISTAS DE LINKS */
.celta-link-list ul {
.celta-link-list ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
  list-style: none !important;
.celta-link-list li { margin-bottom: 12px !important; padding-left: 0 !important; background: none !important; }
  padding: 0 !important;
  margin: 0 !important;
}
 
.celta-link-list li {
  margin-bottom: 12px !important;
  padding-left: 0 !important;
  background: none !important;
}
 
.celta-link-list a {
.celta-link-list a {
   text-decoration: none;
   text-decoration: none;
Linha 718: Linha 595:
   transition: color 0.2s;
   transition: color 0.2s;
}
}
 
.celta-link-list a:hover { color: var(--celta-blue); }
.celta-link-list a:hover {
  color: var(--celta-blue);
}
 
.celta-link-list a::before {
.celta-link-list a::before {
   content: "\F285";
   content: "\F285"; /* Chevron Right */
  /* Chevron Right */
   font-family: "bootstrap-icons";
   font-family: "bootstrap-icons";
   color: var(--celta-border-code);
   color: var(--celta-border-code);
Linha 732: Linha 604:
   font-weight: bold;
   font-weight: bold;
}
}
 
.celta-link-list a.external::before { content: "\F30A"; /* Download Icon */ }
.celta-link-list a.external::before {
  content: "\F30A";
  /* Download Icon */
}
 
/* LOGO SVG (BG) */
.celta-logo-svg {
  background-image: url('/resources/assets/celta-logo.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 350px;
}
 
@media (max-width: 768px) {
  .celta-logo-svg {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* HERO CARD */
/* HERO CARD */
Linha 770: Linha 618:
}
}


.celta-hero-main {
.celta-hero-main { padding: 40px; border-right: 1px solid #f1f5f9; }
  padding: 40px;
  border-right: 1px solid #f1f5f9;
}
 
.celta-hero-sidebar {
.celta-hero-sidebar {
   background: var(--celta-bg-light);
   background: var(--celta-bg-light);
Linha 784: Linha 628:


@media (max-width: 768px) {
@media (max-width: 768px) {
   .celta-hero-card {
   .celta-hero-card { grid-template-columns: 1fr; display: flex; flex-direction: column; }
    grid-template-columns: 1fr;
   .celta-hero-main { border-right: none; border-bottom: 1px solid #f1f5f9; padding: 30px 20px; }
    display: flex;
   .celta-hero-sidebar { padding: 30px 20px; }
    flex-direction: column;
  }
 
   .celta-hero-main {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 30px 20px;
  }
 
   .celta-hero-sidebar {
    padding: 30px 20px;
  }
}
}


Linha 815: Linha 647:


@media (min-width: 768px) {
@media (min-width: 768px) {
   .erp-container {
   .erp-container { grid-template-columns: 1fr 1fr !important; }
    grid-template-columns: 1fr 1fr !important;
  }
}
}


Linha 832: Linha 662:
}
}


.erp-brand {
.erp-brand { font-weight: 600; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
  font-weight: 600;
.erp-user-actions { display: flex; gap: 15px; }
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
 
.erp-user-actions {
  display: flex;
  gap: 15px;
}
 
.erp-icon-circle {
.erp-icon-circle {
   border: 1px solid rgba(255, 255, 255, 0.6);
   border: 1px solid rgba(255, 255, 255, 0.6);
Linha 856: Linha 675:
}
}


.erp-body {
.erp-body { display: flex; flex: 1; overflow: hidden; }
  display: flex;
  flex: 1;
  overflow: hidden;
}
 
.erp-sidebar {
.erp-sidebar {
   width: 260px;
   width: 260px;
Linha 892: Linha 706:
}
}


.erp-menu-item:hover {
.erp-menu-item:hover { background-color: #f5f5f5; color: #000; }
  background-color: #f5f5f5;
.erp-menu-item.active { background-color: #e8f5e9; color: #151E32; border-left-color: #151E32; }
  color: #000;
.erp-menu-item.active i { color: #151E32; }
}


.erp-menu-item.active {
.erp-content-stage { flex: 1; position: relative; padding: 30px; overflow-y: auto; }
  background-color: #e8f5e9;
  color: #151E32;
  border-left-color: #151E32;
}
 
.erp-menu-item.active i {
  color: #151E32;
}
 
.erp-content-stage {
  flex: 1;
  position: relative;
  padding: 30px;
  overflow-y: auto;
}


.erp-bg-logo {
.erp-bg-logo {
Linha 952: Linha 750:
/* ERP SIMULATOR (MOBILE FIX) */
/* ERP SIMULATOR (MOBILE FIX) */
@media (max-width: 768px) {
@media (max-width: 768px) {
   .erp-container {
   .erp-container { height: auto !important; min-height: 80vh; }
    height: auto !important;
   .erp-body { flex-direction: column !important; }
    min-height: 80vh;
  }
 
   .erp-body {
    flex-direction: column !important;
  }
 
   .erp-sidebar {
   .erp-sidebar {
     width: 100% !important;
     width: 100% !important;
Linha 968: Linha 759:
     border-bottom: 1px solid #e0e0e0;
     border-bottom: 1px solid #e0e0e0;
   }
   }
 
   .erp-bg-logo { display: none !important; }
   .erp-bg-logo {
   .erp-content-stage { padding: 15px !important; }
    display: none !important;
   .erp-user-actions { display: none !important; }
  }
 
   .erp-content-stage {
    padding: 15px !important;
  }
 
   .erp-user-actions {
    display: none !important;
  }
}
}


/* SUBMENU LATERAL (aparece quando clica em "Principal") */
/* SUBMENU LATERAL */
.erp-submenu {
.erp-submenu {
   position: absolute;
   position: absolute;
   left: 260px;
   left: 260px;
  /* largura da sidebar */
   top: 0;
   top: 0;
   width: 600px;
   width: 600px;
Linha 994: Linha 775:
   padding: 20px;
   padding: 20px;
   display: none !important;
   display: none !important;
  /* oculto por padrão */
   z-index: 5;
   z-index: 5;
   overflow-y: auto;
   overflow-y: auto;
}
}


/* --- ESTILO DOS SUBMENUS (GENÉRICO) --- */
.erp-submenu-overlay {
.erp-submenu-overlay {
   position: absolute;
   position: absolute;
   top: 0;
   top: 0;
   left: 260px;
   left: 260px;
  /* Largura do menu lateral + padding */
   width: 650px;
   width: 650px;
  /* Largura do submenu */
   height: 100%;
   height: 100%;
   background-color: transparent;
   background-color: transparent;
   display: none;
   display: none;
  /* Oculto por padrão */
   z-index: 100;
   z-index: 100;
}
}
Linha 1 026: Linha 802:
}
}


/* Grid das 4 Colunas */
.sys-columns-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sys-columns-grid {
@media (min-width: 1200px) { .sys-columns-grid { grid-template-columns: repeat(4, 1fr); } }
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Começa com 2 colunas */
  gap: 10px;
}
 
@media (min-width: 1200px) {
  .sys-columns-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
 
.sys-column {
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}


.sys-column { background: white; border: 1px solid #ccc; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); }
.sys-col-header {
.sys-col-header {
   background-color: #151E32;
   background-color: #151E32;
  /* Verde Celta */
   color: white;
   color: white;
   padding: 8px;
   padding: 8px;
Linha 1 063: Linha 822:
   color: #333;
   color: #333;
}
}
.sys-col-item:hover { background-color: #e9ecef; color: #000; font-weight: 500; }
.sys-separator { height: 10px; background: #f9f9f9; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }


.sys-col-item:hover {
[class*="erp-click-"] { cursor: pointer; }
  background-color: #e9ecef;
  color: #000;
  font-weight: 500;
}
 
.sys-separator {
  height: 10px;
  background: #f9f9f9;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
 
/* --- LÓGICA DE BOTÕES ATIVOS (GENÉRICA) --- */
/* Isso aplica a mãozinha e a cor verde para QUALQUER menu (Principal, Compras, etc) */
 
[class*="erp-click-"] {
  cursor: pointer;
}
 
[class*="erp-click-"].active {
[class*="erp-click-"].active {
   background-color: #e8f5e9;
   background-color: #e8f5e9;
Linha 1 090: Linha 832:
}
}


/* CORREÇÃO PARA LINKS DA SIDEBAR (Remove sublinhado e espaçamento) */
.erp-sidebar a { text-decoration: none !important; display: block !important; color: inherit !important; border: none !important; }
/* Isso resolve o problema de links criados com [[...]] */
.erp-sidebar a:hover { text-decoration: none !important; }
.erp-sidebar a {
  text-decoration: none !important;
  display: block !important;
  color: inherit !important;
  border: none !important;
}
 
.erp-sidebar a:hover {
  text-decoration: none !important;
}


/* =========================================
/* BANNER */
  BANNER - Usando cores do site oficial Celta
  ========================================= */
.banner-secondary {
.banner-secondary {
   display: flex;
   display: flex;
Linha 1 122: Linha 852:
}
}


.banner-content {
.banner-content { position: relative; z-index: 2; max-width: 60%; }
  position: relative;
  z-index: 2;
  max-width: 60%;
}
 
.banner-badge {
.banner-badge {
   background: rgba(59, 130, 246, 0.2);
   background: rgba(59, 130, 246, 0.2);
Linha 1 183: Linha 908:
   color: white;
   color: white;
}
}
.banner-btn:hover i { transform: translateX(4px); }


.banner-btn i {
  transition: transform 0.3s;
}
.banner-btn:hover i {
  transform: translateX(4px);
}
/* Animação fadeInUp caso não exista */
@keyframes fadeInUp {
@keyframes fadeInUp {
   from {
   from { opacity: 0; transform: translateY(30px); }
    opacity: 0;
   to { opacity: 1; transform: translateY(0); }
    transform: translateY(30px);
  }
 
   to {
    opacity: 1;
    transform: translateY(0);
  }
}
}


/* Responsivo */
@media (max-width: 768px) {
@media (max-width: 768px) {
   .banner-secondary {
   .banner-secondary { flex-direction: column; gap: 20px; padding: 25px; text-align: center; }
    flex-direction: column;
   .banner-content { max-width: 100%; }
    gap: 20px;
   .banner-title { font-size: 1.3rem; }
    padding: 25px;
    text-align: center;
  }
 
   .banner-content {
    max-width: 100%;
  }
 
   .banner-title {
    font-size: 1.3rem;
  }
}
}


/* Container Geral */
/* CHAIN GRID & CARDS */
.chain-grid-container {
.chain-grid-container {
   display: grid;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  /* Cards maiores */
   gap: 20px;
   gap: 20px;
   margin-top: 30px;
   margin-top: 30px;
Linha 1 233: Linha 930:
}
}


/* Estilo Base do Card (Branco) */
.chain-card {
.chain-card {
   background: #ffffff;
   background: #ffffff;
   border-radius: 30px;
   border-radius: 30px;
  /* Bordas bem arredondadas igual a imagem */
   padding: 40px 30px;
   padding: 40px 30px;
  /* Mais espaçamento interno para ficar maior */
   box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
   box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
  /* Sombra suave */
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   border: 1px solid rgba(0, 0, 0, 0.02);
   border: 1px solid rgba(0, 0, 0, 0.02);
Linha 1 250: Linha 943:
}
}


/* Efeito ao passar o mouse (Sobe um pouquinho) */
.chain-card:hover { transform: translateY(-10px); box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1); }
.chain-card:hover {
.chain-icon { font-size: 3rem; margin-bottom: 5px; display: inline-block; }
  transform: translateY(-10px);
.chain-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; color: #1e293b; border: none; }
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
.chain-card p { color: #64748b; font-size: 1rem; line-height: 1.6; margin-bottom: 30px; flex-grow: 1; }
}
 
/* Estilo do Ícone */
.chain-icon {
  font-size: 3rem;
  /* Ícone bem grande */
  margin-bottom: 5px;
  display: inline-block;
}
 
/* Títulos */
.chain-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1e293b;
  border: none;
}
 
/* Texto Descritivo */
.chain-card p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
  /* Empurra o botão para o final */
}


/* Links (Botão 'Ler mais') */
.chain-card .chain-link a {
.chain-card .chain-link a {
   text-decoration: none;
   text-decoration: none;
Linha 1 289: Linha 953:
   font-size: 1.1rem;
   font-size: 1.1rem;
   color: #0ea5e9;
   color: #0ea5e9;
  /* Azul padrão */
   transition: color 0.2s;
   transition: color 0.2s;
}
}
.chain-card .chain-link a:hover { text-decoration: none; color: #0284c7; }


.chain-card .chain-link a:hover {
  text-decoration: none;
  color: #0284c7;
}
/* --- ESTILO DO CARD DESTAQUE (AZUL/GRADIENTE) --- */
.chain-card.featured {
.chain-card.featured {
  /* Gradiente Azul/Cyan igual da imagem */
   background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
   background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  /* Ou se preferir um azul mais corporativo: */
  /* background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%); */
   color: #ffffff;
   color: #ffffff;
}
}
.chain-card.featured h3, .chain-card.featured p, .chain-card.featured i { color: #ffffff !important; }
.chain-card.featured .chain-link a { color: #ffffff; opacity: 0.9; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.chain-card.featured .chain-link a:hover { opacity: 1; border-bottom: 1px solid #fff; }


/* Ajustes de cor para o card destaque */
/* FOOTER GRID (LINKS RÁPIDOS) */
.chain-card.featured h3,
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 60px; }
.chain-card.featured p,
.footer-card { background: #f8fafc; padding: 25px; border-radius: 16px; border: 1px solid #e2e8f0; }
.chain-card.featured i {
.footer-title { font-size: 1.1em; color: #1e293b; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; border: none !important; }
  color: #ffffff !important;
.footer-list { list-style: none; padding: 0; margin: 0; }
}
 
.chain-card.featured .chain-link a {
  color: #ffffff;
  opacity: 0.9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
 
.chain-card.featured .chain-link a:hover {
  opacity: 1;
  border-bottom: 1px solid #fff;
}
 
/* --- GRID DOS LINKS (ACESSO RÁPIDO) --- */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}
 
.footer-card {
  background: #f8fafc;
  /* Cinza muito suave */
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}
 
.footer-title {
  font-size: 1.1em;
  color: #1e293b;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none !important;
}


.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Estilo dos itens da lista (Botões discretos) */
.footer-list li {
.footer-list li {
   margin-bottom: 12px;
   margin-bottom: 12px;
Linha 1 371: Linha 983:
   border: 1px solid #f1f5f9;
   border: 1px solid #f1f5f9;
}
}
.footer-list li:hover { transform: translateX(5px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); border-color: #cbd5e1; }
.footer-list li a { text-decoration: none; color: #475569; font-weight: 500; flex-grow: 1; }
.footer-list li i { color: #94a3b8; font-size: 0.9em; }


.footer-list li:hover {
/* SUPPORT BANNER (DARK) */
  transform: translateX(5px);
  /* Move levemente para a direita */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}
 
.footer-list li a {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  flex-grow: 1;
}
 
.footer-list li i {
  color: #94a3b8;
  font-size: 0.9em;
}
 
/* --- BANNER DE SUPORTE (DARK MODE) --- */
.support-banner {
.support-banner {
   background: #0f172a;
   background: #0f172a;
  /* Azul Celta muito escuro / Navy */
   border-radius: 20px;
   border-radius: 20px;
   padding: 40px;
   padding: 40px;
Linha 1 405: Linha 1 000:
}
}


.support-content h2 {
.support-content h2 { color: #ffffff !important; border: none; margin: 0 0 10px 0; font-size: 1.8em; }
  color: #ffffff !important;
.support-content p { color: #94a3b8; margin: 0; }
  border: none;
.support-actions { display: flex; gap: 15px; margin-top: 20px; }
  margin: 0 0 10px 0;
  font-size: 1.8em;
}
 
.support-content p {
  color: #94a3b8;
  margin: 0;
}
 
.support-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  /* Para mobile */
}


/* Botões de Suporte */
.support-btn {
.support-btn {
   display: inline-flex;
   display: inline-flex;
Linha 1 431: Linha 1 010:
   padding: 12px 20px;
   padding: 12px 20px;
   border-radius: 50px;
   border-radius: 50px;
  /* Redondo estilo 'Pill' */
   text-decoration: none !important;
   text-decoration: none !important;
   font-weight: 600;
   font-weight: 600;
Linha 1 440: Linha 1 018:
   border: 1px solid rgba(255, 255, 255, 0.1);
   border: 1px solid rgba(255, 255, 255, 0.1);
}
}
.support-btn:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }


.support-btn:hover {
.support-btn.featured { background: #22c55e; color: #ffffff !important; border-color: #22c55e; box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3); }
  background: rgba(255, 255, 255, 0.2);
.support-btn.featured:hover { background: #16a34a; }
  transform: translateY(-2px);
}
 
/* Destaque para o WhatsApp (Verde ou Branco Sólido) */
.support-btn.featured {
  background: #22c55e;
  /* Verde WhatsApp */
  color: #ffffff !important;
  border-color: #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}


.support-btn.featured:hover {
  background: #16a34a;
}
/* Responsivo para mobile */
@media (max-width: 768px) {
@media (max-width: 768px) {
   .support-banner {
   .support-banner { flex-direction: column; text-align: center; }
    flex-direction: column;
   .support-actions { flex-direction: column; width: 100%; }
    text-align: center;
   .support-btn { justify-content: center; }
  }
 
   .support-actions {
    flex-direction: column;
    width: 100%;
  }
 
   .support-btn {
    justify-content: center;
  }
}
}


/* --- MINIMALIST BLUE FOOTER (Support) --- */
/* ========================================================
  MINIMALIST BLUE FOOTER (Support) - REVISADO & FINAL
  ======================================================== */
.celta-footer-minimal {
.celta-footer-minimal {
   background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
   background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
   border-radius: 24px;
   border-radius: 24px;
   padding: 30px 40px;
   padding: 40px 20px;
  /* Reduced padding */
   text-align: center;
   text-align: center;
   color: white;
   color: white;
Linha 1 491: Linha 1 045:
}
}


/* LOGO: Apenas a imagem (SVG), sem fundo dourado */
.footer-logo-corner {
.footer-logo-corner {
   position: absolute;
   position: absolute;
   top: 20px;
   top: 20px;
   left: 25px;
   left: 25px;
  /* Visible amber/gold icon box on the left */
   width: 80px; /* Logo maior */
   width: 44px;
   height: 80px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fbbf24;
  /* Amber 400 - Gold */
   /* Use SVG as a mask so the logo shape is filled with the golden color while background stays the card blue. */
  /* Fallback to background-image if mask is not supported. */
  color: #0f172a;
  /* dark icon color for contrast */
  border-radius: 10px;
  font-size: 1.25rem;
  opacity: 0.95;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
   z-index: 4;
   z-index: 4;
  /* Fundo removido para mostrar apenas o SVG */
  background: none;
  background-image: url('/resources/assets/celta-logo.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: none;
}
}
 
/* Forçar ocultação da tag IMG caso o MediaWiki a insira, usando apenas o Background CSS */
/* Logo image inside the amber corner */
.footer-logo-corner img,  
.footer-logo-corner .footer-logo-img {
.footer-logo-corner .footer-logo-img {  
  width: 60%;
    display: none !important;  
  height: 60%;
  object-fit: contain;
  display: block;
}
 
/* 1. Remover o fundo branco e manter texto branco ao passar o mouse nos contatos */
.celta-footer-minimal .celta-contact-item:hover {
    background: transparent !important; /* Remove o fundo branco */
    color: #f9f9f9 !important;          /* Garante que o texto continue claro */
    transform: translateX(5px);        /* (Opcional) Mantém apenas o movimento suave */
}
 
/* Garante que o ícone e o texto dentro do item não mudem de cor indesejadamente */
.celta-footer-minimal .celta-contact-item:hover span,
.celta-footer-minimal .celta-contact-item:hover i {
    color: none !important;
}
 
/* 2. Aumentar o tamanho do ícone/logo (Caixa amarela) */
.footer-logo-corner {
    /* Estava 44px, aumentei para 70px para dar destaque */
    width: 70px;
    height: 70px;
    top: 20px;
    left: 25px;
    /* Ajuste o tamanho da máscara interna se quiser o desenho do logo maior ou menor */
    /* Se usar mask-size: 60%, ele cresce proporcional ao container de 70px */
}
 
/* 3. Texto "Precisando de ajuda" com a mesma cor dos links (#f9f9f9) */
.celta-footer-minimal .footer-title,
.celta-footer-minimal .footer-desc {
    color: #f9f9f9 !important; /* Força a cor branca sólida */
    opacity: 1;                /* Remove transparência se houver */
}
 
/* Prefer mask-based coloring when possible (keeps logo glyph golden, background visible). */
@supports (-webkit-mask-image: url('/resources/assets/celta-logo.svg')) or (mask-image: url('/resources/assets/celta-logo.svg')) {
  .footer-logo-corner {
    /* remove any background-image fallback */
    background-image: none;
    /* webkit prefixed for broader support */
    -webkit-mask-image: url('/resources/assets/celta-logo.svg');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 60% 60%;
    mask-image: url('/resources/assets/celta-logo.svg');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 60% 60%;
    /* ensure the golden color shows through the mask */
    background-color: #fbbf24;
  }
}
 
/* Fallback for browsers without mask support: show the colored SVG as background */
@supports not ((-webkit-mask-image: url('/resources/assets/celta-logo.svg')) or (mask-image: url('/resources/assets/celta-logo.svg'))) {
  .footer-logo-corner {
    background-image: url('/resources/assets/celta-logo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 60%;
  }
}
 
/* If the wiki transcludes an <img>, hide it when using mask to avoid double visuals; otherwise let it show for fallback */
.footer-logo-corner img.footer-logo-img {
  display: none !important;
}
}


/* If your SVG uses `currentColor` for fills, you can control glyph color via `.footer-logo-corner { color: #fff; }` */
/* LAYOUT DO CONTEÚDO DO FOOTER */
 
/* Abstract decorative shapes removed */
 
.footer-content {
.footer-content {
   position: relative;
   position: relative;
Linha 1 596: Linha 1 073:
   max-width: 900px;
   max-width: 900px;
   margin: 0 auto;
   margin: 0 auto;
  /* Transforma em coluna para empilhar Título em cima e Contatos embaixo */
   display: flex;
   display: flex;
   align-items: center;
   flex-direction: column;
   justify-content: center;
   align-items: center; /* Centraliza horizontalmente */
   gap: 30px;
   gap: 30px;
}
/* Removemos o espaçador antigo se ele existir no HTML */
.footer-content > div[style*="flex"] {
    display: none !important;
}
}


.footer-text-group {
.footer-text-group {
   text-align: center;
   text-align: center;
   background: none;
   width: 100%;
  color: #f9f9f9 !important;
}
}


.footer-title {
/* Título e Descrição com cor branca sólida */
   font-size: 1.25rem;
.celta-footer-minimal .footer-title {
   font-size: 1.5rem;
   font-weight: 700;
   font-weight: 700;
   margin: 0;
   margin: 0 0 10px 0;
   line-height: 1.2;
   line-height: 1.2;
  color: #f9f9f9 !important;
}
}


.footer-desc {
.celta-footer-minimal .footer-desc {
   font-size: 0.95rem;
   font-size: 1rem;
   color: rgba(255, 255, 255, 0.7);
   color: #f9f9f9 !important;
   margin: 0;
   margin: 0;
  opacity: 1;
}
}


a .footer-actions {
/* ÁREA DE CONTATOS (Lateral/Lista) */
  display: flex;
/* Sobrescreve estilo geral para funcionar dentro do footer minimalista */
  gap: 15px;
.celta-footer-minimal .celta-contact-box {
    width: 100%;
    max-width: 500px; /* Controla largura para não ficar muito largo */
    /* Se quiser alinhar à direita visualmente, mude align-self no footer-content,
      mas centralizado geralmente fica melhor neste design */
}
}


.footer-btn {
/* Efeito Hover Limpo (Sem fundo branco) */
  background: rgba(255, 255, 255, 0.15);
.celta-footer-minimal .celta-contact-item:hover {
  backdrop-filter: blur(10px);
    background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
    color: #f9f9f9 !important;
  color: white;
    transform: translateX(5px);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}
}


.footer-btn:hover {
/* Garante texto branco no hover */
  background: white;
.celta-footer-minimal .celta-contact-item:hover span,
  color: var(--celta-blue);
.celta-footer-minimal .celta-contact-item:hover i {
  transform: translateY(-3px);
     color: #f9f9f9 !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
 
.footer-btn i {
  font-size: 1.2em;
}
 
.footer-btn.primary {
  background: white;
  color: var(--celta-blue);
  border-color: white;
}
 
.footer-btn.primary:hover {
  background: #f8fafc;
}
 
/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
 
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
@media (max-width: 768px) {
  .celta-hero-card {
    grid-template-columns: 1fr;
  }
 
  .celta-hero-main {
    border-right: none;
    border-bottom: 1px solid var(--celta-border);
  }
 
  .banner-secondary {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
 
  .banner-content {
     max-width: 100%;
  }
}
}

Edição das 22h49min de 7 de dezembro de 2025

/* =========================================
   CELTA WIKI FRAMEWORK - VERSÃO CONSOLIDADA
   ========================================= */

:root {
  /* Colors */
  --celta-blue: #3366cc;
  --celta-dark: #2c3e50;
  --celta-green: #198754;
  --celta-yellow: #ffc107;
  --celta-red: #dc3545;

  /* Backgrounds */
  --celta-bg-info: #f0f7ff;
  --celta-bg-success: #d1e7dd;
  --celta-bg-warning: #fff3cd;
  --celta-bg-danger: #fff5f5;
  --celta-bg-code: #e2e8f0;
  --celta-bg-light: #f8f9fa;

  /* Card Design */
  --celta-card-bg: #ffffff;
  --celta-card-header-bg: #f8f9fa;

  /* Borders */
  --celta-border-code: #cbd5e1;
  --celta-border-light: #e2e8f0;

  /* Text */
  --celta-text-main: #333;
  --celta-text-muted: #64748b;
  --celta-text-dark: #0f172a;

  /* Fonts */
  --celta-font-sans: 'Segoe UI', Roboto, sans-serif;
  --celta-font-mono: 'Consolas', 'Monaco', monospace;
  
  /* Shadow */
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* HEADER DA PÁGINA */
.celta-page-header {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--celta-border-light) !important;
  padding: 0 0 15px 0 !important;
  margin-bottom: 25px !important;
  box-shadow: none !important;
}

.celta-page-header.celta-header-clean {
  border-bottom: none !important;
  margin-bottom: 10px !important;
}

.celta-breadcrumbs {
  background: transparent !important;
  padding: 0 !important;
  font-size: 0.8em !important;
  color: var(--celta-text-muted) !important;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 5px !important;
}

.celta-main-title {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 1.8em !important;
  font-weight: 800 !important;
  color: var(--celta-text-dark) !important;
  line-height: 1.2 !important;
  border: none !important;
}

.celta-meta-info {
  background: transparent !important;
  padding: 0 !important;
  margin-top: 5px !important;
  font-size: 0.8em !important;
  color: #94a3b8 !important;
  border: none !important;
}

/* MONOSPACE & CODE */
code {
  font-family: var(--celta-font-mono) !important;
  font-size: 0.9em;
  background-color: var(--celta-bg-code);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--celta-text-dark);
  border: 1px solid var(--celta-border-code);
}

/* ALERTS (NOTAS) */
.celta-box {
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 6px;
  border-left: 4px solid #ccc;
  background-color: #f9f9f9;
  font-size: 0.93em;
  font-family: var(--celta-font-sans) !important;
}

.celta-box-title {
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.9em;
}

.celta-info {
  background: var(--celta-bg-info);
  border-color: var(--celta-blue);
}

.celta-info .celta-box-title {
  color: var(--celta-blue);
}

.celta-success {
  background: var(--celta-bg-success);
  border-color: var(--celta-green);
}

.celta-success .celta-box-title {
  color: #155724;
}

.celta-warning {
  background: var(--celta-bg-warning);
  border-color: var(--celta-yellow);
}

.celta-warning .celta-box-title {
  color: #856404;
}

.celta-danger {
  background: var(--celta-bg-danger);
  border-color: var(--celta-red);
}

.celta-danger .celta-box-title {
  color: var(--celta-red);
}

/* BADGES */
.celta-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.celta-badge-novo {
  background: var(--celta-bg-success);
  color: #0f5132;
  border: 1px solid #badbcc;
}

.celta-badge-versao {
  background: #e2e3e5;
  color: #383d41;
  border: 1px solid #d6d8db;
}

/* TABELAS (DATA GRID) */
.celta-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #e0e0e0;
  margin-top: 15px !important;
  margin-bottom: 25px !important;
  font-family: var(--celta-font-sans) !important;
}

.celta-table th {
  background-color: var(--celta-dark);
  color: white;
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  font-size: 1em;
}

.celta-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
  font-size: 1em;
  color: var(--celta-text-main);
}

.celta-table tr:last-child td {
  border-bottom: none;
}

.celta-col-key {
  background-color: var(--celta-bg-light);
  font-weight: 600;
  color: var(--celta-dark);
  width: 30%;
}

.celta-col-value {
  width: 70%;
}

.celta-table ul {
  margin: 5px 0 !important;
  padding-left: 20px !important;
}

.celta-table li {
  margin-bottom: 2px !important;
}

/* PRINTS DE TELA */
.celta-print-container {
  margin: 30px auto;
  text-align: center;
}

.celta-print-caption {
  margin-top: 10px;
  font-size: 0.85em;
  color: var(--celta-text-muted);
  font-style: italic;
  text-align: center;
  padding: 0 10px;
  line-height: 1.4;
}

.celta-print-img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--celta-border-light);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: block;
  margin: 0 auto;
  width: 100%;
  max-height: 600px;
}

/* CARDS E GRID */
.celta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  margin: 20px 0;
  width: 100%;
}

.celta-card {
  border: 1px solid var(--celta-border-light);
  border-radius: 12px;
  background: var(--celta-card-bg);
  padding: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.celta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.celta-card-header {
  font-weight: 700;
  color: #1e293b;
  padding: 20px 20px 15px 20px;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--celta-card-header-bg);
}

.celta-card-body {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  color: var(--celta-text-muted);
  flex-grow: 1;
}

.celta-card-body ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.celta-card-body li {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

.celta-card-body li a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.celta-card-body li a:hover {
  color: var(--celta-blue);
  padding-left: 5px;
  border-bottom-color: var(--celta-border-light);
}

.celta-card-body li a::before {
  content: "›";
  margin-right: 8px;
  font-size: 1.2em;
  position: relative;
  top: 1px;
  color: var(--celta-border-code);
}

.celta-card-body li a:hover::before {
  color: var(--celta-blue);
}

.celta-card-body li:last-child a {
  border-bottom: none;
}

/* CARDS ACCENTS */
.celta-card.accent-blue { border-top: 4px solid var(--celta-blue); }
.celta-card.accent-blue .celta-card-header i { color: var(--celta-blue); }

.celta-card.accent-dark { border-top: 4px solid var(--celta-dark); }
.celta-card.accent-dark .celta-card-header i { color: var(--celta-dark); }

.celta-card.accent-orange { border-top: 4px solid var(--celta-yellow); }
.celta-card.accent-orange .celta-card-header i { color: var(--celta-yellow); }

.celta-card.accent-green { border-top: 4px solid var(--celta-green); }
.celta-card.accent-green .celta-card-header i { color: var(--celta-green); }

.celta-card.accent-red { border-top: 4px solid var(--celta-red); }
.celta-card.accent-red .celta-card-header i { color: var(--celta-red); }

@media (min-width: 768px) {
  .celta-grid.celta-grid-2 {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 480px) {
  .celta-print-container { margin: 15px auto; padding: 0 5px; }
  .celta-print-img { max-height: 400px; border-radius: 6px; }
  .celta-print-caption { font-size: 0.78em; margin: 15px auto; padding: 0 5px; }
  .celta-grid { grid-template-columns: 1fr; gap: 12px; padding: 0 10px; }
  .celta-card { border-radius: 10px; }
  .celta-card-header { padding: 16px; font-size: 0.95em; }
  .celta-card-body { padding: 0 16px 16px 16px; font-size: 0.9em; }
  .celta-card-body li a { padding: 10px 0; font-size: 0.9em; }
  .celta-card-body li a::before { font-size: 1.1em; }
}

/* MENU LATERAL DO SISTEMA */
.celta-sys-menu {
  background-color: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 20px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  min-width: 260px;
  height: fit-content;
}

.celta-sys-header {
  font-weight: 700;
  color: #9ca3af;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
}

.celta-sys-btn {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 15px !important;
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 6px !important;
  color: #4b5563 !important;
  font-weight: 600 !important;
  font-size: 0.95em !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  margin-bottom: 8px !important;
  transition: all 0.2s !important;
}

.celta-sys-btn:hover {
  background-color: var(--celta-bg-light) !important;
  border-color: var(--celta-border-code) !important;
  color: #1e293b !important;
  transform: translateX(3px) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.celta-sys-btn i {
  font-size: 1.1em !important;
  color: #94a3b8 !important;
  margin-right: 12px !important;
  width: 20px !important;
  text-align: center !important;
  display: inline-block !important;
}

.celta-sys-btn:hover i { color: #3b82f6 !important; }
.celta-sys-menu a { text-decoration: none !important; display: block !important; }

/* BARRA DE CONTATOS (ESTILOS GERAIS DOS ITENS) */
/* NOTA: O layout do box no footer é sobrescrito mais abaixo na seção FOOTER MINIMAL */
.celta-contact-section {
  max-width: 900px;
  margin: 20px auto 20px auto;
  text-align: center;
}

.celta-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--celta-text-muted);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px !important;
}

.celta-contact-box {
  border: 3px solid #10B981 !important;
  border-radius: 16px !important;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden;
}

.celta-contact-item {
  flex: 1;
  min-width: 200px;
  padding: 10px 10px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 15px !important;
  transition: background 0.2s;
  box-sizing: border-box !important;
}

.celta-contact-item:last-child { border-right: none; }
.celta-contact-item:hover { background: #f8fafc; }

/* NOVA CAIXA DE ÍCONE */
.celta-contact-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 10px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2em !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.icon-blue { background: #e0f2fe !important; color: #0284c7 !important; }
.icon-green { background: #dcfce7 !important; color: #16a34a !important; }
.icon-purple { background: #f3e8ff !important; color: #9333ea !important; }
.icon-mail i { color: lightskyblue !important; background: transparent !important; }
.icon-whatsapp i { color: #25d366 !important; background: transparent !important; }
.icon-site i { color: darkblue !important; background: transparent !important; }

/* Wrapper do conteúdo (label + value) */
.celta-contact-content {
  display: flex !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.celta-contact-label {
  font-size: 0.75em !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  font-family: inherit !important;
}

.celta-contact-value {
  font-size: 0.95em !important;
  font-weight: 495 !important;
  color: #f9f9f9 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  font-family: inherit !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

/* CORREÇÃO CRÍTICA PARA LINKS DO MEDIAWIKI */
.celta-contact-value a,
.celta-contact-value a.external {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  text-decoration: none !important;
  background-image: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: inherit !important;
  display: inline !important;
  border: none !important;
}

.celta-contact-value a:hover,
.celta-contact-value a.external:hover {
  text-decoration: none !important;
  background: none !important;
}

.celta-contact-item:hover .celta-contact-value {
  color: var(--celta-blue) !important;
  background: none !important;
}

@media (max-width: 700px) {
  .celta-contact-box { flex-direction: column; }
  .celta-contact-item { border-right: none; border-bottom: 1px solid #f1f5f9; }
}

/* LISTAS DE LINKS */
.celta-link-list ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.celta-link-list li { margin-bottom: 12px !important; padding-left: 0 !important; background: none !important; }
.celta-link-list a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.celta-link-list a:hover { color: var(--celta-blue); }
.celta-link-list a::before {
  content: "\F285"; /* Chevron Right */
  font-family: "bootstrap-icons";
  color: var(--celta-border-code);
  margin-right: 10px;
  font-size: 1.1em;
  font-weight: bold;
}
.celta-link-list a.external::before { content: "\F30A"; /* Download Icon */ }

/* HERO CARD */
.celta-hero-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--celta-border-light);
  overflow: hidden;
  margin-bottom: 35px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.celta-hero-main { padding: 40px; border-right: 1px solid #f1f5f9; }
.celta-hero-sidebar {
  background: var(--celta-bg-light);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .celta-hero-card { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .celta-hero-main { border-right: none; border-bottom: 1px solid #f1f5f9; padding: 30px 20px; }
  .celta-hero-sidebar { padding: 30px 20px; }
}

/* ERP SIMULATOR (DESKTOP) */
.erp-container {
  display: flex;
  flex-direction: column;
  height: 85vh;
  background-color: #f0f2f5;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  overflow: hidden;
  font-family: var(--celta-font-sans);
  position: relative;
}

@media (min-width: 768px) {
  .erp-container { grid-template-columns: 1fr 1fr !important; }
}

.erp-top-bar {
  background-color: #151E32;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.erp-brand { font-weight: 600; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.erp-user-actions { display: flex; gap: 15px; }
.erp-icon-circle {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
}

.erp-body { display: flex; flex: 1; overflow: hidden; }
.erp-sidebar {
  width: 260px;
  background-color: #ffffff;
  border-right: 1px solid #e0e0e0;
  flex-direction: column;
  padding-top: 10px;
  overflow-y: auto;
  flex-shrink: 0;
}

.erp-menu-item {
  padding: 12px 20px;
  color: var(--celta-text-main);
  display: flex;
  align-items: center;
  text-decoration: none !important;
  font-size: 0.95em;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border-left: 4px solid transparent;
}

.erp-menu-item i {
  font-size: 1.3em;
  margin-right: 15px;
  width: 24px;
  text-align: center;
  color: #555;
}

.erp-menu-item:hover { background-color: #f5f5f5; color: #000; }
.erp-menu-item.active { background-color: #e8f5e9; color: #151E32; border-left-color: #151E32; }
.erp-menu-item.active i { color: #151E32; }

.erp-content-stage { flex: 1; position: relative; padding: 30px; overflow-y: auto; }

.erp-bg-logo {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 300px;
  height: 300px;
  background-image: url('/resources/assets/celta-logo.svg');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.erp-widgets-area {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
}

.erp-footer-bar {
  background-color: #151E32;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  font-size: 0.75em;
  color: #fff;
  font-weight: 600;
}

/* ERP SIMULATOR (MOBILE FIX) */
@media (max-width: 768px) {
  .erp-container { height: auto !important; min-height: 80vh; }
  .erp-body { flex-direction: column !important; }
  .erp-sidebar {
    width: 100% !important;
    height: auto !important;
    max-height: 250px;
    border-right: none !important;
    border-bottom: 1px solid #e0e0e0;
  }
  .erp-bg-logo { display: none !important; }
  .erp-content-stage { padding: 15px !important; }
  .erp-user-actions { display: none !important; }
}

/* SUBMENU LATERAL */
.erp-submenu {
  position: absolute;
  left: 260px;
  top: 0;
  width: 600px;
  height: 100%;
  background: #f8f9fa;
  border-right: 1px solid #e0e0e0;
  padding: 20px;
  display: none !important;
  z-index: 5;
  overflow-y: auto;
}

.erp-submenu-overlay {
  position: absolute;
  top: 0;
  left: 260px;
  width: 650px;
  height: 100%;
  background-color: transparent;
  display: none;
  z-index: 100;
}

.erp-submenu-panel {
  background-color: #f0f2f5;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.sys-columns-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 1200px) { .sys-columns-grid { grid-template-columns: repeat(4, 1fr); } }

.sys-column { background: white; border: 1px solid #ccc; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); }
.sys-col-header {
  background-color: #151E32;
  color: white;
  padding: 8px;
  text-align: center;
  font-weight: bold;
  font-size: 0.9em;
}

.sys-col-item {
  padding: 8px 15px;
  border-bottom: 1px solid #eee;
  font-size: 0.85em;
  cursor: pointer;
  color: #333;
}
.sys-col-item:hover { background-color: #e9ecef; color: #000; font-weight: 500; }
.sys-separator { height: 10px; background: #f9f9f9; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }

[class*="erp-click-"] { cursor: pointer; }
[class*="erp-click-"].active {
  background-color: #e8f5e9;
  color: #151E32;
  border-left: 4px solid #10B981;
}

.erp-sidebar a { text-decoration: none !important; display: block !important; color: inherit !important; border: none !important; }
.erp-sidebar a:hover { text-decoration: none !important; }

/* BANNER */
.banner-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #0B1120 0%, #151E32 100%) !important;
  border-radius: 24px !important;
  padding: 20px 40px;
  margin-bottom: 30px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.banner-content { position: relative; z-index: 2; max-width: 60%; }
.banner-badge {
  background: rgba(59, 130, 246, 0.2);
  color: #10B981 !important;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: inline-block;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.banner-title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  color: #FFFFFF !important;
  line-height: 1.3 !important;
}

.banner-text {
  color: white;
  background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
  font-size: 1rem;
  line-height: 1.6;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner-btn {
  background: rgba(59, 130, 246, 0.08);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.banner-btn:hover {
  background: rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
  color: white;
}
.banner-btn:hover i { transform: translateX(4px); }

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

@media (max-width: 768px) {
  .banner-secondary { flex-direction: column; gap: 20px; padding: 25px; text-align: center; }
  .banner-content { max-width: 100%; }
  .banner-title { font-size: 1.3rem; }
}

/* CHAIN GRID & CARDS */
.chain-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.chain-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 40px 30px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chain-card:hover { transform: translateY(-10px); box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1); }
.chain-icon { font-size: 3rem; margin-bottom: 5px; display: inline-block; }
.chain-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; color: #1e293b; border: none; }
.chain-card p { color: #64748b; font-size: 1rem; line-height: 1.6; margin-bottom: 30px; flex-grow: 1; }

.chain-card .chain-link a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: #0ea5e9;
  transition: color 0.2s;
}
.chain-card .chain-link a:hover { text-decoration: none; color: #0284c7; }

.chain-card.featured {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #ffffff;
}
.chain-card.featured h3, .chain-card.featured p, .chain-card.featured i { color: #ffffff !important; }
.chain-card.featured .chain-link a { color: #ffffff; opacity: 0.9; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.chain-card.featured .chain-link a:hover { opacity: 1; border-bottom: 1px solid #fff; }

/* FOOTER GRID (LINKS RÁPIDOS) */
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 60px; }
.footer-card { background: #f8fafc; padding: 25px; border-radius: 16px; border: 1px solid #e2e8f0; }
.footer-title { font-size: 1.1em; color: #1e293b; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; border: none !important; }
.footer-list { list-style: none; padding: 0; margin: 0; }

.footer-list li {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #f1f5f9;
}
.footer-list li:hover { transform: translateX(5px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); border-color: #cbd5e1; }
.footer-list li a { text-decoration: none; color: #475569; font-weight: 500; flex-grow: 1; }
.footer-list li i { color: #94a3b8; font-size: 0.9em; }

/* SUPPORT BANNER (DARK) */
.support-banner {
  background: #0f172a;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.support-content h2 { color: #ffffff !important; border: none; margin: 0 0 10px 0; font-size: 1.8em; }
.support-content p { color: #94a3b8; margin: 0; }
.support-actions { display: flex; gap: 15px; margin-top: 20px; }

.support-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95em;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.support-btn:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }

.support-btn.featured { background: #22c55e; color: #ffffff !important; border-color: #22c55e; box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3); }
.support-btn.featured:hover { background: #16a34a; }

@media (max-width: 768px) {
  .support-banner { flex-direction: column; text-align: center; }
  .support-actions { flex-direction: column; width: 100%; }
  .support-btn { justify-content: center; }
}

/* ========================================================
   MINIMALIST BLUE FOOTER (Support) - REVISADO & FINAL
   ======================================================== */
.celta-footer-minimal {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 40px 20px;
  text-align: center;
  color: white;
  margin-top: 60px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* LOGO: Apenas a imagem (SVG), sem fundo dourado */
.footer-logo-corner {
  position: absolute;
  top: 20px;
  left: 25px;
  width: 80px; /* Logo maior */
  height: 80px;
  z-index: 4;
  /* Fundo removido para mostrar apenas o SVG */
  background: none;
  background-image: url('/resources/assets/celta-logo.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: none;
}
/* Forçar ocultação da tag IMG caso o MediaWiki a insira, usando apenas o Background CSS */
.footer-logo-corner img, 
.footer-logo-corner .footer-logo-img { 
    display: none !important; 
}

/* LAYOUT DO CONTEÚDO DO FOOTER */
.footer-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  /* Transforma em coluna para empilhar Título em cima e Contatos embaixo */
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza horizontalmente */
  gap: 30px;
}

/* Removemos o espaçador antigo se ele existir no HTML */
.footer-content > div[style*="flex"] {
    display: none !important;
}

.footer-text-group {
  text-align: center;
  width: 100%;
}

/* Título e Descrição com cor branca sólida */
.celta-footer-minimal .footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.2;
  color: #f9f9f9 !important;
}

.celta-footer-minimal .footer-desc {
  font-size: 1rem;
  color: #f9f9f9 !important;
  margin: 0;
  opacity: 1;
}

/* ÁREA DE CONTATOS (Lateral/Lista) */
/* Sobrescreve estilo geral para funcionar dentro do footer minimalista */
.celta-footer-minimal .celta-contact-box {
    width: 100%;
    max-width: 500px; /* Controla largura para não ficar muito largo */
    /* Se quiser alinhar à direita visualmente, mude align-self no footer-content, 
       mas centralizado geralmente fica melhor neste design */
}

/* Efeito Hover Limpo (Sem fundo branco) */
.celta-footer-minimal .celta-contact-item:hover {
    background: transparent !important;
    color: #f9f9f9 !important;
    transform: translateX(5px);
}

/* Garante texto branco no hover */
.celta-footer-minimal .celta-contact-item:hover span,
.celta-footer-minimal .celta-contact-item:hover i {
    color: #f9f9f9 !important;
}