:root {
  /* Brand Colors */
  --primary-blue: #1d4ed8;
  /* Deep Blue */
  --primary-dark: #1e3a8a;
  /* Darker Blue */
  --primary-light: #3b82f6;
  /* Bright Blue */

  /* Accents */
  --success-green: #10b981;
  /* Emerald */
  --accent-orange: #f59e0b;
  /* Amber */

  /* Neutrals */
  --dark: #0f172a;
  /* Slate 900 */
  --text-gray: #64748b;
  /* Slate 500 */
  --light-bg: #f8fafc;
  /* Slate 50 */
  --white: #ffffff;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  --gradient-glow: linear-gradient(45deg, #3b82f6, #8b5cf6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Glassmorphism Utility */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
/*      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);*/
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
/*      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);*/
}

/* === HEADER === */
.navbar {
  background-color: #0d0d0d;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.8rem;
  color: white !important;
  letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
  font-family: 'Roboto Condensed', sans-serif;
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.navbar-nav .nav-link:hover {
  color: white !important;
  background: rgba(255, 255, 255, 0.1);
}

/* === HERO SECTION === */
.hero-section {
  background: var(--dark);
  position: relative;
  padding: 8rem 0 6rem;
  overflow: hidden;
  /* min-height: 90vh; */
  display: flex;
  align-items: center;
}

.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--primary-blue);
  filter: blur(150px);
  opacity: 0.2;
  border-radius: 50%;
  z-index: 0;
}

.hero-bg-glow-1 {
  top: -100px;
  right: -100px;
}

.hero-bg-glow-2 {
  bottom: -100px;
  left: -100px;
  background: var(--accent-orange);
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  max-width: 700px;
}

/* Buttons */
.btn-primary-custom {
  background: var(--primary-blue);
  border: none;
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(29, 78, 216, 0.3), 0 2px 4px -1px rgba(29, 78, 216, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(29, 78, 216, 0.4);
  color: white;
}

.btn-outline-light-custom {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-left: 1rem;
}

.btn-outline-light-custom:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

/* === VISUALIZATIONS === */
.dashboard-preview {
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* === SOCIAL PROOF === */
.social-proof {
  background: var(--white);
  padding: 4rem 0;
  border-bottom: 1px solid var(--light-bg);
}

.clients-label {
  color: var(--text-gray);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

.clients-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.5;
}

.client-logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* === PROCESS === */
.process-section {
  padding: 8rem 0;
  background: var(--light-bg);
}

.section-label {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-card {
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.step-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--light-bg);
  position: absolute;
  top: -10px;
  right: 10px;
  line-height: 1;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-blue);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}

.process-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.process-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin: 0;
}

/* === SERVICES === */
.services-section {
  padding: 8rem 0;
  background: white;
}

.service-card {
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.service-visual {
  height: 220px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary-blue);
  position: relative;
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  color: var(--dark);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-gray);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.service-features i {
  color: var(--success-green);
}

/* === TESTIMONIALS === */
.testimonials-section {
  padding: 8rem 0;
  background: var(--light-bg);
}

.testimonial-card {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--dark);
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author-info h5 {
  margin: 0;
  font-size: 1rem;
  color: var(--dark);
}

.testimonial-author-info span {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* === CTA === */
.cta-section {
  padding: 7.8rem 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--primary-dark) 0%, var(--dark) 70%);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  color: white;
  font-size: 3.9rem;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.56rem;
  margin-bottom: 2.5rem;
}

/* === FOOTER === */
.footer {
  background-color: #0d0d0d;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Roboto Condensed', sans-serif;
}

.footer .container {
  padding-left: 5%;
  padding-right: 5%;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  display: block;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
}

.footer-links a i {
  width: 1.25em;
  text-align: center;
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);

  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-section {
    padding: 6rem 0;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 2rem;
  }

  .dashboard-preview {
    margin-top: 3rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .btn-primary-custom,
  .btn-outline-light-custom {
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0;
  }

  .btn-outline-light-custom {
    margin-left: 0;
  }

  #tela-sistema{display:none;}
}

/* === BREAD STACK EFFECT === */
.bread-stack-container {
  position: relative;
  width: 100%;
  height: 600px;
  /* Increased height for diagonal spread */
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.bread-slice {
  position: absolute;
  transition: all 0.5s ease-out;
  overflow: hidden;
}

/* Horizontal positions for 4 slices - 2 rows of 2 */
.slice-1 {
  z-index: 1;
  transform: translate(-100%, -60%) scale(0.85);
  filter: brightness(0.85);
}

.slice-2 {
  z-index: 2;
  transform: translate(40%, -50%) scale(0.9);
  filter: brightness(0.9);
}

.slice-3 {
  z-index: 3;
  transform: translate(-10%, 40%) scale(0.95);
  filter: brightness(0.95);
}

.slice-4 {
  z-index: 4;
  transform: translate(40%, 50%) scale(1);
}

/* Hover effect - expand slightly more */
.bread-stack-container:hover .slice-1 {
  transform: translate(-130%, -60%) scale(0.85);
  filter: brightness(1);
}

.bread-stack-container:hover .slice-2 {
  transform: translate(30%, -60%) scale(0.9);
}

.bread-stack-container:hover .slice-3 {
  transform: translate(-20%, 40%) scale(0.95);
}

.bread-stack-container:hover .slice-4 {
  transform: translate(30%, 40%) scale(1.05);
}

/* Individual Slice Hover - Expand to 2x (approx) and center */
.bread-slice:hover {
  z-index: 100 !important;
  transform: translate(0, 0) scale(1.9) !important;
  filter: brightness(1.1);
  cursor: pointer;
}

.bread-slice img {
  display: block;
}

/* === MODAL PREMIUM STYLING === */
.modal-dialog {
  max-width: 1140px;
}

.modal-content {
  border: none !important;
  border-radius: 24px !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
  background: var(--gradient-primary) !important;
  border-bottom: none !important;
  padding: 1.25rem 1.5rem !important;
}

.modal-header .modal-title {
  color: white !important;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.modal-header .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.modal-body {
  padding: 1.5rem !important;
  background: white;
}

.modal-body>p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 1.25rem !important;
}

/* Premium Form Inputs */
.modal-body .form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.2px;
}

.modal-body .form-control,
.modal-body .form-select {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
  background: white;
  transform: translateY(-2px);
}

.modal-body textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* Input Icons Enhancement */
.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  pointer-events: none;
}

.input-with-icon .form-control {
  padding-left: 2.75rem;
}

/* Modal Footer */
.modal-footer {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  padding: 1rem 1.5rem !important;
}

.modal-footer .btn-secondary {
  background: white;
  border: 2px solid #e2e8f0;
  color: var(--dark);
  padding: 0.5rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modal-footer .btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--text-gray);
  transform: translateY(-2px);
}

.modal-footer .btn-primary-custom {
  padding: 0.5rem 1.5rem;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

/* Modal Animation */
.modal.fade .modal-dialog {
  transform: scale(0.9) translateY(-50px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Form Row Spacing */
.modal-body .row {
  margin-bottom: 0.5rem;
}

/* Premium Badge in Modal */
.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* === HERO METRICS === */
.metric-label-small {
  font-size: 0.75rem;
}

.metric-description {
  line-height: 1.2;
  display: block;
  margin-top: 4px;
}

/* === DASHBOARD CARD ELEMENTS === */
.card-bg-transparent-light {
  background: rgba(255, 255, 255, 0.05);
}

.card-bg-transparent-lighter {
  background: rgba(255, 255, 255, 0.03);
}

.status-dot {
  width: 8px;
  height: 8px;
}

.border-dashed-connector {
  z-index: -1;
}

/* === SECTION UTILITIES === */
.contrate-section {
  padding: 8rem 0;
  background: var(--light-bg);
}

/* === MODAL ABOUT STYLING === */
.modal-about-content {
  border-radius: 12px;
  overflow: hidden;
}

.modal-about-text {
  color: var(--dark);
  font-family: 'Roboto Condensed', sans-serif;
  text-align: justify;
}

/* === TOAST NOTIFICATION === */
.toast-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  z-index: 10000;
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.toast-notification.success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(5, 150, 105, 0.95) 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.toast-notification.error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.95) 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.toast-notification .toast-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
}

.toast-notification .toast-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.toast-notification .toast-message {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.toast-notification .toast-close-btn {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  text-align: center;
}

.toast-notification .toast-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Toast Overlay */
.toast-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.toast-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* === LOADING SPINNER === */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.loading-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.loading-spinner-container {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem 4rem;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.loading-overlay.show .loading-spinner-container {
  transform: scale(1);
}

.loading-spinner {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  border: 4px solid rgba(29, 78, 216, 0.1);
  border-top: 4px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  color: var(--dark);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.loading-subtext {
  color: var(--text-gray);
  font-size: 0.9rem;
}
