/* Base Styles and Variables */
:root {
    --background: #ffffff;
    --foreground: #0f0f10;
    --primary: #3498db;
    --primary-dark: #2980b9;
    --primary-foreground: #ffffff;
    --secondary-color: #071c42;
    --secondary-dark: #05142f;
    --accent-color: #2ecc71;
    --muted: #f4f4f5;
    --muted-foreground: #71717a;
    --border: #e4e4e7;
    --text-dark: #0f0f10;
    --text-light: #fafafa;
    --text-muted: #71717a;
    --bg-light: #f5f7fa;
    --bg-dark: #071c42;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 0.5rem;
  }
  
  .dark {
    --background: #0f0f10;
    --foreground: #fafafa;
    --primary: #3498db;
    --primary-dark: #2980b9;
    --primary-foreground: #ffffff;
    --secondary-color: #f5f7fa;
    --muted: #27272a;
    --muted-foreground: #a1a1aa;
    --border: #27272a;
    --text-dark: #f5f7fa;
    --text-light: #ffffff;
    --text-muted: #a1a1aa;
    --bg-light: #27272a;
    --bg-dark: #0f0f10;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body, html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    font-size: 16px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.3;
    margin-top: 0;
  }
  
  h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
  }
  
  h2 {
    font-size: 2.5rem;
    font-weight: 1000;
    letter-spacing: -0.3px;
  }
  
  h3 {
    font-size: 1.5rem;
    font-weight: 600;
  }
  
  a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
  }
  
  p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
  }
  
  .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
  }
  
  section {
    padding: 5rem 0;
    position: relative;
  }
  
  /* Mouse move effect */
  #mouse-move-effect {
    position: fixed;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  
  /* Background gradients */
  .background-gradients {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
  }
  
  .gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--background), rgba(15, 15, 16, 0.02), var(--background));
  }
  
  .gradient-blue {
    position: absolute;
    right: 0;
    top: 0;
    height: 500px;
    width: 500px;
    background-color: rgba(52, 152, 219, 0.1);
    filter: blur(100px);
  }
  
  .gradient-purple {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 500px;
    width: 500px;
    background-color: rgba(46, 204, 113, 0.1);
    filter: blur(100px);
  }
  
  .content {
    position: relative;
    z-index: 10;
  }
  
  /* Section styles */
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 58rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-header h2 {
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 2.5rem;
  }
  
  .section-divider {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  
  .section-divider span {
    height: 4px;
    width: 70px;
    background-color: var(--primary);
    border-radius: 2px;
  }
  
  .section-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  /* Remove scrollbar styles */
  ::-webkit-scrollbar {
    width: 0px;
    background: transparent; 
  }
  
  * {
    scrollbar-width: none;
  }
  
  body {
    -ms-overflow-style: none; 
  }
  
  /* Responsive Base Styles */
  @media (max-width: 992px) {
    h1, .hero-title {
      font-size: 3rem;
    }
  
    h2 {
      font-size: 2.2rem;
    }
  
    .container {
      padding: 0 1.5rem;
    }
  }
  
  @media (max-width: 768px) {
    h1, .hero-title {
      font-size: 2.5rem;
    }
  
    h2 {
      font-size: 2rem;
    }
  
    .container {
      padding: 0 1rem;
    }
  
    section {
      padding: 4rem 0;
    }
  }
  
  @media (max-width: 576px) {
    h1, .hero-title {
      font-size: 2.2rem;
    }
  
    h2 {
      font-size: 1.8rem;
    }
  
    h3 {
      font-size: 1.3rem;
    }
  }
/* Common Components */

/* Buttons */
.btn,
.primary-button,
.secondary-button,
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-lg,
.primary-button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.primary-button {
  background-color: var(--primary);
  color: var(--primary-foreground) !important;
  padding: 0.9rem 1.8rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.primary-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.5);
}

.primary-button span {
  margin-right: 0.8rem;
}

.primary-button i {
  transition: transform 0.3s ease;
}

.primary-button:hover i {
  transform: translateX(4px);
}

.secondary-button {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.secondary-button:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-2px);
}

.contact-button {
  background-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
  padding: 0.6rem 1.2rem !important;
  font-weight: 600;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  box-shadow: 0 3px 6px rgba(52, 152, 219, 0.3);
  margin-left: 2.2rem;
  white-space: nowrap;
  max-width: 50%;
  min-width: fit-content;
}

.contact-button:hover {
  background-color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(52, 152, 219, 0.4);
}

/* Card Styles */
.service-card,
.expertise-item,
.benefit-item,
.team-member,
.case-study-item,
.testimonial-item,
.solution-item {
  background-color: rgba(15, 15, 16, 0.8);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover,
.expertise-item:hover,
.benefit-item:hover,
.team-member:hover,
.case-study-item:hover,
.solution-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Service Card */
.service-card {
  border-radius: var(--border-radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  z-index: 1;
  border-top: 4px solid var(--primary);
  background-color: var(--background);
}

.card-icon,
.benefit-icon,
.expertise-icon,
.service-icon {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  color: var(--primary);
  display: inline-block;
  position: relative;
}

.card-icon::after,
.benefit-icon::after,
.expertise-icon::after,
.service-icon::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.card-content h3,
.benefit-item h3,
.expertise-item h3,
.service-item h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.card-content p,
.benefit-item p,
.expertise-item p,
.service-item p {
  color: #a1a1aa;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Solution Item (Technologies Grid) */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
  margin-top: 2rem;
}

.solution-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  background-color: rgba(15, 15, 16, 0.8);
  height: 100%;
  display: block;
  text-decoration: none;
  position: relative;
  min-height: 120px; /* Reduzido de 180px */
  border: 1px solid var(--border);
}

.solution-item:hover::after {
  transform: translateY(0);
}

.solution-item-content {
  text-align: center;
  padding: 1rem 0.75rem; /* Reduzido de 1.5rem 1rem 2rem */
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Mudado para center para melhor alinhamento */
  background-color: #2c2a2a;
}

.solution-item img {
  width: 40px; /* Reduzido de 70px */
  height: 40px; /* Reduzido de 70px */
  margin-bottom: 0.8rem; /* Reduzido de 1.2rem */
  transition: transform 0.3s ease;
  object-fit: contain;
}

.solution-item:hover img {
  transform: scale(1.05);
}

.solution-item h3 {
  margin: 0;
  color: var(--text-light);
  font-size: 0.85rem; /* Reduzido de 0.95rem */
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;
  margin-bottom: 0; /* Reduzido de 25px */
  margin-top: 0.25rem; /* Reduzido de 0.5rem */
}

.solution-item:hover h3 {
  color: var(--primary);
}

/* Media queries para responsividade */
@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }
  
  .solution-item {
    min-height: 100px;
  }
  
  .solution-item img {
    width: 35px;
    height: 35px;
  }
  
  .solution-item h3 {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .solutions-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }
}
/* Service Item */
.service-item {
  background-color: var(--background);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  position: relative;
  border: 1px solid var(--border);
}

.service-link,
.case-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
}

.service-link i,
.case-link i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.service-link:hover i,
.case-link:hover i {
  transform: translateX(4px);
}

/* Testimonial Item */
.testimonial-item {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-item::before {
  content: '\201C';
  font-family: Georgia, serif;
  position: absolute;
  top: 0;
  left: 20px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.2);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 3px solid var(--primary);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Component Styles */
@media (max-width: 768px) {
  .primary-button,
  .secondary-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-button {
    display: block;
    margin: 1.5rem auto;
    text-align: center;
  }

  .service-card,
  .service-item {
    padding: 1.5rem;
  }

  .testimonial-item {
    padding: 2rem;
  }
}
/* Layout Styles */

/* Header and Navigation */
header {
  padding: 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(15, 15, 16, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-light) !important;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease;
  position: relative;
}

.logo:hover {
  color: var(--primary) !important;
  transform: scale(1.02);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
  padding: 0.3rem;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

nav ul li {
  margin-left: 2.2rem;
}

nav ul li a {
  color: var(--text-light) !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  position: relative;
}



nav ul li a:hover {
  color: var(--primary) !important;
}

nav ul li a:hover:not(.contact-button):after {
  width: 100%;
}

.mobile-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
}


/* Hero Banner */
.hero-banner {
  width: 100%;
  height: 100vh; /* Use viewport height to ensure full display */
  background-color: #ffffff;
  background-image: url('./img_people/Banner_Site2.png'); /* Substitua pelo caminho correto da sua imagem */
  background-size: cover;
  background-position: center top; /* Changed to top to prevent bottom cutoff */
  background-repeat: no-repeat;
  padding: 7rem 0 8rem 0; /* Increased bottom padding */
  position: relative;
}

.hero-overlay {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(7, 28, 66, 0.85), rgba(7, 28, 66, 0.7));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  padding: 5rem 2rem; /* Move padding here from banner to content */
  min-height: 100%; /* Make content fill the banner */
  align-items: center; /* Vertically center the content */
}

.hero-text-wrapper {
  flex: 1;
  max-width: 650px;
}

.hero-title {
  color: var(--text-light);
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  background: linear-gradient(to bottom right, var(--text-light) 30%, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
}

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

.hero-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 550px;
}

.hero-cta {
  margin-top: 2rem;
}

/* Value Proposition / Save Time and Cost with a DevOps Section */
/* Value Proposition Section - Modern Update with Animations */
.value-proposition {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background-color: #121212; /* mantém o fundo base */
}

/* --- Imagem do mapa (HTML) --- */
.bg-americas {
  position: absolute;
  top: 0;
  right: 0;
  width: 22%;     /* ocupa metade da largura – ajuste à vontade */
  height: 100%;
  object-fit: cover;
  opacity: 0.25;  /* sensação de “fundo” sem competir com o texto */
  pointer-events: none; /* evita cliques na imagem */
  z-index: 0;     /* fica atrás de tudo */
  transition: opacity 0.3s ease-in-out;
}

/* --- Camada de gradiente para legibilidade do texto --- */
.value-proposition::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1; /* sobre a imagem, mas atrás do texto */
}

/* Texto e cabeçalho sempre acima das camadas */
.value-proposition .container {
  position: relative;
  z-index: 3;
}

.value-proposition .section-header h2 {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.value-content,
.value-content p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.value-content {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
  position: relative;
}

/* --- Responsividade --- */
@media (max-width: 1024px) {
  .bg-americas {
    width: 60%;   /* mostra mais do mapa em telas médias */
  }
}

@media (max-width: 768px) {
  .bg-americas {
    display: none; /* simplifica visual em mobile */
  }

  .value-proposition {
    background-attachment: scroll; /* desliga parallax em mobile */
  }
}


.value-content {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.value-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 0;
  padding: 0 1.5rem;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.service-card {
  background-color: rgba(22, 28, 36, 0.8);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(77, 171, 247, 0.1);
  overflow: hidden;
}

/* .service-card::before { 
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #4dabf7;
  opacity: 0.5;
  transition: opacity 0.4s ease;
} */

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(77, 171, 247, 0.2);
  background-color: rgba(28, 37, 54, 0.95);
  border-color: rgba(77, 171, 247, 0.3);
}

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

.card-icon {
  height: 80px;
  width: 80px;
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon i {
  font-size: 2.5rem;
  color: #4dabf7;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, color 0.4s ease;
}

.card-icon img,
.card-icon svg {
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 2;
  filter: brightness(0) saturate(100%) invert(55%) sepia(33%) saturate(7414%) hue-rotate(190deg) brightness(101%) contrast(101%);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.card-icon::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  background-color: rgba(77, 171, 247, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: all 0.4s ease;
}

.service-card:hover .card-icon i,
.service-card:hover .card-icon img,
.service-card:hover .card-icon svg {
  transform: scale(1.15);
  color: #5ac8ff;
  filter: brightness(0) saturate(100%) invert(65%) sepia(33%) saturate(7414%) hue-rotate(190deg) brightness(110%) contrast(101%);
}

.service-card:hover .card-icon::after {
  transform: translate(-50%, -50%) scale(1.2);
  background-color: rgba(77, 171, 247, 0.2);
  box-shadow: 0 0 20px rgba(77, 171, 247, 0.2);
}

.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.card-content h3 {
  color: #f8f9fa;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: color 0.4s ease;
}

.service-card:hover .card-content h3 {
  color: #5ac8ff;
}

.card-content p {
  color: #b4b4b4;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
  transition: color 0.4s ease;
}

.service-card:hover .card-content p {
  color: #d1d5db;
}

/* Special effects for specific cards */
/* Accelerate Time-to-Market */
.service-card:nth-child(1) .card-icon::after {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  border-radius: 0;
}

.service-card:nth-child(1):hover .card-icon {
  animation: rocket-shake 1s ease-in-out infinite;
}

@keyframes rocket-shake {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Enhanced Security */
.service-card:nth-child(2):hover .card-icon::after {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(77, 171, 247, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(77, 171, 247, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(77, 171, 247, 0);
  }
}

/* Improved Scalability */
.service-card:nth-child(3) .card-icon::after {
  border-radius: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.service-card:nth-child(3):hover .card-icon::after {
  transform: translate(-50%, -50%) rotate(45deg) scale(1.2);
}

/* Continuous Improvement */
.service-card:nth-child(4):hover .card-icon i {
  animation: spin-slow 4s linear infinite;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Technologies Section */
.technologies-section {
  /* background-color: var(--bg-light); */
  padding: 5rem 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

/* Our Services Section - Modern Update with Animations */
.services-section {
  background: linear-gradient(to right, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.75));
  padding: 5rem 0;
}

.services-section .section-header h2 {
  color: #f8f9fa;
  font-weight: 700;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.service-item {
  background-color: rgba(32, 34, 36, 0.8);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}


.service-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(77, 171, 247, 0.15);
  background-color: rgba(39, 45, 56, 0.95);
  border-color: rgba(67, 78, 88, 0.514);
}

.service-item:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.5rem;
  color: #90aabe;
  margin-bottom: 1.8rem;
  position: relative;
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.service-icon i {
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, color 0.4s ease;
}

.service-icon::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: rgba(29, 51, 70, 0.08);
  border-radius: 50%;
  transition: all 0.5s ease;
}

.service-item:hover .service-icon i {
  transform: scale(1.2);
  color: #5ac8ff;
}

.service-item:hover .service-icon::after {
  transform: scale(0.9);
  background-color: rgba(77, 171, 247, 0.15);
  box-shadow: 0 0 20px rgba(77, 171, 247, 0.15);
}

.service-item h3 {
  color: #f8f9fa;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: color 0.4s ease;
}

.service-item:hover h3 {
  color: #5ac8ff;
}

.service-item p {
  color: #b4b4b4;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  transition: color 0.4s ease;
  flex-grow: 1;
}

.service-item:hover p {
  color: #d1d5db;
}

.service-link {
  color: #4dabf7;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 3px;
}



.service-link i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.service-item:hover .service-link {
  color: #5ac8ff;
}

.service-item:hover .service-link::after {
  transform: scaleX(1);
}

.service-item:hover .service-link i {
  transform: translateX(5px);
}

/* Add special effects to specific services */
/* First service card (DevOps Outsourcing) */
.service-item:nth-child(1):hover {
  background-image: linear-gradient(180deg, rgba(28, 37, 54, 0.95), rgba(30, 41, 59, 0.95));
}

/* Second service card (End-to-End DevOps Project) */
.service-item:nth-child(2) .service-icon::after {
  border-radius: 12px;
  transform: rotate(45deg);
}

.service-item:nth-child(2):hover .service-icon::after {
  transform: rotate(45deg) scale(1.2);
}

/* Third service card (Low Cost & High Performance Hosting) */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

.service-item:nth-child(3):hover .service-icon {
  animation: floating 3s ease-in-out infinite;
}
/* CTA Section */
.cta-section {
  background-color: #121212;
  color: var(--text-light);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}



.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--text-light);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Why Choose Us Section / Why Choose DanSoftDev */
.why-choose-section {
  /* background-color: var(--bg-light); */
  padding: 5rem 0;
}
.why-choose-section .section-header h2 {
  color: #f8f9fa;  /* Brighter white for better visibility */
}

.why-choose-section .section-description {
  color: #dee2e6;  /* Lighter text for better readability */
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  background-color: rgba(8, 11, 14, 0.8); /* Slightly lighter than the background for depth */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);  /* More pronounced shadow for depth */
  border-radius: rgba(77, 171, 247, 0.3);
  padding: 2rem;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 10px rgba(38, 75, 105, 0.2);
  border-color: rgba(23, 50, 71, 0.3);
  background-color: rgba(28, 37, 54, 0.95);
}

.benefit-item:hover::before {
  opacity: 1;
}

.benefit-icon {
  font-size: 2.0rem;
  color: #c0c8cf;  /* Brighter blue */
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  transition: transform 0.4s ease, color 0.4s ease;
}
.benefit-item:hover .benefit-icon {
  transform: scale(1.15);
  color: #5ac8ff; /* Brighter blue on hover */
}
.benefit-item:hover .benefit-icon::after {
  background-color: rgba(77, 171, 247, 0.25); /* More glow when hovered */
  transform: translate(-50%, -50%) scale(1.1);
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.benefit-icon::after {
  content: '';
  position: absolute;
  width: 55px;
  height: 55px;
  background-color: rgba(77, 171, 247, 0.15);  /* Slightly more vibrant */
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.benefit-item h3 {
  margin-bottom: 1rem;
  transition: color 0.4s ease;
  font-weight: 600;
  color: #f8f9fa;  /* Brighter white for better contrast */
}
.benefit-item:hover h3 {
  color: #5ac8ff; /* Match icon color on hover */
}
.benefit-item p {
  color: #adb5bd;  /* Medium light gray for good contrast but not harsh */
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}
/* Workflow Section */
.workflow-section {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.workflow-steps {
  max-width: 900px;
  margin: 4rem auto 0;
  position: relative;
}

/* Linha vertical central */
.workflow-steps::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50px; /* Posição exata onde os círculos serão centrados */
  width: 2px;
  background: linear-gradient(to bottom, rgba(52, 152, 219, 0.7), rgba(52, 152, 219, 1));
  z-index: 1;
}

.workflow-step {
  display: flex;
  margin-bottom: 3.5rem;
  position: relative;
  align-items: center; /* Alinha verticalmente o número com o conteúdo */
}

/* Estilo do círculo com número */
.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.3rem;
  margin-right: 2rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.4);
  transform: translateX(-25px); /* Centraliza o círculo na linha */
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Estilo do conteúdo */
.step-content {
  flex: 1;
  background-color: rgba(22, 28, 36, 0.8);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(77, 171, 247, 0.1);
  position: relative;
  overflow: hidden;
}

/* Adiciona linha decorativa no topo de cada card */


.step-content h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.step-content p {
  color: #e2e8f0;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Efeitos hover modernos */
.workflow-step:hover .step-number {
  transform: translateX(-25px) scale(1.1);
  background: linear-gradient(135deg, #5ac8ff, #3498db);
  box-shadow: 0 0 0 8px rgba(52, 152, 219, 0.2), 0 0 20px rgba(52, 152, 219, 0.4);
}

.workflow-step:hover .step-content {
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background-color: rgba(28, 37, 54, 0.95);
  border-color: rgba(52, 152, 219, 0.3);
}

.workflow-step:hover .step-content h3 {
  color: #5ac8ff;
}

/* Adaptações responsivas */
@media (max-width: 768px) {
  .workflow-steps::before {
    left: 25px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-right: 1.5rem;
    transform: translateX(-12.5px);
  }
  
  .step-content {
    padding: 1.5rem;
  }
  
  .workflow-step:hover .step-number {
    transform: translateX(-12.5px) scale(1.1);
  }
}

@media (max-width: 576px) {
  .workflow-steps::before {
    left: 20px;
  }
  
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    transform: translateX(-10px);
  }
  
  .workflow-step:hover .step-number {
    transform: translateX(-10px) scale(1.1);
  }
  
  .step-content {
    padding: 1.2rem;
  }
}

/* Expertise Areas Section */
/* Our Areas of Expertise - Modern Update with Animations */
.expertise-areas {
  /* background-color: #121212; */
  padding: 5rem 0;
}

.expertise-areas .section-header h2 {
  color: #f8f9fa;
  font-weight: 700;
}

.expertise-areas .section-divider span {
  background-color: #4dabf7;
}

.expertise-areas .section-description {
  color: #e2e8f0;
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.expertise-item {
  background-color: rgba(8, 11, 14, 0.8);
  border: 1px solid rgba(20, 37, 51, 0.1);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}



.expertise-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 10px rgba(38, 75, 105, 0.2);
  border-color: rgba(23, 50, 71, 0.3);
  background-color: rgba(28, 37, 54, 0.95);
}

.expertise-item:hover::before {
  opacity: 1;
}

.expertise-icon {
  font-size: 3rem;
  color: #c0c8cf;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  height: 80px;
}

.expertise-icon i {
  position: relative;
  z-index: 2;
  font-size: 2.8rem;
  transition: transform 0.4s ease, color 0.4s ease;
}

.expertise-item:hover .expertise-icon i {
  transform: scale(1.15);
  color: #5c5c5c;
}

.expertise-icon::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: rgba(77, 171, 247, 0.1);
  border-radius: 12px;
  transform: rotate(45deg);
  transition: all 0.4s ease;
}

.expertise-item:hover .expertise-icon::after {
  background-color: rgba(77, 171, 247, 0.2);
  transform: rotate(45deg) scale(1.2);
  box-shadow: 0 0 20px rgba(77, 171, 247, 0.3);
}

.expertise-item h3 {
  color: #f8f9fa;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: color 0.4s ease;
}

.expertise-item:hover h3 {
  color: #5ac8ff;
}

.expertise-item p {
  color: #b4b4b4;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
  transition: color 0.4s ease;
}

.expertise-item:hover p {
  color: #d1d5db;
}

/* Animation for specific items */
.expertise-item:nth-child(even):hover {
  transform: translateY(-10px) translateX(5px);
}

.expertise-item:nth-child(odd):hover {
  transform: translateY(-10px) translateX(-5px);
}

/* Fix the database and monitoring icons positioning */
.expertise-icon img,
.expertise-icon svg {
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 0 1px rgba(77, 171, 247, 0.5));
}

.expertise-item:hover .expertise-icon img,
.expertise-item:hover .expertise-icon svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 5px rgba(77, 171, 247, 0.8));
}

/* Show a subtle pulse effect for Security Implementation */
@keyframes security-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(77, 171, 247, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(77, 171, 247, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(77, 171, 247, 0);
  }
}

.expertise-item:nth-child(3):hover .expertise-icon::after {
  animation: security-pulse 2s infinite;
}

/* Testimonials Section / What Our Clients Say */
.testimonials-section {
  background:  var(--bg-light);
  color: var(--text-light);
  padding: 5rem 0;
  position: relative;
}

.testimonials-section .section-header h2 {
  color: #f8f9fa;
  font-weight: 700;
}

.testimonials-section .section-divider span {
  background-color: #4dabf7;
  height: 4px;
  width: 70px;
}

.testimonials-slider {
  max-width: 900px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
}

.testimonial-item {
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.testimonial-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  background-color: rgba(22, 33, 62, 0.9);
  border: 1px solid rgba(77, 171, 247, 0.2);
}

.testimonial-item::before {
  content: '\201C';
  font-family: Georgia, serif;
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(77, 171, 247, 0.3);
  transition: color 0.4s ease;
}

.testimonial-item:hover::before {
  color: rgba(77, 171, 247, 0.5);
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  transition: transform 0.4s ease;
}

.testimonial-item:hover .testimonial-author {
  transform: translateX(5px);
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 3px solid #4dabf7;
  transition: transform 0.4s ease, border-color 0.4s ease;
  box-shadow: 0 0 0 4px rgba(77, 171, 247, 0.2);
}

.testimonial-item:hover .author-image {
  transform: scale(1.1);
  border-color: #5ac8ff;
  box-shadow: 0 0 0 4px rgba(77, 171, 247, 0.4);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-details h4 {
  color: #f8f9fa;
  margin: 0 0 5px 0;
  font-weight: 600;
  transition: color 0.4s ease;
}

.author-details p {
  color: #d8d8d8;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.testimonial-item:hover .author-details h4 {
  color: #5a6bff;
}
/* Case Studies Section */
.case-studies-section {
  background-color: var(--background);
  padding: 5rem 0;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.case-thumbnail {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.case-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-content {
  padding: 1.5rem 2rem 2rem;
}

/* Partners Section / Our Partners & Certifications*/
.partners-section {
  /* background-color: #121212; */
  padding: 5rem 0;
}

.partners-section .section-header h2 {
  color: #f8f9fa;
  font-weight: 700;
}

.partners-section .section-divider span {
  background-color: #4dabf7;
}


.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.partner-item {
  width: 180px;
  height: 100px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  transition: all 0.4s ease;
  border: 1px solid #e4e4e7;
  position: relative;
  overflow: hidden;
}
.partner-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px rgba(77, 171, 247, 0.2);
  border-color: rgba(77, 171, 247, 0.5);
}

.partner-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(77, 171, 247, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.partner-item:hover::after {
  opacity: 1;
}

.partner-item img {
  max-width: 85%;
  max-height: 60%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.partner-item:hover img {
  transform: scale(1.1);
}

.certifications-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.certification-item {
  background-color: rgba(15, 23, 42, 0.8);
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.certification-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(77, 171, 247, 0.3), 0 0 0 1px rgba(77, 171, 247, 0.3);
  background-color: rgba(22, 33, 62, 0.9);
}

.certification-item i {
  color: #4dabf7;
  margin-right: 10px;
  font-size: 1.1rem;
  transition: transform 0.4s ease, color 0.4s ease;
}

.certification-item:hover i {
  transform: rotate(360deg);
  color: #5ac8ff;
}

.certification-item span {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.4s ease;
}

.certification-item:hover span {
  color: #f8f9fa;
}

/* Add a pulsing highlight to specific certification badges */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(77, 171, 247, 0.3);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(77, 171, 247, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(77, 171, 247, 0);
  }
}

.certification-item:nth-child(1):hover {
  animation: pulse-glow 2s infinite;
}

/* Footer */
.footer {
  /* background-color: #13111b; */
  padding: 3rem 0 1rem;
  color: #fff;
}

.footer-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about {
  padding-right: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: inline-block;
  text-decoration: none;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #fff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #4dabf7;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #4dabf7;
}

.contact-info {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.7rem;
}

.contact-info i {
  color: rgba(255, 255, 255, 0.6);
  margin-right: 0.7rem;
  margin-top: 3px;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin: 0;
}

.footer-bottom {
  padding-top: 1.5rem !important;
  padding-bottom: 0.5rem !important;
  text-align: center !important;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin: 0;
}

/* Mobile Menu */
.mobile-menu-header {
  display: none;
}

/* Responsive Layout Styles */
@media (max-width: 992px) {
  .header-content {
    padding: 0 1rem;
  }

  nav ul li {
    margin-left: 1.5rem;
  }

  .contact-button {
    margin-left: 1.5rem;
  }

  .hero-content {
    padding: 0 1.5rem;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-about {
    grid-column: span 2;
  }
}

/* Menu mobile (hambúrguer) a partir de 1240px: com 6 itens + seletor de idioma o menu
   horizontal não cabe em telas médias. */
@media (max-width: 1240px) {
  header {
    padding: 0;
  }
  .header-content {
    padding: 0 1rem;
    align-items: center;
    height: 60px;
  }

  .logo {
    font-size: 1.4rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  nav .mobile-menu-header {
    display: block;
    position: absolute;
    top: 1rem;
    left: 25px;
  }

  nav .mobile-logo {
    margin-top: 12px;
    max-height: 50px;
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    padding-top: 4rem;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  nav ul li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav ul li a {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .list-header {
    position: absolute;
    top: 130px;
    left: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-title span {
    margin-top: 0.3rem;
    display: inline-block;
  }
  
  .hero-text-wrapper {
    padding: 0 1rem;
    max-width: 100%;
  }
  
  .hero-description {
    font-size: 1.1rem;
    line-height: 1.5;
  }


  .hero-banner {
    height: auto;
    min-height: 100vh;
  }

  .hero-content {
    flex-direction: column;
  }

  .workflow-steps::before {
    left: 25px;
  }

  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 576px) {
  .hero-banner {
    min-height: 500px;
    padding: 6rem 0;
  }
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    letter-spacing: -0.3px; /* Reduzir espaçamento entre letras */
  }
  
  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-about {
    grid-column: span 1;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .contact-info {
    justify-content: center;
    text-align: center;
  }
  .hero-banner {
    padding-top: 5rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  .contact-button {
    margin-left: 1.7rem;
  }
  .cta-section h2 {
    font-size: 1.7rem;
  }
  .services-section .section-header h2 {
    font-size: 1.7rem;
    font-weight: 700;
  }
  .clients-section .section-header h2 {
    font-size: 1.7rem;
  }
  .why-choose-section .section-header h2 {
    font-size: 1.7rem;
  }
  .value-proposition .section-header h2 {
    font-size: 1.7rem;
  }
  .hero-banner {
    width: 100%;
    height: 70vh; /* Use viewport height to ensure full display */
    background-size: cover;
    background-position: center top; /* Changed to top to prevent bottom cutoff */
    background-repeat: no-repeat;
    padding: 7rem 0 8rem 0; /* Increased bottom padding */
    position: relative;
  }
  .contact-button {
    margin-left: 1.5rem;
  }
}
@media (max-width: 768px) {
    .header-content {
      height: 60px;
    }
    
    nav {
      background-color: #05142f;
    }
    
    .solution-item {
      min-height: 160px;
    }
    
    .service-item {
      padding: 1.5rem;
    }
    
    .contact-button {
      display: inline-block;
      width: auto;
    }
  }

  @media (max-width: 375px) {
    .hero-title {
      font-size: 2.4rem;
      word-break: break-word; /* Permite quebrar palavras muito longas */
    }
    
    .hero-title span {
      display: block;
      margin-top: 0.5rem;
    }
    
    .hero-banner {
      padding-top: 5rem;
    }
    
    .hero-description {
      font-size: 0.95rem;
    }
    .contact-button {
      margin-left: 1.7rem;
    }
    .cta-section h2 {
      font-size: 1.7rem;
    }
    .services-section .section-header h2 {
      font-size: 1.7rem;
      font-weight: 700;
    }
    .clients-section .section-header h2 {
      font-size: 1.7rem;
    }
    .why-choose-section .section-header h2 {
      font-size: 1.7rem;
    }
    .value-proposition .section-header h2 {
      font-size: 1.7rem;
    }
    .hero-banner {
      width: 100%;
      height: 70vh; /* Use viewport height to ensure full display */
      background-size: cover;
      background-position: center top; /* Changed to top to prevent bottom cutoff */
      background-repeat: no-repeat;
      padding: 7rem 0 8rem 0; /* Increased bottom padding */
      position: relative;
    }
  }
  @media (max-width: 376px) {
    .hero-title {
      font-size: 2.4rem;
      word-break: break-word; /* Permite quebrar palavras muito longas */
    }
    
    .hero-title span {
      display: block;
      margin-top: 0.5rem;
    }
    
    .hero-banner {
      padding-top: 5rem;
    }
    
    .hero-description {
      font-size: 0.95rem;
    }
    .contact-button {
      margin-left: 1.7rem;
    }
    .cta-section h2 {
      font-size: 1.7rem;
    }
    .services-section .section-header h2 {
      font-size: 1.7rem;
      font-weight: 700;
    }
    .clients-section .section-header h2 {
      font-size: 1.7rem;
    }
    .why-choose-section .section-header h2 {
      font-size: 1.7rem;
    }
    .value-proposition .section-header h2 {
      font-size: 1.7rem;
    }
    .hero-banner {
      width: 100%;
      height: 70vh; /* Use viewport height to ensure full display */
      background-size: cover;
      background-position: center top; /* Changed to top to prevent bottom cutoff */
      background-repeat: no-repeat;
      padding: 7rem 0 8rem 0; /* Increased bottom padding */
      position: relative;
    }
  }
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #0f0f10;
}

::-webkit-scrollbar-track {
    background-color: rgba(15, 15, 16, 0.8);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4dabf7, #3498db);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #3498db #0f0f10;
}

/* For IE/Edge */
body {
    -ms-overflow-style: auto;
}

/* Clients Section / Our Clients*/
.clients-section {
  padding: 5rem 0;
  position: relative;
}

.clients-section .section-header h2 {
  color: #f8f9fa;
  font-weight: 700;
}

.clients-section .section-description {
  color: #e2e8f0;
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.client-item {
  width: 220px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #1e1e24;  
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 1.5rem 1rem 1rem;
  transition: all 0.4s ease;
  border: 1px solid #2d2d35; 
  position: relative;
}

.client-item img {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  background-color: white;  
  padding: 0.8rem;
  border-radius: 8px;
}

.client-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(77, 171, 247, 0.2);
  border-color: rgba(29, 61, 78, 0.4);  
}

.client-item h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 0 0.5rem;
  transition: color 0.3s ease;
}

.client-item:hover h4 {
  color: #5ac8ff;  
}


.client-item:hover::after {
  background-color: rgba(87, 196, 255, 0.4);  
}

@media (max-width: 768px) {
  .client-item {
    width: 200px;
    height: 160px;
    padding: 1.2rem 1rem 1rem;
  }
  
  .client-item img {
    width: 130px;
    height: 80px;
    margin-bottom: 1.2rem;
    padding: 0.6rem;
  }
  
  .clients-grid {
    gap: 1.5rem;
  }
  
  .client-item h4 {
    font-size: 0.9rem;
    bottom: 0.8rem;
  }
  
  .client-item::after {
    bottom: 35px;
  }
}

@media (max-width: 576px) {
  .client-item {
    width: 160px;
    height: 140px;
    padding: 1rem 0.8rem 0.8rem;
  }
  
  .client-item img {
    width: 110px;
    height: 70px;
    margin-bottom: 1rem;
    padding: 0.5rem;
  }
  
  .clients-grid {
    gap: 1.2rem;
  }
  
  .client-item h4 {
    font-size: 0.85rem;
    bottom: 0.6rem;
  }
  
  .client-item::after {
    bottom: 30px;
    left: 15%;
    right: 15%;
  }
}


/* POPUP BASE (mobile + desktop) */
.cookie-popup {
  position: fixed;                 /*mantém no viewport :contentReference[oaicite:0]{index=0} */
  background: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2000;
  transition: opacity 0.3s ease;
}

/* HEADER COM X */
.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;  
}

.cookie-close {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  line-height: 1;   
  cursor: pointer;
}

/* CORPO E AÇÕES */
.cookie-body {
  font-size: 0.9rem;
}
.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.cookie-decline,
.cookie-accept {
  border: none;
  padding: 0.6rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.cookie-accept {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.cookie-decline {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border);
}
.cookie-accept:hover { transform: translateY(-1px); }
.cookie-decline:hover { transform: translateY(-1px); }

/* ESCONDER COM ANIMAÇÃO */
.cookie-hidden { opacity: 0; }

/* RESPONSIVO MOBILE (≤480px) */
/* At the very end of style.css */
  
/* MOBILE (≤480px): center on screen */
@media (max-width: 480px) {
  .cookie-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem);
    max-width: 360px;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
  }
}

/* DESKTOP (>480px): bottom-left */
@media (min-width: 481px) {
  .cookie-popup {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    transform: none;
    max-width: 300px;
  }
}


/* ===== Seletor de idioma (header) e aviso de conteúdo em inglês ===== */
nav ul li.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

nav ul li.lang-switcher a {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    opacity: 0.65;
    line-height: 1.2;
}

nav ul li.lang-switcher a:hover,
nav ul li.lang-switcher a.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.14);
}

nav ul li.lang-switcher a:hover:after,
nav ul li.lang-switcher a.active:after {
    display: none;
}

.fallback-notice {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    z-index: 1100;
    max-width: calc(100% - 2rem);
    margin: 0;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-align: center;
    background: rgba(7, 28, 66, 0.92);
    color: #cfe8f9;
    border: 1px solid rgba(52, 152, 219, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1240px) {
    nav ul li.lang-switcher {
        margin: 1rem 0 0;
        padding: 0;
        border: 0;
        justify-content: flex-start;
        gap: 0.75rem;
    }
    nav ul li.lang-switcher a {
        display: inline-block;
        width: auto;
        padding: 0.35rem 0.7rem;
        border: 1px solid rgba(255, 255, 255, 0.25);
    }
}

/* ===== Páginas institucionais (Academy, Empresa, Clientes, Vagas) ===== */
.expertise-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.benefits-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

a.expertise-item { display: block; color: inherit; text-decoration: none; }
a.expertise-item .text-link { display: inline-block; margin-top: 0.75rem; }

.text-link { color: var(--primary); font-weight: 600; }
.text-link i { font-size: 0.8em; margin-left: 0.25rem; }

.cta-secondary { margin-top: 1.25rem; }
.cta-secondary a { color: var(--primary); font-weight: 600; }

.benefit-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
    margin: -0.25rem 0 0.5rem;
}

/* Trilha de formação e cronograma */
.track-section, .plan-section, .stats-section, .partners-strip, .jobs-section { padding: 5rem 0; }

.track-steps, .plan-timeline {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 860px;
    position: relative;
}
.track-steps:before, .plan-timeline:before {
    content: "";
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(52, 152, 219, 0.1));
}
.track-step, .plan-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}
.track-number, .plan-when {
    flex: 0 0 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark, #071c42);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    z-index: 1;
}
.plan-when {
    flex-basis: auto;
    min-width: 56px;
    height: auto;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-align: center;
    white-space: nowrap;
}
.track-body, .plan-body {
    flex: 1;
    background: var(--muted, #f4f4f5);
    border: 1px solid var(--border, #e4e4e7);
    border-radius: var(--border-radius, .5rem);
    padding: 1.25rem 1.5rem;
}
.track-body h3, .plan-body h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.track-body p, .plan-body p { margin: 0; }
.track-tags { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.track-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(52, 152, 219, 0.12);
    color: var(--primary-dark, #2980b9);
}

/* Números */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--muted, #f4f4f5);
    border: 1px solid var(--border, #e4e4e7);
    border-radius: var(--border-radius, .5rem);
}
.stat-value {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    word-break: break-word;
}
.stat-label { color: #555; }

/* Lista de parceiros / países */
.partners-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.partners-list li {
    padding: 0.75rem 1.25rem;
    background: var(--muted, #f4f4f5);
    border: 1px solid var(--border, #e4e4e7);
    border-radius: 999px;
    font-weight: 600;
}
.partners-list i { color: var(--primary); margin-right: 0.4rem; }

/* Clientes com país e setor */
.clients-page .client-item { padding-bottom: 1.25rem; }
.client-meta { font-size: 0.85rem; color: #555; margin: 0.5rem 0 0; line-height: 1.5; }
.client-meta span { font-weight: 600; color: #333; }

/* Vagas */
.jobs-list { list-style: none; padding: 0; margin: 0; max-width: 960px; margin-inline: auto; }
.job-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--muted, #f4f4f5);
    border: 1px solid var(--border, #e4e4e7);
    border-radius: var(--border-radius, .5rem);
}
.job-main h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.job-main p { margin: 0; }
.job-meta { font-size: 0.85rem; color: #555; margin-bottom: 0.5rem !important; }
.job-meta i { color: var(--primary); }
.job-apply { flex: 0 0 auto; }

.how-steps { text-align: left; max-width: 640px; margin: 1.5rem auto; padding-left: 1.5rem; }
.how-steps li { margin-bottom: 0.5rem; }
.apply-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }

@media (max-width: 768px) {
    .track-steps:before, .plan-timeline:before { display: none; }
    .track-step, .plan-step { flex-direction: column; gap: 0.75rem; }
    .job-item { flex-direction: column; align-items: flex-start; }
}

/* ===== Logo DanSoftDev (imagem) ===== */
.logo img {
    display: block;
    height: 44px;
    width: auto;
}
.footer-logo img {
    display: block;
    height: 36px;
    width: auto;
}
@media (max-width: 768px) {
    .logo img { height: 34px; }
}

/* Menu horizontal: sem quebra de linha e mais compacto em telas médias */
@media (min-width: 1241px) {
    nav ul li a { white-space: nowrap; }
}
@media (min-width: 1241px) and (max-width: 1400px) {
    nav ul li { margin-left: 1.4rem; }
    nav ul li a { font-size: 0.85rem; letter-spacing: 0.4px; }
}

/* ===== Especialidades, modelos de contratação e filtro de tecnologias ===== */
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
}
.specialty-card { display: flex; flex-direction: column; padding: 1.75rem 1.5rem; }
.specialty-card p { flex: 1; }
.specialty-card .text-link { margin-top: 1rem; }

.process-header { margin-top: 4rem; }
.process-grid .benefit-item { text-align: left; }

.tech-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 1rem;
    max-width: 1240px;
}
.tech-filter-btn {
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}
.tech-filter-btn:hover { border-color: var(--primary); }
.tech-filter-btn.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.solution-item[hidden] { display: none; }
.solution-item img.invert-icon { filter: invert(1) brightness(1.6); }

/* Página de especialidade */
.specialty-hero .culture-text { max-width: 860px; }
.specialty-back { margin-bottom: 1rem; }
.specialty-back a { color: var(--primary); font-weight: 600; text-decoration: none; }
.specialty-hero-icon {
    width: 64px; height: 64px;
    display: grid; place-items: center;
    border-radius: 16px;
    background: rgba(52, 152, 219, 0.15);
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.specialty-hero .contact-button { margin: 1.5rem 0 0; display: inline-flex; gap: 0.5rem; align-items: center; }
.specialty-details { padding: 3rem 0; }
.specialty-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.specialty-box {
    background: var(--muted, #f4f4f5);
    border: 1px solid var(--border, #e4e4e7);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    color: var(--text-dark);
}
.specialty-box h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.specialty-box h2 i { color: var(--primary); margin-right: 0.4rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem; line-height: 1.5; }
.check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute; left: 0; top: 0.1rem;
    color: var(--primary);
    font-size: 0.85rem;
}
.specialty-academy h2 { margin-bottom: 0.75rem; }
.other-specialties { margin-top: 3rem; }
.other-specialties a { color: inherit; text-decoration: none; }

/* ===== Formulário de contato ===== */
.lead-section { padding: 4rem 0; }
.lead-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.lead-card {
    background: #ffffff;
    color: #0f0f10;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.lead-card-narrow { max-width: 820px; margin: 0 auto; }
.lead-form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.lead-field { display: flex; flex-direction: column; gap: 0.35rem; }
.lead-field-full { grid-column: 1 / -1; }
.lead-field label { font-size: 0.85rem; font-weight: 600; color: #27272a; }
.lead-field .req { color: #c0392b; }
.lead-field input,
.lead-field select,
.lead-field textarea {
    font: inherit;
    font-size: 0.95rem;
    color: #0f0f10;
    background: #fff;
    border: 1px solid #d4d4d8;
    border-radius: 8px;
    padding: 0.7rem 0.8rem;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lead-field textarea { resize: vertical; min-height: 120px; }
.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2); }
.lead-form.was-validated :invalid { border-color: #c0392b; }
.lead-consent { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.lead-consent input { width: auto; margin-top: 0.2rem; accent-color: var(--primary); }
.lead-consent label { font-weight: 400; font-size: 0.85rem; line-height: 1.45; }
.lead-form.was-validated .lead-consent input:invalid + label { color: #c0392b; }
.lead-form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.lead-submit { border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; font: inherit; font-weight: 600; }
.lead-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.lead-form-note { font-size: 0.8rem; color: #71717a; margin: 0; }
.lead-form-status { margin: 1rem 0 0; font-weight: 600; min-height: 1.2em; }
.lead-form-status.is-success { color: #1e8449; }
.lead-form-status.is-error { color: #c0392b; }
.lead-aside { color: var(--text-dark); }
.lead-aside h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.lead-aside h3 { font-size: 1.05rem; margin: 2rem 0 0.75rem; }
.lead-steps { padding-left: 1.2rem; }
.lead-steps li { margin-bottom: 0.75rem; line-height: 1.5; }
.lead-phones { list-style: none; padding: 0; }
.lead-phones li { margin-bottom: 0.5rem; }
.lead-phones i { color: var(--primary); margin-right: 0.35rem; }
.lead-phones a { color: var(--primary); text-decoration: none; font-weight: 600; }

@media (max-width: 900px) {
    .lead-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .lead-card { padding: 1.25rem; }
    .lead-form-grid { grid-template-columns: 1fr; }
}

/* Academy: base comum + trilhas de especialização */
.track-group-title { text-align: center; font-size: 1.25rem; margin: 2.5rem 0 1.25rem; }
.track-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.track-card {
    background: var(--muted, #f4f4f5);
    border: 1px solid var(--border, #e4e4e7);
    border-radius: var(--border-radius, .5rem);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.track-card-head { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 1rem; }
.track-card-head i { font-size: 1.4rem; color: var(--primary); margin-top: 0.2rem; }
.track-card-head h4 { margin: 0 0 0.25rem; font-size: 1.1rem; }
.track-card-head p { margin: 0; font-size: 0.9rem; color: #555; }
.track-card-steps { padding-left: 1.2rem; margin: 0 0 1rem; flex: 1; }
.track-card-steps li { margin-bottom: 0.75rem; }
.track-card-steps .track-tags { margin-top: 0.35rem; }
.track-card-certs { font-size: 0.85rem; color: #555; margin: 0; }
.track-card-certs i { color: var(--primary); margin-right: 0.3rem; }
