/* =========================
   Variáveis Globais
========================= */
:root {
  --color-primary: #00ffe0;
  --color-dark: #35343b;
  --color-text: #fff;
  --color-text-muted: #bdbdc7;
  /* Gradient Variables */
  --color-bg1: #23222a;
  --color-bg2: #35343b;
  --color1: #4db6ac;  /* Primary color */
  --color2: #ccc; /* Secondary color */
  --color3: #00ffe0;  /* Accent color */
  --color4: #000;  /* Primary variant */
  --color5: #222; /* Secondary variant */
  --color-interactive: #555;
  --circle-size: 80%;
  --blending: soft-light;
}

/* =========================
   Reset e Base
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
}

.gradients-container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0.7;
  pointer-events: none;
}

.gradient {
  position: absolute;
  width: var(--circle-size);
  height: var(--circle-size);
  mix-blend-mode: var(--blending);
  border-radius: 50%;
  filter: blur(40px);
}

.g1 {
  background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  transform-origin: center center;
  animation: moveVertical 30s ease infinite;
}

.g2 {
  background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
}

.g3 {
  background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
  top: calc(50% - var(--circle-size) / 2 + 200px);
  left: calc(50% - var(--circle-size) / 2 - 500px);
  transform-origin: calc(50% + 400px);
  animation: moveInCircle 40s linear infinite;
}

.g4 {
  background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  transform-origin: calc(50% - 200px);
  animation: moveHorizontal 40s ease infinite;
  opacity: 0.7;
}

.g5 {
  background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
  width: calc(var(--circle-size) * 2);
  height: calc(var(--circle-size) * 2);
  top: calc(50% - var(--circle-size));
  left: calc(50% - var(--circle-size));
  transform-origin: calc(50% - 800px) calc(50% + 200px);
  animation: moveInCircle 20s ease infinite;
}

/* =========================
   Container
========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
}

/* =========================
   Tipografia
========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 600;
}

/* =========================
   Navegação
========================= */
.nav-dark {
  background: rgba(53, 52, 59, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.nav-dark.scrolled {
  background: rgba(53, 52, 59, 0.95);
}

.sidenav-dark {
  background-color: var(--color-dark);
}

.sidenav-dark li > a {
  color: var(--color-text) !important;
}

.sidenav-dark .divider {
  background-color: rgba(255,255,255,0.1);
  margin: 16px 0;
}

.sidenav-logo {
  height: 32px;
  margin: 16px;
}

.btn-sidenav {
  display: block;
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
  margin: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

.btn-sidenav::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.btn-sidenav::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  transition: left 0.4s ease;
  z-index: 0;
}

.btn-sidenav:hover::before {
  left: 100%;
}

.btn-sidenav:hover::after {
  left: 0;
}

.btn-sidenav span {
  color: white;
  position: relative;
  z-index: 2;
}

.btn-sidenav:hover span {
  color: #000;
}

.brand-logo-img {
  height: 30px;
  margin-top: 12px;
}

.nav-dark ul li a {
  color: #fff !important;
  font-weight: 500;
  font-family: 'Raleway', sans-serif;
}

/* Todos os itens do menu em caixa alta e com fonte Bai Jamjuree */
.nav-dark ul li a,
.sidenav-dark li > a {
  text-transform: uppercase;
  font-family: 'Bai Jamjuree', sans-serif !important;
  letter-spacing: 0.04em;
}

.nav-dark ul li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

/* Destacar o item "Vamos conversar" no menu desktop */
.nav-dark ul li:last-child a {
  color: var(--color-primary) !important;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Destacar o item "Vamos conversar" no menu mobile */
.sidenav-dark li:last-child a,
.sidenav-dark li a[href="#projeto"] {
  color: var(--color-primary) !important;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* =========================
   Hero Section
========================= */
.hero-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  margin: 0;
}

.hero-logo {
  text-align: center;
  margin-bottom: 120px;
}

.hero-logo-img {
  height: 28px;
  width: auto;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  width: 100vw;
  max-width: none;
  padding: 0;
  flex: 1;
  position: relative;
  /* Safari Grid fixes */
  -webkit-grid-template-columns: 1fr 1fr;
  -webkit-grid-gap: 0;
  -webkit-align-items: stretch;
}

.hero-image {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.hero-image img,
.hero-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}

/* Otimizações específicas para vídeo hero */
.hero-image video {
  background-color: #1a1a1a; /* fallback enquanto carrega */
  will-change: auto; /* otimização de performance */
  transform: translateZ(0); /* força aceleração por hardware */
  /* Melhorias para iOS/Safari */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  backface-visibility: hidden;
  perspective: 1000;
  /* Garantir que o poster seja exibido enquanto carrega */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Specific iOS/Safari video optimizations */
.hero-image video::-webkit-media-controls {
  display: none !important;
}

.hero-image video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

/* Ensure video plays inline on iOS */
.hero-image video[playsinline] {
  -webkit-playsinline: true;
}

/* Otimizações para dispositivos móveis */
@media (max-width: 768px) {
  .hero-image video {
    /* Reduz qualidade em dispositivos móveis para economizar dados */
    filter: contrast(0.95) brightness(1.05);
  }
}

/* Previne problemas de reprodução automática em alguns navegadores */
@media (prefers-reduced-motion: reduce) {
  .hero-image video {
    animation: none;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  word-wrap: break-word;
  box-sizing: border-box;
  margin-left: 80px;
  padding-right: 80px;
  /* Safari Flexbox fixes */
  display: -webkit-flex;
  -webkit-flex-direction: column;
  -webkit-justify-content: center;
  -webkit-align-items: flex-start;
}

.hero-label {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-title {
  font-size: 3.5rem;
  margin: 36px 0;
  width: 100%;
  max-width: 100%;
  hyphens: none;
  line-height: 1.0;
  text-transform: uppercase;
}

.hero-desc {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
}

.hero-desc strong {
  color: var(--color-text);
  font-weight: 600;
}

.btn-gradient {
  display: inline-block;
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.btn-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  transition: left 0.4s ease;
  z-index: 0;
}

.btn-gradient:hover::before {
  left: 100%;
}

.btn-gradient:hover::after {
  left: 0;
}

.btn-gradient span {
  color: white;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.btn-gradient:hover span {
  color: #000;
}

/* Regra adicional para garantir remoção completa de bordas no hero */
.hero-section img,
.hero-section video,
.hero-section .hero-image img,
.hero-section .hero-image video {
  border: none !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* =========================
   Mars Section (GSAP Parallax – mais dinâmico)
========================= */
.mars-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-image: url('../assets/img/heroes/on-mars.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: ease;
}

.mars-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  color: #2c1810; /* dark reddish-brown tone matching Mars landscape */
  max-width: 600px;
  opacity: 0; /* começa invisível para o fade-in */
  z-index: 2; /* garante que o texto fique sobre a imagem */
  backdrop-filter: blur(2px); /* leve blur para melhor legibilidade */
  padding: 20px;
}

.mars-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.mars-content p {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

/* NASA Logo Styling */
.nasa-logo {
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  display: flex;
  align-items: center;
}

.nasa-logo-img {
  width: 200px;
  height: auto;
  transition: all 0.3s ease;
}

/* Removed hover scale effect */

/* Mars References Styling */
.mars-references {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.mars-link {
  display: flex;
  align-items: center;
  color: #2c1810;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mars-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(6px) scale(1.02);
  text-decoration: none;
  color: #1a0f08;
}

.mars-link-icon {
  margin-right: 10px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.mars-link:hover .mars-link-icon {
  transform: scale(1.2) rotate(10deg);
}

/* Mars Raphael Link Styling */
.mars-raphael-link {
  color: #2c1810;
  font-weight: bold;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.mars-raphael-link:hover {
  color: #2c1810;
  text-decoration: underline;
}



/* Ajustes responsivos (opcional) */
@media only screen and (max-width: 600px) {
  .mars-section {
    height: 720px; /* doubled from 360px to make it portrait */
    background-size: cover; /* cover entire section without distorting */
    margin: 0;
    padding: 0;
  }
  .mars-content {
    top: 40%;
    transform: translateY(-60%) scale(1);
    left: 3%;
    max-width: 94%;
    padding: 15px;
  }
  
  .mars-content h2 {
    font-size: 1.8rem;
  }
  
  .mars-content p {
    font-size: 0.9rem;
  }
  
  .nasa-logo-img {
    width: 160px;
  }
  
  .mars-references {
    gap: 0.6rem;
  }
  
  .mars-link {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
  
  .mars-tooltip {
    font-size: 0.7rem;
    padding: 6px 10px;
    white-space: normal;
    max-width: 200px;
    text-align: center;
  }
}

/* =========================
   Mars Mission Modal - Minimalist White Style
========================= */
.mars-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  /* Adicionar propriedades para centralização vertical no Safari */
  -webkit-overflow-scrolling: touch;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

.mars-modal-content {
  background: #ffffff;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  color: #333333;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  /* Safari fixes */
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.mars-modal-close {
  position: absolute;
  top: 36px;
  right: 36px;
  background: none;
  border: none;
  color: #666666;
  font-size: 24px;
  cursor: pointer;
  z-index: 10001;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
  transition: color 0.2s ease;
  border-radius: 50%;
}

.mars-modal-close:hover {
  color: #333333;
}

/* Body Section */
.mars-modal-body {
  padding: 40px 40px 40px;
}

/* Author Section */
.mars-modal-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-direction: column;
  align-content: space-around;
}

.author-avatar {
  position: relative;
  flex-shrink: 0;
}

.author-photo {
  height: 120px;
  width: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.mars-modal-badge {
  height: 60px;
  width: 60px;
  position: absolute;
  bottom: -10px;
  right: -10px;
  z-index: 2;
}

.author-info {
  flex: 1;
  padding-top: 8px;
  text-align: center;
}

.author-info h3 {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  margin: 0 0 4px 0;
}

.author-info p {
  font-family: 'Raleway', sans-serif;
  color: #666666;
  font-size: 0.9rem;
  margin: 0 0 6px 0;
}

.author-badge-text {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main Text */
.mars-modal-text {
  margin-bottom: 24px;
}

.mars-modal-lead {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333333;
  margin-bottom: 16px;
  line-height: 1.6;
}

.mars-modal-text p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 12px;
}

/* References Section */
.mars-modal-references h3 {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333333;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.references-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.references-list p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #666666;
  margin: 0;
}

.references-list a {
  color: #333333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.references-list a:hover {
  color: #000000;
}

.references-list .material-symbols-outlined {
    font-size: 16px;
}

/* CTA Section */
.mars-modal-cta {
  margin: 24px 0 48px 0;
  text-align: center;
}

.btn-mars-cta {
  display: inline-block;
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

.btn-mars-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.btn-mars-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  transition: left 0.4s ease;
  z-index: 0;
}

.btn-mars-cta:hover::before {
  left: 100%;
}

.btn-mars-cta:hover::after {
  left: 0;
}

.btn-mars-cta span {
  color: white;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.btn-mars-cta:hover span {
  color: #000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mars-modal-content {
    margin: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    overflow-y: auto;
  }
  
  .mars-modal-body {
    padding: 40px 24px 24px;
    min-height: calc(100vh - 80px);
  }
  
  .mars-modal-close {
    position: fixed;
    top: 36px;
    right: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 10002;
  }
  
  .mars-modal-author {
    gap: 12px;
  }
  
  .author-photo {
    height: 60px;
    width: 60px;
  }
  
  .mars-modal-badge {
    height: 50px;
    width: 50px;
  }
  
  .author-info h3 {
    font-size: 1rem;
  }
  
  .author-info p {
    font-size: 0.85rem;
  }
  
  .author-badge-text {
    font-size: 0.75rem;
  }
  
  .mars-modal-lead {
    font-size: 0.9rem;
  }
  
  .references-list p {
    font-size: 0.75rem;
  }
  
  .btn-mars-cta {
    padding: 12px 24px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .mars-modal-content {
    margin: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .mars-modal-body {
    padding: 40px 20px 20px;
    min-height: calc(100vh - 60px);
  }
  
  .mars-modal-close {
    position: fixed;
    top: 36px;
    right: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    z-index: 10002;
  }
  
  .mars-modal-author {
    gap: 10px;
  }
  
  .author-photo {
    height: 50px;
    width: 50px;
  }
  
  .mars-modal-badge {
    height: 50px;
    width: 50px;
  }
  
  .author-info h3 {
    font-size: 0.95rem;
  }
  
  .author-info p {
    font-size: 0.8rem;
  }
  
  .mars-modal-lead {
    font-size: 0.85rem;
  }
  
  .references-list p {
    font-size: 0.7rem;
  }
  
  .btn-mars-cta {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}

/* Adicionar media query específica para dispositivos móveis */
@media screen and (max-width: 768px) {
  .mars-modal {
    padding: 10px;
    /* Garantir que o modal ocupe toda a altura da viewport */
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
  
  .mars-modal-content {
    max-height: 85vh;
    max-height: calc(100vh - 40px);
    /* Para iOS Safari */
    max-height: calc(-webkit-fill-available - 40px);
  }
}

/* Correção específica para iOS Safari */
@supports (-webkit-touch-callout: none) {
  .mars-modal {
    min-height: -webkit-fill-available;
  }
}

/* =========================
   Trusted Section
========================= */
.trusted-section {
  padding: 60px 0 60px 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000;
}

.trusted-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--color-text);
  margin-bottom: 60px;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.trusted-logos {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 80px;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trusted-logos-container {
  position: relative;
  width: 180px;
  display: flex;
  justify-content: start;
  align-items: start;
}

.trusted-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 40px;
  width: auto;
  max-width: 160px;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  object-fit: contain;
  margin: 0;
  visibility: hidden;
  filter: grayscale(1) brightness(0) invert(1);
}

.trusted-logo.active {
  opacity: 0.85;
  visibility: visible;
}

/* =========================
   Solutions Section
========================= */
.solutions-section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.solutions-title {
  text-align: center;
  font-size: 2.4rem;
  color: var(--color-text);
  margin-bottom: 80px;
  margin-top: 40px;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  /* Safari Grid fixes */
  -webkit-grid-template-columns: repeat(3, 1fr);
  -webkit-grid-gap: 24px;
}

.solution-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 32px;
}

.solution-card h3 {
  color: var(--color-text);
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.solution-card p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.solution-tag {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 4px 12px;
  border: 0.1px solid #56565d;
}

.solution-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.solution-card-header .material-symbols-outlined {
  font-size: 2rem;
  color: var(--color-text);
  font-weight: 100;
  flex-shrink: 0;
}

.solution-card-header h3 {
  color: var(--color-text);
  font-size: 1.4rem;
  margin: 0;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 100;
  text-transform: none;
}

@media (max-width: 992px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .solutions-section {
    padding: 40px 0;
  }
  .solutions-title {
    font-size: 2rem;
    margin-bottom: 50px;
    margin-top: 30px;
  }
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .solution-card {
    padding: 20px;
  }
  .solution-card h3 {
    font-size: 1.1rem;
  }
  .solution-card p {
    font-size: 0.95rem;
  }
  .solution-card-header .material-symbols-outlined {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .solution-card {
    padding: 16px;
  }
  .solution-card-header h3 {
    font-size: 1rem;
  }
  .solution-card p {
    font-size: 0.9rem;
  }
  .solution-card-header .material-symbols-outlined {
    font-size: 1.3rem;
  }
}

/* =========================
   Highlight Section
========================= */
.highlight-section {
  padding: 60px 0;
  text-align: center;
}

.highlight-container {
  max-width: 800px;
  margin: 0 auto;
}

.highlight-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.highlight-content h2 {
  font-size: 2.2rem;
  color: var(--color-text);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.highlight-content p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.highlight-content strong {
  color: var(--color-text);
}

.highlight-logos {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
}

.highlight-logo {
  height: 88px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
  object-fit: contain;
}

.highlight-logo[src*="Microsoft-for-Startups"] {
  filter: brightness(0) invert(1);
}

.highlight-logo:hover {
  opacity: 1;
}

/* =========================
   Testimonials Section
========================= */
.testimonials-section {
  padding: 60px 0;
  background: transparent;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.testimonials-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--color-text);
  margin-bottom: 60px;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.testimonials-cards {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.testimonials-inner {
  display: flex;
  gap: 24px;
  padding: 0 20px;
  animation: testimonials-carousel 28s linear infinite;
  will-change: transform;
}

.testimonials-section:hover .testimonials-inner {
  animation-play-state: paused;
}

@keyframes testimonials-carousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  flex: 0 0 340px;
  min-width: 260px;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.03);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: none;
  margin-bottom: 0;
}

.testimonial-content {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 16px;
  text-align: left;
}

.testimonial-company {
  color: var(--color-text);
  font-size: 1.08rem;
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.5px;
  width: 100%;
  margin-left: 0;
}

/* Remove estilos antigos de imagem e nome */
.testimonial-person, .testimonial-photo, .testimonial-name { display: none !important; }

@media (max-width: 900px) {
  .testimonials-inner {
    gap: 20px;
    padding: 0 12px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 220px;
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .testimonials-section {
    padding: 30px 0;
  }
  .testimonials-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .testimonials-cards {
    gap: 20px;
    padding-bottom: 8px;
  }
  .testimonials-inner {
    gap: 20px;
    padding: 0 12px;
  }
  .testimonial-card {
    padding: 18px 8px 14px 8px;
    min-width: 220px;
    max-width: 90vw;
  }
}

/* =========================
   Footer
========================= */
.footer-section {
  color: var(--color-text-muted);
  padding: 60px 0;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 0.98rem;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 60px;
  padding: 60px 60px;
  /* Safari Grid fixes */
  -webkit-grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  -webkit-grid-gap: 60px;
}

.footer-info {
  max-width: 400px;
  line-height: 1.4;
}

.footer-contact {
  min-width: 180px;
  color: var(--color-text);
  font-size: 1rem;
}

.footer-contact strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.footer-contact-channels {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

.footer-contact-item {
  color: var(--color-text-muted);
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.footer-social {
  display: flex;
  flex-direction: column;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
}

.footer-social-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social-link:hover {
  color: var(--color-primary);
}

.footer-social-links {
  display: flex;
  flex-direction: column;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
  vertical-align: middle;
  padding: 0;
  margin: 0;
}

.footer-social-icon {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}

.footer-region {
  display: flex;
  flex-direction: column;
}

.footer-region-links {
  display: flex;
  flex-direction: column;
}

.footer-region-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-region-link:hover,
.footer-region-link.active {
  color: var(--color-primary);
}

.footer-section strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-info-content {
  margin-top: 0;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.footer-info-content span {
  display: inline-block;
}

/* =========================
   Metodologia Section - Dark Version
========================= */
.metodologia-section {
  padding: 80px 0;
}

.metodologia-section .solutions-title {
  color: var(--color-text);
}

.metodologia-cards-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: stretch;
  margin-top: 40px;
  flex-wrap: wrap;
}

.metodologia-card {
  background: rgba(255,255,255,0.03);
  padding: 32px;
  flex: 1;
  min-width: 300px;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  padding-top: 30%;
}

.metodologia-card-plan {
  background: url('../assets/img/heroes/image_of_a_UXUI_designer.png') center/cover no-repeat;
}

.metodologia-card-build {
  background: url('../assets/img/heroes/engennier_developer.png') center/cover no-repeat;
}

.metodologia-card h3 {
  font-size: 4.2rem;
  margin-bottom: 16px;
  color: var(--color-text);
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 900;
  text-align: left;
  margin: 0rem 0 1.168rem 0;
  text-transform: uppercase;
}

.solution-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  text-align: left;
  margin-bottom: 18px;
}

.metodologia-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.metodologia-tag {
  font-size: 1rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Remove o placeholder antigo de imagem */
.metodologia-img-placeholder { display: none !important; }

.metodologia-section .container {
  max-width: none;
  width: 100%;
  padding-left: 60px;
  padding-right: 60px;
  box-sizing: border-box;
}

.metodologia-cards-row {
  gap: 40px;
  justify-content: center;
  align-items: stretch;
  margin-top: 40px;
  flex-wrap: nowrap;
  display: flex;
}

.metodologia-card {
  min-width: 0;
  max-width: none;
}

.metodologia-card-plan,
.metodologia-card-build {
  color: #fff;
}

.metodologia-card-plan::before,
.metodologia-card-build::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(53, 52, 59, 0.85) 0%,
    rgba(53, 52, 59, 0.65) 40%,
    rgba(53, 52, 59, 0.0) 100%
  );
}

/* camada de blur removida dos cards Plan e Build */

.metodologia-card-plan > *,
.metodologia-card-build > * {
  position: relative;
  z-index: 3;
}

@media (max-width: 900px) {
  .metodologia-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .metodologia-cards-row {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}

/* =========================
   Responsivo
========================= */
@media (max-width: 768px) {
  .brand-logo-img {
    height: 29px;
  }
  .trusted-logos-container {
    width: 240px;
    height: 72px;
    justify-content: center;
  }
  .highlight-content {
    gap: 40px;
  }
  .highlight-logos {
    gap: 40px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0;
    width: 100%;
    position: static;
    left: auto;
    right: auto;
    margin: 0;
    gap: 0;
  }
  .hero-text {
    align-items: center;
    margin-left: 0;
    padding: 30px;
    order: 1;
  }
  .hero-image {
    order: -1;
    max-width: 100%;
    margin: 0;
    min-height: 40vh;
    justify-content: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
  .hero-image img,
  .hero-image video {
    border: none !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100vw;
    height: 100%;
    object-fit: cover;
  }
  .hero-logo {
    margin-bottom: 80px;
  }
  .hero-logo-img {
    height: 28px; /* Metade de 56px */
  }
  
  .hero-section .trusted-logos {
    margin: 14px 0 0 0;
    max-width: 100%;
  }
  
  .trusted-companies-label {
    margin: 48px 0 0 0;
    font-size: 0.75rem;
    text-align: center !important;
  }
  
  .hero-section .trusted-logos-container {
    width: 210px;
    height: 54px;
    justify-content: center;
  }
  
  .hero-section .trusted-logo {
    height: 42px;
    max-width: 180px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin: 20px 0;
    text-transform: uppercase;
  }
  
  .hero-desc {
    margin-bottom: 24px;
    font-size: 1rem;
  }
  
  .trusted-companies-label {
    margin: 48px 0 0 0;
    font-size: 0.75rem;
    text-align: center;
  }
  
  .trusted-logos {
    gap: 16px;
    row-gap: 12px;
  }
  .hero-logo {
    margin-bottom: 30px;
  }
  
  .hero-section .trusted-logos {
    margin: 10px 0 0 0;
    max-width: 100%;
  }
  
  .trusted-companies-label {
    margin: 48px 0 0 0;
    font-size: 0.7rem;
    text-align: center;
  }
  
  .hero-section .trusted-logos-container {
    width: 120px;
    height: 32px;
  }
  
  .hero-section .trusted-logo {
    height: 24px;
    max-width: 100px;
  }
  
  .trusted-section,
  .highlight-section,
  .footer-section {
    padding: 30px 0;
  }
}

@media (max-width: 480px) {
  .mars-modal-content {
    margin: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .mars-modal-body {
    padding: 40px 20px 20px;
    min-height: calc(100vh - 60px);
  }
  
  .mars-modal-close {
    position: fixed;
    top: 36px;
    right: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    z-index: 10002;
  }
  
  .mars-modal-author {
    gap: 10px;
  }
  
  .author-photo {
    height: 50px;
    width: 50px;
  }
  
  .mars-modal-badge {
    height: 50px;
    width: 50px;
  }
  
  .author-info h3 {
    font-size: 0.95rem;
  }
  
  .author-info p {
    font-size: 0.8rem;
  }
  
  .mars-modal-lead {
    font-size: 0.85rem;
  }
  
  .references-list p {
    font-size: 0.7rem;
  }
  
  .btn-mars-cta {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .solution-card {
    padding: 16px;
  }
  .solution-card-header h3 {
    font-size: 1rem;
  }
  .solution-card p {
    font-size: 0.9rem;
  }
  .solution-card-header .material-symbols-outlined {
    font-size: 1.3rem;
  }
}

/* =========================
   Conversão Section
========================= */
.conversion-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--color-text);
  margin-bottom: 60px;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .conversion-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
}

/* =========================
   FAQ Section (Minimal, Text-Only)
========================= */
.faq-section {
  padding: 60px 0;
  background: none;
}
.faq-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--color-text);
  margin-bottom: 40px;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  counter-reset: faq-counter;
}
.faq-list li {
  margin-bottom: 0.5em;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: left;
  padding: 1.2em 0 0.8em 0;
  cursor: pointer;
  outline: none;
  transition: color 0.2s;
  position: relative;
  letter-spacing: 0.01em;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 0.8em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question:hover {
  color: white;
}

.faq-question .faq-symbol {
  font-size: 1.2em;
  font-weight: 400;
  color: var(--color-text-muted);
  min-width: 1.2em;
  display: inline-block;
  transition: color 0.2s;
}

.faq-question:hover .faq-symbol {
  color: white;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  padding: 0 0 0 3em;
  transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1), padding 0.2s;
}
.faq-question[aria-expanded="true"] + .faq-answer {
  padding-bottom: 1em;
}
.faq-answer p, .faq-answer strong, .faq-answer small {
  margin: 12px 0 0 0;
  color: var(--color-text-muted);
}
.faq-answer strong {
  color: #fff;
  font-weight: 700;
}
.faq-answer small {
  display: block;
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}
.faq-answer a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.faq-answer a:hover {
  color: var(--color-primary);
}
.faq-answer a .material-symbols-outlined {
  font-size: 0.9em;
  opacity: 0.7;
}
.faq-question::before {
  display: none;
}
.faq-question:focus {
  outline: none;
  box-shadow: none;
  background: none;
  color: inherit;
}
@media (max-width: 800px) {
  .faq-list { max-width: 98vw; }
}
@media (max-width: 600px) {
  .faq-title { font-size: 1.4rem; }
  .faq-question, .faq-answer { padding-left: 0.5em; padding-right: 0.5em; }
}

/* =========================
   Mars Mission Page
========================= */
.mars-mission-section {
  padding: 80px 0;
  min-height: 100vh;
}

.mars-mission-header {
  text-align: center;
  margin-bottom: 60px;
}

.mars-mission-badge {
  margin-bottom: 30px;
}

.mars-mission-badge-img {
  width: 120px;
  height: 120px;
}

.mars-mission-header h1 {
  font-size: 2.8rem;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.mars-mission-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

.mars-mission-content {
  max-width: 800px;
  margin: 0 auto;
}

.mars-mission-text h2 {
  font-size: 1.8rem;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 600;
  color: var(--color-text);
  margin: 40px 0 20px 0;
  text-transform: uppercase;
}

.mars-mission-text h3 {
  font-size: 1.4rem;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 600;
  color: var(--color-text);
  margin: 30px 0 15px 0;
  text-transform: uppercase;
}

.mars-mission-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.mars-mission-links {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  margin: 40px 0;
}

.mars-links-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.mars-ref-link {
  display: block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  transition: all 0.3s ease;
}

.mars-ref-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.mars-link-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.mars-link-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.mars-link-text strong {
  display: block;
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.mars-link-text small {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.mars-mission-cta {
  text-align: center;
  background: rgba(0, 255, 224, 0.1);
  padding: 40px;
  margin: 50px 0;
}

.mars-mission-cta h3 {
  margin-bottom: 15px;
  color: var(--color-text);
  text-transform: uppercase;
}

.mars-mission-cta p {
  margin-bottom: 25px;
  color: var(--color-text-muted);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mars-mission-header h1 {
    font-size: 2.2rem;
  }
  
  .mars-mission-subtitle {
    font-size: 1.1rem;
  }
  
  .mars-mission-badge-img {
    width: 100px;
    height: 100px;
  }
  
  .mars-mission-text h2 {
    font-size: 1.5rem;
  }
  
  .mars-mission-links {
    padding: 20px;
  }
  
  .mars-ref-link {
    padding: 15px;
  }
  
  .mars-mission-cta {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .mars-mission-section {
    padding: 60px 0;
  }
  
  .mars-mission-header h1 {
    font-size: 1.8rem;
  }
  
  .mars-mission-text p {
    font-size: 1rem;
  }
}

/* Hero Section */
.hero-section .trusted-logos {
  width: 100%;
  max-width: 520px; /* Match hero-text max-width */
  margin: 8px 0 0 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 38px;
  background: none;
  display: flex;
  justify-content: flex-start;
}

.hero-section .trusted-logos-container {
  justify-content: flex-start !important;
}

@media (max-width: 768px) {
  .hero-section .trusted-logos {
    justify-content: center;
  }
  
  .hero-section .trusted-logos-container {
    justify-content: center !important;
  }
  
  .trusted-companies-label {
    text-align: center;
  }
}

/* Trusted Companies Label */
.trusted-companies-label {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 400;
  text-align: left;
  margin: 48px 0 0px 0;
  opacity: 0.65;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Fade effect on sides */
.hero-section .trusted-logos::before,
.hero-section .trusted-logos::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 35px;
  z-index: 2;
  pointer-events: none;
}

/* =========================
   WhatsApp CTA Section - Minimalist Design
========================= */
.whatsapp-cta-container {
  text-align: center;
  padding: 20px;
}

.whatsapp-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.5;
  font-weight: 400;
}

.btn-whatsapp {
  display: inline-block;
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.btn-whatsapp::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  transition: left 0.4s ease;
  z-index: 0;
}

.btn-whatsapp:hover::before {
  left: 100%;
}

.btn-whatsapp:hover::after {
  left: 0;
}

.btn-whatsapp span {
  color: white;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

.btn-whatsapp:hover span {
  color: #000;
}

/* =========================
   Component-specific styles (from components.css)
========================= */
/* Testimonials specific styles */
.testimonials-inner,
.testimonials-cards,
.swiper,
.swiper-wrapper {
  overflow: visible !important;
}

.testimonials-inner {
  position: relative;
  margin-top: 12px;
}

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

/* Metodologia title gradient effect */
.metodologia-title {
  background: linear-gradient(90deg, #ffffff, #cccccc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.5s ease;
  background-size: 200% auto;
  background-position: 0% center;
  display: inline-block;
}

/* Mars Modal Responsive Styles */
@media screen and (max-width: 768px) {
  .mars-modal-author {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .author-photo {
    width: 100px;
    height: 100px;
  }
  
  .mars-modal-hero-overlay {
    padding: 20px;
  }
  
  .mars-modal-hero-badge {
    padding: 12px;
  }
  
  .mars-achievement-badge {
    width: 60px;
    height: 60px;
  }
  
  .mars-quote {
    padding: 20px 24px;
    margin: 30px 0;
    font-size: 1rem;
  }
  
  .mars-modal-references a:hover {
    transform: none;
    border-left: none;
    padding-left: 0;
  }
  
  .mars-modal-article {
    padding: 30px 20px;
  }
  
  .mars-modal-title {
    font-size: 2rem;
  }
  
  .mars-modal-subtitle {
    font-size: 1rem;
  }
  
  .mars-modal-text {
    font-size: 1rem;
  }
  
  .mars-modal-lead {
    font-size: 1.2rem;
  }
  
  .mars-modal-references a {
    font-size: 0.9rem;
  }
  
  .mars-modal-references a strong {
    font-size: 0.9rem;
  }
  
  .mars-modal-references a span {
    font-size: 0.8rem;
  }
  
  .mars-modal-author {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .author-photo {
    width: 100px;
    height: 100px;
  }
  
  .mars-modal-hero-overlay {
    padding: 20px;
  }
  
  .mars-modal-hero-badge {
    padding: 12px;
  }
  
  .mars-achievement-badge {
    width: 60px;
    height: 60px;
  }
  
  .mars-quote {
    padding: 20px 24px;
    margin: 30px 0;
    font-size: 1rem;
  }
  
  .mars-modal-references a:hover {
    transform: none;
    border-left: none;
    padding-left: 0;
  }
  
  .mars-modal-article {
    padding: 30px 20px;
  }
  
  .mars-modal-title {
    font-size: 2rem;
  }
  
  .mars-modal-subtitle {
    font-size: 1rem;
  }
  
  .mars-modal-text {
    font-size: 1rem;
  }
  
  .mars-modal-lead {
    font-size: 1.2rem;
  }
  
  .mars-modal-references a {
    font-size: 0.9rem;
  }
  
  .mars-modal-references a strong {
    font-size: 0.9rem;
  }
  
  .mars-modal-references a span {
    font-size: 0.8rem;
  }
}

/* Padronização dos títulos */
.trusted-title,
.highlight-content h2,
.testimonials-title {
  margin-bottom: 30px;
  text-transform: uppercase;
}

/* =========================
   Mobile Hero Layout (768px)
========================= */
@media (max-width: 768px) {
  .hero-section {
    margin: 0;
    padding: 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
    display: flex;
    flex-direction: column;
  }
  
  .hero-text {
    padding: 30px;
    margin: 0;
    text-align: center;
    order: 1;
  }
  
  .hero-logo-img {
    height: 46px;
    margin: 40px;
  }
  
  .hero-image {
    order: 2;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    min-height: 50vh;
  }
  
  .hero-title {
    font-size: 2rem;
    margin: 20px 0;
  }
  
  .hero-desc {
    margin-bottom: 24px;
  }
  
  .trusted-section {
    padding: 40px 0;
  }
  
  .trusted-logos {
    gap: 24px;
    justify-content: center;
    align-items: center;
  }
  
  .highlight-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .highlight-image {
    order: -1;
    margin: 0 auto;
  }
  
  .highlight-logos {
    justify-content: center;
  }
  
  .highlight-logo {
    height: 32px;
  }
  
  .highlight-section {
    padding: 40px 0;
  }
  
  .highlight-content p {
    font-size: 1rem;
  }
  
  .footer-section {
    padding: 40px 0;
  }
  
  .footer-content {
    gap: 40px;
    padding: 40px 20px;
  }
  
  .trusted-logos-inner {
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    margin: 0;
    padding: 0;
  }
  .hero-content {
    padding: 0;
    gap: 0;
    display: flex;
    flex-direction: column;
  }
  .hero-text {
    padding: 30px;
    margin: 0;
    order: 1;
  }
  .hero-logo-img {
    height: 36px;
    margin: 30px;
    width: 100%;
  }
  .hero-image {
    min-height: 35vh;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    order: 2;
  }
  .hero-image img,
  .hero-image video {
    border: none !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100vw;
    height: 100%;
    object-fit: cover;
  }
  .hero-title {
    font-size: 1.8rem;
    margin: 16px 0;
    text-transform: uppercase;
  }
  .hero-desc {
    margin-bottom: 20px;
    font-size: 0.95rem;
  }
  .footer-section {
    font-size: 0.92rem;
    padding: 30px 0;
  }
  .footer-content {
    gap: 30px;
    padding: 30px 20px;
  }
  .footer-contact-channels {
    margin-top: 6px;
  }
  .footer-contact-item {
    font-size: 0.92rem;
  }
  .trusted-logos {
    gap: 16px;
    row-gap: 12px;
    justify-content: center;
    align-items: center;
  }
  .hero-logo {
    margin-bottom: 30px;
  }
  
  .hero-section .trusted-logos {
    margin: 10px 0 0 0;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }
  
  .trusted-companies-label {
    margin: 20px 0 8px 0;
    font-size: 0.7rem;
    text-align: center;
  }
  
  .hero-section .trusted-logos-container {
    width: 180px;
    height: 48px;
  }
  
  .hero-section .trusted-logo {
    height: 36px;
    max-width: 150px;
  }
  
  .trusted-section,
  .highlight-section,
  .footer-section {
    padding: 30px 0;
  }
}

/* =========================
   AI Page Styles
========================= */
 .ai-hero-section {
  background: #2F2F39;
  padding: 60px 0;
  text-align: center;
  color: var(--color-text);
}

.ai-hero-section .hero-logo-img {
  height: 28px;
  width: auto;
  margin-bottom: 1rem;
}

.ai-hero-section .trusted-companies-label {
 
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 400;
  text-align: center;
  margin: 24px 0 0px 0;
  opacity: 0.65;
  letter-spacing: 0.3px;
  width: 100%;
}

.ai-hero-section .trusted-logos {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 80px;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.ai-hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.1;
  
  color: #ffffff;
  
  position: relative;
  z-index: 2;
  letter-spacing: -0.02em;

  /* Initial state for animation */
  opacity: 0;
  filter: blur(10px);
  transform: scale(1.05);
  will-change: transform, opacity, filter;
}

.ai-hero-subtitle {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
  background: #939393;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
  letter-spacing: 0.01em;
  opacity: 1;
  line-height: 1.8rem
}

.phase-section {
  padding: 0;
  position: relative;
}

.phase-section:nth-child(even) {
  background: #f8f9fa;
}

.phase-section:nth-child(odd) {
  background: #ffffff;
}

.phase-section-dark {
  background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2)) !important;
  color: var(--color-text);
}

.phase-section-dark .phase-title {
  color: var(--color-text);
}

.phase-section-dark .phase-description {
  color: var(--color-text-muted);
}

.phase-section-dark .phase-features li {
  color: var(--color-text-muted);
}

.phase-section-dark .phase-number {
  color: var(--color-primary);
  background: transparent;
  border-color: var(--color-primary);
}

.phase-section-dark .phase-visual {
  order: 1;
}

.phase-section-dark .phase-text {
  order: 2;
}

.phase-number {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--color-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.125rem;
  padding: 8px 16px;
  background: transparent;
  border: 2px solid var(--color-dark);
  position: relative;
  z-index: 1;
}

.phase-title {
  font-size: 3.75rem;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem 0;
  color: var(--color-dark);
}

.phase-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333333;
}

.phase-features {
  list-style: none;
  padding: 0;
}

.phase-features li {
  padding: 0.2rem 0;
  font-size: 1rem;
  color: #2c2c2c;
}

.phase-features li:before {
  content: "✓ ";
  color: var(--color-primary);
  font-weight: bold;
  margin-right: 0.25rem;
}

.phase-image {
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

.ai-cta-section {
  background: linear-gradient(40deg, #1a1a1a, #2d2d2d);
  padding: 80px 0;
  text-align: center;
  color: var(--color-text);
}

.ai-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.btn-ai-cta {
  display: inline-block;
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  margin: 1.75rem 0;
}

.btn-ai-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.btn-ai-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  transition: left 0.4s ease;
  z-index: 0;
}

.btn-ai-cta:hover::before {
  left: 100%;
}

.btn-ai-cta:hover::after {
  left: 0;
}

.btn-ai-cta span {
  color: white;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.btn-ai-cta:hover span {
  color: var(--color-dark);
}

.btn-ai-cta:hover {
  color: white;
}

.phase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.phase-text {
  padding: 3rem 40px;
}

.phase-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

}

.phase-section-dark .phase-visual {
  background: #1a1a1a;
}

.phase-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


#workshop .phase-image {
  object-fit: cover;
}

@media (max-width: 768px) {
  .phase-content {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .phase-section {
    padding: 0;
  }
  
  .phase-text {
    order: 1;
    padding: 2rem;
  }
  
  .phase-visual {
    order: 2;
    width: 100%;
    margin: 0;
  }
  
  .phase-section-dark .phase-text {
    order: 1;
    padding: 2rem;
  }
  
  .phase-section-dark .phase-visual {
    order: 2;
    margin: 0;
  }
  
  .phase-image {
    width: 100%;
    height: 100% auto;
  }
  
  .ia-privada-image {
    content: url('../assets/img/ia/ia_phone.png');
    padding: 0 2rem 2rem 2rem;
    box-sizing: border-box;
  }
  
  .ai-hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
  }
  
  .ai-hero-subtitle {
    font-size: 1.5rem;
  }
  
  .phase-title {
    font-size: 2.5rem;
  }
  
  .phase-number {
    font-size: 0.8rem;
    padding: 6px 12px;
    margin-bottom: 0.1875rem;
  }
  
  .ai-hero-section {
    padding: 40px 0;
  }
  
  .ai-hero-section .hero-logo-img {
    height: 24px;
    margin-bottom: 0.75rem;
  }
  
  .ai-hero-section .trusted-companies-label {
    margin: 16px 0 0px 0;
    font-size: 0.75rem;
  }
}
