/* =========================================
1. IMPORTS & VARIÁVEIS GERAIS
========================================= */
/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('/assets/fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('/assets/fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('/assets/fonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('/assets/fonts/inter-v20-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
  /* --- Cores (HSL Raw para Tailwind e Vars) --- */
  --background: 220 15% 10%;
  --foreground: 220 10% 95%;

  --card: 0 0% 15%;
  --card-foreground: 220 10% 95%;

  --primary: 193 100% 45%;
  --primary-foreground: 0 0% 100%;

  --secondary: 224 100% 60%;
  --secondary-foreground: 0 0% 100%;

  --muted: 0 0% 20%;
  --muted-foreground: 220 10% 75%;

  --accent: 253 100% 56%;
  --accent-foreground: 0 0% 100%;

  --border: 220 10% 25%;
  --input: 0 0% 18%;
  --ring: 193 100% 45%;

  --radius: 1rem;

  /* --- Sintaxe Correta para Vidro (Raw HSL para evitar bordas brancas) --- */
  --glass-bg: 0 0% 15% / 0.6;
  --glass-border: 220 10% 75% / 0.1;

  /* --- Gradientes --- */
  --gradient-primary: linear-gradient(135deg, hsl(193, 100%, 45%) 0%, hsl(224, 100%, 60%) 100%);
  --gradient-subtle: linear-gradient(180deg, hsl(0, 0%, 15%) 0%, hsl(0, 0%, 10%) 100%);
  --gradient-radial: radial-gradient(ellipse at center, hsl(193, 100%, 45% / 0.15) 0%, transparent 70%);
  --gradient-button: linear-gradient(135deg, #1a9639 0%, #117025 100%);


  /* --- Sombras --- */
  --shadow-glass: 0 8px 32px hsl(0 0% 0% / 0.3);
  --shadow-glow: 0 0 20px hsl(193 100% 45% / 0.15);
}

/* =========================================
2. RESET & BASE
========================================= */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  margin: 0;
}

/* Força todas as bordas a usarem a variável correta */
* {
  border-color: hsl(var(--border)) !important;
}

/* Classe utilitária específica para o footer e cards */
.border-glass-border {
  border-color: hsla(var(--glass-border)) !important;
}

footer, div, section {
  border-color: hsla(var(--glass-border));
}


/* Scrollbar Customizada */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: hsl(0 0% 10%); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, hsl(193, 100%, 45%) 0%, hsl(224, 100%, 60%) 100%);
  border-radius: 4px;
  border: 2px solid hsl(0 0% 10%);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, hsl(193, 100%, 50%) 0%, hsl(224, 100%, 65%) 100%); }

/* =========================================
3. COMPONENTES VISUAIS GLOBAIS
========================================= */

/* Cards de Vidro */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glass);
  transition: all 0.3s ease;
}
.glass-card:hover {
  border-color: hsla(var(--primary) / 0.2);
  box-shadow: var(--shadow-glow);
}

/* Botões Glow */
.glow-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-button);
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease-out;
  border: none;
  cursor: pointer;
}
.glow-button:hover {
  box-shadow: 0 0 25px hsl(138, 69%, 44%, 0.4);
  transform: translateY(-1px);
}
.glow-button:disabled { opacity: 0.7; cursor: not-allowed; box-shadow: none; }

/* Textos */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  padding-bottom: 0.15em; 
  margin-bottom: -0.15em;
  line-height: 1.2;
}

/* Navbar Blur */
.nav-blur {
  background-color: hsla(var(--background) / 0.8);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
}
nav { animation: slideDown 0.5s ease-out forwards; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* --- Tipografia e Estrutura (Do index.css original) --- */

.section-padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) { .section-padding { padding-top: 4rem; padding-bottom: 4rem; } }
@media (min-width: 768px) { .section-padding { padding-top: 5rem; padding-bottom: 5rem; } }

.container-custom {
  width: 100%;
  max-width: 90vw; /* 7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.heading-2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

@media (min-width: 640px) { .heading-2 { font-size: 1.5rem; } }
@media (min-width: 768px) { .heading-2 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .heading-2 { font-size: 2.25rem; } }

.body-large {
  font-size: 1rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 640px) { .body-large { font-size: 1.125rem; } }
@media (min-width: 768px) { .body-large { font-size: 1.25rem; } }

/* --- Efeitos Visuais Específicos --- */

/* Gradiente do Texto (Clientes Dizem) */
.gradient-text {
  background: linear-gradient(135deg, hsl(193, 100%, 45%) 0%, hsl(224, 100%, 60%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block; /* Garante que o gradiente se aplique corretamente */
}

/* Fundo Gradiente do Ícone de Aspas */
.bg-gradient-primary {
  background: linear-gradient(135deg, hsl(193, 100%, 45%) 0%, hsl(224, 100%, 60%) 100%);
}

/* Card de Vidro (Reforçado) */
.glass-card {
  background: hsl(0 0% 15% / 0.6); /* --glass-bg fallback */
  background: hsl(var(--glass-bg));
  border: 1px solid hsl(220 10% 75% / 0.1); /* --glass-border fallback */
  border: 1px solid hsl(var(--glass-border));
  backdrop-filter: blur(20px);
  border-radius: 1rem; /* rounded-2xl */
  box-shadow: 0 8px 32px hsl(0 0% 0% / 0.3); /* --shadow-glass */
}

/* Ajuste de opacidade para bordas do Tailwind (ex: border-border/30) 
Se não estiveres a usar o compilador JIT do Tailwind, usa esta classe auxiliar: */
.border-opacity-30 {
  border-color: hsl(var(--border) / 0.3);
}

/* =========================================
4. SISTEMA DE ANIMAÇÃO (REVEAL)
========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition-property: all;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.5, 0, 0, 1);
  transition-delay: 0s; /* <-- A ARMA DO CRIME! */
}
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.pop-in { transform: scale(0.9); }

.reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delays */
.delay-0 { transition-delay: 0s; }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }
.delay-800 { transition-delay: 0.8s; }
.delay-900 { transition-delay: 0.9s; }
.delay-1000 { transition-delay: 1s; }
.delay-1100 { transition-delay: 1.1s; }
.delay-1200 { transition-delay: 1.2s; }
.delay-1300 { transition-delay: 1.3s; }
.delay-1400 { transition-delay: 1.4s; }
.delay-1500 { transition-delay: 1.5s; }
.delay-1600 { transition-delay: 1.6s; }
.delay-1700 { transition-delay: 1.7s; }
.delay-1800 { transition-delay: 1.8s; }
.delay-1900 { transition-delay: 1.9s; }
.delay-2000 { transition-delay: 2s; }

/* Animações Diversas */
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
.animate-float { animation: float 3s ease-in-out infinite; }

/* Animação do Card de Lead (LeadCaptureForm) */
@keyframes float-slow {
  0%, 100% { transform: translateY(-5px); }
  50% { transform: translateY(5px); }
}

.animate-float-slow {
  animation: float-slow 8s ease-in-out infinite;
}

/* Estado de Loading do Botão */
.spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid hsla(var(--primary-foreground) / 0.3);
  border-top-color: hsl(var(--primary-foreground));
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.logo-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.client-logo-item {
  height: 100px; /* Altura fixa para alinhar os itens */
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Oculta os controles e a navegação padrão, já que é um autoplay infinito */
.tns-controls, .tns-nav {
  display: none;
}

/* Classes utilitárias que já deves ter, mas reforçando para os cards */
.glass-card {
  background: hsl(var(--glass-bg));
  border: 1px solid hsl(var(--glass-border));
  backdrop-filter: blur(20px);
  border-radius: 1rem;
  box-shadow: var(--shadow-glass);
}

/* --- NOVO ESTILO PARA DEPOIMENTOS (SWIPER) --- */

/* Gradiente do Logo */
.bg-gradient-logo {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.15), hsl(var(--accent) / 0.15));
}

.testimonial-card {
  min-width: 100%;
  /* No desktop, cards maiores ocupando 1/3 do container com gap */
  @media (min-width: 768px) {
    min-width: calc(33.333% - 22px); /* 22px ajusta o gap-8 */
  }
}

/* Bolinhas (Dots) */
.dot {
  background-color: hsl(var(--muted-foreground) / 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* O dot.active agora usa !important para garantir que sobrescreva o Tailwind */
.dot.active {
  width: 35px !important;
  background-color: hsl(var(--primary)) !important;
  box-shadow: 0 0 15px hsl(var(--primary) / 0.4);
}

/* Remova o max-width fixo – deixe responsivo */
#carousel-container {
  overflow: visible;
  position: relative;
  width: 100%;  /* Ocupa toda largura */
}

#track {
  display: flex;
  gap: 1.5rem;  /* gap-6 */
  transition: transform 0.5s ease-out;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(100% / 3);  /* Desktop: 3 cards */
  min-width: 0;  /* Evita overflow */
}

@media (max-width: 767px) {
  .testimonial-card {
    flex: 0 0 100%;  /* Mobile: 1 card */
  }
}

#prev-btn, #next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -3rem;  /* Isso força prev para fora à esquerda */
  right: -3rem;  /* Isso força next para fora à direita */
  z-index: 20;
}

#prev-btn {
  left: 0;
  transform: translate(-120%, -50%) !important; /* Equivale a -translate-x-4 */
}

#next-btn {
  right: 0;
  transform: translate(120%, -50%) !important; /* Equivale a translate-x-4 */
}

/* Classes utilitárias para a animação de troca de slide */
.slide-hidden {
  opacity: 0;
  transform: translateX(20px); /* Move levemente para a direita ao sair */
}

.slide-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  #prev-btn {
    left: 0 !important;
    transform: translateY(-50%) !important;
    width: 3rem !important;  /* Maior para mobile */
    height: 3rem !important;
  }

  #next-btn {
    right: 2rem !important;
    transform: translateY(-50%) !important;
    width: 3rem !important;
    height: 3rem !important;
  }
}


/* =========================================
5. PÁGINA: O QUE FAZEMOS (Soluções Grid)
========================================= */

/* Animação para itens revelados */
.solution-hidden {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

.solution-visible {
  display: block;
  animation: revealItem 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes revealItem {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================
6. PÁGINA: CONTATO (Formulário)
========================================= */
.glass-input {
  background-color: hsla(var(--background) / 0.5);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: hsl(var(--foreground));
  outline: none;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}
.glass-input:focus { border-color: hsl(var(--primary)); box-shadow: 0 0 0 2px hsla(var(--primary) / 0.2); }

.toggle-btn {
  border: 1px solid var(--border);
  background-color: hsla(var(--muted) / 0.5);
  color: hsl(var(--muted-foreground));
  transition: all 0.2s;
  cursor: pointer;
}
.toggle-btn:hover { border-color: hsla(var(--primary) / 0.5); }
.toggle-btn.active { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary)); }

@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 1.25rem; height: 1.25rem;
  border: 2px solid hsla(var(--primary-foreground) / 0.3);
  border-top-color: hsl(var(--primary-foreground));
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
}

/* =========================================
7. PÁGINA: CASES (Modais e Cards)
========================================= */
/* Hover Card e Imagem */
.case-card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.case-card-hover:hover { transform: translateY(-5px) scale(1.02); }

.case-image-zoom { transition: transform 0.5s ease; }
.group:hover .case-image-zoom { transform: scale(1.05); }

.case-gradient-overlay { background: linear-gradient(to top, hsla(var(--card) / 0.8) 0%, transparent 100%); }

/* Modal Overlay */
.modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  background-color: hsla(var(--background) / 0.8);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease-out;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

/* Modal Content */
.modal-content {
  width: 100%; max-width: 56rem; max-height: 90vh; overflow-y: auto;
  background: hsl(var(--card)); border: 1px solid hsl(var(--glass-border)); border-radius: 1rem;
  transform: scale(0.9) translateY(20px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open .modal-content { transform: scale(1) translateY(0); opacity: 1; }

.testimonial-box {
  background-color: hsla(var(--primary) / 0.1);
  border: 1px solid hsla(var(--primary) / 0.2);
}

/* =========================================
8. COMPONENTES GLOBAIS EXTRAS
========================================= */
/* Toast Notification */
#toast-container {
  position: fixed; top: 1rem; right: 1rem; z-index: 100;
  display: flex; flex-direction: column; gap: 0.5rem; pointer-events: none;
}
.toast {
  pointer-events: auto; min-width: 300px; padding: 1rem;
  background: hsla(var(--card) / 0.9);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-glass);
  display: flex; align-items: center; gap: 0.75rem;
  animation: slideInRight 0.3s forwards;
}
.toast.removing { animation: slideOutRight 0.3s forwards; }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutRight { to { transform: translateX(100%); opacity: 0; } }

/* Scroll To Top */
#scroll-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 40;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--gradient-primary); color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden;
  transition: all 0.3s ease; border: none;
  box-shadow: var(--shadow-glow);
}
#scroll-to-top.visible { opacity: 1; visibility: visible; }
#scroll-to-top:hover { transform: translateY(-5px); box-shadow: 0 0 20px hsl(var(--primary) / 0.6); }

/* Badges e Utilitários */
.badge {
  display: inline-flex; align-items: center; padding: 0.25rem 0.75rem;
  border-radius: 9999px; font-size: 0.75rem; font-weight: 600;
  background: hsla(var(--primary), 0.1); color: hsl(var(--primary));
  border: 1px solid hsla(var(--primary), 0.2);
}
.badge-outline {
  background: transparent; border: 1px solid var(--glass-border);
  color: hsl(var(--muted-foreground));
}
.hidden-section { display: none !important; }
.fade-in { animation: fadeIn 0.5s ease-out forwards; }
.timeline-line { background: var(--gradient-primary); }
.flex-center-col {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 60vh;
}

/* Swiper Custom */
.swiper { width: 100%; padding-bottom: 50px !important; overflow: visible !important; }
.swiper-wrapper { align-items: stretch; }
.swiper-slide { height: auto; }
.swiper-pagination-bullet { background: hsl(var(--muted-foreground)); opacity: 0.3; width: 8px; height: 8px; transition: all 0.3s ease; }
.swiper-pagination-bullet-active { background: hsl(var(--primary)); opacity: 1; width: 24px; border-radius: 4px; }
.custom-nav-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: hsla(var(--card) / 0.5); border: 1px solid var(--glass-border);
  color: hsl(var(--foreground)); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(4px);
}
.custom-nav-btn:hover:not(.swiper-button-disabled) {
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary)); transform: scale(1.05);
}
.custom-nav-btn.swiper-button-disabled { opacity: 0.5; cursor: not-allowed; }
.submenu {
  opacity: 0; transform: translateY(10px) scale(0.95); pointer-events: none; transition: all 0.2s ease-out;
}
.group:hover .submenu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

/* Força todos os slides do Swiper a terem a mesma altura */
.swiper-services .swiper-slide,
.swiper-tech .swiper-slide {
  height: auto; /* Permite que o slide cresça conforme o conteúdo */
  display: flex; /* Transforma o slide em um flex container */
}

/* Garante que o glass-card preencha toda a altura do slide */
.swiper-services .glass-card,
.swiper-tech .glass-card {
  flex: 1; /* Faz o card expandir para ocupar todo o espaço disponível no slide */
  display: flex;
  flex-direction: column;
}

/* --- PÁGINA DE SERVIÇOS --- */

/* Card de Serviço (Listagem) */
.service-card-image-wrapper {
  position: relative;
  margin: -1.5rem -1.5rem 1.5rem -1.5rem; /* mx-6 mt-6 mb-6 */
  border-radius: 0.75rem 0.75rem 0 0; /* rounded-t-xl */
  overflow: hidden;
  height: 10rem; /* h-40 */
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.group:hover .service-card-img {
  transform: scale(1.05);
}

.service-icon-floating {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  z-index: 10;
}

/* Detalhes do Serviço */
.feature-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  color: hsl(var(--primary-foreground));
}

/* Lista de Benefícios (Grid com alinhamento) */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  height: 100%;
  min-height: 80px; /* Garante altura uniforme */
}

/* --- PÁGINA DE SOLUÇÕES --- */

/* Container do ícone na listagem (Centralizado e maior) */
.solution-icon-box {
  width: 4rem; /* w-16 */
  height: 4rem; /* h-16 */
  border-radius: 0.75rem; /* rounded-xl */
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem; /* mb-6 */
  transition: box-shadow 0.3s ease;
  color: hsl(var(--primary-foreground));
}

/* Efeito de brilho ao passar o mouse no card pai */
.group:hover .solution-icon-box {
  box-shadow: 0 0 25px hsl(193 100% 45% / 0.5); /* shadow-glow */
}

/* Card de Feature (Detalhes) */
.feature-card-hover {
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-card-hover:hover {
  transform: translateY(-5px);
  border-color: hsla(var(--primary) / 0.3);
}

/* --- PÁGINA: JAVASCRIPT --- */

/* Utilitário de Background Gradiente (usado nos ícones quadrados) */
.bg-gradient-primary {
  background: var(--gradient-primary);
}

/* Animação de Scale (para o card "Stack Moderno") */
.reveal.scale-in {
  transform: scale(0.9);
  opacity: 0;
}
.reveal.scale-in.active {
  transform: scale(1);
  opacity: 1;
}

/* Tags de Tecnologia */
.tech-tag {
  background-color: hsl(var(--card));
  border: 1px solid hsla(var(--glass-border));
  color: hsl(var(--foreground));
  border-radius: 9999px;
  font-size: 0.75rem; /* text-xs */
  font-weight: 500;
  padding: 0.375rem 0.75rem; /* py-1.5 px-3 */
  display: inline-block;
}

/* Blobs de fundo específicos do Hero (opcional, ajustando via style inline no HTML também funciona) */
.blob-hero-1 {
  width: 600px; height: 600px;
  background: hsla(var(--primary) / 0.1);
  filter: blur(120px);
  border-radius: 50%;
}
.blob-hero-2 {
  width: 400px; height: 400px;
  background: hsla(var(--accent) / 0.1);
  filter: blur(100px);
  border-radius: 50%;
}

/* --- PÁGINA DINÂMICA: CASES --- */

/* Cards de "Dores" (Pain Points - Tema Vermelho) */
.card-destructive {
  border-color: hsla(var(--destructive) / 0.2);
  transition: all 0.3s ease;
}
.card-destructive:hover {
  border-color: hsla(var(--destructive) / 0.4);
  background-color: hsla(var(--destructive) / 0.05);
}

.icon-box-destructive {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: hsla(var(--destructive) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--destructive));
  margin-bottom: 1rem;
}

/* Seção de Métricas (Fundo Gradiente) */
.metrics-section-bg {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.2) 0%, hsl(var(--background)) 100%);
  position: relative;
}

/* Prova Social (Layout Dividido) */
.testimonial-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: 1fr 20rem; /* 1fr para texto, 320px para card de stats */
    align-items: center;
  }
}

/* Lista de Resultados (Card Pequeno) */
.result-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid hsla(var(--border) / 0.5);
}
.result-list-item:last-child {
  border-bottom: none;
}

/* --- PÁGINA: 404 NOT FOUND --- */

/* Container que ocupa toda a altura visível menos a navbar */
.not-found-container {
  min-height: calc(100vh - 5rem); /* 100vh - 80px (header) */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--muted) / 0.3); /* bg-muted sutil */
  padding: 1rem;
}

/* Estilo do Código 404 */
.error-code {
  font-size: 6rem; /* Maior que text-4xl para impacto */
  line-height: 1;
  font-weight: 800;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

/* Link de Retorno */
.back-link {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: hsla(var(--primary) / 0.8);
}


/* Estilo para os botões de navegação dos Swipers */
.custom-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: hsla(var(--card) / 0.8);
  border: 1px solid var(--glass-border);
  color: hsl(var(--foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-nav-btn:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.custom-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.testimonial-card {
  flex: 0 0 calc(33.5% - 22px);  /* Aumentado pra 33.333%, quase o original */
  min-width: 0;
}

@media (max-width: 767px) {
  .testimonial-card {
    flex: 0 0 100%;  /* Mobile: continua 1 card */
  }
}

/* Efeitos específicos que são muito complexos para classes utilitárias puras */
.bg-grid-pattern {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.text-stroke-outline {
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.03);
}


