/* Variáveis de cores aprimoradas para melhor contraste e experiência visual */
:root {
  /* Cores principais */
  --primary-color: #3C3B89;      /* Azul principal do logotipo */
  --primary-light: #383787;      /* Variação escura do azul */
  --secondary-color: #373686;    /* Outra tonalidade azul próxima */
  --secondary-light: #353485;    /* Azul ainda mais escuro */
  --dark-color: #353485;         /* Azul ainda mais escuro para textos */
  --darker-color: #373686;       /* Azul escuro para fundos */
  
  /* Cores de texto e fundo */
  --light-color: #FFFFFF;        /* Branco para contraste */
  --lighter-bg: #FFFFFF;         /* Fundo predominante branco */
  --text-color: #222234;         /* Texto principal mais escuro - ajustado */
  --text-muted: #5D5D6D;         /* Texto secundário - ajustado para melhor contraste */
  --gray-color: #8A8AA0;         /* Cinza neutro com tom roxo */
  
  /* Elementos de design */
  --gradient-primary: linear-gradient(135deg, #3C3B89, #383787);
  --gradient-secondary: linear-gradient(135deg, #373686, #353485);
  --soft-shadow: 0 8px 20px rgba(60, 59, 137, 0.12);
  --strong-shadow: 0 12px 30px rgba(60, 59, 137, 0.2);
  --transition-fast: all 0.2s ease-out;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* Novos elementos */
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  --border-radius-sm: 6px;
  --border-radius: 10px;
  --border-radius-lg: 15px;
  --border-radius-xl: 25px;
}

/* Reset e Estilos Base otimizados */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--lighter-bg);
  color: var(--text-color);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-variant-ligatures: common-ligatures;
  font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 1rem;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-variant-ligatures: common-ligatures;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition-fast);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

p {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  font-variant-ligatures: common-ligatures;
  letter-spacing: 0.01em;
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout e espaçamento */
.section-padding {
  padding: 5rem 0;
}

.py-large {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.mb-large {
  margin-bottom: 3rem;
}

/* Navbar com melhor visual e comportamento */
.navbar {
  padding: 1rem 2rem;
  background: var(--light-color) !important;
  box-shadow: var(--soft-shadow);
  transition: var(--transition);
  z-index: 1000;
}

.navbar.navbar-scrolled {
  padding: 0.7rem 2rem;
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--strong-shadow);
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.navbar-brand span {
  color: var(--primary-light);
  opacity: 0.9;
  transition: var(--transition-fast);
}

.navbar-brand:hover span {
  opacity: 1;
}

.navbar-nav .nav-link {
  color: var(--primary-color) !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  position: relative;
  opacity: 0.85;
  transition: var(--transition-fast);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  letter-spacing: 0.02em;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  opacity: 1;
  color: var(--primary-light) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar .btn-primary, .navbar .btn-sm.btn-primary {
  background: var(--primary-color) !important;
  color: #fff !important;
  border: none;
  font-weight: 600;
  border-radius: var(--border-radius);
  box-shadow: var(--soft-shadow);
  transition: var(--transition);
}

.navbar .btn-primary:hover, .navbar .btn-sm.btn-primary:hover {
  background: var(--primary-light) !important;
  color: #fff !important;
}

.dropdown-menu {
  background-color: var(--darker-color);
  border: none;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--soft-shadow);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown-item {
  color: var(--light-color);
  padding: 0.6rem 1rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-fast);
}

.dropdown-item:hover, 
.dropdown-item:focus {
  color: var(--light-color);
  background-color: var(--primary-color);
}

.dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section aprimorada */
.hero {
  padding: 7rem 0 4rem;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(74, 56, 148, 0.95), rgba(42, 41, 91, 0.95));
}

.hero h1,
.hero p {
  color: #fff !important;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-weight: 1200;
  position: relative;
  white-space: nowrap;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  position: relative;
  white-space: nowrap;
}

.hero .btn {
  position: relative;
  z-index: 1;
}

.hero .btn-outline-light {
  border: 2px solid var(--light-color);
  color: var(--light-color);
  background: transparent;
  transition: var(--transition);
}

.hero .btn-outline-light:hover {
  background: var(--light-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Variante específica para página about */
.about-hero {
  background: var(--gradient-secondary);
}

/* Botões com efeitos modernos */
.btn-primary, .btn-custom {
  background: var(--gradient-primary);
  border: none;
  color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  letter-spacing: 0.02em;
}

.btn-primary:hover, 
.btn-primary:focus,
.btn-custom:hover,
.btn-custom:focus {
  transform: translateY(-2px);
  box-shadow: var(--strong-shadow);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  border-radius: var(--border-radius);
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--light-color);
  transform: translateY(-3px);
  box-shadow: var(--soft-shadow);
}

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}

/* Cartões de serviços com visual aprimorado */
.service-card, 
.product-card {
  background: var(--light-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before,
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient-primary);
  opacity: 0.05;
  transition: var(--transition);
  z-index: -1;
  border-radius: var(--border-radius-lg);
}

.service-card:hover::before,
.product-card:hover::before {
  height: 100%;
  opacity: 0.07;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--strong-shadow);
  border-color: rgba(74, 56, 148, 0.1);
}

.service-card h3,
.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.icon-box {
  width: 70px;
  height: 70px;
  background: var(--lighter-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition-bounce);
  box-shadow: 0 5px 15px rgba(74, 56, 148, 0.1);
  border: 1px solid rgba(74, 56, 148, 0.1);
}

.icon-box i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.service-card:hover .icon-box,
.product-card:hover .icon-box {
  background: var(--primary-color);
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--soft-shadow);
}

.service-card:hover .icon-box i,
.product-card:hover .icon-box i {
  color: var(--light-color);
  transform: scale(1.2);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  transition: var(--transition);
  margin-bottom: 1rem;
}

.service-card:hover .service-icon {
  color: var(--primary-light);
  transform: scale(1.1);
}

/* Estilos para cards com fundo escuro */
.service-card.bg-dark .service-icon {
  color: var(--light-color);
}

.service-card.bg-dark h4 {
  color: var(--light-color);
}

.service-card.bg-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.service-card.bg-dark:hover .service-icon {
  color: var(--primary-light);
}

.service-card.bg-dark:hover h4 {
  color: var(--light-color);
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--dark-color);
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;  

}

.section-title p {
  max-width: 1200px;
  margin: 1rem auto 0;
  color: var(--text-muted);
  font-size: 1.1rem;
  white-space: nowrap;

}

.section-title::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 4px;
  background: var(--gradient-primary);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.bg-dark, .bg-dark h2 {
  color: var(--light-color);
}

.section.bg-dark .section-title::after {
  background: var(--light-color);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.5rem;
}

.feature-list li i {
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0.65rem;
  font-size: 1.1rem;
}

.team-card {
  background: var(--light-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
  transform: scale(1.02);
  filter: grayscale(20%);
}

.team-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.team-card h4 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.team-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-align: center;
}

.stats-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--soft-shadow);
  transition: var(--transition);
}

.stats-card:hover {
  transform: translateY(-5px);
}

.stats-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--soft-shadow);
}

.stats-icon i {
  font-size: 2.5rem;
  color: var(--light-color);
}

.stats-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stats-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.testimonial-card {
  background: var(--light-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--soft-shadow);
}

.testimonial-content {
  position: relative;
  margin-bottom: 1.5rem;
}

.testimonial-content i {
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: -5px;
}

.testimonial-content p {
  position: relative;
  z-index: 1;
  color: var(--text-color);
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
  border: 3px solid var(--lighter-bg);
}

.testimonial-author h5 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.testimonial-author p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cta-section, .cta {
  background: var(--gradient-primary);
  color: var(--light-color);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before, .cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('assets/cta-pattern.svg');
  background-size: cover;
  opacity: 0.1;
}

.cta-section h2, .cta h2 {
  color: var(--light-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p, .cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-section .btn-light, .cta .btn-light {
  background: var(--light-color);
  color: var(--primary-color);
}

.cta-section .btn-light:hover, .cta .btn-light:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
}

.footer {
  background: var(--light-color);
  color: var(--primary-color);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/footer-pattern.svg');
  background-size: cover;
  opacity: 0.03;
}

.footer h5 {
  color: var(--primary-color) !important;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
}

/* Melhor distribuição da seção de contato no rodapé */
.footer .col-lg-8 h5::after {
  left: auto;
  right: 0;
}

.footer .col-lg-8 {
  text-align: right;
  padding-left: 3rem;
}

.footer .col-lg-8 ul {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer .col-lg-8 ul li {
  text-align: right;
  margin-bottom: 0.75rem;
  min-width: 280px;
}

.footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer ul li, .footer-links ul li {
  margin-bottom: 0.7rem;
}

.footer ul li a, .footer-links ul li a {
  color: var(--primary-color) !important;
  transition: var(--transition-fast);
}

.footer ul li a:hover, .footer-links ul li a:hover {
  color: var(--primary-light) !important;
  padding-left: 5px;
}

.footer ul li i {
  margin-right: 0.5rem;
  color: var(--primary-light);
}

.footer hr {
  margin: 2rem 0;
  opacity: 0.1;
  background-color: var(--primary-color);
}

.social-links {
  margin-top: 1.5rem;
}

.social-links a, .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-color);
  margin-right: 0.5rem;
  transition: var(--transition), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s, color 0.25s;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}

.social-links a i {
  transition: color 0.25s, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover, .social-icon:hover {
  background: var(--primary-color);
  color: #fff !important;
  transform: scale(1.22) translateY(-4px) rotate(-6deg);
  box-shadow: 0 6px 24px rgba(60, 59, 137, 0.22);
}

.social-links a:hover i {
  color: #fff !important;
  transform: scale(1.18) rotate(6deg);
}

.social-links a[aria-label="Facebook"]:hover {
  background: #3b5998;
}

.social-links a[aria-label="Instagram"]:hover {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-links a[aria-label="LinkedIn"]:hover {
  background: #0077b5;
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 60%, #3C3B89 100%);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 25px 5px rgba(60, 59, 137, 0.25), var(--strong-shadow);
  border: 2px solid #fff;
  z-index: 100;
  transition: var(--transition);
  animation: pulse-whatsapp 1.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--light-color);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(60, 59, 137, 0.3), var(--strong-shadow); }
  70% { box-shadow: 0 0 0 10px rgba(60, 59, 137, 0.05), var(--strong-shadow); }
  100% { box-shadow: 0 0 0 0 rgba(60, 59, 137, 0.3), var(--strong-shadow); }
}

/* Partner Cards */
.partner-card {
  background: var(--light-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.5rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient-primary);
  opacity: 0.05;
  transition: var(--transition);
  z-index: -1;
  border-radius: var(--border-radius-lg);
}

.partner-card:hover::before {
  height: 100%;
  opacity: 0.07;
}

.partner-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--strong-shadow);
  border-color: rgba(60, 59, 137, 0.1);
}

.partner-logo {
  margin-bottom: 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.partner-card:hover .partner-logo img {
  transform: scale(1.05);
}

.partner-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-weight: 600;
}

.partner-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}



.location-badge {
  background: var(--lighter-bg);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
  border: 1px solid rgba(60, 59, 137, 0.1);
}

.case-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  transition: var(--transition);
  height: 100%;
}

.case-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--strong-shadow);
}

.case-image {
  overflow: hidden;
}

.case-image img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.case-card:hover .case-image img {
  transform: scale(1.1);
}

.case-content {
  padding: 1.5rem;
}

.case-content h4 {
  margin-top: 0;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.accordion-item {
  background: var(--light-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  color: var(--dark-color);
  background-color: var(--light-color);
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(74, 56, 148, 0.05);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button::after {
  background-size: 1.25rem;
}

.accordion-body {
  padding: 1.5rem;
  color: var(--text-muted);
  background-color: var(--light-color);
}

.contact-form {
  background: var(--light-color);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--soft-shadow);
}

.form-control, .form-select {
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  background-color: var(--lighter-bg);
  transition: var(--transition-fast);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  letter-spacing: 0.01em;
}

.form-control:focus, .form-select:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.form-floating label {
  padding: 0.8rem 1.2rem;
}

.contact-info {
  background: var(--gradient-primary);
  color: var(--light-color);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  height: 100%;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.contact-item h5 {
  color: var(--light-color);
  margin-bottom: 0.5rem;
}

.contact-item p {
  margin-bottom: 0;
}

.contact-item p a {
  color: rgba(255, 255, 255, 0.8);
}

.contact-item p a:hover {
  color: var(--light-color);
}

.map-container {
  height: 400px;
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.animate-delay-1 {
  animation-delay: 0.2s;
}

.animate-delay-2 {
  animation-delay: 0.4s;
}

/* Media Queries */
@media (max-width: 1199.98px) {
  html {
    font-size: 15px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
}

/* Melhorias específicas para alta resolução */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body, h1, h2, h3, h4, h5, h6, p, a, .nav-link, .btn, .form-control {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
}

/* Melhorias para dispositivos com tela de alta densidade */
@media screen and (-webkit-min-device-pixel-ratio: 1.5) {
  * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

@media (max-width: 991.98px) {
  html {
    font-size: 14px;
  }
  
  .navbar {
    padding: 0.8rem 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .hero {
    padding: 5rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-padding, .section {
    padding: 3rem 0;
  }
}

@media (max-width: 767.98px) {
  .navbar {
    padding: 0.5rem 1rem;
  }
  
  .hero {
    padding: 6rem 0 4rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-padding, .section {
    padding: 4rem 0;
  }
  
  .service-card, 
  .product-card,
  .partner-card {
    margin-bottom: 2rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 15px;
    bottom: 15px;
  }
  
  .testimonial-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  .footer {
    padding: 3rem 0 1rem;
  }
  
  /* Distribuição responsiva da seção de contato no rodapé */
  .footer .col-lg-8 {
    text-align: center;
    padding-left: 0;
    margin-top: 2rem;
  }
  
  .footer .col-lg-8 h5::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  
  .footer .col-lg-8 ul {
    align-items: center;
  }
  
  .footer .col-lg-8 ul li {
    text-align: center;
    min-width: auto;
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .btn-lg {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
  
  .section-padding, .section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .testimonial-author img {
    width: 40px;
    height: 40px;
  }
}

/* Componentes dos casos de sucesso */
.client-info {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 10px;
}

.client-name {
  cursor: pointer;
  transition: var(--transition-fast);
}

.client-name:hover {
  color: var(--primary-color);
}

.company-badge {
  width: 50px;
  height: 50px;
  background-color: var(--lighter-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  border: 3px solid var(--lighter-bg);
}

.company-badge i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.animate-delay-1 {
  animation-delay: 0.2s;
}

.animate-delay-2 {
  animation-delay: 0.4s;
}

.logo-navbar {
  height: 38px;
  width: 38px;
  min-width: 32px;
  min-height: 32px;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  border-radius: 8px;
  margin-right: 0.5rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(60,59,137,0.07);
  transition: box-shadow 0.2s;
}

@media (max-width: 991.98px) {
  .logo-navbar {
    height: 32px;
    width: 32px;
  }
}

/* Estilos específicos para textarea */
textarea.form-control {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  resize: vertical;
  min-height: 150px;
  line-height: 1.5;
  font-family: inherit;
}

textarea.form-control::placeholder {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  font-size: 0.875rem;
  color: #6c757d;
}

/* Small font size for textarea label */
.form-floating label[for="message"] {
  font-size: 0.75rem;
  color: #6c757d;
}

/* Configurações adicionais para melhor nitidez das fontes */
.navbar-brand, .section-title h2, .hero h1 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-variant-ligatures: common-ligatures;
}

/* Melhorias para elementos de texto específicos */
.service-card p, .partner-card p, .testimonial-content p {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  font-variant-ligatures: common-ligatures;
  letter-spacing: 0.01em;
}

/* Configurações para melhor contraste e legibilidade */
.footer p, .contact-item p {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  letter-spacing: 0.01em;
}

/* ===== MELHORIAS DE RESPONSIVIDADE E MOBILE ===== */

/* Otimizações para dispositivos móveis pequenos */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .hero {
    padding: 5rem 0 3rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: var(--border-radius);
  }
  
  .btn-lg {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 2.5rem 0;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .section-title p {
    font-size: 0.9rem;
  }
  
  /* Cards responsivos */
  .service-card,
  .product-card,
  .partner-card,
  .testimonial-card,
  .feature-card,
  .mission-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Navegação mobile */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    font-size: 1rem;
  }
  
  /* WhatsApp float mobile */
  .whatsapp-float {
    width: 45px;
    height: 45px;
    right: 10px;
    bottom: 10px;
    font-size: 1.2rem;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .col-lg-4,
  .footer .col-lg-8 {
    margin-bottom: 1.5rem;
  }
  
  .footer h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .footer ul {
    list-style: none;
    padding: 0;
  }
  
  .footer ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }
  
  /* Formulários mobile */
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-floating {
    margin-bottom: 1rem;
  }
  
  .form-control,
  .form-select {
    font-size: 1rem;
    padding: 0.75rem;
  }
  
  /* Imagens responsivas */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Grid responsivo */
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .col-12,
  .col-md-6,
  .col-lg-4,
  .col-lg-6 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Otimizações para tablets */
@media (min-width: 481px) and (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .btn-lg {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
  
  .service-card,
  .product-card,
  .partner-card {
    margin-bottom: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
}

/* Otimizações para telas médias */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .container {
    max-width: 95%;
  }
}

/* Melhorias para orientação landscape em mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 3rem 0 2rem;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* Otimizações para dispositivos de alta densidade */
@media (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px) {
  .logo-navbar {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Melhorias de acessibilidade para mobile */
@media (max-width: 768px) {
  /* Aumentar área de toque para botões */
  .btn,
  .nav-link,
  .navbar-toggler {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Melhorar contraste para leitura */
  .text-muted {
    color: #6c757d !important;
  }
  
  /* Espaçamento melhorado para leitura */
  p {
    line-height: 1.7;
    margin-bottom: 1rem;
  }
  
  /* Cards com melhor espaçamento */
  .card {
    border-radius: var(--border-radius);
    box-shadow: var(--soft-shadow);
  }
  
  /* Melhorar navegação mobile */
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .navbar-nav .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }
}

/* Otimizações para performance em mobile */
@media (max-width: 768px) {
  /* Reduzir animações em dispositivos móveis para melhor performance */
  .animate-fadeInUp {
    animation-duration: 0.4s;
  }
  
  /* Otimizar transições */
  .transition {
    transition: all 0.2s ease-out;
  }
  
  /* Reduzir sombras para melhor performance */
  .soft-shadow {
    box-shadow: 0 4px 12px rgba(60, 59, 137, 0.1);
  }
  
  .strong-shadow {
    box-shadow: 0 6px 20px rgba(60, 59, 137, 0.15);
  }
}

/* Melhorias específicas para formulários mobile */
@media (max-width: 768px) {
  .contact-form {
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--soft-shadow);
  }
  
  .form-floating label {
    font-size: 0.9rem;
  }
  
  .form-control:focus,
  .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(60, 59, 137, 0.25);
  }
  
  .btn-primary {
    background: var(--gradient-primary);
    border: none;
    font-weight: 500;
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--strong-shadow);
  }
}

/* Otimizações para SEO e acessibilidade */
@media (max-width: 768px) {
  /* Melhorar hierarquia de títulos */
  h1 {
    font-size: 1.8rem;
    font-weight: 700;
  }
  
  h2 {
    font-size: 1.5rem;
    font-weight: 600;
  }
  
  h3 {
    font-size: 1.3rem;
    font-weight: 600;
  }
  
  /* Melhorar contraste de texto */
  .text-light {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  /* Otimizar espaçamento para leitura */
  .lead {
    font-size: 1.1rem;
    line-height: 1.6;
  }
}

/* Melhorias para dispositivos com tela muito pequena */
@media (max-width: 360px) {
  html {
    font-size: 13px;
  }
  
  .hero h1 {
    font-size: 1.4rem;
  }
  
  .section-title h2 {
    font-size: 1.4rem;
  }
  
  .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Otimizações para dispositivos com notch */
@media (max-width: 768px) {
  .navbar {
    padding-top: env(safe-area-inset-top);
  }
  
  .whatsapp-float {
    bottom: calc(10px + env(safe-area-inset-bottom));
  }
}

/* Melhorias para impressão */
@media print {
  .navbar,
  .whatsapp-float,
  .btn {
    display: none !important;
  }
  
  .hero {
    background: none !important;
    color: #000 !important;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}