

/* ===============================================
   1. VARIÁVEIS CSS
   =============================================== */
:root {
  /* === CORES PRINCIPAIS === */
  --primary: #3b79ff;
  --primary-dark: #2a61cc;
  --primary-light: #5a8bff;
  --primary-gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
  
  /* === CORES NEUTRAS === */
  --dark: #111111;
  --darker: #0a0a0a;
  --dark-secondary: #1a1a1a;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray-100: #f1f3f4;
  --gray-200: #e8eaed;
  --gray-300: #dadce0;
  --gray-400: #9aa0a6;
  --gray-500: #5f6368;
  --gray-600: #3c4043;
  --gray-700: #202124;
  --gray-800: #171717;
  --gray-900: #0d1117;
  
  /* === CORES DE TEXTO === */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #eeeeee;
  --text-muted: #999999;
  --text-inverse: var(--white);
  
  /* === CORES DE ESTADO === */
  --success: #4bb543;
  --success-light: rgba(75, 181, 67, 0.1);
  --error: #ff3b3b;
  --error-light: rgba(255, 59, 59, 0.1);
  --warning: #ffa500;
  --info: #17a2b8;
  
  /* === EFEITOS E SOMBRAS === */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(59, 121, 255, 0.3);
  
  /* === OVERLAYS === */
  --overlay-light: rgba(0, 0, 0, 0.3);
  --overlay-medium: rgba(0, 0, 0, 0.5);
  --overlay-dark: rgba(0, 0, 0, 0.7);
  --overlay-darker: rgba(0, 0, 0, 0.8);
  
  /* === TRANSIÇÕES === */
  --transition-fast: all 0.15s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* === MEDIDAS E ESPAÇAMENTOS === */
  --nav-height: 80px;
  --section-padding: 100px;
  --container-max-width: 1200px;
  --content-max-width: 800px;
  
  /* === BORDAS === */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-2xl: 24px;
  --border-radius-full: 9999px;
  
  /* === ESPAÇAMENTOS (BASEADO EM 8px) === */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;
  --space-20: 160px;
  
  /* === TIPOGRAFIA === */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  --font-size-6xl: 3.75rem;   /* 60px */
  
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;
  
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;
}

/* ===============================================
   2. RESET E CONFIGURAÇÕES BASE
   =============================================== */

/* Reset básico para consistência entre navegadores */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Configurações do HTML */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Configurações do Body */
body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Prevenção de overflow horizontal */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Configurações para elementos de mídia */
img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-normal);
}

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

/* Botões */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-normal);
}

/* Inputs e textareas */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Lista */
ul,
ol {
  list-style: none;
}

/* ===============================================
   3. COMPONENTES DE LAYOUT
   =============================================== */

/* Container principal */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Container de conteúdo */
.content-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

/* ===============================================
   4. SEÇÃO HERO COM VÍDEO
   =============================================== */

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Container do vídeo de fundo */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

/* Vídeo de fundo */
#background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.7);
}

/* Overlay do vídeo */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--overlay-dark) 0%,
    var(--overlay-medium) 50%,
    var(--overlay-dark) 100%
  );
  z-index: -1;
}

/* Conteúdo do hero */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 90%;
  width: 100%;
}

.hero-text {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
  margin: 0 auto; 
  width: 70%; 
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--font-weight-black);
  color: var(--white);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-tight);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.096);
}

.text-highlight {
  color: var(--primary);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  color: var(--text-light);
  margin-bottom: var(--space-8);
  line-height: var(--line-height-relaxed);
  opacity: 0.95;
}

/* Ações do hero */
.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===============================================
   5. NAVEGAÇÃO E MENU
   =============================================== */

.main-navigation {
  position: fixed;
  top: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: var(--container-max-width);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.527);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius-full);
  padding: var(--space-2) var(--space-4);
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.nav-container:hover {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: var(--shadow-xl);
}

/* Logo */
.logo {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--white);
  white-space: nowrap;
}

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

/* Menu desktop */
.navigation-menu {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}

.navigation-menu a {
  color: var(--white);
  font-weight: var(--font-weight-medium);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius-lg);
  transition: var(--transition-normal);
  white-space: nowrap;
  position: relative;
}

.navigation-menu a:hover {
  color: var(--primary);

  transform: translateY(-2px);
}

.navigation-menu a.nav-highlight {
  color: var(--white);
  font-weight: var(--font-weight-medium);
}

.navigation-menu a.nav-highlight:hover {
  color: var(--primary);
  transform: translateY(-2px);

}

/* Menu mobile */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  padding: var(--space-2);
  cursor: pointer;
  z-index: 1001;
}

.hamburger {
  width: 28px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--white);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-normal);
  transform-origin: center;
}

/* Animação do hamburguer para X */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* ===============================================
   6. SEÇÕES DO CONTEÚDO
   =============================================== */

/* Configuração base das seções */
section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* Cabeçalho das seções */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

.title-highlight {
  color: var(--primary);
  display: block;
}

.section-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
}

/* ===============================================
   SEÇÃO SOBRE NÓS
   =============================================== */

.about-section {
  background: var(--dark);
  color: var(--white);
}

.about-section .section-title {
  color: var(--white);
}

.about-section .title-highlight {
  color: var(--primary);
}

.about-section .section-description {
  color: var(--text-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-text .lead-text {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-4);
  color: var(--text-light);
  line-height: var(--line-height-relaxed);
}

.about-text p {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-4);
}

.about-text strong {
  color: var(--primary);
  font-weight: var(--font-weight-semibold);
}

/* Grid de imagens */
.about-images {
  position: relative;
}

.image-grid {
  display: flex;
  gap: var(--space-4);
  height: 500px;
  width: 600px;
}

.image-item {
  flex: 1;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

.image-primary {
  transform: translateY(-var(--space-4));
}

.image-secondary {
  transform: translateY(var(--space-4));
}

.image-item:hover {
  
  box-shadow: var(--shadow-xl);
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

/* Ajuste para telas médias (ex: tablets na horizontal) */
@media (max-width: 1024px) {
  .image-grid {
    height: 400px;
    width: 480px;
  }
}

/* Ajuste para tablets na vertical */
@media (max-width: 768px) {
  .image-grid {
    height: 350px;
    width: 100%; /* Ocupa a largura disponível */
    max-width: 420px; /* Limite máximo */
  }
}

/* Ajuste para smartphones maiores */
@media (max-width: 600px) {
  .image-grid {
    height: 300px;
    max-width: 100%;
  }
}

/* Ajuste para smartphones pequenos */
@media (max-width: 480px) {
  .image-grid {
    height: 250px;
    gap: var(--space-2); /* Reduz o espaçamento entre imagens */
  }
}

/* ===============================================
   SEÇÃO SERVIÇOS
   =============================================== */

.services-section {
  background: var(--dark);
  color: var(--white);
}

.services-section .section-title {
  color: var(--white);
}

.services-section .title-highlight {
  color: var(--primary);
}

.services-section .section-description {
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-md);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.service-overlay i {
  font-size: 3rem;
  color: var(--white);
  transform: scale(0.8);
  transition: var(--transition-bounce);
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-card:hover .service-overlay i {
  transform: scale(1);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: var(--space-6);
}

.service-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.service-description {
  color: var(--text-light);
  line-height: var(--line-height-relaxed);
}

/* ===============================================
   SEÇÃO GALERIA
   =============================================== */

.gallery-section {
  background: var(--dark);
  color: var(--white);
}

.gallery-section .section-title {
  color: var(--white);
}

.gallery-section .title-highlight {
  color: var(--primary);
}

.gallery-section .section-description {
  color: var(--text-light);
}

.gallery-carousel {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
}


.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Esconde a barra no Chrome/Safari */
}

.carousel-slide {
  flex: 0 0 33.333%; /* 100% / 3 = 33.333% */
  min-width: 33.333%;
  padding: 0 10px;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  height: 200px; /* Altura fixa para uniformidade */
  display: block;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-slide img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

/* Controles do carrossel */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(59, 121, 255, 0.8);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: var(--font-size-lg);
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.carousel-control:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-glow);
}

.carousel-prev {
  left: var(--space-4);
}

.carousel-next {
  right: var(--space-4);
}

/* Indicadores do carrossel */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

.indicator.active,
.indicator:hover {
  background: var(--primary);
  transform: scale(1.2);
}

/* ============================================ */
/* LIGHTBOX MOBILE-FIRST (VERSÃO OTIMIZADA) */
/* ============================================ */

.lightbox {
  touch-action: none;               /* Permite gestos personalizados */
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95); 
  cursor: pointer;
  overflow: hidden;                
  -webkit-tap-highlight-color: transparent; /* Remove highlight no iOS */
}

.lightbox-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 95%;                  
  max-height: 95vh;
  width: auto;                     
  height: auto;
  padding: 10px;                   /* Espaço para gestos na borda */
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;              /* Reduzido para mobile */
  max-width: 100%;
  max-height: 100vh;
  transition: transform 0.25s ease; 
  transform-origin: center center;
  -webkit-user-select: none;       
  user-select: none;
}

.lightbox-close {
  width: 44px;
  height: 44px;
  position: absolute;
  top: max(20px, env(safe-area-inset-top)); 
  right: max(20px, env(safe-area-inset-right));
  color: #fff;
  font-size: 32px;                 /* Reduzido para dispositivos pequenos */
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: opacity 0.2s ease;   
  background: rgba(0,0,0,0.3);     /* Fundo para melhor visibilidade */
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.lightbox-close:hover,
.lightbox-close:focus {
  opacity: 0.8;                    
  outline: none;
}

/* ============================================ */
/*  TELAS PEQUENAS */
/* ============================================ */
@media (max-width: 576px) {
  .lightbox-content {
    max-width: 100%;
    max-height: 85vh;
    padding: 5px;
  }
  
  .lightbox-close {
    width: 36px;
    height: 36px;
    font-size: 28px;
    top: 10px;
    right: 10px;
  }
}
/* ===============================================
   SEÇÃO CONTATO
   =============================================== */

.contact-section {
  background: var(--darker);
  color: var(--white);
}

.contact-section .section-title {
  color: var(--white);
}

.contact-section .title-highlight {
  color: var(--primary);
}

.contact-section .section-description {
  color: var(--text-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
  max-width: 2000px;
  margin: 0 auto;
}

/* Formulário de contato */
.contact-form-container {
  background: rgba(255, 255, 255, 0.03);
  padding: var(--space-8);
  border-radius: var(--border-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.contact-section .container {
  max-width: 1700px; 
  width: 95%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  position: relative;
}

.form-label {
  display: block;
  font-weight: var(--font-weight-medium);
  color: var(--text-light);
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--font-size-base);
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  color: var(--white);
  transition: var(--transition-normal);
  font-family: inherit;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(59, 121, 255, 0.2);
}

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

.form-error {
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--error);
  font-size: var(--font-size-sm);
  margin-top: var(--space-1);
  display: none;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: var(--error);
  background: var(--error-light);
}

.form-group.error .form-error {
  display: block;
}

.form-group.success .form-input,
.form-group.success .form-textarea {
  border-color: var(--success);
  background: var(--success-light);
}

.form-success {
  background: var(--success-light);
  color: var(--success);
  padding: var(--space-4);
  border-radius: var(--border-radius-lg);
  text-align: center;
  border: 1px solid var(--success);
}

.form-success i {
  margin-right: var(--space-2);
}

/* Informações de contato */
.contact-info {
  padding: var(--space-4);
}

.contact-info-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--primary);
  margin-bottom: var(--space-6);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.contact-item i {
  color: var(--primary);
  font-size: var(--font-size-lg);
  width: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-text {
  flex: 1;
}

.contact-text strong {
  display: block;
  color: var(--white);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-1);
}

.contact-text a {
  color: var(--text-light);
  transition: var(--transition-normal);
}

.contact-text a:hover {
  color: var(--primary);
}

/* ===============================================
   7. COMPONENTES INTERATIVOS
   =============================================== */

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--border-radius-lg);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  transition: var(--transition-bounce);
  white-space: nowrap;
  gap: var(--space-2);
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-full {
  width: 100%;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ===============================================
   8. RESPONSIVIDADE (MOBILE FIRST)
   =============================================== */

@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
    --nav-height: 70px;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

}

@media (max-width: 1250px) {
  :root {
    --section-padding: 60px;
    --space-4: 24px;
  }
  
  .main-navigation {
    top: var(--space-2);
  }
  
  .nav-container {
    padding: var(--space-2) var(--space-4);
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .navigation-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 250px;
    height: 67vh;
    background: rgba(10, 10, 10, 0.95); 
    backdrop-filter: blur(10px); 
    flex-direction: column;
    padding: var(--space-16) var(--space-6);
    transition: var(--transition-smooth);
    border-radius: var(--border-radius-xl);
  }
  
  .navigation-menu[aria-expanded="true"] {
    right: 0;
  }
  
  .hero-text {
    padding: var(--space-6);
  }
  
  .hero-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 40px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .carousel-slide {
    width: 280px;
    height: 200px;
  }
}

/* ===============================================
   9. UTILITÁRIOS E HELPERS
   =============================================== */

/* Text utilities */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-white {
  color: var(--white);
}

/* Spacing utilities */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.p-4 { padding: var(--space-4); }

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: var(--space-2);
}

/* ===============================================
   10. ESTADOS E ANIMAÇÕES
   =============================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-fade {
  animation: fadeIn 0.5s ease forwards;
}

.animate-slide {
  animation: slideUp 0.5s ease forwards;
}

/* Loading spinner */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  animation: spin 1s linear infinite;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  width: 24px;
  height: 24px;
}

/* ===============================================
   RODAPÉ
   =============================================== */

.site-footer {
  background: var(--darker);
  color: var(--text-light);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
}

.footer-info {
  grid-column: 1 / -1; /* Ocupa todas as colunas */
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-6);
}

.footer-logo {
  text-align: center;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--white);
  align-items: center;
}

.footer-description {
  text-align: center;
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  align-items: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-2);
  color: var(--white);
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

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

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-8);
  color: var(--text-muted);
}

.footer-copy p:first-child {
  margin-bottom: var(--space-2);
}



/* Seção de redes sociais */
.social-media {
  background: var(--dark-secondary);
  padding: var(--space-6) var(--space-4);
  text-align: center;
  border-radius: var(--border-radius-lg);
  margin-top: var(--space-6);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 400px;  
  margin-left: 0;
  margin-right: auto;
}

.social-media h4 {
  color: var(--text-light);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
}

/* Container dos links */
.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-3); 
  flex-wrap: wrap;
  align-items: center; 
}

/* Links sociais */
.social-link {
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  padding: 0.5em; 
  border-radius: var(--border-radius-md); 
  background: var(--gray-700); 
  color: var(--text-light);
  font-size: var(--font-size-base);
  transition: var(--transition-normal);
  text-decoration: none;
  margin: 0 0.2em; 
}


.social-link.whatsapp {
  background: var(--gray-700); 
}

/* Efeito hover simplificado */
.social-link:hover {
  color: var(--primary); 
  transform: scale(1.2); 
  text-shadow: 0 2px 8px rgba(59, 121, 255, 0.3);
}

/* Ícones mais próximos do texto */
.social-link i {
  margin-right: 0.3em; /* Espaço entre ícone e texto */
}

/* Versão mobile mais compacta */
@media (max-width: 768px) {
  .social-media {
    padding: var(--space-3);
  }
  
  .social-links {
    gap: var(--space-2);
  }
  
  .social-link {
    padding: 0.4em;
    font-size: var(--font-size-sm);
  }
}

/* Otimizar animações pesadas */
.heavy-animation {
  will-change: transform; /* Só quando necessário */
}

/* Respeitar preferências de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Melhorar contraste em modo escuro */
.dark-mode {
  --text-secondary: #b3b3b3; /* Mais contraste */
}