:root {
  --primary: #42a5f5;
  --primary-variant: #1e88e5;
  --secondary: #03DAC6;
  --background: #0D1117;
  --surface: #161B22;
  --surface-variant: #21262D;
  --on-primary: #FFFFFF;
  --on-background: #F0F6FF;
  --on-surface: #E6EDF3;
  --on-surface-variant: #8B949E;
  --outline: #30363D;
  --dark: #0d1117;
  --dark-alt: #161b22;
  --light: #e8eaed;
  --gray: #9ca3af;
  --border: rgba(255, 255, 255, 0.1);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--light);
  background-color: var(--dark);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(13, 17, 23, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.3s ease;
}

.logo-section:hover {
  transform: translateX(-3px);
}

.company-name {

  font-weight: 600;
  color: var(--light);
  position: relative;
}

.company-name::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.logo-section:hover .company-name::after {
  width: 100%;
}


/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--light);
  margin: 5px 0;
  transition: var(--transition);
}

/* Navigation */
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  color: var(--light);
  font-weight: 500;
  font-family: inherit;
  font-size: inherit;
  width: 100%;
  text-align: left;
}

.dropdown-toggle:hover {
  color: var(--primary);
}

.dropdown-arrow {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark-alt);
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  z-index: 1001;
  flex-direction: column;
}

.dropdown-content a {
  color: var(--light);
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
  font-weight: 500;
}

.dropdown-content a:hover {
  background: var(--primary);
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

.dropdown .dropdown-toggle {
  color: var(--light);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .mobile-menu-btn {
      display: block;
  }

  .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 280px;
      height: 100vh;
      background: var(--dark-alt);
      flex-direction: column;
      padding: 80px 20px 20px;
      transition: right 0.3s ease;
      z-index: 1001;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
      right: 0;
  }

  .mobile-menu-btn.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
      opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -7px);
  }

  .dropdown {
      width: 100%;
  }

  .dropdown-toggle {
      width: 100%;
      justify-content: space-between;
  }

  .dropdown-content {
      position: static;
      background: transparent;
      box-shadow: none;
      display: none;
      padding-left: 20px;
      width: 100%;
  }

  .dropdown.active .dropdown-content {
      display: flex;
      flex-direction: column;
  }

  .dropdown-content a {
      padding: 12px 0;
      width: 100%;
      display: block;
  }

  .dropdown-content a:hover {
      background: transparent;
      color: var(--primary);
  }

  .dropdown:hover .dropdown-content {
      display: none;
  }

  .dropdown.active .dropdown-content {
      display: flex;
  }

  .nav-link.active::after {
      display: none;
  }

  .nav-link.active {
      color: var(--primary);
      font-weight: 600;
  }

  .dropdown-content a.active {
      color: var(--primary);
      font-weight: 600;
  }
}

/* Buttons */
.btn {
  padding: 18px 36px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transition: width 0.5s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(30, 136, 229, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  position: relative;
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(66, 165, 245, 0.3);
}

.btn-large {
  padding: 22px 46px;
  font-size: 18px;
}

/* Sections */
.section {
  padding: 100px 0;
}




/* Melhorias na performance de animações */
@media (prefers-reduced-motion: reduce) {
  * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
  }
}

.section-diferencial {
  background: var(--dark-alt);
  position: relative;
  overflow: hidden;
}

.section-diferencial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--dark), transparent);
  z-index: 1;
}

.section-title {
  font-size: clamp(2.3rem, 4.5vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--light);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  border-radius: 2px;
}




.tagline {
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.9;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* Footer */
.footer {
  background: var(--dark);
  padding: 80px 0 40px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 70px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
}

.footer-brand p {
  color: var(--gray);
  line-height: 1.7;
  font-size: 1.1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 50px;
}

.footer-column h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-column a {
  display: block;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column a::before {
  content: '→';
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--primary);
}

.footer-column a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-column a:hover::before {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--gray);
  font-size: 1rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  background: var(--primary-dark);
}



/* Social Media Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color);
}

@media (prefers-color-scheme: dark) {
  .social-links a {
      color: var(--text-color-dark);
  }

  .social-links a:hover {
      color: var(--primary-color);
  }
}


/* Responsive Design */
@media (max-width: 992px) {
  .container {
      padding: 0 24px;
  }
  
  .footer-content {
      grid-template-columns: 1fr;
      gap: 50px;
  }
}

@media (max-width: 992px) {
  .container {
      padding: 0 24px;
  }

  .footer-content {
      grid-template-columns: 1fr;
      gap: 50px;
  }
}

@media (max-width: 768px) {

  .container {
    padding: 0 20px;
}

.header .container {
    padding: 12px 16px;
}

  .section {
    padding: 80px 0;
}

.content-grid,
.pillars-grid,
.values-grid,
.vagas-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

.mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 40px;
}

.oportunidades-grid,
.reasons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

.cta-actions {
    flex-direction: column;
    align-items: center;
}

.btn {
    width: 100%;
    max-width: 300px;
}



  .job-header {
      flex-direction: column;
      gap: 16px;
  }

  .values-grid {
      grid-template-columns: 1fr;
  }

  .job-details-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }

  .footer-content {
      grid-template-columns: 1fr;
      gap: 2rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

  .footer-column {
      margin-bottom: 1.5rem;
  }
}


@media (max-width: 480px) {
  .content-card,
  .pillar-card,
  .value-card,
  .vagas-card {
      padding: 30px;
  }

  .footer-links {
      grid-template-columns: 1fr;
  }

  .btn-large {
      padding: 15px 30px;
  }
}