/* ========================================
   Orbítte - Agência de Soluções Digitais
   Styles CSS Personalizados
   Versão: 1.0 | Data: 03/10/2025
   ======================================== */

/* ========================================
   IMPORTAÇÕES E CONFIGURAÇÕES BASE
   ======================================== */

/* Importar Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

/* Importar Tailwind CSS (caso não esteja sendo carregado via CDN) */
/* @import 'https://cdn.tailwindcss.com'; */

/* ========================================
   VARIÁVEIS CSS CUSTOMIZADAS
   ======================================== */

:root {
  /* Cores principais da marca */
  --cor-primaria: #2563eb;
  --cor-primaria-escura: #1d4ed8;
  --cor-primaria-clara: #3b82f6;
  --cor-secundaria: #10b981;
  --cor-secundaria-escura: #059669;
  --cor-acento: #f59e0b;
  --cor-perigo: #ef4444;
  --cor-sucesso: #22c55e;
  --cor-aviso: #eab308;
  
  /* Tons de cinza */
  --cinza-50: #f9fafb;
  --cinza-100: #f3f4f6;
  --cinza-200: #e5e7eb;
  --cinza-300: #d1d5db;
  --cinza-400: #9ca3af;
  --cinza-500: #6b7280;
  --cinza-600: #4b5563;
  --cinza-700: #374151;
  --cinza-800: #1f2937;
  --cinza-900: #111827;
  
  /* Gradientes */
  --gradiente-principal: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
  --gradiente-secundario: linear-gradient(135deg, var(--cor-acento) 0%, var(--cor-primaria) 100%);
  --gradiente-escuro: linear-gradient(135deg, var(--cinza-800) 0%, var(--cinza-900) 100%);
  
  /* Sombras */
  --sombra-pequena: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --sombra-media: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --sombra-grande: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.06);
  --sombra-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  
  /* Transições */
  --transicao-rapida: all 0.15s ease-in-out;
  --transicao-normal: all 0.3s ease-in-out;
  --transicao-lenta: all 0.5s ease-in-out;
  
  /* Bordas arredondadas */
  --border-radius-pequeno: 4px;
  --border-radius-medio: 8px;
  --border-radius-grande: 12px;
  --border-radius-xl: 16px;
  
  /* Fontes */
  --fonte-principal: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fonte-titulo: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fonte-codigo: 'Fira Code', 'Monaco', 'Consolas', monospace;
}

/* ========================================
   RESET E CONFIGURAÇÕES GLOBAIS
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--fonte-principal);
  font-weight: 400;
  line-height: 1.6;
  color: var(--cinza-800);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TIPOGRAFIA PERSONALIZADA
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fonte-titulo);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cinza-900);
  margin-bottom: 0.5em;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  color: var(--cinza-600);
}

a {
  color: var(--cor-primaria);
  text-decoration: none;
  transition: var(--transicao-rapida);
}

a:hover {
  color: var(--cor-primaria-escura);
}

/* ========================================
   COMPONENTES PERSONALIZADOS
   ======================================== */

/* Botões estilizados */
.btn-orbitte {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--fonte-principal);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  border: none;
  border-radius: var(--border-radius-medio);
  cursor: pointer;
  transition: var(--transicao-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-orbitte: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: var(--transicao-normal);
}

.btn-orbitte:hover:before {
  left: 100%;
}

.btn-primario {
  background: var(--gradiente-principal);
  color: white;
  box-shadow: var(--sombra-media);
}

.btn-primario:hover {
  transform: translateY(-2px);
  box-shadow: var(--sombra-grande);
}

.btn-secundario {
  background: transparent;
  color: var(--cor-primaria);
  border: 2px solid var(--cor-primaria);
}

.btn-secundario:hover {
  background: var(--cor-primaria);
  color: white;
  transform: translateY(-2px);
}

.btn-acento {
  background: var(--gradiente-secundario);
  color: white;
  box-shadow: var(--sombra-media);
}

.btn-acento:hover {
  transform: translateY(-2px);
  box-shadow: var(--sombra-grande);
}

/* Cards personalizados */
.card-orbitte {
  background: white;
  border-radius: var(--border-radius-grande);
  box-shadow: var(--sombra-pequena);
  transition: var(--transicao-normal);
  overflow: hidden;
  position: relative;
}

.card-orbitte:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-xl);
}

.card-orbitte::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradiente-principal);
}

.card-produto {
  background: white;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--sombra-media);
  transition: var(--transicao-normal);
  overflow: hidden;
  border: 1px solid var(--cinza-200);
}

.card-produto:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra-xl);
  border-color: var(--cor-primaria);
}

/* Seções com gradiente */
.secao-gradiente {
  background: var(--gradiente-principal);
  color: white;
  position: relative;
  overflow: hidden;
}

.secao-gradiente::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.secao-gradiente > * {
  position: relative;
  z-index: 1;
}

/* ========================================
   ANIMAÇÕES PERSONALIZADAS
   ======================================== */

/* Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Slide In */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

/* Scale In */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.scale-in {
  animation: scaleIn 0.6s ease-out;
}

/* Bounce In */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.bounce-in {
  animation: bounceIn 0.8s ease-out;
}

/* Hover Effects */
.hover-lift {
  transition: var(--transicao-normal);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.hover-scale {
  transition: var(--transicao-normal);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* ========================================
   NAVEGAÇÃO PERSONALIZADA
   ======================================== */

.navbar-orbitte {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--sombra-pequena);
  transition: var(--transicao-normal);
}

.navbar-orbitte.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--sombra-media);
}

.nav-link {
  position: relative;
  color: var(--cinza-700);
  font-weight: 500;
  transition: var(--transicao-rapida);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradiente-principal);
  transition: var(--transicao-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cor-primaria);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-orbitte {
  background: var(--gradiente-principal);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-orbitte::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0L60.45 39.55L100 50L60.45 60.45L50 100L39.55 60.45L0 50L39.55 39.55z' fill='%23ffffff' fill-opacity='0.02'/%3E%3C/svg%3E");
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-titulo {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.hero-subtitulo {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* ========================================
   SEÇÃO DE PRODUTOS
   ======================================== */

.produto-icon {
  width: 80px;
  height: 80px;
  background: var(--gradiente-principal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  transition: var(--transicao-normal);
}

.card-produto:hover .produto-icon {
  transform: scale(1.1);
  background: var(--gradiente-secundario);
}

/* ========================================
   SEÇÃO DE DEPOIMENTOS
   ======================================== */

.depoimento-card {
  background: white;
  border-radius: var(--border-radius-grande);
  padding: 2rem;
  box-shadow: var(--sombra-media);
  position: relative;
  transition: var(--transicao-normal);
}

.depoimento-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--cor-primaria);
  font-family: Georgia, serif;
  line-height: 1;
}

.depoimento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-xl);
}

.avatar-cliente {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--cor-primaria);
  object-fit: cover;
}

/* ========================================
   FORMULÁRIOS
   ======================================== */

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cinza-300);
  border-radius: var(--border-radius-medio);
  font-family: var(--fonte-principal);
  font-size: 16px;
  transition: var(--transicao-rapida);
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--cor-primaria);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--cinza-700);
}

/* ========================================
   FOOTER
   ======================================== */

.footer-orbitte {
  background: var(--gradiente-escuro);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer-orbitte::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradiente-principal);
}

.footer-link {
  color: var(--cinza-300);
  transition: var(--transicao-rapida);
}

.footer-link:hover {
  color: white;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transicao-normal);
}

.social-icon:hover {
  background: var(--cor-primaria);
  transform: translateY(-3px);
}

/* ========================================
   COMPONENTES DE LOADING
   ======================================== */

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--cinza-200);
  border-top: 4px solid var(--cor-primaria);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.loading-dot {
  width: 8px;
  height: 8px;
  background: var(--cor-primaria);
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* ========================================
   MODAIS E OVERLAYS
   ======================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transicao-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: var(--border-radius-grande);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.7);
  transition: var(--transicao-normal);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* ========================================
   NOTIFICAÇÕES
   ======================================== */

.notificacao {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: var(--border-radius-medio);
  padding: 1rem 1.5rem;
  box-shadow: var(--sombra-grande);
  transform: translateX(400px);
  transition: var(--transicao-normal);
  z-index: 1001;
  border-left: 4px solid var(--cor-sucesso);
}

.notificacao.show {
  transform: translateX(0);
}

.notificacao.erro {
  border-left-color: var(--cor-perigo);
}

.notificacao.aviso {
  border-left-color: var(--cor-aviso);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }
  
  .hero-titulo {
    font-size: 2.5rem;
  }
  
  .hero-subtitulo {
    font-size: 1.25rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  .btn-orbitte {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .card-orbitte {
    margin-bottom: 1rem;
  }
  
  .modal-content {
    padding: 1.5rem;
    width: 95%;
  }
}

@media (max-width: 480px) {
  .hero-titulo {
    font-size: 2rem;
  }
  
  .hero-subtitulo {
    font-size: 1rem;
  }
  
  .btn-orbitte {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .produto-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* ========================================
   SCROLL PERSONALIZADO
   ======================================== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cinza-100);
}

::-webkit-scrollbar-thumb {
  background: var(--cor-primaria);
  border-radius: var(--border-radius-pequeno);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cor-primaria-escura);
}

/* ========================================
   UTILITÁRIOS
   ======================================== */

.text-gradient {
  background: var(--gradiente-principal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236b7280' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.border-gradient {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box, var(--gradiente-principal) border-box;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========================================
   IMPRESSÃO
   ======================================== */

@media print {
  .navbar-orbitte,
  .footer-orbitte,
  .btn-orbitte,
  .modal-overlay {
    display: none !important;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
  
  .hero-orbitte {
    background: white !important;
  }
  
  .hero-titulo,
  .hero-subtitulo {
    color: black !important;
  }
}

/* ========================================
   ACESSIBILIDADE
   ======================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.focus-visible:focus {
  outline: 2px solid var(--cor-primaria);
  outline-offset: 2px;
}

/* ========================================
   FIM DO ARQUIVO
   ======================================== */