/* ==========================================================================
   VARIÁVEIS E CONFIGURAÇÕES GLOBAIS
   ========================================================================== */
:root {
  /* Cores Primárias */
  --primary-color: #2a5bd7;
  --primary-dark: #1e4abf;
  --primary-light: #4a7bff;
  --primary-extra-light: #e8efff;
  
  /* Cores Secundárias */
  --secondary-color: #00c4cc;
  --secondary-dark: #00a2a8;
  --secondary-light: #33d0d6;
  
  /* Cores Neutras */
  --dark-color: #1a1a2e;
  --dark-medium: #2d2d44;
  --gray-dark: #4a4a68;
  --gray-medium: #8a8aa8;
  --gray-light: #d8d8e8;
  --light-color: #f8f9fc;
  --white: #ffffff;
  
  /* Cores de Status */
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  
  /* Tipografia */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  
  /* Espaçamentos */
  --space-unit: 1rem;
  --space-xxs: calc(0.25 * var(--space-unit));
  --space-xs: calc(0.5 * var(--space-unit));
  --space-sm: calc(0.75 * var(--space-unit));
  --space-md: calc(1.25 * var(--space-unit));
  --space-lg: calc(2 * var(--space-unit));
  --space-xl: calc(3.25 * var(--space-unit));
  --space-xxl: calc(5.25 * var(--space-unit));
  
  /* Bordas */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 32px;
  --border-radius-rounded: 50%;
  
  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.2);
  --shadow-primary: 0 8px 24px rgba(42, 91, 215, 0.2);
  --shadow-secondary: 0 8px 24px rgba(0, 196, 204, 0.2);
  
  /* Transições */
  --transition-fast: all 0.2s ease-in-out;
  --transition-medium: all 0.3s ease-in-out;
  --transition-slow: all 0.5s ease-in-out;
  
  /* Z-index */
  --z-index-dropdown: 100;
  --z-index-sticky: 200;
  --z-index-fixed: 300;
  --z-index-modal-backdrop: 400;
  --z-index-modal: 500;
  --z-index-popover: 600;
  --z-index-tooltip: 700;
  --z-index-preloader: 800;
}

/* ==========================================================================
   RESET E ESTILOS BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-color);
  margin-bottom: var(--space-sm);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul, ol {
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

/* ==========================================================================
   COMPONENTES PERSONALIZADOS
   ========================================================================== */

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: var(--z-index-preloader);
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-inner {
  text-align: center;
}

.preloader .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.25em;
}

/* Header/Navbar */
.navbar {
  padding: var(--space-sm) 0;
  transition: var(--transition-medium);
}

.navbar.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  padding: var(--space-xs) 0;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  font-family: var(--font-secondary);
  font-weight: 700;
}

.logo-text {
  font-size: 1.75rem;
  color: var(--primary-color);
  line-height: 1;
}

.logo-subtext {
  font-size: 0.75rem;
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--gray-medium);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-toggler {
  border: none;
  padding: var(--space-xxs);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-medium);
}

/* Ajuste para os itens do menu */
.navbar .nav-link {
    white-space: nowrap; /* Impede a quebra de linha */
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-medium);
}

.navbar-toggler-icon::before {
  transform: translateY(-6px);
}

.navbar-toggler-icon::after {
  transform: translateY(6px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
}

.offcanvas {
  background-color: var(--white);
  max-width: 300px;
}

.offcanvas-header {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--gray-light);
}

.offcanvas-title {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0;
}

.nav-item {
  margin: 0 var(--space-xs);
}

.nav-link {
  font-weight: 500;
  color: white !important;
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-medium);
    color: var(--dark-medium);

}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}
.navbar.scrolled .nav-link {
    color: var(--dark-medium) !important;
}

/* Botões */
.btn {
  font-weight: 600;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-medium);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.875rem;
  line-height: 1.5;
}

.btn-lg {
  padding: var(--space-sm) var(--space-md);
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.btn-outline-light {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--primary-color);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding-top: 80px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/hero-pattern.png') center/cover no-repeat;
  opacity: 0.05;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.hero-title span {
  color: var(--secondary-color);
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(0, 196, 204, 0.3);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  opacity: 0.9;
  max-width: 600px;
}

.hero-cta {
  margin-top: var(--space-xl);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.scroll-down {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  opacity: 0.7;
  transition: var(--transition-medium);
}

.scroll-down:hover {
  opacity: 1;
  color: var(--white);
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-xxs);
}

.scroll-down i {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Clients Section */
.clients-section {
  background-color: var(--light-color);
}

.client-logos {
  gap: var(--space-xl);
  padding: var(--space-md) 0;
}

.client-logos img {
  height: 40px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: var(--transition-medium);
}

.client-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Section Titles */
.section-pretitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: var(--space-lg);
}

.section-pretitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--space-md);
  height: 2px;
  background-color: var(--primary-color);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-medium);
  max-width: 700px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  background-color: var(--white);
}

.service-card {
  height: 100%;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  transition: var(--transition-medium);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--primary-color);
  transition: var(--transition-medium);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-extra-light);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-extra-light);
  border-radius: var(--border-radius-rounded);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: var(--transition-medium);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--dark-color);
}

.service-description {
  color: var(--gray-medium);
  margin-bottom: var(--space-md);
}

.service-link {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.service-link i {
  margin-left: var(--space-xxs);
  transition: var(--transition-fast);
}

.service-link:hover i {
  transform: translateX(3px);
}

/* About Section */
.about-section {
  position: relative;
}

.about-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-main-image {
  display: block;
  width: 100%;
}

.about-experience-badge {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background-color: var(--primary-color);
  color: var(--white);
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-primary);
}

.experience-years {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-secondary);
}

.experience-text {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text {
  font-size: 1.125rem;
  color: var(--gray-medium);
  margin-bottom: var(--space-lg);
}

.feature-item {
  display: flex;
  margin-bottom: var(--space-md);
}

.feature-icon {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-right: var(--space-sm);
  margin-top: 3px;
}

.feature-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-xxs);
  color: var(--dark-color);
}

.feature-description {
  color: var(--gray-medium);
  font-size: 0.9375rem;
}

.about-stats {
  margin-top: var(--space-xl);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-secondary);
  line-height: 1;
  margin-bottom: var(--space-xxs);
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Cases Section */
.cases-section {
  background-color: var(--white);
}

.case-card {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  height: 100%;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.case-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 91, 215, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-medium);
}

.case-card:hover .case-overlay {
  opacity: 1;
}

.case-link {
  color: var(--white);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  border: 2px solid var(--white);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-medium);
}

.case-link:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.case-content {
  padding: var(--space-lg);
  background-color: var(--white);
}

.case-category {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.case-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--dark-color);
}

.case-stats {
  display: flex;
  gap: var(--space-md);
}

/* Team Section */
.team-section {
  background-color: var(--light-color);
}

.team-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: var(--transition-slow);
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-social {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-sm);
  background-color: rgba(42, 91, 215, 0.8);
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  transform: translateY(100%);
  transition: var(--transition-medium);
}

.team-card:hover .team-social {
  transform: translateY(0);
}

.team-social a {
  width: 36px;
  height: 36px;
  background-color: var(--white);
  color: var(--primary-color);
  border-radius: var(--border-radius-rounded);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

.team-social a:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.team-info {
  padding: var(--space-lg);
  text-align: center;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: var(--space-xxs);
  color: var(--dark-color);
}

.team-position {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--space-xxs);
}

.team-expertise {
  font-size: 0.875rem;
  color: var(--gray-medium);
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--white);
}

.testimonial-slider {
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-item {
  padding: var(--space-md);
}

.testimonial-content {
  background-color: var(--light-color);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.testimonial-content::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(42, 91, 215, 0.1);
  line-height: 1;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--gray-dark);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-rounded);
  object-fit: cover;
  margin-right: var(--space-sm);
  border: 3px solid var(--primary-color);
}

.author-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0;
}

.author-position {
  font-size: 0.875rem;
  color: var(--gray-medium);
}

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-rounded);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-rounded);
}

.cta-title {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.cta-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  color: var(--white);
  max-width: 600px;
}

/* Contact Section */
.contact-section {
  background-color: var(--light-color);
}

.contact-info {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.contact-info-item {
  display: flex;
  margin-bottom: var(--space-lg);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-extra-light);
  border-radius: var(--border-radius-rounded);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-right: var(--space-md);
  flex-shrink: 0;
}

.contact-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: var(--space-xxs);
}

.contact-text {
  color: var(--gray-medium);
}

.contact-form {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-control,
.form-select {
  height: 48px;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-sm);
  padding: var(--space-sm);
  font-size: 0.9375rem;
  transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(42, 91, 215, 0.1);
}

textarea.form-control {
  height: auto;
  min-height: 150px;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--gray-light);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  font-family: var(--font-secondary);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.footer-logo .logo-text {
  font-size: 1.75rem;
  color: var(--white);
  line-height: 1;
}

.footer-logo .logo-subtext {
  font-size: 0.75rem;
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--gray-medium);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-about-text {
  margin-bottom: var(--space-md);
  color: var(--gray-light);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: var(--border-radius-rounded);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.footer-title {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.footer-menu {
  list-style: none;
  padding-left: 0;
}

.footer-menu li {
  margin-bottom: var(--space-xs);
}

.footer-menu a {
  color: var(--gray-light);
  transition: var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--white);
  padding-left: var(--space-xxs);
}

.newsletter-text {
  margin-bottom: var(--space-md);
  color: var(--gray-light);
}

.newsletter-form .input-group {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  height: 44px;
}

.newsletter-form .form-control::placeholder {
  color: var(--gray-light);
}

.newsletter-form .btn {
  height: 44px;
}

.copyright-text {
  color: var(--gray-medium);
  font-size: 0.875rem;
}

.footer-legal-links {
  display: flex;
  gap: var(--space-md);
}

.footer-legal-links a {
  color: var(--gray-medium);
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--border-radius-rounded);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
  z-index: var(--z-index-fixed);
  box-shadow: var(--shadow-primary);
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   UTILITÁRIOS
   ========================================================================== */
.bg-light {
  background-color: var(--light-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-white {
  color: var(--white) !important;
}

.py-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.mt-6 {
  margin-top: 5rem;
}

.mb-6 {
  margin-bottom: 5rem;
}

/* ==========================================================================
   ANIMAÇÕES
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

/* ==========================================================================
   MEDIA QUERIES - RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 1199.98px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  
  .hero-title { font-size: 3rem; }
  .section-title { font-size: 2.25rem; }
}

@media (max-width: 991.98px) {
  :root {
    --space-unit: 0.875rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  
  .py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .team-image {
    height: 250px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --space-unit: 0.75rem;
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  
  .hero-title { font-size: 2.25rem; }
  .section-title { font-size: 1.75rem; }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-pretitle {
    padding-left: var(--space-md);
  }
  
  .section-pretitle::before {
    width: var(--space-sm);
  }
  
  .client-logos {
    gap: var(--space-lg);
  }
  
  .client-logos img {
    height: 30px;
  }
  
  .about-image-container {
    margin-bottom: var(--space-lg);
  }
  
  .footer-menu {
    margin-bottom: var(--space-lg);
  }
}

@media (max-width: 575.98px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.5rem; }
  
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .service-card,
  .case-card,
  .team-card {
    padding: var(--space-md);
  }
  
  .testimonial-content {
    padding: var(--space-md);
  }
  
  .cta-section .btn {
    width: 100%;
  }
}

/* ======================
   MENU HAMBURGUER (MOBILE)
   ====================== */
/* Aplica apenas em telas menores que 992px (mobile) */
@media (max-width: 991.98px) {
    /* Links dentro do offcanvas (menu hamburguer) sempre escuros */
    .offcanvas-body .nav-link {
        color: var(--dark-medium) !important;
    }

    .offcanvas-body .nav-link:hover,
    .offcanvas-body .nav-link.active {
        color: var(--primary-color) !important;
    }

    /* Título do offcanvas também escuro */
    .offcanvas-title {
        color: var(--dark-color) !important;
    }

}

 .developer-credit {
        font-family: 'Poppins', sans-serif;
        font-weight: 300;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .developer-credit a {
        color: #debd8b;
        font-weight: 400;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .developer-credit a:hover {
        color: #c9a86b;
        text-decoration: underline;}