/* 
  Titanium Consultoria | Unified Modern Emerald Design System v5.0
  Standalone Architecture
*/

:root {
  --primary: #3a6f5d;
  --primary-rgb: 58, 111, 93;
  --primary-dark: #2c5446;
  --primary-light: #4c8a75;
  --accent: #2ecc71;
  --bg-main: #f8faf9;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-light-soft: #f4f7f6;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(58, 111, 93, 0.12);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bootstrap Overrides (No more Blue) */
.bg-primary { background-color: var(--primary) !important; }
.text-primary { color: var(--primary) !important; }
.btn-primary { background-color: var(--primary) !important; border-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.badge.bg-primary { background-color: var(--primary) !important; }

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

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

h1, h2, h3, h4, h5, h6, .fw-800 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.fw-700 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
.fw-600 { font-weight: 600; }
.fw-500 { font-weight: 500; }

/* --- NAVIGATION --- */
.navbar {
  background: rgba(58, 111, 93, 0.92) !important;
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-weight: 600;
  padding: 0.6rem 1.2rem !important;
  border-radius: 50px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

/* --- PREMIUM UI ELEMENTS --- */
.btn-premium {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(58, 111, 93, 0.25);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-premium:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(58, 111, 93, 0.35);
}

.btn-premium-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 12px 30px;
  border-radius: 100px;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-premium-outline:hover {
  background: white;
  color: var(--primary);
  border-color: white;
  transform: translateY(-3px);
}

/* --- LANDING SPECIFIC --- */
.hero-section {
  min-height: 90vh;
  background-size: cover;
  background-position: center;
}

.hero-glass-card { 
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 24px;
}

.bento-item {
  background: white;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-horizontal { grid-row: span 1; }

.bento-image-wrapper {
  background: #f1f5f9;
  overflow: hidden;
  position: relative;
}

.leading-relaxed { line-height: 1.7; }

.premium-segment-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.premium-segment-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* --- BOX / LIST ELEMENTS --- */
.cartao-carta {
  background: white;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.cartao-carta:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.label-destaque {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.8;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  display: block;
}

.credito-valor {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.valor-destaque {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

/* --- UTILITIES --- */
.py-10 { padding-top: 100px; padding-bottom: 100px; }
.mt-10 { margin-top: 100px; }

.glass-effect {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 65px;
  height: 65px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
  color: white;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 15px; }
  .bento-large { grid-column: span 1; grid-row: span 1; }
  .admin-sidebar { display: none; }
  .hero-section { min-height: 70vh; }
  .py-10 { padding: 60px 0; }
  .mt-10 { margin-top: 60px; }
}

@media (max-width: 576px) {
  .hero-glass-card { padding: 2rem !important; }
}
