/* ================ VARIÁVEIS ================ */
:root {
  /* Cores Resolvido */
  --primary: #ff6f3d;       /* Laranja principal */
  --primary-dark: #e05a2b;  /* Laranja mais escuro */
  --primary-light: #ff8e5d; /* Laranja mais claro */
  --primary-extra-light: #fff0eb; /* Laranja muito claro */
  --secondary: #2a5ee8;     /* Azul */
  --secondary-dark: #1a4bc4;
  --dark: #2a2a2a;          /* Preto quase puro */
  --dark-2: #3d3d3d;        /* Preto mais claro */
  --dark-3: #555555;
  --light: #f9f9f9;         /* Branco de fundo */
  --light-2: #f0f0f0;       /* Cinza muito claro */
  --light-3: #e0e0e0;
  --gray: #8a8a8a;          /* Cinza médio */
  --gray-dark: #6a6a6a;
  --white: #ffffff;
  --black: #000000;
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-primary-light: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  --gradient-light: linear-gradient(135deg, var(--light) 0%, var(--light-2) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  
  /* Tipografia */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  
  /* Espaçamentos */
  --space-xxs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Bordas */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(42, 42, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(42, 42, 42, 0.1);
  --shadow-md: 0 4px 6px rgba(42, 42, 42, 0.1);
  --shadow-lg: 0 10px 25px rgba(42, 42, 42, 0.1);
  --shadow-xl: 0 20px 40px rgba(42, 42, 42, 0.15);
  --shadow-primary: 0 4px 20px rgba(255, 111, 61, 0.3);
  --shadow-primary-lg: 0 10px 30px rgba(255, 111, 61, 0.4);
  
  /* Transições */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* Z-index */
  --z-back: -10;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* ================ RESET & BASE ================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Tipografia responsiva */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}

/* Seleção de texto */
::selection {
  background-color: var(--primary);
  color: var(--white);
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* Imagens */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Listas */
ul, ol {
  list-style: none;
}

/* Botões e inputs */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Sections */
.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-lg) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: var(--space-md);
  height: 1px;
  background-color: var(--primary);
}

.section-subtitle::before {
  left: 0;
}

.section-subtitle::after {
  right: 0;
}

.section-description {
  color: var(--gray-dark);
  font-size: 1.125rem;
}

.section-footer {
  margin-top: var(--space-xl);
  text-align: center;
}

/* Backgrounds */
.bg-light {
  background-color: var(--light);
}

.bg-dark {
  background-color: var(--dark);
  color: var(--white);
}

.bg-dark .section-title,
.bg-dark .section-description {
  color: var(--white);
}

.bg-dark .section-subtitle {
  color: var(--primary-light);
}

.bg-dark .section-subtitle::before,
.bg-dark .section-subtitle::after {
  background-color: var(--primary-light);
}

.bg-primary {
  background-color: var(--primary);
  color: var(--white);
}

.bg-primary .section-title,
.bg-primary .section-description {
  color: var(--white);
}

.bg-primary .section-subtitle {
  color: var(--white);
  opacity: 0.8;
}

.bg-primary .section-subtitle::before,
.bg-primary .section-subtitle::after {
  background-color: var(--white);
  opacity: 0.5;
}

/* ================ COMPONENTES ================ */

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary-lg);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  background: var(--light-2);
  transform: translateY(-3px);
}

.btn-outline-light {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-3px);
}

.btn-outline-dark {
  border: 2px solid var(--dark);
  color: var(--dark);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-link {
  color: var(--primary);
  font-weight: 600;
  padding: 0;
  box-shadow: none;
  background: transparent;
}

.btn-link:hover {
  transform: none;
  box-shadow: none;
  color: var(--primary-dark);
}

.btn-link i {
  margin-left: var(--space-xs);
  transition: margin var(--transition-normal);
}

.btn-link:hover i {
  margin-left: var(--space-sm);
}

.btn-icon i {
  margin-left: var(--space-sm);
  transition: transform var(--transition-normal);
}

.btn-icon:hover i {
  transform: translateX(3px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-sm {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.875rem;
}

.btn-video {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.btn-video i {
  margin-right: var(--space-xs);
  font-size: 0.8rem;
}

.btn-video:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Badges */
.badge {
  display: inline-block;
  padding: var(--space-xxs) var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: var(--primary);
  color: var(--white);
}

.badge-light {
  background: var(--light-2);
  color: var(--dark);
}

.badge-dark {
  background: var(--dark);
  color: var(--white);
}

/* Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--light-3);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  transition: all var(--transition-normal);
  background-color: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 111, 61, 0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: flex;
  margin: 0 calc(-1 * var(--space-sm)) var(--space-md);
}

.form-row > .form-group {
  flex: 1;
  padding: 0 var(--space-sm);
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin: 0 var(--space-sm);
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--light-3);
  transition: .4s;
  border-radius: var(--radius-full);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: var(--white);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

/* ================ LAYOUT ================ */

/* Grid */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Flex */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Spacing */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-xxl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-xxl); }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: var(--space-sm); }
.pt-2 { padding-top: var(--space-md); }
.pt-3 { padding-top: var(--space-lg); }
.pt-4 { padding-top: var(--space-xl); }
.pt-5 { padding-top: var(--space-xxl); }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: var(--space-sm); }
.pb-2 { padding-bottom: var(--space-md); }
.pb-3 { padding-bottom: var(--space-lg); }
.pb-4 { padding-bottom: var(--space-xl); }
.pb-5 { padding-bottom: var(--space-xxl); }

/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-dark { color: var(--dark); }
.text-light { color: var(--light); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray); }

.text-sm { font-size: 0.875rem; }
.text-md { font-size: 1rem; }
.text-lg { font-size: 1.25rem; }
.text-xl { font-size: 1.5rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preloader__inner .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  width: 100px;
}

.preloader-text {
  color: #000000;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  letter-spacing: 2px;
}

@keyframes rotateBall {
  0% {
    transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg);
  }
  50% {
    transform: rotateY(360deg) rotateX(360deg) rotateZ(0deg);
  }
  100% {
    transform: rotateY(720deg) rotateX(720deg) rotateZ(360deg);
  }
}

@keyframes bounceBall {
  0% {
    transform: translateX(-50%) translateY(-70px) scale(1, 1);
  }
  15% {
    transform: translateX(-50%) translateY(-56px) scale(1, 1);
  }
  45% {
    transform: translateX(-50%) translateY(70px) scale(1, 1);
  }
  50% {
    transform: translateX(-50%) translateY(73.5px) scale(1, 0.92);
  }
  55% {
    transform: translateX(-50%) translateY(70px) scale(1, 0.95);
  }
  85% {
    transform: translateX(-50%) translateY(-56px) scale(1, 1);
  }
  95% {
    transform: translateX(-50%) translateY(-70px) scale(1, 1);
  }
  100% {
    transform: translateX(-50%) translateY(-70px) scale(1, 1);
  }
}

.ball {
  animation-name: bounceBall;
  animation-duration: 1.2s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  border-radius: 50%;
  height: 60px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-70px);
  transform-style: preserve-3d;
  transform-origin: center center;
  width: 60px;
  z-index: 1;
}

.ball::before {
  background: radial-gradient(circle at 36px 20px, #ff8c16, #b35100);
  border: 2px solid #000000;
  border-radius: 50%;
  content: "";
  height: calc(100% + 6px);
  left: -6px;
  position: absolute;
  top: -3px;
  transform: translateZ(1vmin);
  width: calc(100% + 6px);
  box-sizing: border-box;
}

.ball .inner {
  animation-name: rotateBall;
  animation-duration: 25s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  border-radius: 50%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  width: 100%;
}

.ball .line::before,
.ball .line::after {
  border: none;
  border-radius: 50%;
  content: "";
  height: 99%;
  position: absolute;
  width: 99%;
  display: none;
}

.ball .line::before {
  transform: rotate3d(0, 0, 0, 0);
}

.ball .line::after {
  transform: rotate3d(1, 0, 0, 90deg);
}

.ball .line--two::before {
  transform: rotate3d(0, 0, 0, 2deg);
}

.ball .line--two::after {
  transform: rotate3d(1, 0, 0, 88deg);
}

.ball .oval::before,
.ball .oval::after {
  border-top: none;
  border-radius: 50%;
  content: "";
  height: 99%;
  position: absolute;
  width: 99%;
  display: none;
}

.ball .oval::before {
  transform: rotate3d(1, 0, 0, 45deg) translate3d(0, 0, 6px);
}

.ball .oval::after {
  transform: rotate3d(1, 0, 0, -45deg) translate3d(0, 0, -6px);
}

.ball .oval--two::before {
  transform: rotate3d(1, 0, 0, 135deg) translate3d(0, 0, -6px);
}

.ball .oval--two::after {
  transform: rotate3d(1, 0, 0, -135deg) translate3d(0, 0, 6px);
}

@keyframes bounceShadow {
  0% {
    filter: blur(3px);
    opacity: 0.6;
    transform: translateX(-50%) translateY(73px) scale(0.5, 0.5);
  }
  45% {
    filter: blur(1px);
    opacity: 0.9;
    transform: translateX(-50%) translateY(73px) scale(1, 1);
  }
  55% {
    filter: blur(1px);
    opacity: 0.9;
    transform: translateX(-50%) translateY(73px) scale(1, 1);
  }
  100% {
    filter: blur(3px);
    opacity: 0.6;
    transform: translateX(-50%) translateY(73px) scale(0.5, 0.5);
  }
}

.shadow {
  animation-name: bounceShadow;
  animation-duration: 1.2s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  background: black;
  filter: blur(2px);
  border-radius: 50%;
  height: 6px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(73px);
  transform-origin: center center;
  width: 54px;
}

/* ================ NAVBAR ULTRA PREMIUM - TECNOLÓGICO ================ */
.navbar-ultra {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1400px;
  z-index: var(--z-fixed);
  padding: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-ultra::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-ultra::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(255, 111, 61, 0.3), rgba(42, 94, 232, 0.3));
  border-radius: 50px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.navbar-ultra.scrolled {
  top: 1rem;
}

.navbar-ultra.scrolled::before {
  background: #000000;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.navbar-ultra.scrolled::after {
  opacity: 1;
}

.navbar-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 2.5rem;
  z-index: 1;
  gap: 2rem;
}

/* Logo */
.navbar-brand {
  z-index: 2;
}

.logo-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.logo-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.logo-link:hover::after {
  width: 100%;
}

/* Menu Navigation */
.navbar-nav {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 2rem;
}


.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.45rem 1.25rem;
  display: block;
  border-radius: 25px;
  overflow: hidden;
}

.nav-link span {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #ff6f3d;
  border-radius: 2px;
  transition: width 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  z-index: 10;
}

.nav-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 25px;
  z-index: 1;
}

.nav-link:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.nav-link:hover::before {
  width: 80%;
  opacity: 1;
}

.nav-link:hover::after {
  opacity: 0;
}

.nav-item.active .nav-link {
  color: var(--white) !important;
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  position: relative;
}

.nav-item.active .nav-link::before {
  width: 80% !important;
  opacity: 1 !important;
  background: #ff6f3d !important;
  background-color: #ff6f3d !important;
}

.nav-item.active .nav-link::after {
  opacity: 0 !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}

.nav-item.active .nav-link:hover {
  background: transparent !important;
  background-image: none !important;
}

.nav-item.active .nav-link:hover::before {
  width: 80% !important;
  opacity: 1 !important;
  background: #ff6f3d !important;
  background-color: #ff6f3d !important;
  background-image: none !important;
}

.nav-item.active .nav-link:hover::after {
  opacity: 0 !important;
  display: none !important;
}

/* Botão Contact */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 2;
}

.btn-contact {
  padding: 0.5rem 1.75rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 111, 61, 0.3);
  letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(255, 111, 61, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-contact::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 ease;
}

.btn-contact:hover::before {
  left: 100%;
}

.btn-contact:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 111, 61, 0.5);
}

/* Menu Toggle - Removido */
.menu-toggle {
  display: none !important;
}

/* Responsive Navbar */
@media (max-width: 992px) {
  .navbar-ultra {
    top: 0.75rem;
    left: 0.5rem;
    right: 0.5rem;
    width: auto;
    transform: none;
    max-width: none;
  }

  .navbar-container {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }

  .navbar-nav {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 0.5rem;
  }

  .nav-menu {
    display: flex;
    gap: 0.25rem;
    padding: 0.3rem;
    border-radius: 25px;
  }

  .nav-link {
    font-size: 0.7rem;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
  }

  .nav-link:hover::before {
    width: 70% !important;
    opacity: 1 !important;
  }

  .nav-item.active .nav-link::before {
    width: 70% !important;
    height: 2px !important;
    background: #ff6f3d !important;
    background-color: #ff6f3d !important;
    background-image: none !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .btn-contact {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    border-radius: 25px;
  }

  .logo-img {
    height: 36px;
  }

  .logo-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .navbar-ultra {
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    border-radius: 35px;
  }

  .navbar-ultra::before {
    border-radius: 35px;
    background: #000000;
  }

  .navbar-container {
    padding: 0.45rem 0.75rem;
    gap: 0.4rem;
  }

  .navbar-nav {
    margin: 0 0.3rem;
    flex: 1;
  }

  .nav-menu {
    gap: 0.3rem;
    padding: 0.3rem;
    border-radius: 20px;
    width: 100%;
    display: flex;
  }

  .nav-item {
    flex: 1;
  }

  .nav-link {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    border-radius: 18px;
    width: 100%;
    text-align: center;
  }

  .nav-item.active .nav-link::before {
    width: 70% !important;
    height: 2px !important;
    background: #ff6f3d !important;
    background-color: #ff6f3d !important;
    background-image: none !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .btn-contact {
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    border-radius: 20px;
  }

  .logo-text {
    display: none;
  }

  .logo-link {
    gap: 0;
  }

  .logo-img {
    height: 32px;
  }
}

@media (max-width: 480px) {
  .navbar-ultra {
    top: 0.4rem;
    left: 0.4rem;
    right: 0.4rem;
    border-radius: 30px;
  }

  .navbar-ultra::before {
    border-radius: 30px;
    background: #000000;
  }

  .navbar-container {
    padding: 0.4rem 0.6rem;
    gap: 0.3rem;
  }

  .navbar-nav {
    margin: 0 0.2rem;
    flex: 1;
  }

  .nav-menu {
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 18px;
    width: 100%;
    display: flex;
  }

  .nav-item {
    flex: 1;
  }

  .nav-link {
    font-size: 0.6rem;
    padding: 0.35rem 0.5rem;
    border-radius: 15px;
    width: 100%;
    text-align: center;
  }

  .nav-link:hover::before {
    width: 70% !important;
    opacity: 1 !important;
  }

  .nav-item.active .nav-link::before {
    width: 70% !important;
    height: 2px !important;
    background: #ff6f3d !important;
    background-color: #ff6f3d !important;
    background-image: none !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .btn-contact {
    padding: 0.3rem 0.7rem;
    font-size: 0.65rem;
    border-radius: 18px;
  }

  .logo-text {
    display: none;
  }

  .logo-img {
    height: 28px;
  }

  .logo-link {
    gap: 0;
  }

  .hero-ultra {
    padding-top: 90px;
    padding-bottom: 3rem;
  }

  .hero-container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.8rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }
}


/* ================ HERO ULTRA PREMIUM ================ */
.hero-ultra {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fafafa;
  padding-top: 120px;
  padding-bottom: 2rem;
}

/* Background Gradient */
.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 111, 61, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(42, 94, 232, 0.06) 0%, transparent 50%);
  z-index: 0;
  animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Grid Pattern */
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  opacity: 0.5;
}

/* Hero Container */
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  padding: 0 3rem;
  margin: 0 auto;
}

.hero-content {
  max-width: 800px;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 111, 61, 0.1);
  border: 1px solid rgba(255, 111, 61, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.5px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

/* Hero Title */
.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 2rem;
  color: var(--black);
  letter-spacing: -0.03em;
  font-family: var(--font-sans);
}

.title-line {
  display: block;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out both;
}

.title-line:nth-child(1) {
  animation-delay: 0.2s;
}

.title-line:nth-child(2) {
  animation-delay: 0.3s;
}

.title-line:nth-child(3) {
  animation-delay: 0.4s;
}

.title-line.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Hero Description */
.hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: 3rem;
  max-width: 600px;
  font-weight: 400;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--black);
  letter-spacing: 0.2px;
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 111, 61, 0.3);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.25rem;
  background: transparent;
  color: var(--black);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.2px;
}

.btn-secondary:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-scroll span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray) 0%, transparent 100%);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-ultra {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 4rem;
    align-items: flex-start;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-container {
    padding: 0 1.5rem;
    width: 100%;
    max-width: 100%;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    margin-bottom: 1.25rem;
    line-height: 1.1;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1.5rem;
  }

  .hero-scroll {
    display: none;
  }
}


/* ===== TEAM RESOLVIDO - BACKGROUND PREMIUM ===== */
.team-resolvido {
  padding: 5rem 1rem;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

/* Efeitos decorativos de fundo - Removidos */

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.team-header {
  text-align: center;
  margin-bottom: 4rem;
}

.team-subtitle {
  display: inline-block;
  color: #fa9434;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: rgba(250,148,52,0.1);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
}

.team-header h2 {
  font-size: 2.3rem;
  color: #2d3748;
  margin: 0 0 1rem;
  position: relative;
  display: inline-block;
}

.team-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #fa9434;
  border-radius: 3px;
}

/* Carrossel do Time - Scroll Horizontal */
.team-carousel-wrapper {
  position: relative;
  padding: 2rem 0;
  overflow: hidden;
  margin: 0 -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.team-carousel-wrapper::before,
.team-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.team-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.team-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.team-cards {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1rem 2rem;
  margin: 0 -2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(250, 148, 52, 0.3) transparent;
}

.team-cards::-webkit-scrollbar {
  height: 8px;
}

.team-cards::-webkit-scrollbar-track {
  background: rgba(250, 148, 52, 0.1);
  border-radius: 10px;
}

.team-cards::-webkit-scrollbar-thumb {
  background: rgba(250, 148, 52, 0.5);
  border-radius: 10px;
  transition: background 0.3s;
}

.team-cards::-webkit-scrollbar-thumb:hover {
  background: rgba(250, 148, 52, 0.7);
}

.team-member {
  background: white;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(250,148,52,0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(250,148,52,0.1);
  min-width: 300px;
  max-width: 350px;
  flex-shrink: 0;
  scroll-snap-align: center;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fa9434, #ffb347);
  opacity: 0;
  transition: opacity 0.3s;
}

.team-member:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 50px rgba(250,148,52,0.2);
  border-color: rgba(250,148,52,0.3);
}

.team-member:hover::before {
  opacity: 1;
}

.founder {
  border-top: 4px solid #ff7b00;
}

/* Foto dos membros - Efeito de moldura */
.member-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 8px 25px rgba(250,148,52,0.25);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  background: linear-gradient(135deg, #fa9434, #ffb347);
  padding: 4px;
}

.team-member:hover .member-photo {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(250,148,52,0.3);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  border-radius: 50%;
  background: white;
}

.team-member:hover .member-photo img {
  transform: scale(1.1);
}

/* Informações dos membros */
.member-info h3 {
  margin: 0 0 0.5rem;
  color: #2d3748;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.3s;
  letter-spacing: -0.5px;
}

.team-member:hover .member-info h3 {
  color: #fa9434;
}

.role {
  color: #fa9434;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  position: relative;
  display: inline-block;
}

.role::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: rgba(250,148,52,0.3);
}

/* Ícones sociais - Efeito de flutuação */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.social-links a:hover::before {
  left: 100%;
}

.linkedin {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.github {
  background: linear-gradient(135deg, #333, #6e5494);
}




/* ===== RESPONSIVIDADE PERFEITA PARA CABE,HERO,TEAM ===== */
/* ================ BREAKPOINTS PROFISSIONAIS ================ */
/* Dispositivos muito pequenos (celulares, 360px pra baixo) */
@media (max-width: 360px) {
  :root {
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-sm {
    padding: 1.5rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.75rem;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  
  .btn {
    padding: 0.6rem 1rem;
    min-width: auto;
    width: 100%;
  }
  
  .navbar-container {
    height: 60px;
    padding: 0 var(--space-sm);
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
}

/* Dispositivos pequenos (celulares, 360px - 480px) */
@media (min-width: 360px) and (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .grid-2, 
  .grid-3, 
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .team-cards {
    gap: 1.5rem;
    padding: 1rem 1.5rem;
  }
  
  .team-member {
    min-width: 280px;
    max-width: 320px;
    padding: 1.5rem 1rem;
  }
}

/* Dispositivos médios (tablets, 481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Dispositivos grandes (tablets, 769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ================ MELHORIAS ESPECÍFICAS PARA MOBILE ================ */

/* Ajustes no Hero Section para mobile */
@media (max-width: 768px) {
  .hero-ultra {
    min-height: auto;
    padding-top: 120px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-counters {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  
  .counter-item {
    flex: 1 1 120px;
  }
}


/* Ajustes Finais para UX Mobile */
@media (hover: none) {
  .btn:hover {
    transform: none !important;
  }
  
  .card:hover {
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
  }
  
  .team-member:hover {
    transform: none !important;
  }
}

/* Otimização de Toques */
button, 
a, 
input, 
textarea, 
select {
  touch-action: manipulation;
}

/* Melhorias de Legibilidade */
@media (max-width: 480px) {
  body {
    font-size: 15px;
    line-height: 1.5;
  }
  
  h1, h2, h3 {
    line-height: 1.3;
  }
  
  .section-description {
    font-size: 1rem;
  }
}

/* ================ PERFORMANCE MOBILE ================ */
/* Otimização de animações para mobile */
@media (max-width: 768px) {
  .hero-shapes .shape,
  .hero-bg-image {
    animation: none !important;
    transition: none !important;
  }
  
  .preloader__animation {
    width: 60px;
    height: 60px;
  }
}

/* Prevenção de zoom em inputs */
@media (max-width: 480px) {
  input, 
  textarea, 
  select {
    font-size: 16px;
  }
}

/* ================ BUG FIXES PARA IOS ================ */
@supports (-webkit-touch-callout: none) {
  .hero-ultra {
    min-height: -webkit-fill-available;
  }
  
  .navbar-ultra::before {
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
  }
}

/* ================ MELHORIAS VISUAIS PARA MOBILE ================ */

/* Efeitos de toque mais visíveis */
.btn:active, 
.nav-link:active, 
.dropdown-item:active {
  transform: scale(0.98) !important;
}

/* Ajuste no espaçamento para evitar sobreposição */
@media (max-width: 480px) {
  .section {
    padding: var(--space-lg) 0;
  }
  
  .section-header {
    margin-bottom: var(--space-lg);
  }
  
  .pt-4, .pb-4 {
    padding: var(--space-lg) 0;
  }
}

/* Correção para viewport mobile */
@viewport {
  width: device-width;
  zoom: 1.0;
}

/* ================ COMPONENTES MOBILE-FIRST ================ */

/* Cards otimizados para mobile */
@media (max-width: 768px) {
  .card {
    padding: var(--space-md);
  }
  
  .highlight-card {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Formulários mobile-friendly */
@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
    margin: 0 0 var(--space-md);
  }
  
  .form-row > .form-group {
    padding: 0;
    margin-bottom: var(--space-sm);
  }
  
  .form-control {
    padding: var(--space-sm);
  }
}

/* ================ TIPOGRAFIA RESPONSIVA ================ */
.section-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
}

/* ================ BOTÕES OTIMIZADOS ================ */
@media (max-width: 480px) {
  .btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .btn-sm {
    padding: 0.5rem 0.8rem;
  }
  
  .btn-icon i {
    margin-left: var(--space-xs);
  }
}

/* ================ ANIMAÇÕES PERFORMÁTICAS ================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Ajuste para hero-counters em mobile */
@media (max-width: 768px) {
  .hero-counters {
    flex-direction: row; /* Mantém os itens na horizontal */
    flex-wrap: wrap; /* Permite que os itens quebrem para nova linha se necessário */
    justify-content: center; /* Centraliza os itens */
    gap: var(--space-md); /* Espaçamento entre os itens */
    margin-top: var(--space-lg);
  }
  
  .counter-item {
    flex: 0 0 auto; /* Não cresce, não encolhe, tamanho automático */
    min-width: 100px; /* Largura mínima para cada item */
    padding: 0 var(--space-sm); /* Espaçamento interno */
  }
  
  .counter-number {
    font-size: 1.5rem; /* Tamanho reduzido para mobile */
    margin-bottom: var(--space-xxs);
  }
  
  .counter-label {
    font-size: 0.75rem; /* Tamanho reduzido para mobile */
  }
}

@media (max-width: 360px) {
  .hero-counters {
    gap: var(--space-sm);
  }
  
  .counter-item {
    min-width: 80px;
  }
  
  .counter-number {
    font-size: 1.3rem;
  }
}





/*----------------------------------------------------------------------*/






/* ===== ABOUT SECTION - DESIGN RESPONSIVO ===== */
.about-section {
  padding: 6rem 1rem;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-intro {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  background: rgba(247, 195, 126, 0.1);
  color: #ff6f3d; 
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  color: #23303a;
  margin-bottom: 1.25rem;
}

.text-gradient {
  background: linear-gradient(90deg, #ff7d32 0%, #ff6f3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead {
  color: #23303a;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 auto;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content {
  position: relative;
}

.experience-badge {
  display: inline-block;
  background: rgba(255, 153, 0, 0.1);
  color: #ff6f3d; 
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-content h3 {
  font-size: 1.75rem;
  line-height: 1.3;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.about-text {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.highlight-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.icon-wrapper {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(255, 153, 0, 0.205);
  color: #ff6f3d; 
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.highlight-content h4 {
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.highlight-content p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== BOTÃO PRIMÁRIO SUPER-STYLED ===== */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: none;
  min-width: 180px;
  text-align: center;
}

.primary-btn {
  background: linear-gradient(135deg, #FF9900 0%, #FF6F3D 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 111, 61, 0.3);
  z-index: 1;
}

/* Efeito de brilho animado */
.primary-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: 0.5s;
  z-index: -1;
}

/* Animação ao passar o mouse */
.primary-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 111, 61, 0.4);
}

.primary-btn:hover::before {
  left: 100%;
}

/* Efeito de clique */
.primary-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 10px rgba(255, 111, 61, 0.5);
}

/* Pulsação sutil (opcional) */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(255, 153, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0); }
}

.primary-btn.pulse {
  animation: pulse-glow 2s infinite;
}

/* Ícone com animação */
.primary-btn i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.primary-btn:hover i {
  transform: translateX(3px);
}

/* Responsividade */
@media (max-width: 768px) {
  .btn {
    padding: 0.8rem 1.5rem;
    min-width: 160px;
    font-size: 0.95rem;
  }
}

.secondary-btn {
  color: #ff6f3d; 
  border: 1px solid #e2e8f0;
}

.secondary-btn:hover {
  border-color: #ffae00;
  background: rgba(255, 208, 0, 0.05);
}

.about-visual {
  position: relative;
  height: 100%;
}

.image-collage {
  position: relative;
  height: 500px;
  margin-left: 2rem;
}

.main-image {
  position: absolute;
  width: 70%;
  height: 380px;
  top: 0;
  left: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.secondary-image {
  position: absolute;
  width: 50%;
  height: 280px;
  right: 0;
  top: 100px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  z-index: 1;
}

.secondary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tertiary-image {
  position: absolute;
  width: 40%;
  height: 220px;
  bottom: 0;
  left: 30%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  z-index: 3;
}

.tertiary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-stats {
  position: absolute;
  bottom: -20px;
  right: 0;
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(255, 153, 0, 0.15);
  text-align: center;
  z-index: 4;
  width: 120px;
}

/* ===== EFEITO DE FLUTUAÇÃO ===== */
.floating-stats {
  position: absolute;
  bottom: -20px;
  right: 0;
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(255, 111, 61, 0.15);
  text-align: center;
  z-index: 4;
  width: 120px;
  animation: float 4s ease-in-out infinite;
  transform-origin: center bottom;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff6f3d;
  line-height: 1;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

.stat-label {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Animação de flutuação do 5anos de experiencia */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

/* Animação de pulsação para o número */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(255, 111, 61, 0);
  }
  50% {
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(255, 111, 61, 0.3);
  }
}

/* Efeito adicional no hover */
.floating-stats:hover {
  animation: float 2s ease-in-out infinite, pulse 1s ease-in-out infinite;
}

.floating-stats:hover .stat-number {
  color: #ff5722;
  animation: none;
  transform: scale(1.1);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .image-collage {
    margin-left: 0;
    height: 450px;
  }
  
  .main-image {
    height: 320px;
  }
  
  .secondary-image {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .about-content h3 {
    font-size: 1.5rem;
  }
  
  .image-collage {
    height: 400px;
  }
  
  .floating-stats {
    right: 50%;
    transform: translateX(50%);
    bottom: -40px;
  }
}

@media (max-width: 576px) {
  .about-section {
    padding: 4rem 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .image-collage {
    height: 350px;
  }
  
  .main-image {
    height: 250px;
  }
  
  .secondary-image {
    height: 180px;
    top: 80px;
  }
  
  .tertiary-image {
    height: 150px;
  }
}

/* ===== SERVIÇOS - VERSÃO HARD ===== */
.services-tabs {
  margin-top: 4rem;
  position: relative;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.tab-button {
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--gray-dark);
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  cursor: pointer;
  z-index: 1;
  border-radius: var(--radius-full);
}

.tab-button:hover {
  background: rgba(var(--primary-rgb), 0.08);
}

.tab-button.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.12);
}

.tab-underline {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: var(--primary);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 2px;
}

.tab-button.active .tab-underline {
  width: 40px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon {
  transform: rotate(15deg) scale(1.1);
  background: rgba(var(--primary-rgb), 0.2);
}

.service-features {
  margin: 1.75rem 0;
}

.service-features li {
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.service-features li:hover {
  transform: translateX(5px);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1.75rem;
  position: relative;
  padding-bottom: 2px;
}

.service-link:hover {
  gap: 1rem;
}

.service-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.service-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.tab-content {
  display: none; /* Esconde todas as abas inicialmente */
  animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
  display: block; /* Mostra apenas a aba ativa */
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Efeito de brilho ao hover */
.service-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::before {
  opacity: 1;
  top: -50%;
  left: -50%;
}

/* ===== SERVIÇOS - VERSÃO ULTRA RESPONSIVA ===== */
@media (max-width: 768px) {
  .services-tabs {
    margin-top: 2.5rem;
    position: relative;
    overflow: visible; /* Permite interações externas */
    padding-bottom: 2rem;
  }

  /* --- TABS OTIMIZADAS --- */
  .tab-buttons-container {
    position: sticky;
    top: 0;
    z-index: 20;
    background: linear-gradient(to bottom, #fff 60%, rgba(255,255,255,0.8));
    padding: 1rem 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .tab-buttons {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    padding: 0 1.5rem;
    margin: 0 -1.5rem;
    scroll-padding: 1.5rem;
  }

  .tab-button {
    flex: 0 0 auto;
    scroll-snap-align: center;
    padding: 0.75rem 1.5rem;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: 50px;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
  }

  .tab-button.active {
    background: rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.1);
    font-weight: 600;
  }

  /* --- CARROSSEL PREMIUM --- */
  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
    margin: 0 -1.5rem;
    scroll-padding: 1.5rem;
  }

  .service-card {
    flex: 0 0 88vw;
    scroll-snap-align: start;
    border-radius: 18px;
    padding: 2rem;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: visible; /* Fundamental para links clicáveis */
    transition: transform 0.25s ease-out;
  }

  /* Efeito de profundidade */
  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .service-card:hover::before {
    opacity: 1;
  }

  /* --- BOTÃO SAIBA MAIS GARANTIDO --- */
  .service-link {
    position: relative;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 48px;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(to right, var(--primary), #FF8E3D);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255,107,0,0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Área de toque aumentada */
    &::after {
      content: '';
      position: absolute;
      top: -20px;
      left: -20px;
      right: -20px;
      bottom: -20px;
    }
  }

  .service-link:active {
    transform: scale(0.96);
    opacity: 0.9;
  }

  /* --- SCROLLBAR ESTILIZADA --- */
  .services-grid::-webkit-scrollbar {
    height: 6px;
  }

  .services-grid::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.03);
    margin: 0 1.5rem;
    border-radius: 3px;
  }

  .services-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.2);
  }

  /* --- NAVEGAÇÃO AVANÇADA --- */
  .carousel-nav {
    position: absolute;
    top: calc(50% - 25px);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    padding: 0 0.5rem;
  }

  .nav-btn {
    pointer-events: all;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: none;
  }

  .nav-btn:active {
    transform: scale(0.9);
  }
}


/* AJUSTES PARA TELAS PEQUENAS */
@media (max-width: 480px) {
  .service-card {
    flex: 0 0 92vw;
    padding: 1.75rem;
  }
  
  .service-link {
    min-width: 130px;
    padding: 0.75rem 1.5rem;
  }
  
  .carousel-nav {
    top: calc(50% - 20px);
  }
  
  .nav-btn {
    width: 40px;
    height: 40px;
  }
}





/* ================ PROCESS SECTION ================ */
.process-steps {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-top: var(--space-xl);
}

.process-line {
  position: absolute;
  top: 0;
  left: 50px;
  width: 4px;
  height: 100%;
  background: var(--primary-extra-light);
  transform: translateX(-50%);
  z-index: 1;
}

.process-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: var(--space-xl);
  z-index: 2;
}

.process-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: var(--shadow-primary);
}

.process-content {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.process-item:hover .process-content {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.process-content h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

/* ================ PRICING SECTION ================ */
.pricing-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(to bottom, var(--light-1) 0%, var(--white) 100%);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.pricing-toggle span {
  font-weight: 600;
  color: var(--dark);
  font-size: 1.1rem;
}

.discount-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: var(--space-xxs) var(--space-xs);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  margin-left: var(--space-xs);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--light-2);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--light-2);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: translateY(-5px);
  animation: featured-glow 3s ease-in-out infinite alternate;
}

.pricing-card.featured::before {
  background: var(--primary);
}

@keyframes featured-glow {
  from {
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
  }
  to {
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
  }
}

.pricing-badge {
  position: absolute;
  top: -4px;
  right: var(--space-lg);
  background: var(--primary);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--light-3);
  position: relative;
}

.pricing-header h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: var(--space-xs);
  font-weight: 700;
}

.pricing-header p {
  color: var(--gray);
  font-size: 0.9rem;
}

.price {
  margin: var(--space-md) 0;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price .amount {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  position: relative;
  display: inline-block;
}

.price .currency {
  font-size: 1.5rem;
  vertical-align: super;
  margin-right: 2px;
}

.price .period {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: var(--space-xxs);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.pricing-features li {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) 0;
  border-bottom: 1px dashed var(--light-2);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--primary);
  min-width: 20px;
  text-align: center;
}

.pricing-footer {
  text-align: center;
  margin-top: var(--space-lg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  .pricing-toggle {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .pricing-card {
    padding: var(--space-lg);
  }
  
  .price .amount {
    font-size: 2.5rem;
  }
}

/* Add to your variables if not already present */
:root {
  --primary-rgb: 76, 123, 243; /* Example - replace with your primary color RGB */
  --light-1: #f8f9fa;
  --light-2: #e9ecef;
  --light-3: #dee2e6;
  --gray: #6c757d;
  --dark: #212529;
  --white: #ffffff;
  --space-xxs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  --radius-sm: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --transition-normal: 0.3s ease;
}

/* Adicione ao seu arquivo CSS existente */

/* Transições para os elementos de preço */
.price .amount,
.price .period,
.yearly-equivalent {
  transition: all 0.3s ease;
}

/* Estilo para os labels ativos */
.period-label {
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}

.period-label.active {
  color: var(--primary);
  font-weight: 600;
}

.period-label.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  animation: underline-expand 0.3s ease;
}

@keyframes underline-expand {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Estilo do toggle switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin: 0 10px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

/* Efeito de hover no toggle */
.toggle-slider:hover {
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* Estilo do equivalente anual */
.yearly-equivalent {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 5px;
  opacity: 0.8;
}


/* ===== COURSES SECTION ===== */
.courses-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f9f9ff 0%, #f0f2ff 100%);
  position: relative;
  overflow: hidden;
}

.courses-section::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -300px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255,107,0,0) 70%);
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

.section-subtitle {
  display: block;
  font-size: 1.1rem;
  color: #ffbb63;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FF6B00, #FF8E3D);
  border-radius: 4px;
}

/* ===== GRADE DE CURSOS ===== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===== CARD DE CURSO ===== */
.course-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.course-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(232, 126, 4, 0.2);
  border-color: rgba(255, 107, 0, 0.2);
}

/* ===== BADGE ===== */
.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #FF6B00;
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 3;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ===== MÍDIA ===== */
.course-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.course-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 50%);
  z-index: 1;
}

.course-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.96, 0.34, 1);
  will-change: transform;
}

.course-card:hover .course-image {
  transform: scale(1.1) rotate(1deg);
}

/* ===== BOTÃO PLAY ===== */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6B00;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  outline: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.play-btn::before {
  content: '';
  position: absolute;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border: 2px solid rgba(255, 107, 0, 0.3);
  border-radius: 50%;
  animation: pulse-border 2s infinite;
  opacity: 0;
  transition: all 0.3s ease;
}

.course-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.play-btn:hover {
  background: white;
  color: #FF8E3D;
  transform: translate(-50%, -50%) scale(1.1);
}

.play-btn:hover::before {
  opacity: 1;
}

@keyframes pulse-border {
  0% { transform: scale(0.8); opacity: 0.7; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(0.8); opacity: 0; }
}

/* ===== CONTEÚDO ===== */
.course-content {
  padding: 1.8rem;
  text-align: left;
  position: relative;
  z-index: 2;
  background: white;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.course-category {
  font-size: 0.8rem;
  color: #D45A00;
  background: rgba(255, 107, 0, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #FFC107;
  font-weight: 700;
  font-size: 0.9rem;
}

.course-title {
  font-size: 1.4rem;
  color: #2f2e41;
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: all 0.3s ease;
  font-weight: 700;
}

.course-card:hover .course-title {
  color: #FF6B00;
}

.course-description {
  color: #6c6c8a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== RODAPÉ ===== */
.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.course-details {
  display: flex;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: #8d8dab;
}

.course-duration {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.course-level {
  background: rgba(255, 107, 0, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-weight: 700;
  color: #D45A00;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

/* ===== BOTÃO SAIBA MAIS ===== */
.know-more-btn {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8E3D 100%);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.know-more-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: 0.5s;
}

.know-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

.know-more-btn:hover::before {
  left: 100%;
}

.know-more-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.know-more-btn:hover i {
  transform: translateX(3px);
}
/* Efeito de perspectiva para o hover 3D */
.course-card {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
}

.course-media {
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.course-image {
  transition: transform 0.8s ease;
}

/* Melhorias para mobile */
@media (max-width: 768px) {
  .courses-grid {
    cursor: grab;
  }
  
  .courses-grid:active {
    cursor: grabbing;
  }
}

/* ===== MOBILE HORIZONTAL SCROLL ===== */
@media (max-width: 768px) {
  .courses-section {
    padding: 3rem 1rem 4rem; /* Mais espaço abaixo para scroll */
    overflow-x: hidden; /* Esconde o scroll horizontal global */
  }
  
  .courses-grid {
    display: flex; /* Muda de grid para flex */
    gap: 1.5rem;
    padding: 0 1rem 2rem; /* Padding lateral + espaço para scroll */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 1rem; /* Alinhamento com padding */
    width: calc(100% + 2rem); /* Compensa o padding */
    margin-left: -1rem; /* Alinha com a borda */
  }
  
  .course-card {
    flex: 0 0 85vw; /* Largura adaptável */
    scroll-snap-align: start;
    min-height: 420px; /* Altura fixa para consistência */
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin-right: 0;
    transition: transform 0.2s ease;
  }
  
  .course-media {
    height: 180px; /* Altura reduzida para mobile */
    flex-shrink: 0; /* Evita compressão */
  }
  
  .course-content {
    flex-grow: 1; /* Ocupa todo espaço vertical restante */
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
  }
  
  .course-description {
    margin-bottom: auto; /* Empurra o footer para baixo */
  }
  
  .course-footer {
    margin-top: auto; /* Garante posicionamento no rodapé */
    padding-top: 1.5rem;
  }
  
  /* Barra de scroll customizada */
  .courses-grid::-webkit-scrollbar {
    height: 6px;
  }
  
  .courses-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    margin: 0 1rem;
  }
  
  .courses-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 0, 0.5);
    border-radius: 3px;
  }
  
  /* Efeito de "peek" para o próximo card */
  .course-card:not(:first-child) {
    margin-left: -1.5rem;
  }
}

/* AJUSTES PARA TELAS MUITO PEQUENAS */
@media (max-width: 480px) {
  .course-card {
    min-height: 380px;
  }
  
  .course-title {
    font-size: 1.25rem;
  }
  
  .course-description {
    font-size: 0.9rem;
  }
  
  .know-more-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

/* ================ MODERN TECH STACK SECTION ================ */
.tech-stack-mobile {
    margin-top: 2rem;
}

/* Category pills - horizontal scrolling */
.tech-categories {
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.category-scroller {
    display: flex;
    gap: 0.75rem;
    padding: 0 1rem;
    width: max-content;
}

.category-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    color: var(--light-2);
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.category-pill i {
    font-size: 1.1rem;
}

.category-pill.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tech cards - horizontal scrolling */
.tech-cards-container {
    display: none;
    margin-top: 1.5rem;
}

.tech-cards-container.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.tech-cards-scroller {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 1rem 1rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.tech-card {
    flex: 0 0 70%;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.tech-card:active {
    transform: scale(0.98);
}

.tech-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.tech-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.tech-info p {
    font-size: 0.8rem;
    color: var(--light-3);
    line-height: 1.4;
}

/* Estilos para os ícones das categorias */
.icon-code:before {
    content: "</>";
    font-weight: bold;
}

.icon-server:before {
    content: "🖥️";
}

.icon-smartphone:before {
    content: "📱";
}

.icon-database:before {
    content: "🗄️";
}

.icon-cloud:before {
    content: "☁️";
}

/* Melhorias na rolagem horizontal */
.tech-categories::-webkit-scrollbar,
.tech-cards-scroller::-webkit-scrollbar {
    height: 4px;
}

.tech-categories::-webkit-scrollbar-track,
.tech-cards-scroller::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.tech-categories::-webkit-scrollbar-thumb,
.tech-cards-scroller::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

/* Efeito hover para desktop */
@media (hover: hover) {
    .category-pill:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .tech-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .tech-cards-scroller {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        overflow-x: visible;
        gap: 1.5rem;
        padding: 0;
    }
    
    .tech-card {
        flex: 1 1 auto;
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .tech-icon {
        margin-bottom: 1rem;
    }
}

/* ================ ULTRA TESTIMONIALS ================ */
.testimonials-ultra {
  position: relative;
  padding: 0 0 3rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 2rem;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.testimonial-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.project-preview {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f8f9fa;
}

.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.testimonial-card:hover .project-preview img {
  transform: scale(1.05);
}

.preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover .preview-overlay {
  opacity: 1;
}

.play-button {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.result-graph {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  background: #f8f9fa;
}

.testimonial-content {
  padding: 1.5rem 1.5rem 0;
}

.testimonial-quote {
  color: var(--primary);
  font-size: 1.75rem;
  opacity: 0.1;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--dark-1);
  margin-bottom: 1.5rem;
  position: relative;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.result-item {
  background: rgba(var(--primary-rgb), 0.03);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  border-radius: 0.75rem;
  padding: 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
}

.result-item:hover {
  background: rgba(var(--primary-rgb), 0.1);
  transform: translateY(-3px);
}

.result-icon {
  width: 36px;
  height: 36px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 1rem;
}

.result-value {
  display: block;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.25rem;
  line-height: 1.2;
}

.result-label {
  display: block;
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stars {
  color: var(--primary);
  font-size: 1.1rem;
}

.rating-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-2);
}

.testimonial-footer {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--primary-rgb), 0.1);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--dark-1);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--gray);
}

.case-link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.case-link-button:hover {
  background: var(--primary);
  color: white;
  gap: 0.75rem;
}

/* CONTROLES SIMPLES E EFICIENTES */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}

.slider-prev,
.slider-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid #e0e0e0;
  color: var(--primary);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.swiper-scrollbar {
  width: 200px;
  height: 3px;
  background: #f0f0f0;
}

.swiper-scrollbar-drag {
  background: var(--primary);
  height: 100%;
}

/* Responsividade Ultra */
@media (max-width: 992px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .case-link-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    margin-bottom: 1rem;
  }
  
  .project-preview {
    height: 160px;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-content {
    padding: 1.25rem;
  }
  
  .testimonial-footer {
    padding: 0 1.25rem 1.25rem;
  }
  
  .testimonials-cta {
    padding: 1.5rem;
  }
  
  .cta-content h3 {
    font-size: 1.3rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .testimonial-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.75rem;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
  }
  
  .result-value {
    font-size: 1.1rem;
  }
  
  .testimonial-author img {
    width: 40px;
    height: 40px;
  }
  
  .author-info h4 {
    font-size: 0.9rem;
  }
}







/* ================ CTA SECTION ================ */
.cta-section {
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/images/cta-bg.jpg') center/cover no-repeat;
  z-index: -2;
  opacity: 0.1;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: -1;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ================ BLOG SECTION ================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-date {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--white);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.blog-date .date-day {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.blog-date .date-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gray);
}

.blog-content {
  padding: var(--space-lg);
}

.blog-category {
  display: inline-block;
  background: var(--light-2);
  color: var(--primary);
  padding: var(--space-xxs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.blog-card h3 a {
  color: var(--dark);
  transition: color var(--transition-fast);
}

.blog-card h3 a:hover {
  color: var(--primary);
}

.blog-excerpt {
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
  color: var(--dark-2);
}

.blog-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: var(--space-md);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xxs);
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: gap var(--transition-normal);
}

.blog-link:hover {
  gap: var(--space-sm);
}

/* ================ FAQ SECTION ================ */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: var(--space-md);
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  transition: all var(--transition-normal);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  transition: transform var(--transition-normal);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--space-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  background: var(--white);
}

.faq-answer p {
  padding-bottom: var(--space-md);
}

.faq-question.active + .faq-answer {
  max-height: 500px;
  padding: var(--space-md);
  border-top: 1px solid var(--light-3);
}

.faq-footer {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ================ CONTACT SECTION ================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
}

.contact-icon {
  flex: 0 0 50px;
  height: 50px;
  background: var(--primary-extra-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-content h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.contact-content a {
  color: var(--dark);
  transition: color var(--transition-fast);
}

.contact-content a:hover {
  color: var(--primary);
}

.contact-social h4 {
  margin-bottom: var(--space-sm);
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-2);
  color: var(--primary);
  border-radius: 50%;
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-md);
}

.form-notice {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  color: var(--gray);
}

.form-notice i {
  color: var(--primary);
}

.contact-map {
  margin-top: var(--space-xl);
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ================ FOOTER ================ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: var(--space-xl) 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-col {
  padding: var(--space-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
}

.footer-logo .logo-icon {
  color: var(--primary);
}

.footer-about {
  color: var(--gray);
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
}

.footer-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
  color: var(--white);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-payments h4 {
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
  color: var(--gray);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.payment-methods img {
  height: 20px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(2);
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.payment-methods img:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

.newsletter-form .form-group {
  position: relative;
}

.newsletter-form input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.newsletter-form input::placeholder {
  color: var(--gray);
}

.newsletter-form button {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.75rem;
}

.footer-social h4 {
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
  color: var(--gray);
}

.footer-bottom {
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: var(--gray);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  color: var(--gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--white);
}

/* ================ MODAL ================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  background: var(--light-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

.modal-body {
  padding: var(--space-xl);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ================ UTILITÁRIOS ================ */

/* Tema escuro */
body.dark-theme {
  --dark: #f9f9f9;
  --dark-2: #e0e0e0;
  --dark-3: #cccccc;
  --light: #1a1a1a;
  --light-2: #2a2a2a;
  --light-3: #3d3d3d;
  --gray: #8a8a8a;
  --gray-dark: #aaaaaa;
  --white: #2a2a2a;
  --black: #000000;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Utilitários de animação */
.animate {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate.fadeIn {
  animation-name: fadeIn;
}

.animate.slideInUp {
  animation-name: slideInUp;
}

.animate.delay-1 {
  animation-delay: 0.2s;
}

.animate.delay-2 {
  animation-delay: 0.4s;
}

.animate.delay-3 {
  animation-delay: 0.6s;
}

/* ================ COMPONENTES EXTRAS ================ */

/* Theme Switcher */
.theme-switcher {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-tooltip);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.theme-switcher:hover {
  transform: translateY(-3px) rotate(15deg);
  box-shadow: var(--shadow-primary);
}

.theme-switcher i {
  position: absolute;
  font-size: 1.25rem;
  transition: all var(--transition-normal);
}

.theme-switcher .fa-moon {
  opacity: 0;
  transform: rotate(90deg);
}

.theme-switcher .fa-sun {
  opacity: 1;
  transform: rotate(0);
}

.dark-theme .theme-switcher .fa-moon {
  opacity: 1;
  transform: rotate(0);
}

.dark-theme .theme-switcher .fa-sun {
  opacity: 0;
  transform: rotate(-90deg);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: calc(var(--space-lg) + 60px);
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-tooltip);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ================ RESPONSIVIDADE ================ */
@media (max-width: 1200px) {
  .hero-image {
    max-width: 45%;
    opacity: 0.8;
  }
}

@media (max-width: 992px) {
  .nav-item {
    margin: 5px 0;
    width: 100%;
  }
  
  .nav-link {
    padding: 15px 0;
    justify-content: flex-start;
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 111, 61, 0.05);
    border-radius: 8px;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 500px;
    margin-top: 10px;
  }
  
  .dropdown-icon {
    transform: rotate(0deg) !important;
  }
  
  .dropdown.active .dropdown-icon {
    transform: rotate(180deg) !important;
  }
  
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .image-stack {
    margin: var(--space-xl) auto 0;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  .section-sm {
    padding: var(--space-md) 0;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  
  .process-steps {
    padding-top: var(--space-lg);
  }
  
  .process-item {
    padding-left: 70px;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .contact-map {
    height: 300px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .hero-counters {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
  
  .footer-legal {
    gap: var(--space-md);
  }
  
  .theme-switcher,
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: var(--space-md);
    right: var(--space-md);
  }
  
  .back-to-top {
    right: calc(var(--space-md) + 50px);
  }
}