@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");
:root {
  --primary: #fc8eac;
  --primary-dark: #ee5499;
  --primary-light: #ffa8c5;
  --bg-primary: #0a0b0d;
  --bg-secondary: #13141a;
  --bg-card: rgba(25, 26, 35, 0.99);
  --border: rgba(252, 142, 172, 0.1);
  --text-primary: #e8eaed;
  --text-secondary: #9aa0a6;
  --text-muted: #6c7278;
  --shadow: rgba(0, 0, 0, 0.3);
  --gradient-1: linear-gradient(135deg, #fc8eac 0%, #ee5499 100%);
  --gradient-2: linear-gradient(
    135deg,
    rgba(252, 142, 172, 0.1) 0%,
    rgba(238, 84, 153, 0.05) 100%
  );
  --gradient-3: linear-gradient(135deg, #fc8eac 0%, #ee5499 50%, #d6356f 100%);
}
body.light-theme {
  --bg-primary: #f0f2f5;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --border: rgba(0, 0, 0, 0.12);
  --text-primary: #1a1d1f;
  --text-secondary: #3a3d42;
  --text-muted: #5c5f66;
  --shadow: rgba(0, 0, 0, 0.1);
  --gradient-2: linear-gradient(
    135deg,
    rgba(252, 142, 172, 0.12) 0%,
    rgba(238, 84, 153, 0.06) 100%
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
  width: 100%;
}
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background 0.3s ease;
}

.bg-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-decoration::before,
.bg-decoration::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-1);
  opacity: 0.03;
  filter: blur(120px);
  animation: float 25s infinite ease-in-out;
}
.bg-decoration::before {
  width: 700px;
  height: 700px;
  top: -250px;
  right: -250px;
}
.bg-decoration::after {
  width: 600px;
  height: 600px;
  bottom: -200px;
  left: -200px;
  animation-delay: 12s;
}
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(60px, -60px) rotate(120deg);
  }
  66% {
    transform: translate(-40px, 40px) rotate(240deg);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  animation: slideInLeft 0.6s ease;
  flex-shrink: 0;
}
.logo img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(252, 142, 172, 0.3);
}
.logo-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav {
  display: flex;
  align-items: center;
  margin-left: 0; /* Ajustado */
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}
.dropdown {
  position: relative;
}
.dropdown-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.dropdown-btn:hover {
  color: var(--primary);
  background: var(--gradient-2);
}
.dropdown-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-btn i {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 240px;
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px var(--shadow);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
}
.dropdown-menu a:hover {
  background: var(--gradient-2);
  color: var(--primary);
}
.dropdown-menu a i {
  width: 20px;
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  animation: slideInRight 0.6s ease;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
}
.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 4px 15px rgba(252, 142, 172, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(252, 142, 172, 0.5);
}
.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.icon-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}
.mobile-menu-btn {
  display: none;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-overlay a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-menu-overlay a:hover {
  color: var(--primary);
}
.mobile-close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
}

footer {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  position: relative;
  z-index: 1;
}
.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}
.footer-section ul {
  list-style: none;
}
.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.footer-section a:hover {
  color: var(--primary);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(252, 142, 172, 0.4);
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(252, 142, 172, 0.6);
}

@media (max-width: 1024px) {
  .dropdown {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .header-actions .btn span {
    display: none;
  }
  .header-actions .btn {
    padding: 0.75rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 1rem 1rem;
    gap: 0.75rem;
  }
  .logo {
    font-size: 1.2rem;
  }
  .logo img {
    width: 40px;
    height: 40px;
  }
  .header-actions {
    gap: 0.5rem;
  }
  .header-actions .btn {
    padding: 0.65rem;
    font-size: 0.9rem;
  }
  .icon-btn {
    width: 38px;
    height: 38px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    padding: 0 1rem;
  }
  .footer-section {
    padding-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .scroll-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 0.75rem 0.75rem;
  }
  .logo {
    font-size: 1.1rem;
    gap: 0.5rem;
  }
  .logo img {
    width: 36px;
    height: 36px;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}
