/* RENOVACOB - Pure Navy, White & Light Blue Design System (No Green & No Calculator) */

@import url('https://fonts.cdnfonts.com/css/lufga');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400&display=swap');

:root {
  --primary: #00327d;
  --primary-hover: #002258;
  --primary-container: #0052cc;
  --secondary: #475569;
  --accent-blue: #3b82f6;
  --success: #0052cc;
  --success-bg: #e8f0fe;
  --warning: #d97706;
  --error: #dc2626;
  --bg-surface: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;
}

/* Base Font Scale 90% (Compact 90% Zoom View) */
html {
  font-size: 90%;
  scroll-behavior: smooth;
}

/* Global Font Override: Lufga (Light 300 & Regular 400 ONLY) */
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, a, strong, b, th, td, label, legend {
  font-family: 'Lufga', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 400 !important;
}

div:not(.material-symbols-outlined), span:not(.material-symbols-outlined), li:not(.material-symbols-outlined) {
  font-family: 'Lufga', 'Plus Jakarta Sans', sans-serif;
}

/* Preserve Material Symbols Outlined Icons */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal !important;
  font-style: normal !important;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

.font-light, .text-light, .light-weight {
  font-weight: 300 !important;
}

.font-normal, .text-regular, .regular-weight {
  font-weight: 400 !important;
}

/* Remove bolding globally */
b, strong, .font-bold, .font-semibold, .font-extrabold, .font-black, .font-medium {
  font-weight: 400 !important;
}

body {
  background-color: var(--bg-surface);
  color: var(--text-main);
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

/* Frosted Glass Effect (Efeito Vidro Embaçado) */
.glass-box, .glass-panel {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 15px 35px -10px rgba(0, 50, 125, 0.07) !important;
}

/* Premium Dark Frosted Glass for Hero Card */
.glass-dark-box {
  background: rgba(15, 24, 44, 0.85) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4) !important;
}

/* Scroll Reveal Animations (Efeito de Rolagem) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.reveal-left {
  transform: translateX(-30px);
}

.reveal.reveal-right {
  transform: translateX(30px);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* Light Mesh Glow in Navy & Light Blue */
.mesh-glow {
  background: radial-gradient(circle at 50% 20%, rgba(0, 82, 204, 0.12) 0%, rgba(59, 130, 246, 0.04) 50%, transparent 80%);
}

/* Glowing Border Effect */
.glow-border {
  position: relative;
}
.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.3), transparent 60%, rgba(59, 130, 246, 0.3));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.glow-border:hover::after {
  opacity: 1;
}

/* Hover Elevation */
.hover-elevate {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-elevate:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 50, 125, 0.12) !important;
}

/* Pulse Animation (Blue Accent) */
@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 82, 204, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 82, 204, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 82, 204, 0); }
}

.pulse-blue {
  animation: pulse-dot 2.5s infinite;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.12);
  font-size: 13px;
  font-weight: 400;
  border-left: 4px solid #0052cc;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 400px;
}
.toast.success { border-left-color: #0052cc; }
.toast.error { border-left-color: #ef4444; }
.toast.info { border-left-color: #3b82f6; }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.9); }
}

/* Accordion Transition */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}
.accordion-content.active {
  max-height: 800px;
  transition: max-height 0.5s ease-in-out;
}
