/* ============================================
   RESET E VARIÁVEIS GLOBAIS - LIGHT MODE (PADRÃO)
   ============================================ */

:root {
  /* Cores Primárias - Mais Profissionais */
  --primary-color: #00d084;
  --primary-dark: #00b870;
  --primary-light: #00e698;
  --secondary-color: #ff6b35;
  --secondary-dark: #e55a2b;
  --secondary-light: #ff8a5c;

  /* Cores de Texto - Light Mode */
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;

  /* Cores de Fundo - Light Mode */
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-tertiary: #f5f5f5;
  --bg-overlay: rgba(255, 255, 255, 0.8);

  /* Cores de Acento - Gradientes Modernos */
  --gradient-primary: linear-gradient(135deg, #00d084 0%, #00b870 100%);
  --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ff8a5c 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(0, 208, 132, 0.3) 0%,
    rgba(255, 107, 53, 0.3) 100%
  );
  --gradient-card: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );

  /* Sombras Profissionais */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 20px rgba(0, 208, 132, 0.3);

  /* Transições Suaves */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

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

/* ============================================
   DARK MODE VARIABLES
   ============================================ */

/* Media query para dark mode automático - usado apenas se não houver data-theme */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    /* Cores de Texto - Dark Mode */
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --text-light: #6b7280;

    /* Cores de Fundo - Dark Mode */
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --bg-overlay: rgba(10, 10, 10, 0.9);

    /* Gradientes Dark Mode */
    --gradient-hero: linear-gradient(
      135deg,
      rgba(0, 208, 132, 0.5) 0%,
      rgba(255, 107, 53, 0.5) 100%
    );
    --gradient-card: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 100%
    );

    /* Sombras Dark Mode */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 30px rgba(0, 208, 132, 0.4);
  }
}

/* Classe para forçar Dark Mode - TEM PRIORIDADE sobre media query */
[data-theme="dark"] {
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --text-light: #6b7280;
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-tertiary: #1a1a1a;
  --bg-overlay: rgba(10, 10, 10, 0.9);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(0, 208, 132, 0.3) 0%,
    rgba(255, 107, 53, 0.3) 100%
  );
  --gradient-card: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(0, 208, 132, 0.4);
}

/* Classe para forçar Light Mode - TEM PRIORIDADE sobre media query */
[data-theme="light"] {
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-tertiary: #f5f5f5;
  --bg-overlay: rgba(255, 255, 255, 0.8);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(0, 208, 132, 0.3) 0%,
    rgba(255, 107, 53, 0.3) 100%
  );
  --gradient-card: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 20px rgba(0, 208, 132, 0.3);
}

/* ============================================
   RESET E BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.5s ease, color 0.5s ease;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 60px;
  }
}

/* ============================================
   TYPOGRAPHY - MODERNA E ELEGANTE
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
}

p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

strong {
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================
   THEME TOGGLE BUTTON - MODERNO
   ============================================ */

.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid transparent;
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: 0.75rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle-icon {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   BUTTONS - DESIGN PREMIUM
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--secondary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

/* ============================================
   NAVBAR - GLASSMORPHISM EFFECT
   ============================================ */

.navbar {
  background: var(--bg-overlay);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: var(--bg-overlay);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(0, 208, 132, 0.1);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 208, 132, 0.3));
  transition: var(--transition);
}

.logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

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

.nav-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

.nav-cta::after {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 24px;
  height: 3px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--bg-overlay);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: var(--shadow-lg);
  border-top: 1px solid rgba(0, 208, 132, 0.1);
}

.mobile-link {
  padding: 12px 16px;
  color: var(--text-primary);
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.mobile-link:hover {
  background: var(--bg-secondary);
  color: var(--primary-color);
}

.mobile-cta {
  background: var(--gradient-primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 14px 24px;
  text-align: center;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ============================================
   HERO SECTION - IMPACTANTE
   ============================================ */

.hero {
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  padding: 120px 0 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Fixed background no desktop para efeito parallax */
@media (min-width: 769px) {
  .hero {
    background-attachment: fixed;
  }
}

/* Gradiente overlay sobre a imagem de fundo - combina gradiente principal com efeitos radiais */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero),
    radial-gradient(
      circle at 80% 20%,
      rgba(0, 208, 132, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(255, 107, 53, 0.3) 0%,
      transparent 50%
    );
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(0, 208, 132, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  z-index: 1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  max-width: 90%;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.2s both;
  z-index: 1;
}

.image-placeholder {
  width: 100%;
  max-width: 500px;
  min-height: 400px;
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
  z-index: 1;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.image-placeholder img,
.image-placeholder svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
}

.image-placeholder img {
  padding: 0.5rem;
  max-height: 100%;
}

.image-placeholder svg {
  width: 85%;
  height: 85%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   TRUST SECTION - ELEGANTE
   ============================================ */

.trust-section {
  background: var(--bg-secondary);
  padding: 100px 0;
  text-align: center;
  transition: background-color 0.5s ease;
  position: relative;
}

.trust-section h2 {
  margin-bottom: 4rem;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.trust-card {
  background: var(--bg-primary);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.trust-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.trust-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 208, 132, 0.2);
}

.trust-card:hover::before {
  transform: scaleX(1);
}

.trust-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 208, 132, 0.2));
  animation: float 3s ease-in-out infinite;
}

.trust-card:nth-child(2) .trust-icon {
  animation-delay: 0.5s;
}

.trust-card:nth-child(3) .trust-icon {
  animation-delay: 1s;
}

.trust-title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.trust-description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 100%;
}

/* ============================================
   DUAL SECTION - MODERNO
   ============================================ */

.dual-section {
  padding: 120px 0;
  background: var(--bg-primary);
  transition: background-color 0.5s ease;
}

.dual-section .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.dual-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  background: var(--bg-primary);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.dual-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.users-card::before {
  background: var(--gradient-primary);
}

.professionals-card::before {
  background: var(--gradient-secondary);
}

.dual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 208, 132, 0.2);
}

.users-card {
  background: linear-gradient(
    135deg,
    rgba(0, 208, 132, 0.03) 0%,
    rgba(0, 208, 132, 0.01) 100%
  );
}

.professionals-card {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.03) 0%,
    rgba(255, 107, 53, 0.01) 100%
  );
  grid-template-columns: 1fr 1fr;
}

.professionals-card .dual-icon {
  order: -1;
}

.dual-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.dual-content p {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.dual-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.dual-icon img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
  transition: var(--transition);
  object-fit: contain;
}

.dual-icon img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
}

.dual-icon svg {
  width: 100%;
  max-width: 350px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

/* ============================================
   FEATURES SECTION - PREMIUM
   ============================================ */

.features-section {
  background: var(--bg-secondary);
  padding: 120px 0;
  transition: background-color 0.5s ease;
  position: relative;
}

.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 208, 132, 0.3),
    transparent
  );
}

.features-section h2 {
  text-align: center;
  margin-bottom: 4rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--text-primary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid transparent;
  text-align: left;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:nth-child(even)::before {
  background: var(--gradient-secondary);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 208, 132, 0.2);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}

.feature-card p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ============================================
   CTA FINAL SECTION - IMPACTANTE
   ============================================ */

.cta-final {
  background: linear-gradient(135deg, #00d084 0%, #ff6b35 100%);
  color: #ffffff;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.cta-final::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

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

.cta-final h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-final p {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final .btn-primary {
  background: #ffffff;
  color: var(--primary-color);
  font-weight: 700;
  box-shadow: var(--shadow-xl);
}

.cta-final .btn-primary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FOOTER - PROFISSIONAL
   ============================================ */

.footer {
  background: var(--text-primary);
  color: #ffffff;
  padding: 80px 0 30px;
  transition: background-color 0.5s ease;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 208, 132, 0.3),
    transparent
  );
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  display: inline-block;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
}

/* ============================================
   SCROLL TO TOP BUTTON - MODERNO
   ============================================ */

.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  transform: scale(0.8);
}

.scroll-to-top.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.scroll-to-top:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.scroll-to-top:active {
  transform: scale(0.95);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu.active {
    display: flex;
  }

  .theme-toggle {
    margin-left: 0;
    margin-top: 1rem;
  }

  .hero {
    padding: 80px 0 60px;
    min-height: auto;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .trust-section,
  .dual-section,
  .features-section {
    padding: 60px 0;
  }

  .trust-section h2,
  .features-section h2 {
    margin-bottom: 3rem;
  }

  .dual-card {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }

  .professionals-card {
    grid-template-columns: 1fr;
  }

  .professionals-card .dual-icon {
    order: 0;
  }

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

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

  .cta-final {
    padding: 80px 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .scroll-to-top {
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .trust-section,
  .dual-section,
  .features-section,
  .cta-final {
    padding: 50px 0;
  }

  .dual-card {
    padding: 2rem 1.25rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .trust-card {
    padding: 2rem 1.5rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9375rem;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
  }
}

/* ============================================
   ANIMATIONS - ELEGANTES
   ============================================ */

.feature-card,
.trust-card,
.dual-card {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}
.feature-card:nth-child(5) {
  animation-delay: 0.5s;
}
.feature-card:nth-child(6) {
  animation-delay: 0.6s;
}

.trust-card:nth-child(1) {
  animation-delay: 0.1s;
}
.trust-card:nth-child(2) {
  animation-delay: 0.2s;
}
.trust-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Smooth transitions for theme changes */
* {
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

/* Focus states for accessibility */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
