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

:root {
  /* Brand Colors */
  --color-primary: #1f5659;
  --color-secondary: #42bd8e;
  --color-accent: #d9eeeb;
  --color-cta: #42bd8e;
  --color-cta-hover: #1F5659;

  /* Neutral Colors */
  --color-text-main: #1F2937;
  --color-text-light: #6B7280;
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F9FAFB;
  --color-border: #E5E7EB;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  --spacing-section: 5rem;

  /* Typography */
  --font-main: 'Outfit', system-ui, -apple-system, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-hero: 3.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: var(--font-main);
  color: var(--color-text-main);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-primary);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-sm);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-sm {
  gap: var(--spacing-sm);
}

.gap-md {
  gap: var(--spacing-md);
}

.gap-lg {
  gap: var(--spacing-lg);
}

.gap-xl {
  gap: 4rem;
}

.w-full {
  width: 100%;
}

.section {
  padding: var(--spacing-section) 0;
  scroll-margin-top: 100px;
}

.section-title {
  font-size: 1.875rem;
  /* Matches h2 for better consistency */
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--color-text-light);
  font-size: 1.125rem;
  margin: 0 auto;
  max-width: 800px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-cta);
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.p-xl {
  padding: 3rem 2.5rem;
}

.p-lg {
  padding: 2rem 1.5rem;
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: 32px;
}

.bg-white {
  background-color: white;
}

.bg-soft {
  background-color: #F8FAFC;
}

.box-shadow-sm {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.border-light {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.bg-light {
  background: var(--color-bg-light);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-lg {
  font-size: var(--text-lg);
}

.text-xl {
  font-size: var(--text-xl);
}

.text-base {
  font-size: var(--text-base);
}

.font-bold {
  font-weight: 700;
}

.text-light {
  color: var(--color-text-light);
}

.text-primary {
  color: var(--color-primary);
}

.text-cta {
  color: var(--color-cta);
}

.border-top-light {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.grid {
  display: grid;
}

.col-2 {
  grid-template-columns: 1fr 1fr;
}

.pt-md {
  padding-top: var(--spacing-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  line-height: 1.2;
  font-size: var(--text-base);
}

.btn-primary {
  background-color: var(--color-secondary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
}

.btn-outline {
  background-color: var(--color-primary);
  color: white;
  border: none;
  box-shadow: var(--shadow-md);
}

.btn-outline:hover {
  background-color: var(--color-secondary);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-system {
  background-color: var(--color-primary);
  color: white;
  border: none;
}

.btn-system:hover {
  background-color: var(--color-secondary);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
}

.pt-header {
  padding-top: 10rem;
}


/* Animation Delays */
.delay-100 {
  transition-delay: 0.1s;
  animation-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
  animation-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
  animation-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
  animation-delay: 0.4s;
}

.delay-500 {
  transition-delay: 0.5s;
  animation-delay: 0.5s;
}

/* Header */
.header {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  padding: 0.2rem 0;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  left: 0;
  right: 0;
  border-radius: 50px;
  top: 1rem;
  position: fixed;
}

.header.scrolled .logo img {
  transform: scale(0.85);
  transition: transform 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
  line-height: 1;
}

.logo-icon {
  background-color: var(--color-secondary);
  color: white;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-main);
  line-height: 1;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav .btn {
  border-radius: 50px !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-right: 1.5rem;
}

.close-menu-btn {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 1rem;
  overflow: hidden;
  /* Ensure background extends to cover header area if needed, though absolute header sits on top */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f9fafb;
  z-index: -1;
}

.hero-container {
  display: grid;
  grid-template-areas: "slide";
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 3rem 3rem 8rem 3rem;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.hero-slide {
  grid-area: slide;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  z-index: 1;
}

.hero-image-wrapper {
  display: none;
  /* Hidden on mobile by default or stacked? Let's hide for now as "space next to text" implies desktop layout focus, but usually we want it responsive. Let's make it display: block but width 100% on mobile if we want. But for "white space next to text", let's focus on desktop first. */
  width: 100%;
  height: 300px;
  background-color: #e5e7eb;
  /* Fallback color */
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  position: relative;
  margin-top: 2rem;
}

.hero-img-1 {
  background-image: url('assets/hero-slides/slide1.jpg');
}

.hero-img-2 {
  background-image: url('assets/hero-slides/slide2.jpg');
}

.hero-img-3 {
  background-image: url('assets/hero-slides/slide3.jpg');
}

.hero-img-4 {
  background-image: url('assets/hero-slides/slide4.jpg');
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 10;
  /* Blocks right click on image */
}

@media (min-width: 768px) {
  .hero-slide {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
  }

  .hero-container {
    padding-bottom: 3rem;
  }

  .hero-content {
    max-width: 45%;
  }

  .hero-image-wrapper {
    display: block;
    width: 50%;
    height: 400px;
    /* Fixed height for desktop */
    margin-top: 0;
  }
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--color-primary);
}

.hero-content {
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero-content {
    max-width: 50%;
  }
}

.hero-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  min-height: 5.5rem;
  /* Ensures consistent alignment */
}

.hero-title .highlight-text {
  color: var(--color-secondary);
}

.hero-text {
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 3rem;
  max-width: 700px;
  font-weight: 500;
  min-height: 5rem;
  /* Ensures consistent alignment */
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

.hero-image-placeholder {
  width: 100%;
  height: 400px;
  background-color: #CBD5E1;
  background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.floating-card {
  position: absolute;
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 3s ease-in-out infinite;
}

.card-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 20%;
  left: -20px;
  animation-delay: 1.5s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

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

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

/* Authority Strip */
.authority-strip {
  background-color: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.authority-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.authority-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.authority-icon {
  font-size: 1.5rem;
}

.authority-divider {
  width: 1px;
  height: 24px;
  background-color: var(--color-border);
}

/* Services */
.services-section {
  background-color: var(--color-bg-white);
  padding-top: 3rem;
}

.services-section h2 {
  font-size: 1.9rem;
}

.services-section .text-center.mb-lg {
  margin-bottom: 2rem;
}

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

.service-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  border-color: rgba(66, 189, 142, 0.3);
}

.service-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(66, 189, 142, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: var(--color-secondary);
  color: white;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-link {
  color: var(--color-secondary);
  transform: translateX(5px);
}

/* Differentiators */
.diff-section {
  background-color: var(--color-bg-light);
}

.diff-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.diff-content h2 {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.diff-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  opacity: 0;
  /* Hidden initially for scroll animation */
  transform: translateY(20px);
}

.diff-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.diff-card:hover {
  border-color: var(--color-secondary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.diff-icon-wrapper {
  flex-shrink: 0;
}

.check-icon {
  background-color: var(--color-secondary);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(66, 189, 142, 0.3);
}

.diff-content-card strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.diff-content-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* Scroll Animation Classes */
/* Scroll Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.rounded-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-section {
  background-color: var(--color-primary);
  color: white;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2,
.contact-form h3 {
  color: var(--color-primary);
}

.contact-info h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.1);
}

/* Network Map Section */
.network-section {
  padding: 4rem 2rem;
  background-color: white;
}

.network-header {
  margin-bottom: 3rem;
}

.network-header h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.network-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.network-desc-card {
  flex: 1;
  min-width: 250px;
  background-color: var(--color-primary);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  line-height: 1.6;
  box-shadow: var(--shadow-lg);
}

.map-container {
  flex: 2;
  min-width: 300px;
  position: relative;
  display: flex;
  justify-content: center;
}

#brazil-map {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.map-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
  white-space: nowrap;
}

.network-features {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.net-feature-card {
  background-color: var(--color-bg-light);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.net-icon {
  font-size: 1.5rem;
  color: var(--color-secondary);
}

.net-text {
  font-size: 0.9rem;
  color: var(--color-text-main);
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  background-color: #f0fdf9;
  /* Light teal background to distinguish from footer */
  color: var(--color-text-main);
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

/* Footer */
.footer {
  background-color: #ffffff;
  color: var(--color-text-main);
  padding: 4rem 2rem 2rem;
  text-align: left;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  align-items: start;
}

.footer-address,
.footer-phone {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer-logo {
  height: 60px;
  margin-bottom: 1.5rem;
  /* Removed invert filter for white background */
}

/* Solution Icons */
.solution-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--color-text-light);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-links li {
  color: var(--color-text-light);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
  text-decoration: none;
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #01b16d;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: #20BA5C;
}

/* Carousel */
.carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1rem 0;
}

.carousel-track {
  display: flex;
  width: calc(200px * 10);
  /* Adjust based on item width * count */
  animation: scroll 20s linear infinite;
}

.carousel-item {
  width: 200px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item img {
  max-width: 100%;
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.8s ease;
  /* Slower transition for longer effect */
}

.carousel-item img:hover,
.carousel-item.active img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-200px * 5));
  }

  /* Move by half the track width */
}

/* Content Pages Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

@media (max-width: 968px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-image {
    margin-bottom: 2rem;
  }
}

/* Responsive Adjustments */
@media (max-width: 968px) {

  .hero-container,
  .diff-container,
  .contact-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrapper {
    margin-top: 2rem;
  }

  .diff-image {
    margin-top: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1002;
    transition: opacity 0.2s;
  }

  body.menu-open .mobile-menu-btn {
    opacity: 0;
    pointer-events: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    /* Fallback */
    height: 100dvh;
    /* Dynamic viewport height */
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    flex-direction: column;
    padding: 6rem 1.5rem 3rem;
    /* Increased top padding to avoid header overlap */
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    transition: right 0.3s ease-in-out;
    z-index: 9999;
    gap: 0;
    /* Remove gap, control via padding/margin */
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  /* Remove button styles in mobile menu */
  .nav .btn-primary.btn-sm,
  .nav .btn-system.btn-sm {
    background: none;
    border: none;
    color: var(--color-text-main);
    padding: 0;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: none;
    width: auto;
    justify-content: flex-start;
    margin-top: 0;
  }

  .nav .btn-system.btn-sm {
    margin-top: 1rem;
    /* Space between buttons */
  }

  .nav .btn-primary.btn-sm:hover,
  .nav .btn-system.btn-sm:hover {
    color: var(--color-secondary);
    background: none;
    transform: none;
  }

  .nav-link,
  .nav .btn {
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1.1rem !important;
  }

  .dropdown-menu a {
    padding: 0.8rem 1rem !important;
    font-size: 1rem !important;
    opacity: 0.8;
  }

  .close-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
  }

  /* Remove dropdown on mobile */
  .dropdown-toggle::after {
    display: none !important;
  }

  .dropdown-menu {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    padding-left: 1rem !important;
    opacity: 1 !important;
    transform: none !important;
    background: transparent !important;
    margin-top: 0.5rem !important;
  }

  .dropdown {
    height: auto !important;
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
  }

  .authority-divider {
    display: none;
  }

  .authority-container {
    gap: 1.5rem;
    flex-direction: column;
  }

  .contact-info {
    margin-bottom: 0;
    padding: 0 1.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
    gap: 1rem;
  }

  .service-icon {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
  height: 100%;
  /* Ensure full height for hover area */
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 100;
  top: 100%;
  left: 0;
  margin-top: 0;
  /* Removed margin to fix gap */
  padding-top: 0.5rem;
  /* Add padding to compensate if needed, or just rely on direct adjacency */
  border: 1px solid var(--color-border);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  /* Prevent clicking when hidden */
}

/* Bridge the gap for hover */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  /* Extend up to meet the nav link */
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
}

/* Show dropdown on hover for desktop */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .dropdown-menu::before {
    display: none;
  }
}

.dropdown-menu a {
  color: var(--color-text-main);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  transition: background-color 0.2s;
}

.dropdown-menu a:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

/* Mobile Dropdown */
@media (max-width: 768px) {
  .dropdown {
    height: auto !important;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-top: 0;
    background-color: transparent;
    /* Ensure blur shows through */
  }

  .dropdown.active .dropdown-menu {
    display: block;
    pointer-events: auto;
  }

  .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Ensure only one arrow and correct positioning */
  .dropdown-toggle::after {
    content: '▾';
    font-size: 1.2em;
    transition: transform 0.3s;
    margin-left: 0.5rem;
  }

  .dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

/* Contact Section */
.contact-section {
  background-color: #f0fdf9;
  /* Light teal background */
  padding: 4rem 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2,
.contact-form h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* Service Icons */
.service-icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon-img {
  transform: scale(1.1);
}

.contact-image {
  width: 100%;
  height: 250px;
  /* Adjusted height as requested */
  object-fit: cover;
  border-radius: 16px;
}

/* Dashboard Styles */
.dashboard-container {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  /* Reduced padding */
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* Reduced gap */
  animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-header {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
  /* Reduced padding */
}

.dashboard-title {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
  /* Slightly smaller */
}

.dashboard-date {
  font-size: 0.8rem;
  color: var(--color-text-light);
  background: var(--color-bg-light);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

/* Big Metrics Grid */
.big-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  /* Reduced gap */
}

.big-metric-card {
  background: var(--color-bg-light);
  padding: 1.25rem;
  /* Reduced padding */
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.big-metric-card:hover {
  transform: translateY(-5px);
  background: #f0fdf9;
  box-shadow: var(--shadow-md);
}

/* Hover effect line */
.big-metric-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}

.big-metric-card:hover::after {
  width: 100%;
}

.big-metric-value {
  font-size: 2.2rem;
  /* Slightly smaller */
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.big-metric-value.positive {
  color: var(--color-secondary);
}

.big-metric-value.negative {
  color: var(--color-primary);
}

.big-metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  /* Removed text-transform: uppercase */
  letter-spacing: normal;
}

.big-metric-sub {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.dashboard-footer-chart {
  margin-top: 0.25rem;
  border-top: 1px solid var(--color-border);
  padding-top: 0.5rem;
}

.chart-wrapper-small {
  position: relative;
  height: 100px;
  /* Reduced height */
  width: 100%;
}

@media (max-width: 480px) {
  .big-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .big-metric-value {
    font-size: 2rem;
  }
}

/* Service Items Grid */
.service-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-item-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-border);
}

.service-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-item-card .check-icon {
  color: var(--color-secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
  background-color: rgba(32, 186, 92, 0.1);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.service-item-card div {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

.service-item-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
  font-size: 1.05rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

  .container {
    padding: 0 1.5rem;
  }

  .hero-container,
  .contact-wrapper,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .diff-section {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }

  .diff-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 0;
    padding-bottom: 0;
  }

  .diff-grid {
    margin-top: 1rem;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero-container {
    padding: 2.5rem 1.5rem;
    width: 90%;
    margin: 1rem auto 0;
    min-height: auto;
    /* Removed fixed height */
  }

  .hero-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    justify-content: center;
  }

  .hero-title {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
    min-height: 3.5rem;
    /* Enough for 2 lines */
    display: block;
    /* Changed from flex to prevent column issues */
  }

  .hero-text {
    text-align: center;
    margin-bottom: 2rem;
    min-height: 6rem;
    display: block;
    /* Changed from flex to prevent column issues */
  }

  .hero-actions {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .hero-title,
  .page-hero-title {
    font-size: 2.1rem !important;
    /* Standard hero title size */
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Section titles are smaller than hero titles */
  h2,
  .section-title,
  .nr1-title,
  .contact-info h2,
  .services-section h2,
  .diff-content h2 {
    font-size: 1.55rem !important;
    /* Standardized section titles */
    text-align: center;
  }

  .bento-title,
  .sol-title {
    font-size: 1.4rem !important;
    text-align: center;
  }

  .bento-card,
  .solution-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .bento-label,
  .compliance-pill {
    display: inline-flex !important;
    width: fit-content !important;
    margin: 0 auto 1rem !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .sol-icon {
    display: flex !important;
    width: 64px !important;
    height: 64px !important;
    margin: 0 auto 1.5rem !important;
    justify-content: center !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  /* Center statistics inside cards */
  .bento-card .flex {
    justify-content: center !important;
    width: 100%;
  }

  .stat-value,
  .stat-label {
    text-align: center !important;
  }

  .section-desc,
  .nr1-text,
  .hero-text,
  .page-hero-desc {
    font-size: 1.05rem !important;
    text-align: center;
    max-width: 100% !important;
    line-height: 1.5 !important;
  }

  .bento-desc,
  .sol-text {
    font-size: 1rem !important;
    text-align: center;
    line-height: 1.5 !important;
  }

  .sol-list li {
    justify-content: center !important;
    text-align: center !important;
  }

  .authority-container {
    gap: 2rem;
    padding: 0 1rem;
    /* Prevent edge cutting */
  }

  .authority-divider {
    display: none;
    /* Hide dividers on mobile if they cause clutter */
  }

  .authority-item {
    width: 100%;
    justify-content: center;
  }

  .header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }

  .header.scrolled {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    top: 0;
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  }

  .header.scrolled .logo img {
    transform: none;
  }



  .mobile-menu-btn {
    display: block;
    /* Show hamburger */
  }

  .contact-section {
    padding-top: 4rem;
  }

  /* Fix for Contact Form Layout */
  .contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-form {
    width: 100%;
    margin-top: 0;
  }

  .contact-form h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
  }

  .contact-image {
    display: none;
  }

  .contact-animation {
    display: flex;
    height: 280px;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: -2rem;
    overflow: hidden;
  }

  .contact-animation .dashboard-viz-container {
    transform: scale(0.85);
    width: 380px;
    height: 300px;
    margin: 0;
    position: relative;
    left: auto;
    flex-shrink: 0;
  }

  /* Removed duplicate definitions - now handled in global section above */

  .content-text .mt-lg {
    display: flex;
    justify-content: center;
  }
}

/* Contact Animation - 3D Floating Emblem */
.contact-animation {
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  overflow: visible;
}

/* Dashboard Animation */
.dashboard-viz-container {
  width: 380px;
  /* Increased size */
  height: 300px;
  /* Increased size */
  position: relative;
  perspective: 1000px;
  margin: -60px auto 0;
  /* Moved up closer to text */
}

.dash-3d-scene {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(5deg);
  /* Static fixed perspective */
}

.dash-panel {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(31, 86, 89, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  backface-visibility: hidden;
  transition: all 0.3s ease;
}

/* Main Panel */
.main-panel {
  width: 280px;
  /* Increased from 200px */
  height: 190px;
  /* Increased from 140px */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow: hidden;
}

.dash-headers {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}

.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.6;
}

.dash-dot.red {
  background: #ff5f56;
}

.dash-dot.yellow {
  background: #ffbd2e;
}

.dash-dot.green {
  background: #27c93f;
}

.dash-body {
  flex: 1;
  display: flex;
  gap: 1rem;
}

.dash-chart-area {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dash-bar {
  width: 15%;
  background: var(--color-primary);
  border-radius: 2px 2px 0 0;
  animation: bar-grow 2s ease-in-out infinite alternate;
  opacity: 0.8;
}

.dash-bar.b1 {
  height: 40%;
  animation-delay: 0s;
}

.dash-bar.b2 {
  height: 70%;
  animation-delay: 0.2s;
}

.dash-bar.b3 {
  height: 50%;
  animation-delay: 0.4s;
  background: var(--color-secondary);
}

.dash-bar.b4 {
  height: 90%;
  animation-delay: 0.6s;
}

.dash-lines {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 5px;
}

.dash-line {
  height: 6px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}

.dash-line.half {
  width: 60%;
}

/* Floating Elements */
.float-card-1 {
  width: 80px;
  height: 70px;
  top: 30%;
  right: -10px;
  transform: translateZ(40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  gap: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  animation: float-slow 4s ease-in-out infinite;
}

.dash-icon-circle {
  width: 24px;
  height: 24px;
  background: var(--color-secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.dash-mini-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.dash-line-xs {
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  width: 80%;
}

.dash-badge {
  position: absolute;
  bottom: 40px;
  left: 20px;
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transform: translateZ(60px);
  box-shadow: 0 10px 20px rgba(31, 86, 89, 0.3);
  animation: float-reverse 5s ease-in-out infinite;
}

/* Animations */
@keyframes float-tilt {

  0%,
  100% {
    transform: rotateY(-15deg) rotateX(10deg);
  }

  50% {
    transform: rotateY(15deg) rotateX(-5deg);
  }
}

@keyframes bar-grow {
  0% {
    transform: scaleY(0.5);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

@keyframes float-slow {

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

  50% {
    transform: translateZ(40px) translateY(-10px);
  }
}

@keyframes float-reverse {

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

  50% {
    transform: translateZ(60px) translateY(10px);
  }
}

/* Gestão Ocupacional Styles */
.page-hero {
  padding: 8rem 0 4rem;
  background: radial-gradient(circle at top right, #f0fdf9 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.page-hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--color-primary);
  font-weight: 700;
}

.page-hero-desc {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 520px;
  line-height: 1.6;
}

.text-secondary {
  color: var(--color-secondary);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 4rem;
}

.ambient-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(66, 189, 142, 0.08) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  z-index: 0;
  pointer-events: none;
}

.mgmt-viz-container {
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.central-core {
  width: 140px;
  height: 140px;
  background: white;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 40px 80px rgba(31, 86, 89, 0.15);
  border: 2px solid var(--color-secondary);
  position: relative;
  z-index: 10;
  animation: corePulse 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.core-glow {
  position: absolute;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(66, 189, 142, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: coreGlowGrow 4s ease-in-out infinite;
}

@keyframes corePulse {

  0%,
  100% {
    transform: scale(1);
    border-color: var(--color-secondary);
  }

  50% {
    transform: scale(1.05);
    border-color: var(--color-primary);
  }
}

@keyframes coreGlowGrow {

  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes float-organic {
  0% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(4px, -6px);
  }

  66% {
    transform: translate(-3px, -3px);
  }

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

.floating-node {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.25rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(66, 189, 142, 0.15);
  transition: all 0.4s ease;
  width: 220px;
  opacity: 0;
  animation: nodePopIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.floating-node:hover {
  transform: translateY(-5px) scale(1.05) !important;
  border-color: var(--color-secondary);
  box-shadow: 0 30px 60px rgba(66, 189, 142, 0.15);
}

@keyframes nodePopIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.node-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.node-content h5 {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 700;
}

.node-content span {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.node-1 {
  top: 5%;
  right: 10%;
  animation-delay: 0.2s;
}

.node-2 {
  top: 15%;
  left: 0%;
  animation-delay: 0.4s;
}

.node-3 {
  bottom: 12%;
  right: 8%;
  animation-delay: 0.6s;
}

.node-4 {
  bottom: 5%;
  left: 5%;
  animation-delay: 0.8s;
}

/* Bento Grid */
.bento-section {
  padding: 4rem 0;
  background-color: #fff;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, min-content);
  gap: 2rem;
  margin-top: 2.5rem;
}

.bento-card {
  background: var(--color-bg-light);
  border-radius: 32px;
  padding: 1.5rem 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.bento-card:hover {
  transform: translateY(-10px);
  background: white;
  box-shadow: 0 40px 80px rgba(31, 86, 89, 0.08);
  border-color: rgba(66, 189, 142, 0.2);
}

.bento-lg {
  grid-column: span 8;
}

.bento-sm {
  grid-column: span 4;
}

.bento-label {
  display: inline-flex;
  padding: 6px 14px;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.bento-title {
  font-size: 1.5rem;
  /* Reduced from 1.75rem */
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.bento-desc {
  color: var(--color-text-light);
  line-height: 1.6;
}

.content-grid {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.content-text-label {
  color: var(--color-secondary);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* CTA Strip */
.cta-strip {
  background: var(--color-primary);
  padding: 4rem 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
  opacity: 0.1;
}

.cta-title {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 800;
}

.cta-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: white;
}

.btn-cta {
  background-color: var(--color-cta);
  color: white;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 700;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 16px;
  background-color: transparent;
}

/* Compliance Pill */
.compliance-pill {
  display: inline-block;
  background: #DEF7EC;
  color: #03543F;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

/* Solutions Section (Distinct from Services) */
.solutions-section {
  padding: 4rem 0;
  background: #F8FAFC;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.solution-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(31, 86, 89, 0.1);
  border-color: rgba(66, 189, 142, 0.3);
}

.sol-icon {
  width: 64px;
  height: 64px;
  background: rgba(66, 189, 142, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.sol-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-weight: 700;
}

.sol-text {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.sol-list {
  list-style: none;
  padding: 0;
  margin-top: auto;
}

.sol-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* NR-1 Section */
.nr1-special-section {
  padding: 4rem 0;
  background: #ffffff;
  position: relative;
}

.nr1-flex {
  display: flex;
  align-items: center;
  gap: 6rem;
}

.nr1-content {
  flex: 1;
}

.nr1-visualization {
  flex: 1;
  position: relative;
}

.nr1-title {
  font-size: 1.875rem;
  /* Standardized with other sections */
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  font-weight: 700;
}

.nr1-text {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Dashboard Mockup */
.dash-mockup {
  background: white;
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.dash-header>div:first-child {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-cta);
}

.dash-dot {
  width: 8px;
  height: 8px;
  background: var(--color-cta);
  border-radius: 50%;
  animation: blink 2s infinite;
}

.risk-item {
  background: #fcfdfe;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid #f0f0f0;
}

.risk-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
}

.dash-mockup footer,
.dash-mockup .mt-lg {
  font-size: 0.95rem !important;
}

.risk-bar-bg {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.risk-bar-fill {
  height: 100%;
  background: var(--color-cta);
  border-radius: 10px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .nr1-flex {
    flex-direction: column;
    gap: 4rem;
  }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    /* Increased further to push animation down */
    text-align: center;
  }

  .mgmt-viz-container {
    height: 380px;
    /* Increased to give more room for nodes */
    transform: none;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
  }

  /* Make central core slightly smaller on mobile to save space */
  .central-core {
    width: 110px;
    height: 110px;
  }

  .core-glow {
    width: 140%;
    height: 140%;
  }

  /* Fix floating nodes on mobile: Closer and Organic */
  .floating-node {
    width: auto !important;
    min-width: 140px;
    max-width: 160px;
    padding: 0.6rem !important;
    gap: 8px !important;
    opacity: 1 !important;
    animation: float-organic 5s ease-in-out infinite !important;
  }

  .node-content h5 {
    font-size: 0.95rem !important;
  }

  .node-content span {
    font-size: 0.8rem !important;
    white-space: nowrap;
  }

  .node-icon {
    width: 36px;
    height: 36px;
  }

  .node-icon svg {
    width: 18px;
    height: 18px;
  }

  .node-1 {
    top: 15% !important;
    right: 5% !important;
    left: auto !important;
    bottom: auto !important;
    animation-delay: 0s !important;
  }

  .node-2 {
    top: 5% !important;
    left: 8% !important;
    right: auto !important;
    bottom: auto !important;
    animation-delay: 1.2s !important;
  }

  .node-3 {
    bottom: 18% !important;
    right: 4% !important;
    top: auto !important;
    left: auto !important;
    animation-delay: 2.5s !important;
  }

  .node-4 {
    bottom: 8% !important;
    left: 6% !important;
    top: auto !important;
    right: auto !important;
    animation-delay: 0.8s !important;
  }



  .page-hero {
    padding-top: 7rem;
    padding-bottom: 1rem;
  }

  .bento-section {
    padding: 1.5rem 0;
  }

  .nr1-special-section {
    padding: 2rem 0;
    text-align: center;
    /* Center text on mobile */
  }

  .nr1-flex {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }

  .nr1-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.5rem;
  }

  .bento-lg,
  .bento-sm {
    grid-column: span 1;
  }

  .section-title-area {
    margin-bottom: 2rem;
  }

  .col-2 {
    grid-template-columns: 1fr;
  }

  /* Home Hero Slider Mobile Fixes */
  .hero-container {
    padding: 2.5rem 1.25rem 3rem 1.25rem !important;
  }

  /* Handled in main mobile query block */

  .hero-actions {
    justify-content: center !important;
  }

  .contact-info {
    padding: 0 1.5rem !important;
  }

  .contact-info h2 {
    max-width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .contact-info p {
    max-width: 85%;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.4 !important;
  }

  .nr1-visualization {
    width: 100%;
    /* Ensure it takes full width on mobile */
  }

  .dash-mockup {
    padding: 1.25rem 1rem;
    /* More horizontal space for content */
    width: 100%;
  }

  .dash-header {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    margin-bottom: 1.25rem;
  }

  .dash-status {
    font-size: 0.85rem;
  }

  .risk-top {
    font-size: 0.95rem;
    /* Smaller font to prevent overlap */
    gap: 10px;
  }

  .dash-header>div:first-child {
    font-size: 1rem;
  }

  .dash-mockup footer,
  .dash-mockup .mt-lg {
    font-size: 0.85rem !important;
  }

  .risk-item {
    padding: 0.75rem;
    /* Compact items */
  }
}

/* ========================================= 
   MOBILE MENU - CLEAN IMPLEMENTATION (NEW) 
   ========================================= */
@media (max-width: 900px) {

  /* 1. Hide the legacy desktop nav completely on mobile to avoid conflicts */
  .header .nav,
  .nav.active {
    display: none !important;
  }

  /* 2. Overlay - The Backdrop Blur */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(255, 255, 255, 0.4);
    /* Light overlay */
    backdrop-filter: blur(8px);
    /* Blur effect for the rest of the screen */
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* 3. Sidebar - The Menu Content */
  .mobile-menu-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    /* Anchor to bottom */
    right: -320px;
    width: 280px;
    height: auto;
    /* Let spacing dictate height */
    min-height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    /* Semi-transparent */
    backdrop-filter: blur(20px);
    /* Heavy blur on the menu itself */
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    padding: 2rem 1.5rem;
    padding-top: max(5rem, env(safe-area-inset-top) + 2rem);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* iOS-style easing */
    overflow-y: auto;
  }

  .mobile-menu-sidebar.active {
    right: 0;
  }

  /* 4. Formatting Links inside the new menu */
  .mobile-menu-sidebar a {
    display: block;
    width: 100%;
    padding: 1rem 0;
    font-size: 1.2rem;
    color: #1F5659 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    font-weight: 400 !important;
    transition: color 0.2s;
  }

  .mobile-menu-sidebar a:hover,
  .mobile-menu-sidebar a.active-link {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
    /* Highlight current page */
    padding-left: 0.5rem;
    /* Visual shift */
    border-left: 3px solid var(--color-secondary);
  }

  /* 5. Special Button Styling */
  /* 5. Special Button Styling */
  .mobile-menu-sidebar .mobile-cta-btn {
    color: #1F5659 !important;
    font-weight: 600 !important;
    background-color: rgba(31, 86, 89, 0.05);
    border: 1px solid rgba(31, 86, 89, 0.2);
    border-radius: 8px;
    padding: 0.8rem 1rem !important;
    margin-top: 1rem;
    text-align: center;
    border-bottom: none !important;
  }

  /* Separation for System Access */
  /* Separation for System Access */
  /* Separation for System Access */
  .mobile-menu-sidebar a[href*='soc.com.br'] {
    display: none !important;
  }

  /* Close Button styling */
  .mobile-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-main);
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    z-index: 10001;
    transition: transform 0.2s;
  }

  .mobile-close-btn:hover {
    transform: rotate(90deg);
  }
}

/* Agendamento Page Styles */

.schedule-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.schedule-form {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border: none;
}

/* Steps Indicator */
.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  background: white;
  padding: 0 1rem;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-bg-light);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 2px solid var(--color-border);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.step-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-light);
}

.step.active .step-text {
  color: var(--color-primary);
}

.step-line {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
}

/* Form Layout */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(31, 86, 89, 0.1);
}

/* Visibility classes */
.hidden {
  display: none !important;
}

/* Actions */
.form-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.form-actions.right {
  justify-content: flex-end;
}

.form-actions.split {
  justify-content: space-between;
}

/* Step 2 specific */
.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.new-employee-card {
  background: var(--color-bg-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* Employee List Cards */
.added-employees-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.employee-card {
  background: #f0fdf4;
  /* Light green tint */
  border: 1px solid var(--color-secondary);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.emp-info strong {
  display: block;
  color: var(--color-text-main);
}

.emp-details {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.remove-emp-btn {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-sm);
}

.remove-emp-btn:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions.split {
    flex-direction: column;
  }

  .step-line {
    width: 40%;
  }
}

@media (max-width: 900px) {
  .pt-header {
    padding-top: 12rem !important;
  }
}