/**
 * TeoTeca Institucional e Carta de Vendas
 * Design System: Professional Prism (Datahouse Corporate Edition)
 * Especificação Técnica Canônica conforme docs/DESIGN.md e docs/FSD.md
 */

@import url('fonts.css');

:root {
  /* ==========================================================================
     1. PALETA DE CORES CORPORATIVA
     ========================================================================== */
  --bg-primary: #070e1a;
  --bg-body: #070e1a;
  --surface-card: #111d33;
  --surface-elevated: #0b1f3a;
  --surface-glass: rgba(17, 29, 51, 0.75);
  --surface-glass-dark: rgba(7, 14, 26, 0.85);

  /* Prism Blue (Destaque Principal) */
  --prism-blue: #2d82f0;
  --prism-blue-hover: #1b6cd4;
  --prism-blue-glow: rgba(45, 130, 240, 0.35);
  --prism-blue-subtle: rgba(45, 130, 240, 0.12);

  /* Acento Dourado (Premium / Super Premium) */
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-gold-glow: rgba(245, 158, 11, 0.3);
  --accent-gold-subtle: rgba(245, 158, 11, 0.12);

  /* Escala Tipográfica de Texto */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #070e1a;

  /* Bordas e Divisores */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-prism: rgba(45, 130, 240, 0.4);
  --border-gold: rgba(245, 158, 11, 0.4);

  /* Sombras e Iluminação */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --shadow-prism: 0 0 25px rgba(45, 130, 240, 0.25);
  --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.25);

  /* Raios e Curvaturas */
  --pill-radius: 9999px;
  --card-radius: 16px;
  --radius-sm: 8px;
  --radius-md: 12px;

  /* Tipografia Geométrica Moderna de Alta Elegância */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-hebrew: 'Ezra SIL', 'SBL Hebrew', David, serif;
  --font-greek: 'SBL Greek', 'Gentium Plus', serif;

  /* Sobrescritas nativas de variáveis CSS do Bootstrap 5.3 */
  --bs-body-bg: var(--bg-primary);
  --bs-body-color: var(--text-main);
  --bs-body-color-rgb: 248, 250, 252;
  --bs-body-bg-rgb: 7, 14, 26;
  --bs-primary: var(--prism-blue);
  --bs-primary-rgb: 45, 130, 240;
  --bs-warning: var(--accent-gold);
  --bs-warning-rgb: 245, 158, 11;
  --bs-border-color: var(--border-subtle);
  --bs-border-color-translucent: var(--border-subtle);
}

/* ==========================================================================
   2. ESTILOS DE BASE E TIPOGRAFIA HARMONIZADA (CLEAN & ELEGANT)
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary) !important;
  color: var(--text-main) !important;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--prism-blue);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--prism-blue-hover);
}

/* Hierarquia e Proporção Áurea de Títulos */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
}

h1, .h1 {
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.display-4 {
  font-size: clamp(2.4rem, 4.5vw, 3.65rem) !important;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15 !important;
}

.display-6 {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem) !important;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25 !important;
}

h2, .h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3, .h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h4, .h4 {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h5, .h5 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h6, .h6 {
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0;
}

p, .lead {
  font-family: var(--font-sans);
}

.lead {
  font-size: 1.15rem !important;
  line-height: 1.65;
  font-weight: 400;
}

.small, small {
  font-size: 0.875rem;
  line-height: 1.5;
}

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

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

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

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

/* Fontes exegéticas específicas com calibração de proporção óptica */
.font-hebrew {
  font-family: var(--font-hebrew);
  font-size: 1.15em;
  line-height: 1.7;
  direction: rtl;
  unicode-bidi: bidi-override;
}

.font-greek {
  font-family: var(--font-greek);
  font-size: 1.1em;
  line-height: 1.6;
}

/* ==========================================================================
   3. BOTÕES EM PÍLULA (PILL STYLE) - CLEAN & ELEGANT
   ========================================================================== */
.btn-pill {
  border-radius: var(--pill-radius) !important;
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.015em;
  font-size: 0.95rem;
}

.btn-pill:hover {
  transform: translateY(-2px);
}

.btn-pill:active {
  transform: translateY(0);
}

/* Botão Prism Blue */
.btn-prism {
  border-radius: var(--pill-radius) !important;
  background: linear-gradient(135deg, #2d82f0 0%, #1b6cd4 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(45, 130, 240, 0.28);
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-prism:hover {
  background: linear-gradient(135deg, #3b8dfa 0%, #2076e4 100%);
  box-shadow: 0 8px 24px rgba(45, 130, 240, 0.45);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-prism:active {
  transform: translateY(0);
}

/* Botão Gold (Acento Premium) */
.btn-gold {
  border-radius: var(--pill-radius) !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #070e1a !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
  font-weight: 700;
  padding: 0.7rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 8px 26px rgba(245, 158, 11, 0.48);
  color: #070e1a !important;
  transform: translateY(-2px);
}

.btn-gold:active {
  transform: translateY(0);
}

/* Botões Outline */
.btn-outline-prism {
  border-radius: var(--pill-radius) !important;
  background: rgba(45, 130, 240, 0.04);
  color: var(--prism-blue) !important;
  border: 1.5px solid var(--prism-blue);
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.25s ease;
}

.btn-outline-prism:hover {
  background: var(--prism-blue);
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(45, 130, 240, 0.35);
  transform: translateY(-2px);
}

.btn-outline-gold {
  border-radius: var(--pill-radius) !important;
  background: rgba(245, 158, 11, 0.04);
  color: var(--accent-gold) !important;
  border: 1.5px solid var(--accent-gold);
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.25s ease;
}

.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: #070e1a !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
}

/* Botão Glass / Translúcido */
.btn-glass {
  border-radius: var(--pill-radius) !important;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main) !important;
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 500;
  padding: 0.55rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   4. TOP HEADER TRANSLÚCIDO (GLASSMORPHISM)
   ========================================================================== */
.header-glass,
.navbar-glass {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 14, 26, 0.88) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main) !important;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

.navbar-brand:hover {
  opacity: 0.92;
}

.navbar-nav .nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.925rem;
  padding: 0.5rem 0.95rem !important;
  border-radius: var(--pill-radius);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff !important;
  background: rgba(45, 130, 240, 0.08);
  box-shadow: inset 0 0 0 1px rgba(45, 130, 240, 0.18);
}

/* ==========================================================================
   5. CARDS E SUPERFÍCIES DO PROFESSIONAL PRISM - CLEAN & ELEGANT
   ========================================================================== */
.card-prism,
.surface-card {
  background: linear-gradient(180deg, #111d33 0%, #0c172a 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-main);
  overflow: hidden;
}

.card-prism:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 130, 240, 0.45) !important;
  box-shadow: 0 20px 42px -10px rgba(0, 0, 0, 0.65), 0 0 30px rgba(45, 130, 240, 0.16);
}

.surface-elevated {
  background-color: var(--surface-elevated) !important;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
}

/* Card com Acento Dourado (ex: Plano Mais Popular) */
.card-gold-highlight {
  background: linear-gradient(180deg, #14233e 0%, #0d182b 100%) !important;
  border: 2px solid var(--accent-gold) !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.55), 0 0 35px rgba(245, 158, 11, 0.22);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-gold-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px -10px rgba(0, 0, 0, 0.7), 0 0 45px rgba(245, 158, 11, 0.3);
}

.card-gold-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
}

/* Card de Dicas Bíblicas Exegéticas com Acento Dourado */
.card-dica-gold {
  background: linear-gradient(180deg, #101c31 0%, #08111f 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.6), 0 0 24px rgba(245, 158, 11, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-dica-gold:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.65) !important;
  box-shadow: 0 20px 44px -8px rgba(0, 0, 0, 0.75), 0 0 35px rgba(245, 158, 11, 0.22);
}

/* Glass Card */
.card-glass {
  background: rgba(17, 29, 51, 0.65) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
}

/* ==========================================================================
   6. BADGES E INDICADORES
   ========================================================================== */
.badge-prism {
  background: var(--prism-blue-subtle) !important;
  color: var(--prism-blue) !important;
  border: 1px solid var(--border-prism);
  border-radius: var(--pill-radius);
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-gold {
  background: var(--accent-gold-subtle) !important;
  color: var(--accent-gold) !important;
  border: 1px solid var(--border-gold);
  border-radius: var(--pill-radius);
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   7. FORMULÁRIOS, INPUTS E CONTROLES
   ========================================================================== */
.form-control,
.form-select {
  background-color: var(--surface-elevated) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  background-color: var(--surface-elevated) !important;
  border-color: var(--prism-blue) !important;
  color: var(--text-main) !important;
  box-shadow: 0 0 0 0.25rem var(--prism-blue-subtle) !important;
  outline: none;
}

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

.form-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   8. TABELAS ADMINISTRATIVAS
   ========================================================================== */
.table-prism {
  color: var(--text-main) !important;
  border-color: var(--border-subtle) !important;
  vertical-align: middle;
}

.table-prism th {
  background-color: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle) !important;
  padding: 0.85rem 1rem;
}

.table-prism td {
  background-color: transparent !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  padding: 0.85rem 1rem;
  color: var(--text-main);
}

.table-prism tbody tr:hover td {
  background-color: rgba(45, 130, 240, 0.04) !important;
}

/* ==========================================================================
   9. SIDEBAR ADMINISTRATIVA E LAYOUT ADMIN
   ========================================================================== */
.admin-wrapper {
  display: flex;
  min-height: calc(100vh - 65px);
}

.admin-sidebar {
  width: 270px;
  background-color: #0b1f3a !important;
  border-right: 1px solid var(--border-subtle);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}

.admin-nav-item {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.admin-nav-item:hover {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.05);
}

.admin-nav-item.active {
  color: #ffffff !important;
  background-color: var(--prism-blue) !important;
  font-weight: 600;
  box-shadow: 0 4px 12px var(--prism-blue-subtle);
}

.admin-nav-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 1rem 1rem 0.35rem 1rem;
}

.admin-content {
  flex: 1;
  background-color: var(--bg-primary);
  padding: 2rem;
  overflow-y: auto;
}

/* ==========================================================================
   10. CARDS DE KPI (PAINEL ADMINISTRATIVO)
   ========================================================================== */
.kpi-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-prism);
}

.kpi-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.kpi-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.kpi-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--prism-blue-subtle);
  color: var(--prism-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.kpi-icon-wrapper.gold {
  background: var(--accent-gold-subtle);
  color: var(--accent-gold);
}

/* ==========================================================================
   ÍCONES E WRAPPERS DE RECURSOS E EQUIPE (REFINAMENTO VISUAL ELEGANTE)
   ========================================================================== */
.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45, 130, 240, 0.16) 0%, rgba(26, 86, 160, 0.08) 100%);
  border: 1px solid rgba(45, 130, 240, 0.28);
  color: var(--prism-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 4px 16px rgba(45, 130, 240, 0.12);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-icon-wrapper svg {
  width: 26px;
  height: 26px;
  display: block;
}

.feature-icon-wrapper i,
.feature-icon-wrapper .bi {
  font-size: 1.55rem;
  width: 1.55rem;
  height: 1.55rem;
}

.feature-icon-wrapper.gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(180, 115, 8, 0.08) 100%);
  border-color: rgba(245, 158, 11, 0.28);
  color: var(--accent-gold);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12);
}

.card-prism:hover .feature-icon-wrapper {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(45, 130, 240, 0.24);
  border-color: rgba(45, 130, 240, 0.5);
}

.card-prism:hover .feature-icon-wrapper.gold {
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.24);
  border-color: rgba(245, 158, 11, 0.5);
}

/* Moldura e Ícones de Equipe */
.team-avatar-frame {
  position: relative;
  display: inline-block;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(45, 130, 240, 0.35) 0%, rgba(245, 158, 11, 0.2) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.team-avatar-frame img {
  display: block;
  border-radius: 50%;
  background: var(--surface-card);
}

.team-avatar-frame .avatar-placeholder {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111d33 0%, #070e1a 100%);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-prism:hover .team-avatar-frame {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(45, 130, 240, 0.22);
}

.team-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(45, 130, 240, 0.08);
  border: 1px solid rgba(45, 130, 240, 0.2);
  color: var(--prism-blue);
}

.team-role-pill.gold {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.22);
  color: var(--accent-gold);
}

.team-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.team-social-link.linkedin {
  color: #0A66C2;
}

.team-social-link.linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 102, 194, 0.4);
}

.team-social-link.instagram {
  color: #E4405F;
}

.team-social-link.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #E4405F;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(228, 64, 95, 0.4);
}

.team-social-link.bio {
  color: #2d82f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0;
  outline: none;
  cursor: pointer;
}

.team-social-link.bio:hover,
.team-social-link.bio:focus {
  background: rgba(45, 130, 240, 0.2);
  border-color: #2d82f0;
  color: #60a5fa !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 130, 240, 0.4);
}

.team-social-link.bio i,
.team-social-link.bio svg {
  transition: transform 0.2s ease;
}

.team-social-link.bio:hover svg,
.team-social-link.bio:focus svg {
  transform: scale(1.15);
}

.team-social-link svg {
  transition: transform 0.2s ease;
}

.team-social-link:hover svg {
  transform: scale(1.12);
}

/* ==========================================================================
   11. TOASTS, ALERTAS E MENSAGENS FLASH
   ========================================================================== */
.toast-prism {
  background: var(--surface-elevated) !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-prism) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

.alert-prism-danger {
  background-color: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: var(--radius-sm);
}

.alert-prism-success {
  background-color: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  border-radius: var(--radius-sm);
}

.alert-prism-warning {
  background-color: var(--accent-gold-subtle);
  border: 1px solid var(--border-gold);
  color: #fde68a;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   12. RODAPÉ INSTITUCIONAL (FOOTER)
   ========================================================================== */
.footer-corporate {
  background-color: #050a13;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: auto;
}

.footer-corporate a {
  color: var(--text-muted);
}

.footer-corporate a:hover {
  color: var(--prism-blue);
}

.hover-prism {
  transition: color 0.2s ease;
}

.hover-prism:hover {
  color: var(--prism-blue) !important;
}

/* ==========================================================================
   13. CANAIS DIGITAIS E REDES SOCIAIS OFICIAIS (CORES E ÍCONES PADRÕES)
   ========================================================================== */
.text-whatsapp { color: #25D366 !important; }
.text-instagram { color: #E4405F !important; }
.text-youtube { color: #FF0000 !important; }
.text-facebook { color: #1877F2 !important; }
.text-linkedin { color: #0A66C2 !important; }

/* Botões Circulares Padrões de Redes Sociais */
.btn-social {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.btn-social svg {
  transition: transform 0.2s ease;
}

.btn-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-social:hover svg {
  transform: scale(1.1);
}

.btn-social.social-whatsapp:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25D366;
  color: #25D366 !important;
}

.btn-social.social-instagram:hover {
  background: rgba(228, 64, 95, 0.15);
  border-color: #E4405F;
  color: #E4405F !important;
}

.btn-social.social-youtube:hover {
  background: rgba(255, 0, 0, 0.15);
  border-color: #FF0000;
  color: #FF0000 !important;
}

.btn-social.social-facebook:hover {
  background: rgba(24, 119, 242, 0.15);
  border-color: #1877F2;
  color: #1877F2 !important;
}

/* Faixa Superior (Top Bar) no Topo do Website - Clean & Elegant */
.topbar-header {
  background: rgba(5, 11, 22, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0;
  font-size: 0.8125rem;
  color: #94a3b8;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  z-index: 1031;
}

.topbar-header a {
  color: #94a3b8;
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}

.topbar-header a:hover {
  color: #ffffff;
}

/* ==========================================================================
   11. POPOVER FLUTUANTE DE ENTRADA (PROMOÇÕES E DICAS) - MODERN WEB GUIDANCE
   ========================================================================== */
dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(4, 9, 18, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: backdrop-filter 0.3s ease, background 0.3s ease;
}

.teoteca-popover-dialog {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, #0d1e38 0%, #070e1a 100%);
  color: var(--text-main);
  padding: 0;
  box-shadow: 0 30px 65px -15px rgba(0, 0, 0, 0.85), 0 0 40px rgba(45, 130, 240, 0.2);
  overflow: hidden;
  max-width: 540px;
  width: 92%;
  z-index: 1050;
  animation: popoverFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.teoteca-popover-dialog.popover-center {
  margin: auto;
}

.teoteca-popover-dialog.popover-bottom-right {
  position: fixed;
  bottom: 24px;
  right: 24px;
  margin: 0;
  max-width: 420px;
}

.teoteca-popover-dialog.popover-bottom-right::backdrop {
  background: rgba(4, 9, 18, 0.2);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

@keyframes popoverFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popover-dialog-content {
  position: relative;
  display: flex;
  flex-direction: column;
}

.popover-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.popover-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #2d82f0 0%, #38bdf8 50%, #f59e0b 100%);
  transform-origin: left center;
  transition: width 0.1s linear;
}

.popover-btn-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem;
  border-radius: 50%;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.popover-btn-close:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.08);
}

.popover-banner-wrapper {
  width: 100%;
  max-height: 210px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  position: relative;
}

.popover-banner-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35px;
  background: linear-gradient(180deg, transparent, rgba(13, 30, 56, 0.85));
  pointer-events: none;
}

.popover-banner-img {
  width: 100%;
  height: 100%;
  max-height: 210px;
  object-fit: cover;
  display: block;
}

.popover-body-wrapper {
  padding: 1.85rem;
}

.popover-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.popover-text-content {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.popover-text-content p:last-child {
  margin-bottom: 0;
}

.popover-timer-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-weight: 500;
}

/* ==========================================================================
   12. POPOVER BOOTSTRAP PERSONALIZADO (PROFESSIONAL PRISM - MINI-BIO)
   ========================================================================== */
.popover.popover-prism {
  --bs-popover-bg: #111d33;
  --bs-popover-border-color: rgba(45, 130, 240, 0.4);
  --bs-popover-header-bg: #0b1728;
  --bs-popover-header-color: #f59e0b;
  --bs-popover-body-color: #cbd5e1;
  --bs-popover-arrow-border: rgba(45, 130, 240, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(45, 130, 240, 0.18);
  border-radius: 14px;
  max-width: 340px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1070;
}

.popover.popover-prism .popover-header {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.popover.popover-prism .popover-header::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
  flex-shrink: 0;
}

.popover.popover-prism .popover-body {
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 0.9rem 1rem;
  white-space: pre-line;
  word-break: break-word;
}
