/* =======================
   VARIÁVEIS DE CORES
   ======================= */
:root {
  --bg: #ffffff;
  --text: #111827;
  --card: #f3f4f6;
  --border: #e5e7eb;
  --azul: #1559e0;
}

body.dark {
  --bg: #0b0f14;
  --text: #e5e7eb;
  --card: #111827;
  --border: #1f2937;
}

/* =======================
   GLOBAL
   ======================= */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* =======================
   HEADER
   ======================= */
header {
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 15px 40px;
  width: 100%;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: none;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

nav a {
  margin-left: 25px;
  color: #9ca3af;
  transition: color 0.3s;
  font-size: 14px;
}

nav a:hover {
  color: var(--text);
}

.logo img {
  height: 40px;
}

/* =======================
   DARK / LIGHT BUTTON
   ======================= */
#theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 20px;
  transition: all 0.3s;
}

/* =======================
   HERO
   ======================= */


.hero {
  height: 520px;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url("images/hero-tech.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  color: #fff;
}

.hero p {
  max-width: 500px;
  margin: auto;
  color: #cbd5e1;
}

/* =======================
   Timeline - Porquê escolher
   ======================= */
.porque {
  width: 100%;
  max-width: none;
  padding: 80px 40px;
  box-sizing: border-box;
}

.porque h2 {
  color: #2563eb; /* título azul permanente */
  margin-bottom: 40px;
  font-size: 32px;
}

.porque h2 .highlight {
  color: #2563eb; /* garante destaque do nome */
}

.timeline {
  display: flex;
  flex-direction: column; /* timeline vertical */
  gap: 25px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #e5e7eb; /* linha vertical cinza */
}

.timeline-item {
  position: relative;
  padding-left: 50px;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #9ca3af; /* ponto cinza */
  transition: background-color 0.3s, transform 0.3s;
}

.timeline-item p {
  margin: 0;
  color: #6b7280; /* texto cinza */
  font-size: 18px;
  transition: color 0.3s;
}

/* Hover effect */
.timeline-item:hover p {
  color: #2563eb; /* texto azul ao passar o mouse */
}

.timeline-item:hover::before {
  background-color: #2563eb; /* ponto azul ao passar o mouse */
  transform: scale(1.2);
}


/* =======================
   SECTIONS
   ======================= */
section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 80px 40px;
  box-sizing: border-box;
}

h2 {
  margin-bottom: 30px;
}

/* =======================
   GRID DE SERVIÇOS
   ======================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: 8px;
  transition: all 0.3s;
}

.card:hover {
  border-color: #2563eb;
}

.card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

/* =======================
   LISTAS
   ======================= */
ul {
  line-height: 1.8;
}

.info div {
  margin-top: 10px;
}

/* =======================
   BARRA DE CLIENTES
   ======================= */
#clientes {
  background-color: var(--card);
  padding: 40px 0;
  overflow: hidden;
}

#clientes h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text);
}

/* MARQUEE CONTÍNUO */
.clientes-marquee {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: calc(200%); /* soma dos dois blocos */
  animation: marquee 20s linear infinite;
}

.marquee-content {
  display: flex;
  gap: 60px;
  flex: 0 0 50%; /* cada bloco ocupa metade do track */
}

.marquee-content img {
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s;
}

.marquee-content img:hover {
  transform: scale(1.1);
}

/* animação do track */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.porque-escolher {
  width: 100%;
  padding: 80px 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.container-porque {
  display: flex;
  max-width: 900px;
  width: 100%;
  align-items: center; /* centraliza verticalmente */
  gap: 40px;
  position: relative;
}

/* LEFT SIDE */
.left-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  line-height: 1.2;
  flex: 1;
}

.left-text span {
  display: block;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: #2563eb;
}

/* DIVIDER */
.divider {
  width: 2px;
  background-color: #e5e7eb;
  align-self: stretch; /* corrige altura total */
}

/* RIGHT SIDE */
.right-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  gap: 15px;
  flex: 1;
}

.reason {
  font-size: 12px;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}

.reason:hover {
  color: #2563eb;
  transform: translateX(3px);
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .container-porque {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .left-text {
    text-align: center;
  }
  .divider {
    display: none;
  }
  .right-list {
    text-align: center;
  }
}

/* =======================
   Sobre Empresa - estilo moderno
   ======================= */
.sobre-empresa {
  width: 100%;
  padding: 80px 40px;
  box-sizing: border-box;
  background-color: var(--card);
}

.container-sobre {
  display: flex;
  max-width: 1200px;
  margin: auto;
  gap: 70px;
  flex-wrap: wrap;
  align-items: center;
}

/* Imagem à esquerda */
.sobre-img {
  flex: 1 1 100px;
}

.sobre-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Conteúdo à direita */
.sobre-content {
  flex: 1 1 400px;
}

.sobre-destaque {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.5;
  color: var(--text);
}

/* Cards Missão, Visão, Valores */
.sobre-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 150px;
  background-color: var(--card); /* fundo inicial */
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s;
  cursor: pointer;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--azul);
}

/* Paragrafos de missão, */
.card p {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

/* Hover: fundo azul + texto branco */
.card:hover {
  background-color: var(--azul); /* fundo azul */
}

.card:hover h3,
.card:hover p {
  color: var(--bg); /* texto branco */
  
}
/* Responsivo */
@media (max-width: 768px) {
  .container-sobre {
    flex-direction: column;
  }

  .sobre-content {
    text-align: center;
  }

  .sobre-cards {
    justify-content: center;
  }
}

/* =======================
   FOOTER
   ======================= */
footer {
  background-color: var(--bg);
  padding: 40px;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.copy {
  margin-top: 20px;
  font-size: 12px;
  color: #9ca3af;
}