/* Importar fontes */
@import url("https://fonts.cdnfonts.com/css/nulshock");
@import url("https://fonts.cdnfonts.com/css/helvetica-neue-9");

/* Enhanced color system and design tokens */
:root {
  --primary-color: #d45000;
  --secondary-color: #ffd300;
  --dark-color: #172126;
  --light-gray: #d8d8d8;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #d45000 0%, #ffd300 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 16px;
}

[data-theme="dark"] {
  --bg-color: #0a0e12;
  --bg-secondary: #172126;
  --text-color: #ffffff;
  --text-secondary: #b8bec4;
  --card-bg: #1a2229;
  --card-hover: #222b34;
  --border-color: #2d3842;
}

[data-theme="light"] {
  --bg-color: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-color: #172126;
  --text-secondary: #5a6c7d;
  --card-bg: #ffffff;
  --card-hover: #f8f9fa;
  --border-color: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "NULSHOCK", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Redesigned navbar with glass effect */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(10, 14, 18, 0.95);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo-img {
  height: 45px;
  width: auto;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-trabalhe {
  background: var(--gradient);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 500;
}

.btn-trabalhe::after {
  display: none;
}

.btn-trabalhe:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  transition: var(--transition);
  border-radius: 8px;
}

.theme-toggle:hover {
  background: var(--bg-secondary);
  transform: rotate(20deg);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--text-color);
  transition: var(--transition);
  border-radius: 2px;
}

/* Enhanced button styles */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 16px;
  text-align: center;
}

.btn-large {
  padding: 18px 48px;
  font-size: 18px;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(212, 80, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 80, 0, 0.4);
}

/* Sections with better spacing */
section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 56px;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Professional footer */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 50px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 14px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--secondary-color);
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-column ul li i {
  margin-right: 12px;
  color: var(--primary-color);
  width: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-size: 18px;
  transition: var(--transition);
}

.social-links a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  transition: var(--transition);
  font-size: 14px;
}

.footer-link:hover {
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Enhanced WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 36px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 20px rgba(37, 211, 102, 0);
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  overflow-y: auto;
  padding: 20px;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--card-bg);
  padding: 50px;
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 100%;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: var(--bg-secondary);
  transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background: var(--bg-color);
    flex-direction: column;
    padding: 40px 24px;
    gap: 20px;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  section {
    padding: 60px 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
