/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --primary-color: #0663ad;
  --secondary-color: #a8def9;
  --accent-color: #057cc6;
  --light-bg: #fefefe;
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-tech: 'Orbitron', 'Inter', monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  --spacing-5xl: 8rem;
  --spacing-6xl: 10rem;
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fefefe;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section__title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: var(--radius-sm);
}

.section__subtitle {
  font-size: var(--font-size-lg);
  color: #374151;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
}

/* ===== BUTTONS ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-base);
  transition: var(--transition);
  text-align: center;
  min-width: 140px;
  position: relative;
  overflow: hidden;
  gap: 0.5rem;
}

.button--primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  box-shadow: var(--shadow);
}

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

.button--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button--secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(254, 254, 254, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-fixed);
  transition: var(--transition);
  border-bottom: 1px solid rgba(6, 99, 173, 0.1);
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0.3;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 700;
  font-size: var(--font-size-xl);
  color: var(--text-dark);
  transition: var(--transition);
}

.nav__logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.nav__logo-link:hover .nav__logo-img {
  transform: scale(1.05);
}

.nav__logo-text {
  font-family: var(--font-tech);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: var(--font-size-xl);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  margin-right: var(--spacing-xl);
}

.nav__buttons {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav__item--dropdown {
  position: relative;
}

.nav__dropdown-icon {
  width: 16px;
  height: 16px;
  margin-left: var(--spacing-xs);
  transition: var(--transition);
}

.nav__item--dropdown:hover .nav__dropdown-icon {
  transform: rotate(180deg);
}

.nav__client-area {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: #f1f5f9;
  color: #1a202c;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: var(--font-size-sm);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

.nav__client-area:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.nav__client-icon {
  width: 16px;
  height: 16px;
  color: #1a202c;
}

.nav__quote-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--font-size-sm);
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.nav__quote-button:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.nav__link {
  font-weight: 600;
  color: #1a202c;
  transition: var(--transition);
  position: relative;
  font-size: var(--font-size-base);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary-color);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav__toggle-line {
  width: 25px;
  height: 3px;
  background: #1a202c;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__close {
  display: none;
  font-size: var(--font-size-2xl);
  color: #1a202c;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  padding-top: 120px;
  padding-bottom: var(--spacing-3xl);
  background: #fafbfc;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(6, 99, 173, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(168, 222, 249, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero__container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 500px;
  height: auto;
}

.hero__banner {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  padding: var(--spacing-3xl);
  margin-bottom: var(--spacing-2xl);
  position: relative;
  background: transparent;
  min-height: 500px;
  height: auto;
}

.hero__banner--active {
  display: grid !important;
  animation: fadeInUp 0.8s ease-out;
}

.hero__banner--active .hero__content .hero__badge,
.hero__banner--active .hero__content .hero__title,
.hero__banner--active .hero__content .hero__description {
  opacity: 1;
  transform: translateY(0);
}

.hero__banner--active .hero__content .hero__buttons {
  opacity: 1;
  transform: translateX(0);
}

.hero__banner--active .hero__image {
  opacity: 1;
  transform: translateX(0);
}

.hero__banner--suporte {
  background: transparent;
}

.hero__banner--suporte .hero__content {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.hero__banner--seguranca {
  background: transparent;
}

.hero__banner--seguranca .hero__content {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.hero__banner--seguranca .hero__buttons {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: var(--spacing-2xl);
  align-items: center;
  justify-content: flex-start;
}

.hero__banner--seguranca .hero__buttons .button {
  display: inline-block;
  margin: 0;
  clear: none;
}

.hero__banner--seguranca .hero__buttons .button:first-child {
  margin-right: 0.9rem;
}

.hero__banner--seguranca .hero__buttons .button:last-child {
  margin-left: 0;
}

/* Forçar layout horizontal para banner de segurança */
.hero__banner--seguranca .hero__buttons {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.hero__banner--seguranca .hero__buttons > * {
  flex: 0 0 auto !important;
  display: inline-block !important;
  float: none !important;
}


.hero__content {
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  z-index: 2;
}

.hero__content .hero__badge {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero__content .hero__title {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero__content .hero__description {
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.hero__content .hero__buttons {
  animation: slideInFromRight 0.6s ease-out 0.8s both;
}

/* Garantir que os elementos comecem invisíveis */
.hero__content .hero__badge,
.hero__content .hero__title,
.hero__content .hero__description {
  opacity: 0;
  transform: translateY(30px);
}

.hero__image {
  opacity: 0;
  transform: translateX(30px);
}

.hero__content .hero__buttons {
  opacity: 0;
  transform: translateX(50px);
}

/* Animação slideInFromRight */
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero__badge {
  display: inline-block;
  margin-bottom: var(--spacing-lg);
}

.hero__badge span {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(6, 99, 173, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: 1px solid rgba(6, 99, 173, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  color: #1f2937;
}

.hero__title-accent {
  color: var(--primary-color);
  display: inline;
}

.hero__description {
  font-size: var(--font-size-lg);
  color: #374151;
  margin-bottom: var(--spacing-2xl);
  line-height: 1.7;
  max-width: 500px;
  font-weight: 500;
}

.hero__buttons {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  margin-top: var(--spacing-2xl);
  align-items: center;
}

/* Garantir que os botões do hero mantenham layout adequado */
.hero__buttons .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  white-space: nowrap;
}

.button--secondary {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #374151;
  border: 1px solid #e2e8f0;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.button--secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.button--secondary:hover {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #cbd5e1;
}

.button--secondary:hover::before {
  left: 100%;
}

.button__icon {
  width: 20px;
  height: 20px;
  color: #ffffff !important;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
}

.button--primary .button__icon {
  width: 20px;
  height: 20px;
  color: #ffffff !important;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  margin-left: 0.5rem;
}

/* Regras específicas para ícones de botões */
.button--primary svg {
  width: 20px !important;
  height: 20px !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  margin-left: 0.5rem;
  object-fit: contain;
}

/* Botão primário melhorado */
.button--primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: #ffffff !important;
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(6, 99, 173, 0.3);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.button--primary::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: left 0.5s ease;
}

.button--primary:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 99, 173, 0.4);
}

.button--primary:hover::before {
  left: 100%;
}

/* Correção específica para ícones comprimidos */
.hero__buttons .button--primary svg,
.hero__buttons .button--primary .button__icon {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: inline-block !important;
  vertical-align: middle;
  margin-left: 0.5rem;
  object-fit: contain;
  box-sizing: border-box;
}

/* Forçar dimensões específicas para o SVG do botão de segurança */
.hero__banner--seguranca .button--primary svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: inline-block !important;
  vertical-align: middle;
  margin-left: 0.5rem;
  object-fit: contain;
  box-sizing: border-box;
}

/* Correção adicional para SVGs comprimidos */
.button__icon {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: inline-block !important;
  vertical-align: middle;
  margin-left: 0.5rem;
  object-fit: contain;
  box-sizing: border-box;
  overflow: visible;
}

.hero__image {
  position: relative;
  animation: fadeInRight 0.6s ease-out 0.4s both;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img {
  width: 100%;
  height: auto;
  max-width: 500px;
  display: block;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.hero__img:hover {
  transform: translateY(-5px);
}


/* Controles de Navegação */
.hero__controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
  position: absolute;
  right: var(--spacing-xl);
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

.hero__control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(6, 99, 173, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero__control:hover {
  background: rgba(6, 99, 173, 0.6);
  transform: scale(1.1);
}

.hero__control--active {
  background: var(--primary-color);
  transform: scale(1.2);
}


/* ===== ABOUT SECTION REMOVED ===== */

.about__container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0;
  align-items: stretch;
  min-height: 600px;
  margin: 0;
  padding: 0;
}

.about__title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
}

.about__description {
  font-size: var(--font-size-lg);
  color: #374151;
  line-height: 1.7;
  margin-bottom: var(--spacing-2xl);
  font-weight: 500;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.about__stat {
  text-align: center;
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6, 99, 173, 0.1);
  transition: all 0.3s ease;
}

.about__stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(6, 99, 173, 0.2);
}

.about__stat-number {
  display: block;
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.about__stat-label {
  font-size: var(--font-size-sm);
  color: #374151;
  font-weight: 600;
}

.about__image {
  position: relative;
}

.about__image-bg {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.about__image-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

/* New About Section Styles */
.about__badge {
  display: inline-block;
  margin-bottom: var(--spacing-lg);
}

.about__badge span {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(6, 99, 173, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: 1px solid rgba(6, 99, 173, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6, 99, 173, 0.1);
  transition: all 0.3s ease;
}

.about__feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(6, 99, 173, 0.2);
}

.about__feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.about__feature-icon svg {
  width: 24px;
  height: 24px;
}

.about__feature-content h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.about__feature-content p {
  font-size: var(--font-size-base);
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

.about__image-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.about__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: var(--spacing-2xl);
  color: var(--white);
}

.about__overlay-content h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.about__overlay-content p {
  font-size: var(--font-size-base);
  opacity: 0.9;
  margin: 0;
}

/* New About Section Layout Styles */
.about__image-section {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.about__image-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
}

.about__image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    #fefefe 0%,
    rgba(250, 251, 252, 0.8) 30%,
    rgba(248, 250, 252, 0.4) 60%,
    transparent 80%
  );
  z-index: 1;
  pointer-events: none;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    #fefefe 0%,
    rgba(250, 251, 252, 0.6) 25%,
    rgba(248, 250, 252, 0.3) 50%,
    transparent 75%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-2xl);
  color: var(--text-dark);
  z-index: 2;
}

.about__company-brand {
  text-align: center;
}

.about__circuit-graphic {
  margin-bottom: var(--spacing-lg);
  opacity: 0.8;
}

.about__circuit-graphic svg {
  width: 120px;
  height: 60px;
}

.about__company-name {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  color: var(--primary-color);
  margin: 0;
  line-height: 0.9;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
  font-family: var(--font-tech);
  letter-spacing: 2px;
}

.about__company-tagline {
  font-size: var(--font-size-lg);
  color: var(--text-dark);
  margin: var(--spacing-sm) 0 0 0;
  opacity: 0.9;
  font-weight: 500;
}


.about__content {
  background: transparent;
  padding: var(--spacing-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

.about__subtitle {
  font-size: var(--font-size-lg);
  color: #374151;
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.about__highlight {
  color: var(--accent-color);
  font-weight: 600;
}

.about__description {
  margin-bottom: var(--spacing-2xl);
}

.about__description p {
  font-size: var(--font-size-base);
  color: #374151;
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.about__values {
  margin-bottom: var(--spacing-2xl);
}

.about__values-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--spacing-lg);
}

.about__values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
  list-style: none;
  padding: 0;
  margin: 0;
}

.about__values-list li {
  position: relative;
  padding-left: var(--spacing-lg);
  font-size: var(--font-size-base);
  color: #374151;
  font-weight: 500;
}

.about__values-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
}

.about__contact-info {
  background: rgba(6, 99, 173, 0.05);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-color);
}

.about__contact-info p {
  margin: 0;
  font-size: var(--font-size-base);
  color: var(--text-dark);
}

.about__phone {
  color: var(--primary-color);
  font-weight: 700;
  font-size: var(--font-size-lg);
}

/* ===== SOLUTIONS SECTION ===== */
.solutions {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.solutions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tech-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(6, 99, 173, 0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23tech-grid)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.solutions__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-2xl);
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsividade para evitar overflow lateral dos cards em telas menores */
@media (max-width: 1024px) {
  .solutions__container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .solutions__container {
    /* Carrossel horizontal no mobile */
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    /* sem margens negativas: garante que o primeiro card não fique fora da tela */
    margin-left: 0;
    margin-right: 0;
    /* padding lateral para centralizar o primeiro/último card na viewport */
    padding-left: 0;
    padding-right: 0;
    justify-content: flex-start; /* começa do início do carrossel */
    scroll-behavior: smooth;
    scroll-padding-left: 0;
    position: relative;
  }

  .solutions__container::-webkit-scrollbar { height: 6px; }
  .solutions__container::-webkit-scrollbar-thumb {
    background: rgba(6, 99, 173, 0.25);
    border-radius: 999px;
  }

  .services__card {
    flex: 0 0 85vw;
    min-width: 85vw;
    scroll-snap-align: center;
  }

  /* Remover o padding do container apenas nesta seção para não empurrar o carrossel */
  .solutions .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Espaçadores para centralizar primeiro e último cards */
  .solutions__container::before,
  .solutions__container::after {
    content: '';
    flex: 0 0 calc((100vw - 85vw) / 2);
  }

  /* Setas do carrossel */
  .solutions__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(6, 99, 173, 0.12);
    border: 1px solid rgba(6, 99, 173, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0663ad;
    box-shadow: 0 4px 12px rgba(6,99,173,0.15);
    backdrop-filter: blur(6px);
    z-index: 50;
  }

  .solutions__arrow svg { width: 18px; height: 18px; }
  .solutions__arrow--prev { left: 8px; }
  .solutions__arrow--next { right: 8px; }
  .solutions__arrow[disabled] { opacity: .4; pointer-events: none; }
}

/* Esconder setas no desktop */
@media (min-width: 769px) {
  .solutions__arrow { display: none; }
}

.solution {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  backdrop-filter: blur(25px);
  border: 2px solid rgba(6, 99, 173, 0.25);
  border-radius: 28px;
  padding: var(--spacing-3xl);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 25px 50px rgba(6, 99, 173, 0.15),
    0 12px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.6);
}

.solution::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, #10b981 100%);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(6, 99, 173, 0.4);
}

.solution::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(6, 99, 173, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.solution:hover {
  transform: translateY(-16px) scale(1.03);
  box-shadow: 
    0 40px 80px rgba(6, 99, 173, 0.25),
    0 20px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 2px rgba(6, 99, 173, 0.3);
  border-color: rgba(6, 99, 173, 0.4);
}

.solution:hover::before {
  transform: scaleX(1);
  box-shadow: 0 0 30px rgba(6, 99, 173, 0.6);
}

.solution:hover::after {
  opacity: 1;
}

.solution--featured {
  background: linear-gradient(145deg, rgba(6, 99, 173, 0.08) 0%, rgba(5, 124, 198, 0.12) 50%, rgba(16, 185, 129, 0.05) 100%);
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
  box-shadow: 
    0 25px 50px rgba(6, 99, 173, 0.15),
    0 10px 20px rgba(6, 99, 173, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.solution--featured:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 
    0 40px 80px rgba(6, 99, 173, 0.2),
    0 20px 40px rgba(6, 99, 173, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.solution__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
}

.solution__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, #10b981 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 
    0 16px 32px rgba(6, 99, 173, 0.5),
    0 8px 16px rgba(6, 99, 173, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.solution__icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  transition: transform 0.6s ease;
}

.solution:hover .solution__icon {
  transform: translateY(-6px) scale(1.15);
  box-shadow: 
    0 24px 48px rgba(6, 99, 173, 0.6),
    0 12px 24px rgba(6, 99, 173, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.solution:hover .solution__icon::before {
  transform: rotate(45deg) translate(100%, 100%);
}

.solution__icon svg {
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

.solution__badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  color: var(--white);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 30px;
  font-size: var(--font-size-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 
    0 6px 16px rgba(16, 185, 129, 0.4),
    0 2px 4px rgba(16, 185, 129, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.solution__badge::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: left 0.5s ease;
}

.solution:hover .solution__badge::before {
  left: 100%;
}

.solution__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: #000000 !important;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #000000 !important;
  background-clip: unset !important;
}

.solution__description {
  font-size: var(--font-size-base);
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.solution__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-lg) 0;
}

.solution__features li {
  position: relative;
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-sm);
  color: #374151;
  font-weight: 500;
}

.solution__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: 800;
  font-size: var(--font-size-sm);
  text-shadow: 0 1px 2px rgba(6, 99, 173, 0.3);
}

.solution__stats {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(6, 99, 173, 0.1);
}

.solution__stat {
  text-align: center;
  flex: 1;
}

.solution__stat-number {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-xs);
  text-shadow: 0 2px 4px rgba(6, 99, 173, 0.2);
}

.solution__stat-label {
  font-size: var(--font-size-xs);
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SOLUTIONS CTA ===== */
.solutions__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-3xl);
  padding-top: var(--spacing-2xl);
  border-top: 1px solid rgba(6, 99, 173, 0.1);
  position: relative;
  z-index: 5;
}

.solutions__button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-base);
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 
    0 4px 15px rgba(6, 99, 173, 0.2),
    0 2px 6px rgba(6, 99, 173, 0.1);
  z-index: 10;
  cursor: pointer;
  pointer-events: auto;
  width: auto;
  max-width: 200px;
}

.solutions__button svg {
  transition: transform 0.3s ease;
  color: #ffffff !important;
  width: 16px;
  height: 16px;
}

.solutions__button:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(6, 99, 173, 0.4);
}

.solutions__button:hover svg {
  transform: translateX(4px);
}

.solutions__button::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: left 0.5s ease;
}

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

/* ===== SOLUTIONS BUTTON - SEGUINDO PADRÃO ESTABELECIDO ===== */
@media screen and (max-width: 768px) {
  .solutions__button {
    /* Seguindo o padrão dos botões do hero */
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    max-width: 200px;
    width: auto;
    text-transform: none;
    letter-spacing: 0;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .solutions__button svg {
    width: 20px;
    height: 20px;
    color: #ffffff !important;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }

  .solutions__button:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }

  .solutions__button:hover svg {
    transform: translateX(4px);
  }

  .solutions__button:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
  }

  /* Efeito de brilho sutil no hover */
  .solutions__button::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: left 0.5s ease;
  }

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

@media screen and (max-width: 480px) {
  .solutions__button {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
    min-width: 120px;
    max-width: 180px;
  }
}

/* ===== PARTNERS SECTION ===== */
.partners {
  background: #fafbfc;
  padding: var(--spacing-2xl) 0 var(--spacing-4xl) 0 !important;
  margin-top: 0;
}

.partners.section {
  padding: var(--spacing-2xl) 0 var(--spacing-4xl) 0 !important;
}

.partners__carousel {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  margin-top: var(--spacing-4xl);
  padding: 20px 0;
  min-height: 100px;
}

.partners__static {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-4xl);
  margin-top: var(--spacing-4xl);
  padding: 20px 0;
  flex-wrap: wrap;
}

.partners__track {
  display: flex;
  gap: var(--spacing-3xl);
  align-items: center;
  transition: none;
}

.partners__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 80px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.partners__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover apenas no desktop */
@media (min-width: 769px) {
  .partners__logo:hover {
    transform: translateY(-2px) scale(1.02);
  }

  .partners__logo:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
  }
}

/* No mobile, remover qualquer indicação de interatividade */
@media (max-width: 768px) {
  .partners__logo {
    cursor: default;
    pointer-events: none;
  }
  
  .partners__logo img {
    filter: grayscale(100%) brightness(0.7);
    transition: none;
  }
}

/* Carrossel controlado por JavaScript - sem animação CSS */

/* ===== PARTNERS RESPONSIVE ===== */
@media (max-width: 768px) {
  .partners__logo {
    width: 140px;
    height: 60px;
    padding: var(--spacing-md);
  }
  
  .partners__track {
    gap: var(--spacing-xl);
  }
  
  .partners__logo:hover {
    transform: translateY(-2px) scale(1.02);
  }
  
  .partners__static {
    gap: var(--spacing-2xl);
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .partners__logo {
    width: 120px;
    height: 50px;
    padding: var(--spacing-sm);
  }
  
  .partners__track {
    gap: var(--spacing-lg);
  }
}

.services__card {
  background: #ffffff;
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(6, 99, 173, 0.1);
}

.services__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(6, 99, 173, 0.2);
  border-color: var(--primary-color);
}

.services__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  transition: var(--transition);
}

.services__card:hover .services__icon {
  transform: scale(1.05);
}

.services__icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.services__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.services__description {
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background: #fefefe;
}

.testimonials__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials__card {
  background: #ffffff;
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(6, 99, 173, 0.1);
  position: relative;
  overflow: hidden;
}

.testimonials__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(6, 99, 173, 0.2);
  border-color: var(--primary-color);
}

.testimonials__card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: var(--spacing-lg);
  font-size: 4rem;
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1;
}

.testimonials__content {
  margin-bottom: var(--spacing-lg);
}

.testimonials__text {
  font-size: var(--font-size-lg);
  color: #1f2937;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.testimonials__author-info {
  flex: 1;
}

.testimonials__author-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #0f172a;
  margin-bottom: var(--spacing-xs);
}

.testimonials__author-role {
  font-size: var(--font-size-sm);
  color: #374151;
  margin: 0;
}

/* ===== SPECIAL SECTION ===== */
.special {
  background: #fefefe;
}

.special__container {
  max-width: 1200px;
  margin: 0 auto;
}

.special__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

.special__card {
  background: #ffffff;
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(6, 99, 173, 0.1);
}

.special__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(6, 99, 173, 0.2);
  border-color: var(--primary-color);
}

.special__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-lg);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.special__icon svg {
  width: 24px;
  height: 24px;
}

.special__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.special__description {
  font-size: var(--font-size-base);
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

/* ===== SPECIAL RESPONSIVE ===== */
@media (max-width: 768px) {
  .special__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .special__card {
    padding: var(--spacing-xl);
  }
  
  .special__icon {
    width: 50px;
    height: 50px;
  }
  
  .special__icon svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== SERVICES RESPONSIVE ===== */
@media (max-width: 768px) {
  .services__icon {
    width: 50px;
    height: 50px;
  }
  
  .services__icon svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: #fefefe;
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.contact__item {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: #f8fafc;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.contact__item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow);
}

.contact__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.contact__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.contact__text {
  color: var(--text-light);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact__form-group {
  position: relative;
}

.contact__input {
  width: 100%;
  padding: var(--spacing-lg);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  transition: var(--transition);
  background: #f8fafc;
}

.contact__input:focus {
  border-color: var(--primary-color);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(6, 99, 173, 0.1);
}

.contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__button {
  align-self: flex-start;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  color: var(--white);
  padding: var(--spacing-4xl) 0 var(--spacing-lg);
  overflow: hidden;
  border-top: 1px solid rgba(6, 99, 173, 0.2);
  z-index: 0;
}

.footer__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.footer__tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(6, 99, 173, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 99, 173, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  animation: techGridMove 20s linear infinite;
}

.footer__circuit-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(6, 99, 173, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(5, 124, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(168, 222, 249, 0.05) 0%, transparent 50%);
  animation: circuitPulse 15s ease-in-out infinite;
}

@keyframes techGridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

@keyframes circuitPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
  position: relative;
  z-index: 2;
}

.footer__section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.footer__company {
  max-width: 400px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  transition: all 0.3s ease;
}

.footer__logo-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(6, 99, 173, 0.3);
  position: relative;
  overflow: hidden;
}

.footer__logo-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  transition: transform 0.6s ease;
}

.footer__logo:hover .footer__logo-icon::before {
  transform: rotate(45deg) translate(100%, 100%);
}

.footer__logo:hover .footer__logo-primary {
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}


.footer__logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.3s ease;
}

.footer__logo-primary {
  font-family: var(--font-tech);
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  position: relative;
}

.footer__logo-secondary {
  font-size: var(--font-size-base);
  color: #f8fafc;
  font-weight: 600;
  opacity: 0.95;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.footer__description {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
  font-size: var(--font-size-base);
}

.footer__stats {
  display: flex;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.footer__stat {
  text-align: center;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

.footer__stat:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.footer__stat-number {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: var(--spacing-xs);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.footer__stat-label {
  font-size: var(--font-size-xs);
  color: #e2e8f0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 1px;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer__item {
  margin: 0;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: #cbd5e1;
  text-decoration: none;
  padding: var(--spacing-sm) 0;
  transition: all 0.3s ease;
  font-size: var(--font-size-sm);
  font-weight: 500;
  position: relative;
}

.footer__link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.footer__link:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer__link:hover::before {
  width: 20px;
}

.footer__link-icon {
  width: 16px;
  height: 16px;
  color: #fbbf24;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer__link:hover .footer__link-icon {
  color: #f59e0b;
  transform: scale(1.1);
}

.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer__contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.footer__contact-item:hover::before {
  left: 100%;
}

.footer__contact-item:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer__contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.footer__contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.footer__contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__contact-label {
  font-size: var(--font-size-xs);
  color: #f1f5f9;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__contact-value {
  color: #f8fafc;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__contact-value:hover {
  color: #fbbf24;
}

.footer__social-description {
  color: #cbd5e1;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.footer__social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.footer__social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer__social-link::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;
}

.footer__social-link:hover::before {
  left: 100%;
}

.footer__social-link:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
  border-color: #fbbf24;
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
  transition: all 0.3s ease;
}

.footer__social-link:hover svg {
  color: #000000;
  transform: scale(1.1);
}

.footer__newsletter {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--spacing-lg);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.footer__newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer__newsletter-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 2;
}

.footer__newsletter-description {
  font-size: var(--font-size-sm);
  color: #f1f5f9;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 2;
}

.footer__newsletter-form {
  display: flex;
  gap: var(--spacing-sm);
  position: relative;
  z-index: 2;
}

.footer__newsletter-input {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: var(--white);
  font-size: var(--font-size-sm);
  transition: all 0.3s ease;
}

.footer__newsletter-input::placeholder {
  color: #f1f5f9;
}

.footer__newsletter-input:focus {
  outline: none;
  border-color: #fbbf24;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.footer__newsletter-button {
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: none;
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.footer__newsletter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.footer__newsletter-button svg {
  width: 16px;
  height: 16px;
}

.footer__bottom {
  border-top: 1px solid rgba(6, 99, 173, 0.2);
  padding-top: var(--spacing-xl);
  position: relative;
  z-index: 2;
}

.footer__bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.footer__copyright {
  flex: 1;
}

.footer__copy {
  color: #e2e8f0;
  font-size: var(--font-size-sm);
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: var(--spacing-lg);
}

.footer__legal-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: color 0.3s ease;
  position: relative;
}

.footer__legal-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fbbf24;
  transition: width 0.3s ease;
}

.footer__legal-link:hover {
  color: #fbbf24;
}

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

.footer__tech-info {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__tech-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #e2e8f0;
  font-size: var(--font-size-xs);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer__tech-badge::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;
}

.footer__tech-badge:hover::before {
  left: 100%;
}

.footer__tech-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.footer__tech-icon {
  width: 16px;
  height: 16px;
  color: #fbbf24;
  animation: techPulse 2s ease-in-out infinite;
}

.footer__tech-link {
  color: #fbbf24;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.footer__tech-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fbbf24;
  transition: width 0.3s ease;
}

.footer__tech-link:hover {
  color: #f59e0b;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

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

@keyframes techPulse {
  0%, 100% { 
    opacity: 0.7;
    transform: scale(1);
  }
  50% { 
    opacity: 1;
    transform: scale(1.1);
  }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: rgba(6, 99, 173, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 16px rgba(6, 99, 173, 0.15),
    0 0 0 1px rgba(6, 99, 173, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(6, 99, 173, 0.2);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(6, 99, 173, 0.2);
  box-shadow: 
    0 6px 20px rgba(6, 99, 173, 0.25),
    0 0 0 1px rgba(6, 99, 173, 0.2);
}

.scroll-top:active {
  transform: translateY(-1px) scale(0.98);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  color: #0663ad;
  transition: all 0.3s ease;
}

/* Scroll to top quando está sobre o rodapé */
.scroll-top.over-footer svg {
  color: #ffffff !important;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
}

.scroll-top.over-footer {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3) !important;
}

/* Solução alternativa: quando o rodapé está na parte inferior da tela */
@media (min-height: 600px) {
  .scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
  }
  
  /* Força cor branca quando próximo do final da página */
  .scroll-top svg {
    transition: color 0.3s ease;
  }
  
  /* Quando a página está quase no final */
  body.scrolled .scroll-top svg {
    color: #ffffff;
  }
  
  /* Quando próximo do rodapé */
  body.near-footer .scroll-top svg {
    color: #ffffff !important;
  }
  
  body.near-footer .scroll-top {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3) !important;
  }
}

.scroll-top:hover svg {
  color: #057cc6;
  transform: translateY(-1px);
}

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

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

/* ===== EXIT INTENT POPUP ===== */
.exit-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.exit-popup.show {
  display: flex;
  opacity: 1;
}

.exit-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.exit-popup__content {
  position: relative;
  max-width: 500px;
  width: 90%;
  margin: auto;
  background: #1e3a8a;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  animation: popupSlideIn 0.35s ease-out;
}

@keyframes popupSlideIn {
  from {
    transform: translateY(-50px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.exit-popup__background { display: none; }

.exit-popup__stars { display: none; }

@keyframes starsMove { from { opacity: 0; } to { opacity: 0; } }

.exit-popup__circuit { display: none; }

@keyframes circuitPulse { from { opacity: 0; } to { opacity: 0; } }

.exit-popup__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.exit-popup__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.exit-popup__header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 5;
}

.exit-popup__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.exit-popup__title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 10px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  letter-spacing: 2px;
}

.exit-popup__subtitle {
  font-size: 1.1rem;
  color: #fbbf24;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.exit-popup__body {
  margin-bottom: 30px;
  position: relative;
  z-index: 5;
}

.exit-popup__description {
  color: #f8fafc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 25px;
  text-align: center;
}

.exit-popup__benefits {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.exit-popup__benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  font-weight: 500;
  transition: all 0.3s ease;
}

.exit-popup__benefit:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(251, 191, 36, 0.3);
  transform: translateX(5px);
}

.exit-popup__benefit svg {
  color: #fbbf24;
  flex-shrink: 0;
}

.exit-popup__footer {
  position: relative;
  z-index: 5;
}

.exit-popup__cta {
  width: 100%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #ffffff;
  border: none;
  padding: 18px 30px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
  margin-bottom: 15px;
}

.exit-popup__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(251, 191, 36, 0.6);
}

.exit-popup__decline {
  width: 100%;
  background: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.exit-popup__decline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

/* Responsive para o popup */
@media (max-width: 768px) {
  .exit-popup__content {
    width: 95%;
    padding: 30px 20px;
  }
  
  .exit-popup__title {
    font-size: 2rem;
  }
  
  .exit-popup__benefits {
    gap: 12px;
  }
  
  .exit-popup__benefit {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .exit-popup__content {
    padding: 25px 15px;
  }
  
  .exit-popup__title {
    font-size: 1.8rem;
  }
  
  .exit-popup__icon {
    width: 60px;
    height: 60px;
  }
}

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

/* ===== FOOTER RESPONSIVE - TABLET ===== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
  }
  
  .footer__company {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: var(--spacing-lg);
  }
  
  .footer__logo {
    justify-content: center;
  }
  
  .footer__description {
    text-align: center;
    max-width: 500px;
    margin: 0 auto var(--spacing-lg);
  }
  
  .footer__stats {
    justify-content: center;
  }
  
  .footer__services,
  .footer__contact {
    text-align: center;
  }
  
  .footer__social {
    grid-column: 1 / -1;
    text-align: center;
  }
  
  .footer__social-links {
    justify-content: center;
  }
  
  .footer__newsletter {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .footer__bottom-content {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
  
  .footer__legal {
    justify-content: center;
  }
}

/* ===== FOOTER RESPONSIVE - NEST HUB (1024x600) ===== */
@media screen and (min-width: 1024px) and (max-height: 600px) {
  .footer {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    text-align: center;
  }
  
  .footer__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer__company {
    max-width: none;
    width: 100%;
    text-align: center;
  }
  
  .footer__logo {
    flex-direction: row;
    text-align: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
  }
  
  .footer__logo-icon {
    width: 40px;
    height: 40px;
  }
  
  .footer__logo-img {
    width: 24px;
    height: 24px;
  }
  
  .footer__logo-primary {
    font-size: var(--font-size-xl);
    letter-spacing: 1px;
  }
  
  .footer__logo-secondary {
    font-size: var(--font-size-sm);
  }
  
  .footer__description {
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin: 0 auto var(--spacing-md);
    text-align: center;
    max-width: 500px;
  }
  
  .footer__stats {
    flex-direction: row;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    justify-content: center;
  }
  
  .footer__stat {
    padding: var(--spacing-xs);
    flex: 1;
    max-width: 120px;
  }
  
  .footer__stat-number {
    font-size: var(--font-size-lg);
  }
  
  .footer__stat-label {
    font-size: 10px;
  }
  
  /* Seções em linha horizontal */
  .footer__services,
  .footer__contact,
  .footer__social {
    display: inline-block;
    width: 30%;
    min-width: 200px;
    text-align: center;
    vertical-align: top;
    margin: 0 1.5%;
  }
  
  .footer__title {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-sm);
    text-align: center;
  }
  
  .footer__list {
    gap: var(--spacing-xs);
    align-items: center;
  }
  
  .footer__link {
    padding: var(--spacing-xs) 0;
    font-size: var(--font-size-sm);
    justify-content: center;
  }
  
  .footer__contact-info {
    gap: var(--spacing-sm);
    align-items: center;
  }
  
  .footer__contact-item {
    padding: var(--spacing-xs);
    gap: var(--spacing-xs);
    justify-content: center;
    text-align: center;
  }
  
  .footer__contact-icon {
    width: 30px;
    height: 30px;
    margin: 0 auto;
  }
  
  .footer__contact-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .footer__contact-label {
    font-size: 10px;
  }
  
  .footer__contact-value {
    font-size: var(--font-size-sm);
  }
  
  .footer__social-description {
    font-size: var(--font-size-xs);
    margin-bottom: var(--spacing-sm);
    text-align: center;
  }
  
  .footer__social-links {
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    justify-content: center;
  }
  
  .footer__social-link {
    width: 35px;
    height: 35px;
  }
  
  .footer__social-link svg {
    width: 16px;
    height: 16px;
  }
  
  .footer__newsletter {
    padding: var(--spacing-sm);
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
  }
  
  .footer__newsletter-title {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
  }
  
  .footer__newsletter-description {
    font-size: 11px;
    margin-bottom: var(--spacing-sm);
  }
  
  .footer__newsletter-form {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  .footer__newsletter-input {
    padding: var(--spacing-xs);
    font-size: var(--font-size-sm);
  }
  
  .footer__newsletter-button {
    padding: var(--spacing-xs);
    font-size: var(--font-size-sm);
  }
  
  .footer__bottom {
    padding-top: var(--spacing-md);
    text-align: center;
  }
  
  .footer__bottom-content {
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    align-items: center;
  }
  
  .footer__copyright {
    order: 1;
  }
  
  .footer__legal {
    order: 2;
    gap: var(--spacing-sm);
    justify-content: center;
  }
  
  .footer__legal-link {
    font-size: 11px;
  }
  
  .footer__tech-info {
    order: 3;
  }
  
  .footer__tech-badge {
    flex-direction: row;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs);
    font-size: 10px;
    justify-content: center;
  }
}

@media screen and (max-width: 1024px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
  
  .hero__banner {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
    padding: var(--spacing-xl);
    min-height: 500px;
    height: auto;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .hero__banner--active {
    display: flex !important;
  }
  
  .hero__image {
    order: -1;
    margin-bottom: var(--spacing-lg);
  }
  
  .hero__content {
    order: 1;
    text-align: center;
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__description { margin-left: auto; margin-right: auto; max-width: 60ch; }

  .hero__badge { margin-left: auto; margin-right: auto; }

  .hero__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    width: 100%;
  }
  
  .hero__banner--suporte .hero__content,
  .hero__banner--seguranca .hero__content {
    padding: var(--spacing-xl);
  }
  
  /* Centralização garantida dos botões do 2º banner (Segurança) */
  .hero__banner--seguranca .hero__buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: var(--spacing-lg);
    width: 100%;
    flex-direction: row !important;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero__controls {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    margin-top: var(--spacing-xl);
  }
  
  .hero__title {
    font-size: var(--font-size-4xl);
  }
  
  .section__title {
    font-size: var(--font-size-3xl);
  }
}

/* Tablet layout: 770px–1025px - manter como desktop */
@media screen and (min-width: 770px) and (max-width: 1024px) {
  /* Manter tamanhos originais do logo */
  .nav__logo-icon { width: 40px; height: 40px; }
  .nav__logo-text { font-size: var(--font-size-lg); letter-spacing: 0.3px; }

  /* Manter espaçamento original do menu */
  .nav__list { gap: var(--spacing-xl); }
  
  /* Espaçamento entre logo e menu */
  .nav__list { margin-left: var(--spacing-2xl); }

  /* "Serviços" como no desktop original */
  .nav__item--dropdown { position: relative; }
  .nav__item--dropdown > a { 
    display: inline-flex !important; 
    align-items: center !important; 
    flex-direction: row !important;
    gap: var(--spacing-xs); 
    padding: var(--spacing-sm) var(--spacing-md); 
  }
  .nav__item--dropdown .nav__dropdown-icon { 
    width: 16px !important; 
    height: 16px !important; 
    margin-left: var(--spacing-xs) !important; 
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
  .nav__item--dropdown > a:hover { background: rgba(6, 99, 173, 0.08); }

  /* Botão Orçamento tamanho original */
  .button--quote { padding: var(--spacing-sm) var(--spacing-lg); font-size: var(--font-size-base); }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
    z-index: var(--z-modal);
  }
  
  .nav__menu.show {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    gap: var(--spacing-xl);
  }
  
  .nav__buttons {
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
  }
  
  .nav__toggle {
    display: flex;
  }
  
  .nav__close {
    display: block;
    position: absolute;
    top: var(--spacing-xl);
    right: var(--spacing-xl);
  }
  
  .nav__logo-icon {
    width: 35px;
    height: 35px;
  }
  
  .nav__logo-text {
    font-size: var(--font-size-lg);
    letter-spacing: 0.3px;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .hero__title {
    font-size: var(--font-size-3xl);
  }
  
  /* Hero ajustes mobile: foco no conteúdo, remover imagem e otimizar botões */
  /* Gutter global e simétrico para todas as seções no mobile */
  .container,
  .hero__container,
  .solutions .container,
  .testimonials .container,
  .special .container,
  .footer .container {
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
    margin: 0 auto;
  }

  .hero__container { margin: 0 auto; max-width: 560px; height: 1150px; }
  .hero__banner { place-items: center; justify-items: center; justify-content: center; width: 100%; padding-left: 0; padding-right: 0; margin: 0 auto; max-width: 560px; gap: var(--spacing-lg); height: 1150px; overflow: hidden; position: relative; display: none; }
  
  .hero__banner--active {
    display: grid !important;
  }
  .hero__content { text-align: center; max-width: 560px; width: 100%; margin-left: auto; margin-right: auto; padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }
  .hero__content, .hero__image { justify-self: center; }
  .hero__description { max-width: 40ch; margin-left: auto; margin-right: auto; margin-bottom: var(--spacing-2xl); line-height: 1.75; }
  .hero__image { display: flex; justify-content: center; align-items: center; margin-left: auto; margin-right: auto; margin-bottom: var(--spacing-lg); order: -1; width: 100%; max-width: 560px; transform: none !important; }
  .hero__img { width: 100%; max-width: min(420px, 90vw); height: auto; margin: 0 auto; object-fit: contain; }
  .hero__buttons { flex-direction: column !important; width: 100%; align-items: stretch; justify-content: center; gap: var(--spacing-md); max-width: 380px; margin: 0 auto; }
  .hero__buttons .button { width: 100%; }
  .hero__badge { display: inline-block; margin: 0 auto var(--spacing-lg); }
  
  .hero__banner--seguranca .hero__buttons {
    flex-direction: column !important;
  }
  
  .hero__img { max-width: 300px; }
  
  .hero__container { height: 1100px; }
  .hero__banner { height: 1100px; overflow: hidden; display: none; }
  
  .hero__banner--active {
    display: grid !important;
  }
  
  .hero__controls { position: absolute; left: 50%; transform: translateX(-50%); right: auto; top: auto; bottom: 40px; flex-direction: row; margin-top: 0; z-index: 40; }
}

@media screen and (max-width: 480px) {
  .container { padding: 0 var(--spacing-lg); }
  
  .section {
    padding: var(--spacing-2xl) 0;
  }
  
  .hero__title {
    font-size: var(--font-size-2xl);
  }
  
  .section__title {
    font-size: var(--font-size-2xl);
  }
  
  .button {
    width: 100%;
    min-width: auto;
  }
  
  .contact__item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact__icon {
    margin-bottom: var(--spacing-md);
  }
  
  /* Footer Mobile - Responsividade Completa */
  .footer {
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
  }
  
  .footer__main {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    text-align: center;
  }
  
  .footer__company {
    max-width: none;
    order: 1;
  }
  
  .footer__logo {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
  }
  
  .footer__logo-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto;
  }
  
  .footer__logo-img {
    width: 28px;
    height: 28px;
  }
  
  .footer__logo-primary {
    font-size: var(--font-size-2xl);
    letter-spacing: 1px;
  }
  
  .footer__logo-secondary {
    font-size: var(--font-size-sm);
  }
  
  .footer__description {
    text-align: center;
    margin: 0 auto var(--spacing-lg);
    max-width: 300px;
  }
  
  .footer__stats {
    flex-direction: row;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
  }
  
  .footer__stat {
    padding: var(--spacing-sm);
    flex: 1;
    max-width: 120px;
  }
  
  .footer__stat-number {
    font-size: var(--font-size-lg);
  }
  
  .footer__stat-label {
    font-size: 10px;
  }
  
  .footer__services {
    order: 2;
  }
  
  .footer__contact {
    order: 3;
  }
  
  .footer__social {
    order: 4;
  }
  
  .footer__title {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
  }
  
  .footer__list {
    gap: var(--spacing-sm);
  }
  
  .footer__link {
    justify-content: center;
    padding: var(--spacing-sm) 0;
  }
  
  .footer__contact-info {
    gap: var(--spacing-md);
  }
  
  .footer__contact-item {
    flex-direction: row;
    text-align: left;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
  }
  
  .footer__contact-icon {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
  }
  
  .footer__contact-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .footer__contact-details {
    flex: 1;
  }
  
  .footer__contact-label {
    font-size: 10px;
  }
  
  .footer__contact-value {
    font-size: var(--font-size-sm);
  }
  
  .footer__social-description {
    text-align: center;
    margin-bottom: var(--spacing-md);
  }
  
  .footer__social-links {
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
  }
  
  .footer__social-link {
    width: 40px;
    height: 40px;
  }
  
  .footer__social-link svg {
    width: 18px;
    height: 18px;
  }
  
  .footer__newsletter {
    padding: var(--spacing-md);
    text-align: center;
  }
  
  .footer__newsletter-title {
    font-size: var(--font-size-sm);
  }
  
  .footer__newsletter-description {
    font-size: 12px;
  }
  
  .footer__newsletter-form {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .footer__newsletter-input {
    width: 100%;
    padding: var(--spacing-sm);
    font-size: var(--font-size-sm);
  }
  
  .footer__newsletter-button {
    width: 100%;
    justify-content: center;
    padding: var(--spacing-sm);
  }
  
  .footer__bottom-content {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
  
  .footer__copyright {
    order: 2;
  }
  
  .footer__legal {
    order: 1;
    flex-direction: row;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .footer__legal-link {
    font-size: 12px;
  }
  
  .footer__tech-info {
    order: 3;
  }
  
  .footer__tech-badge {
    flex-direction: row;
    gap: var(--spacing-xs);
    text-align: center;
    padding: var(--spacing-sm);
    font-size: 11px;
  }
}

/* ===== FOOTER RESPONSIVE - MOBILE PEQUENO ===== */
@media screen and (max-width: 360px) {
  .footer {
    padding: var(--spacing-xl) 0 var(--spacing-md);
  }
  
  .footer__main {
    gap: var(--spacing-xl);
  }
  
  .footer__logo-icon {
    width: 45px;
    height: 45px;
  }
  
  .footer__logo-img {
    width: 24px;
    height: 24px;
  }
  
  .footer__logo-primary {
    font-size: var(--font-size-xl);
  }
  
  .footer__description {
    font-size: var(--font-size-sm);
    max-width: 280px;
  }
  
  .footer__stats {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .footer__stat {
    max-width: none;
    padding: var(--spacing-xs);
  }
  
  .footer__stat-number {
    font-size: var(--font-size-base);
  }
  
  .footer__stat-label {
    font-size: 9px;
  }
  
  .footer__title {
    font-size: var(--font-size-sm);
  }
  
  .footer__contact-item {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs);
  }
  
  .footer__contact-icon {
    width: 30px;
    height: 30px;
  }
  
  .footer__contact-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .footer__social-link {
    width: 35px;
    height: 35px;
  }
  
  .footer__social-link svg {
    width: 16px;
    height: 16px;
  }
  
  .footer__newsletter {
    padding: var(--spacing-sm);
  }
  
  .footer__newsletter-title {
    font-size: 12px;
  }
  
  .footer__newsletter-description {
    font-size: 11px;
  }
  
  .footer__newsletter-input {
    font-size: 12px;
    padding: var(--spacing-xs);
  }
  
  .footer__newsletter-button {
    padding: var(--spacing-xs);
  }
  
  .footer__legal {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  .footer__legal-link {
    font-size: 11px;
  }
  
  .footer__tech-badge {
    flex-direction: column;
    gap: 2px;
    font-size: 10px;
    padding: var(--spacing-xs);
  }
}

/* ===== TECH EFFECTS ===== */
/* Animated background pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(6, 99, 173, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(5, 124, 198, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(168, 222, 249, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  animation: techPulse 20s ease-in-out infinite;
}

@keyframes techPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Glowing effect for buttons */
.button--primary {
  position: relative;
  overflow: hidden;
}

.button--primary::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;
}

.button--primary:hover::before {
  left: 100%;
}

/* Tech grid overlay */
.tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(6, 99, 173, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 99, 173, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

/* ===== CUSTOM SCROLLBAR ===== */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 10px;
  border: 2px solid #f1f5f9;
  transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  border: 2px solid #e2e8f0;
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #044a7a, #045a8a);
}

::-webkit-scrollbar-corner {
  background: #f1f5f9;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f1f5f9;
}

/* ===== WHATSAPP WIDGET ===== */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: var(--z-fixed);
  font-family: var(--font-family);
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
  width: 32px;
  height: 32px;
  color: white;
  z-index: 2;
}

.whatsapp-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.whatsapp-button:hover::before {
  transform: translateX(100%);
}

/* Balãozinho de ajuda */
.whatsapp-tooltip {
  position: absolute;
  bottom: 10px;
  left: 80px;
  background: #25d366;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.3) translateX(-20px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1001;
  box-shadow: 
    0 8px 25px rgba(37, 211, 102, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 200px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -8px;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-right-color: #25d366;
  filter: drop-shadow(-2px 0 4px rgba(0, 0, 0, 0.1));
}

.whatsapp-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateX(0) translateY(-5px);
  animation: tooltipBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes tooltipBounce {
  0% {
    transform: scale(0.3) translateX(-20px) translateY(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) translateX(5px) translateY(-8px);
    opacity: 0.8;
  }
  100% {
    transform: scale(1) translateX(0) translateY(-5px);
    opacity: 1;
  }
}

/* Botões de opção do chat */
.chat-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
  padding: 0 10px;
}

.chat-option-btn {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  color: #495057;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
}

.chat-option-btn:hover {
  background: #e9ecef;
  border-color: #0663ad;
  color: #0663ad;
  transform: translateY(-1px);
}

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

            /* Botão especialista do chat */
            .chat-specialist-button {
                margin: 15px 0;
                padding: 0 10px;
            }

            .whatsapp-specialist-link {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                background: #f8f9fa;
                border: 2px solid #e9ecef;
                color: #495057;
                text-decoration: none;
                padding: 10px 15px;
                border-radius: 20px;
                font-weight: 500;
                font-size: 14px;
                transition: all 0.3s ease;
                text-align: center;
                position: relative;
                overflow: hidden;
            }

            .whatsapp-specialist-link:hover {
                background: #e9ecef;
                border-color: #0663ad;
                color: #0663ad;
                transform: translateY(-1px);
            }

            .whatsapp-specialist-link:active {
                transform: translateY(0);
            }

            .whatsapp-specialist-link svg {
                width: 16px;
                height: 16px;
                flex-shrink: 0;
            }

.whatsapp-chat {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 350px;
  height: 500px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  box-shadow: 
    0 20px 40px rgba(6, 99, 173, 0.15),
    0 0 0 1px rgba(6, 99, 173, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(6, 99, 173, 0.2);
}

.whatsapp-chat.show {
  display: flex;
}

.whatsapp-chat::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(6, 99, 173, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(5, 124, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(37, 211, 102, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

@keyframes chatSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-header {
  background: #0663ad;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 10;
  flex-shrink: 0;
}


.chat-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.3),
    0 0 40px rgba(6, 99, 173, 0.2);
  position: relative;
  z-index: 11;
  flex-shrink: 0;
}

.chat-avatar::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: #0663ad;
  border-radius: 50%;
  z-index: -1;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: #25d366;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 45px;
}

.chat-info {
  flex: 1;
}

.chat-info h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 11;
}

.chat-status {
  font-size: 13px;
  opacity: 0.95;
  font-weight: 500;
  position: relative;
  z-index: 11;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
  z-index: 11;
  flex-shrink: 0;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-close svg {
  width: 20px;
  height: 20px;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
  min-height: 0;
}

.chat-message {
  background: #f1f5f9;
  padding: 16px 20px;
  border-radius: 20px;
  max-width: 85%;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
  animation: messageSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #1e293b;
  box-shadow: 
    0 2px 8px rgba(6, 99, 173, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(6, 99, 173, 0.1);
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.chat-message.typing {
  background: #e3f2fd;
  border-left: 3px solid #25d366;
}

.chat-footer {
  padding: 16px;
  border-top: 1px solid rgba(6, 99, 173, 0.1);
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  flex-shrink: 0;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(6, 99, 173, 0.1);
  color: #0663ad;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid rgba(6, 99, 173, 0.2);
  position: relative;
  overflow: hidden;
}

.whatsapp-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 99, 173, 0.1), transparent);
  transition: left 0.5s ease;
}

.whatsapp-link:hover::before {
  left: 100%;
}

.whatsapp-link:hover {
  background: rgba(6, 99, 173, 0.15);
  transform: translateY(-1px);
  border-color: rgba(6, 99, 173, 0.3);
}

.whatsapp-link svg {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  background: #f1f5f9;
  border-radius: 20px;
  max-width: 80px;
  margin-bottom: 16px;
  box-shadow: 
    0 2px 8px rgba(6, 99, 173, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(6, 99, 173, 0.1);
  position: relative;
}

.typing-dot {
  width: 10px;
  height: 10px;
  background: #0663ad;
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out;
  box-shadow: 0 1px 2px rgba(6, 99, 173, 0.3);
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0s; }

@keyframes typingDot {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media screen and (max-width: 480px) {
  .whatsapp-widget {
    bottom: 15px;
    left: 15px;
  }
  
  .whatsapp-button {
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-button svg {
    width: 28px;
    height: 28px;
  }
  
  .whatsapp-chat {
    width: 300px;
    height: 450px;
    bottom: 75px;
    left: 0;
  }
  
  .whatsapp-tooltip {
    bottom: 5px;
    left: 70px;
    font-size: 12px;
    padding: 10px 14px;
    max-width: 150px;
    border-radius: 16px;
  }
}

/* ===== SITE PROTECTION ===== */
/* Desabilitar clique direito e seleção em todo o site */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

/* Permitir interação com elementos clicáveis */
button, a, [role="button"], .nav__link, .nav__toggle, .nav__close, 
.whatsapp-button, .whatsapp-link, .chat-option-btn, .whatsapp-specialist-link {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: auto !important;
  cursor: pointer;
}

/* Permitir seleção em campos de texto */
input, textarea, [contenteditable] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  pointer-events: auto;
}

/* Desabilitar seleção e arrastar imagens */
img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* Proteção adicional para imagens específicas */
.hero__img,
.about__img,
.services__img,
.testimonials__img,
.contact__img {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  pointer-events: none !important;
}

/* Overlay de proteção nas imagens */
.hero__img::after,
.about__img::after,
.services__img::after,
.testimonials__img::after,
.contact__img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  pointer-events: auto;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000000;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --light-bg: #1e293b;
    --white: #0f172a;
    --text-dark: #f1f5f9;
    --text-light: #94a3b8;
    --border-color: #334155;
  }
}
