/* ========================================
   TechConsult - CSS Principal
   ======================================== */

:root {
  /* Cores principais - Azul */
  --primary: hsl(200, 100%, 40%);
  --primary-light: hsl(200, 100%, 50%);
  --primary-dark: hsl(200, 100%, 30%);
  
  /* Fundo - Mix branco e azul */
  --background: hsl(210, 100%, 98%);
  --background-alt: hsl(210, 60%, 95%);
  
  /* Texto - Azul */
  --foreground: hsl(200, 100%, 25%);
  --foreground-light: hsl(200, 80%, 40%);
  --foreground-muted: hsl(200, 50%, 50%);
  
  /* Cards e superfícies */
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(200, 100%, 25%);
  
  /* Bordas */
  --border: hsl(200, 40%, 85%);
  --border-light: hsl(200, 30%, 90%);
  
  /* Secundário */
  --secondary: hsl(210, 100%, 95%);
  --secondary-foreground: hsl(200, 100%, 25%);
  
  /* Muted */
  --muted: hsl(210, 50%, 92%);
  --muted-foreground: oklch(60.06% 0.10938 234.95);
  
  /* Accent */
  --accent: hsl(200, 100%, 90%);
  --accent-foreground: hsl(200, 100%, 25%);
  
  /* Destructive */
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(0, 0%, 100%);
  
  /* Espaçamento */
  --radius: 0.75rem;
  --header-height: 64px;
}

/* Reset e Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  --ease-default: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.45s;
  --transition-slow: 0.8s;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-slow) var(--ease-default), color var(--transition-slow) var(--ease-default);
}

*:not(.no-transition) {
  transition: all var(--transition-slow) var(--ease-default);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

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

ul, ol {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  background: url('');
}

/* ========================================
   Header / Navegação
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  will-change: background;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.logo i {
  width: 32px;
  height: 32px;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground-light);
  transition: color 0.2s;
}

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

.nav-desktop li {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 0;
  min-width: 260px;
  background: linear-gradient(145deg, var(--primary-light), var(--secondary));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 0.75rem;
  z-index: 1500;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.has-submenu:hover > a,
.has-submenu:focus-within > a {
  color: var(--primary);
}


.submenu-card {
  color: white;
}

.submenu-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 70;
  color: white;
}

.submenu-card p {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #edf6ff;
}

.submenu li a {
  display: block;
  padding: 0.6rem 0.8rem;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
}

.submenu li a:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 767px) {
  .submenu {
    position: static;
    top: auto;
    left: auto;
    min-width: auto;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
  }

  .has-submenu:hover > .submenu {
    display: block;
  }

  .submenu-card {
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem;
    margin-top: 0.5rem;
  }
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-mobile-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  padding: 1rem;
  z-index: 999;
}

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

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--foreground);
  transition: background 0.2s;
}

.mobile-menu a:hover {
  background: var(--secondary);
}

/* Desktop nav visibility */
@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }
  
  .btn-mobile-menu {
    display: none;
  }
}

/* ========================================
   Botões
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}

.btn:hover {
  transform: translate3d(0, -2px, 0);
}

.btn:active {
  transform: translate3d(0, 0, 0);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--muted);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
}

.btn-ghost:hover {
  background: var(--secondary);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 75vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(6, 45, 95, 0.92), rgba(9, 61, 115, 0.92));
  color: #f8fbff;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 25%, rgba(58, 180, 229, 0.16), transparent 35%),
              radial-gradient(circle at 80% 20%, rgba(64, 214, 173, 0.12), transparent 37%);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 154, 255, 0.2), transparent 35%),
              radial-gradient(circle at 80% 35%, rgba(56, 166, 255, 0.15), transparent 40%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-shadow: 0 8px 16px rgba(0, 0, 0, 0.37);
}

.hero .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(227, 242, 255, 0.95);
  max-width: 680px;
  margin: 0 auto 2rem;
  text-align: center;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.btn-glow {
  box-shadow: 0 0 22px rgba(0, 123, 255, 0.5);
  transition: all var(--transition-slow) var(--ease-default);
}

.btn-glow:hover {
  transform: scale(1.04);
  box-shadow: 0 0 28px rgba(30, 165, 255, 0.75), 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* Maior emoção: movimento mais lento em cards */
.resource-card, .user-card, .service-card {
  transition: transform var(--transition-slow) var(--ease-default), box-shadow var(--transition-slow) var(--ease-default), border-color var(--transition-slow) var(--ease-default);
}

.resource-card:hover {
  transform: scale(1.02);


  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: #e5f4ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-trust img {
  height: 26px;
  opacity: 0.85;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-trust img:hover {
  transform: translate3d(0, -2px, 0) scale(1.04);
  opacity: 1;
}

/* Animação 3D otimizada */
@keyframes float-3d {
  0%, 100% { transform: translate3d(0, 0, 0) rotateY(0deg); }
  50% { transform: translate3d(0, -8px, 15px) rotateY(5deg); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7em;
}

@media (min-width: 768px) {
  .hero {
    padding: 10rem 0 6rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
}

/* ========================================
   Seções
   ======================================== */
.section {
  padding: 4rem 0;
  background-image: url('assets/1.jpg');
}

.submenu-page {
  background: linear-gradient(180deg, rgba(4, 35, 70, 0.9), rgba(5, 58, 95, 0.85));
  color: #fff;
}

.submenu-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
  position: relative;
}

.submenu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(96, 254, 193, 0.16), transparent 42%),
              radial-gradient(circle at 80% 35%, rgba(32, 202, 196, 0.14), transparent 38%);
  z-index: 0;
}

.submenu-hero-left,
.submenu-hero-right {
  position: relative;
  z-index: 1;
}

.submenu-hero .badge {
  background: rgba(50, 180, 149, 0.22);
  color: #ade9e0;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1rem;
}

.submenu-hero h1 {
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1.14;
  margin: 0 0 1rem;
  color: #fff;
}

.submenu-hero p {
  color: rgba(235, 248, 255, 0.9);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 1.5rem;
}

.submenu-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.submenu-hero-badges {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.badge-info {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 0.7rem 0.9rem;
  font-size: 0.86rem;
}

.badge-info span {
  font-weight: 700;
  color: #def9ff;
  margin-right: 0.35rem;
}

.hero-person {
  width: 100%;
  max-width: 380px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transform: translate3d(0, 0, 0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
  perspective: 1000px;
}

.hero-person:hover {
  transform: translate3d(0, -10px, 20px) rotateX(5deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@keyframes float-up {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 10px); }
}

.resource-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

.resource-card {
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(54, 177, 202, 0.2);
  padding: 1.3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
  backdrop-filter: blur(4px);
}

.resource-card:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 30px rgba(39, 182, 209, 0.3);
  border-color: rgba(25, 240, 214, 0.8);
}

.resource-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8de6ea;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(141, 230, 234, 0.3);
  transition: transform 0.3s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.resource-icon i {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.resource-card:hover .resource-icon {
  transform: translateY(-2px) scale(1.07);
  background: rgba(50, 195, 207, 0.18);
  box-shadow: 0 0 20px rgba(33, 182, 196, 0.3);
  color: #74e8ed;
}

.resource-card h4 {
  margin: 0 0 0.5rem;
}

.link-more {
  color: #b4f4f0;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.75rem;
  display: inline-block;
}

.link-more:hover {
  color: #ffffff;
  text-decoration: underline;
}

.steps-section {
  margin-top: 2.8rem;
  background: rgba(4, 46, 78, 0.35);
  border: 1px solid rgba(60, 174, 227, 0.3);
  border-radius: 24px;
  padding: 1.4rem;
}

.steps-section h3 {
  margin-bottom: 1rem;
}

.steps-section ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps-section li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 0.8rem;
}

.steps-section li i {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1ad0c2;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.steps-section li span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1ad0c2;
  color: #003641;
  font-weight: 800;
}

.steps-section li p {
  margin: 0;
}

.metrics-section {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(88, 210, 236, 0.3);
  border-radius: 1.2rem;
  padding: 1rem;
  text-align: center;
}

.metric-card h4 {
  margin: 0;
  font-size: 0.85rem;
  color: #bbeaf2;
}

.metric-card strong {
  display: block;
  font-size: 2rem;
  margin-top: 0.4rem;
  color: #fff;
}

.metric-card p {
  margin: 0.3rem 0 0;
  color: #dbeffe;
}

.section-alt {
  background: var(--secondary);
}

.services-section {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 23, 56, 0.78), rgba(3, 45, 82, 0.70)), url('assets/3.jpg') no-repeat center center;
  background-size: cover;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(36, 130, 237, 0.25), transparent 45%),
              radial-gradient(circle at 70% 40%, rgba(8, 122, 236, 0.2), transparent 42%);
  z-index: -1;
  filter: blur(20px);
  opacity: 0.95;
}

.service-card {
  transform: translate3d(0, 0, 0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  will-change: transform;
  perspective: 1200px;
}

.service-card:hover {
  transform: translate3d(0, -8px, 30px) rotateX(8deg) rotateY(-3deg);
  box-shadow: 0 22px 38px rgba(8, 137, 236, 0.35), 0 0 22px rgba(68, 179, 255, 0.35);
}

@keyframes service-card-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 8px); }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--foreground-muted);
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
  }
}

/* ========================================
   Cards
   ======================================== */
.card, .service-card, .testimonial, .info-card {
  background: #ffffff;
  border: 1px solid rgba(150, 164, 178, 0.25);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  color: #1f2a37;
  box-shadow: 0 8px 20px rgba(20, 35, 58, 0.08);
  position: relative;
  overflow: hidden;
}

.card::before, .service-card::before, .testimonial::before, .info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(7, 106, 219, 0.1), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.card:hover::before, .service-card:hover::before, .testimonial:hover::before, .info-card:hover::before {
  left: 100%;
}

.card:hover, .service-card:hover, .testimonial:hover, .info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 26px rgba(20, 35, 58, 0.18), 0 0 30px rgba(7, 106, 219, 0.3);
  border-color: rgba(72, 100, 150, 0.45);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.95));
}

.card:hover .card-title,
.service-card:hover .card-title {
  color: var(--primary);
  transform: translateY(-2px);
  transition: color 0.3s ease, transform 0.3s ease;
}

.card:hover .card-description,
.service-card:hover .card-description {
  color: var(--foreground);
  transform: translateY(-1px);
  transition: color 0.3s ease, transform 0.3s ease;
}

.testimonial {
  min-height: auto;
}

.testimonial, .card {
  background-clip: padding-box;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 38px rgba(7, 106, 219, 0.25), 0 0 24px rgba(30, 160, 255, 0.38);
  filter: brightness(1.06);
}

.card-icon, .card-img {
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.card-icon {
  box-shadow: 0 0 10px rgba(30, 140, 255, 0.25);
  background: rgba(14, 101, 219, 0.12);
  color: var(--primary);
}

.card:hover .card-icon,
.service-card:hover .card-icon,
.testimonial:hover .card-icon {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(30, 160, 255, 0.65), 0 0 30px rgba(100, 190, 255, 0.24);
}

.testimonial, .card {
  background-clip: padding-box;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

@keyframes glow-translate {
  0% {
    transform: translate3d(0, 0, 0);
    box-shadow: 0 12px 30px rgba(10, 86, 180, 0.08);
  }
  50% {
    transform: translate3d(0, -4px, 12px);
    box-shadow: 0 18px 30px rgba(10, 86, 180, 0.15);
  }
  100% {
    transform: translate3d(0, 0, 0);
    box-shadow: 0 12px 30px rgba(10, 86, 180, 0.08);
  }
}

.info-card {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(140deg, rgba(17, 113, 207, 0.14), rgba(255, 255, 255, 0.06));
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
  perspective: 1000px;
}

.info-card:hover {
  transform: translate3d(0, -5px, 20px) rotateY(3deg);
  box-shadow: 0 15px 35px rgba(1, 93, 210, 0.25);
}

.info-card h4 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.info-card p {
  margin: 0;
  color: var(--foreground-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.hero-fade-in, .fade-in {
  animation: fadeInSlide 0.75s ease forwards;
  opacity: 0;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  color: var(--primary);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.card-description {
  color: var(--foreground-muted);
  line-height: 1.6;
}

/* ========================================
   Grid de Features
   ======================================== */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Stats
   ======================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .stat-item h3 {
    font-size: 3rem;
  }
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
}

.testimonial {
  min-width: 260px;
  max-width: 320px;
  flex: 0 0 32%;
  background: linear-gradient(135deg, hsl(210, 100%, 97%), hsl(210, 100%, 92%));
  border: 1px solid rgba(0, 102, 204, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
  opacity: 0.65;
  transform: scale(0.95);
}

.testimonial.active {
  opacity: 1;
  transform: scale(1.02);
  border-color: rgba(7, 106, 219, 0.9);
  box-shadow: 0 0 20px rgba(7, 106, 219, 0.35), 0 8px 25px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.testimonial.current, .testimonial.active {
  background: linear-gradient(145deg, rgba(7, 106, 219, 0.16), rgba(1, 42, 90, 0.15));
}

.testimonial.inactive {
  opacity: 0.45;
  filter: grayscale(0.05);
}

.testimonial-controls {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.testimonial-control {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(7, 106, 219, 0.35);
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-size: 1.35rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.testimonial-control:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
  .testimonials-grid {
    gap: 0.8rem;
  }

  .testimonial {
    flex: 0 0 45%;
  }
}

@media (max-width: 767px) {
  .testimonials-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scroll-snap-type: x mandatory;
  }

  .testimonial {
    flex: 0 0 75%;
    scroll-snap-align: center;
    margin-left: 0.4rem;
  }

  .testimonial-controls {
    display: none;
  }
}
.testimonial-content {
  font-style: italic;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--foreground);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  color: white;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  background: white;
  color: var(--primary);
}

.cta .btn-primary:hover {
  background: var(--secondary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--foreground-muted);
  margin-top: 1rem;
  font-size: 0.875rem;
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section a {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--foreground-muted);
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--primary);
  color: white;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ========================================
   Formulários
   ======================================== */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 120, 180, 0.1);
}

.form-input::placeholder {
  color: var(--foreground-muted);
}

.form-input-icon {
  position: relative;
}

.form-input-icon .form-input {
  padding-left: 2.75rem;
}

.form-input-icon i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--foreground-muted);
  width: 18px;
  height: 18px;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

/* ========================================
   Página de Login / Registro
   ======================================== */
.auth-page {
  min-height: 100vh;
  display: grid;
}

.auth-left {
  display: none;
  background: linear-gradient(135deg, rgba(5,32,74,0.95) 0%, rgba(15,73,141,0.95) 45%, rgba(0,22,55,0.95) 100%), url('assets/tech-pattern.jpg');
  background-size: cover;
  background-position: center;
  padding: 3rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0,0,0,0.3), rgba(0,0,0,0.65));
  z-index: 1;
}

.auth-left * {
  position: relative;
  z-index: 2;
}

.auth-left h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transform: translate3d(0, 0, 0);
  transition: transform 0.4s ease;
}

.auth-left:hover h1 {
  transform: translate3d(0, -8px, 15px);
}

@keyframes floatText {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 8px); }
}

.auth-left p {
  font-size: 1.125rem;
  opacity: 0.9;
}

.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-form {
  width: 100%;
  max-width: 400px;
}

.auth-form h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.auth-form > p {
  color: var(--foreground-muted);
  margin-bottom: 2rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--foreground-muted);
  font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.social-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .auth-page {
    grid-template-columns: 1fr 1fr;
  }
  
  .auth-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ========================================
   Página de Serviços
   ======================================== */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: 0 10px 40px rgba(0, 100, 150, 0.1);
  transform: translateY(-4px);
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: var(--radius);
  color: var(--primary);
  flex-shrink: 0;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.service-card-description {
  color: var(--foreground-muted);
  margin-bottom: 1.5rem;
}

.service-card-features {
  margin-bottom: 1.5rem;
}

.service-card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

.service-card-features i {
  color: var(--primary);
  width: 16px;
  height: 16px;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.service-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--foreground-muted);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Página de Contato
   ======================================== */
.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: var(--radius);
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item-content h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.contact-item-content p {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--secondary);
}

.faq-question i {
  transition: transform 0.3s;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1rem;
  color: var(--foreground-muted);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ========================================
   Hero Slider
   ======================================== */
.hero-slider {
  position: relative;
  padding: 0;
  min-height: 75vh;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 25, 55, 0.65), rgba(0, 25, 55, 0.20));
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  transform: scale(1.05) translateY(8px);
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.45));
  z-index: 1;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  animation: hero-slide-appear 0.8s ease forwards;
}
@keyframes hero-slide-appear {
  0% { opacity: 0; transform: scale(1.08) translateY(18px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72vh;
  padding: 3rem 1rem;
  text-align: center;
  color: #fff;
  opacity: 1;
  animation: hero-content-in 0.8s ease forwards;
}
.hero-content.animate-slide {
  animation: hero-content-in 0.8s ease forwards;
}

@keyframes hero-content-in {
  0% { opacity: 0; transform: translateY(20px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 14px 28px rgba(0,0,0,0.35);
}
.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  text-shadow: 0 10px 20px rgba(0,0,0,0.25);
}
.hero-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}
.hero-dot.active,
.hero-dot:hover {
  background: white;
  border-color: white;
}

/* ========================================
   Empresas Parceiras
   ======================================== */
.partners-section {
  padding: 4rem 0;
  background: var(--background);
}

.partners-section .section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
}

.partner-marquee {
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(245,248,255,0.8));
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.partner-marquee:hover .marquee-track,
.partner-marquee:focus-within .marquee-track {
  animation-play-state: paused;
}
.partner-logo {
  flex: 0 0 auto;
  min-width: 180px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  padding: 0.75rem 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  will-change: transform;
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.partner-logo:hover {
  transform: scale3d(1.08, 1.08, 1);
  box-shadow: 0 8px 20px rgba(0, 50, 100, 0.15);
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ========================================
   Cards com imagens
   ======================================== */
.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.1rem);
  margin-bottom: 1rem;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.service-card:hover .card-img {
  transform: scale(1.05) translateY(-3px);
  filter: brightness(1.1) contrast(1.05);
}
.card-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}
.service-card .btn-outline {
  justify-self: flex-start;
}

/* ========================================
   Animações
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  animation: cardEntrance 0.8s ease-out forwards;
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  50% {
    opacity: 0.7;
    transform: translateY(10px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ========================================
   Utilitários
   ======================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--foreground-muted); }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.hidden { display: none; }

@media (max-width: 1023px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .hero { min-height: 62vh; }
  .hero-actions { flex-direction: column; }
  .hero-dot { width: 10px; height: 10px; }
  .partner-logo { min-width: 140px; font-size: 0.75rem; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none !important; }
  .auth-right { padding: 1.5rem; }
}

