/* ===== HISTÓRIA JK - DESIGN SIMPLIFICADO ===== */

/* Variáveis de Fontes */
:root {
  --font-title: "Orbitron", sans-serif;
  --font-text: "Raleway", sans-serif;
  --primary-color: #16a34a;
  --secondary-color: #22c55e;
}

/* Aplicação Global das Fontes */
* {
  font-family: var(--font-text);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.historia-title {
  font-family: var(--font-title);
}

/* Hero Section */
.historia-hero {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  color: var(--text-primary);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.historia-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../../src/imgs/linhasbgcards.svg");
  background-size: cover;
  opacity: 0.05;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-badge {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-title);
}

.historia-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--text-primary);
  font-family: var(--font-title);
  letter-spacing: 2px;
}

.historia-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-text);
  font-weight: 400;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-title);
  letter-spacing: 1px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  font-family: var(--font-text);
}

/* Timeline Section */
.timeline-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-primary);
  font-family: var(--font-title);
  letter-spacing: 1px;
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid white;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.2);
  z-index: 2;
  font-family: var(--font-title);
  letter-spacing: 1px;
}

.timeline-content {
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  width: calc(50% - 60px);
  position: relative;
  background-image: url("../../src/imgs/linhasbgcards.svg");
  background-size: 150% 150%;
  background-position: -100px center;
  border: 1px solid var(--border);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: inherit;
  z-index: 1;
}

.timeline-content > * {
  position: relative;
  z-index: 2;
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
  font-family: var(--font-title);
  letter-spacing: 0.5px;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: var(--font-text);
  font-weight: 400;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  display: inline-block;
  background: rgba(22, 163, 74, 0.1);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(22, 163, 74, 0.2);
  font-family: var(--font-text);
}

/* Especialidades Section */
.especialidades-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.especialidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.especialidade-card {
  background: var(--bg-secondary);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s ease;
  background-image: url("../../src/imgs/linhasbgcards.svg");
  background-size: cover;
  background-position: center;
  position: relative;
  border: 1px solid var(--border);
}

.especialidade-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.4);
  border-radius: inherit;
  z-index: 1;
}

.especialidade-card > * {
  position: relative;
  z-index: 2;
}

.especialidade-card:hover {
  transform: translateY(-5px);
}

.especialidade-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: white;
}

.especialidade-card h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 600;
  font-family: var(--font-title);
  letter-spacing: 0.5px;
}

.especialidade-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-family: var(--font-text);
  font-weight: 400;
}

/* Liderança Section */
.lideranca-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.lider-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-primary);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow);
  background-image: url("../../src/imgs/linhasbgcards.svg");
  background-size: cover;
  background-position: center;
  position: relative;
  border: 1px solid var(--border);
}

.lider-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.4);
  border-radius: inherit;
  z-index: 1;
}

.lider-card > * {
  position: relative;
  z-index: 2;
}

.lider-foto {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 30px;
  border: 5px solid var(--primary-color);
}

.lider-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lider-nome {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-weight: 700;
  font-family: var(--font-title);
  letter-spacing: 1px;
}

.lider-cargo {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-family: var(--font-title);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.lider-experiencia {
  margin-bottom: 25px;
  font-family: var(--font-text);
  font-weight: 400;
}

.lider-experiencia strong {
  color: var(--primary-color);
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lider-descricao {
  color: var(--text-secondary);
  line-height: 1.7;
  font-family: var(--font-text);
  font-weight: 400;
}

/* Valores Section */
.valores-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.valor-card {
  background: var(--bg-secondary);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s ease;
  background-image: url("../../src/imgs/linhasbgcards.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border: 1px solid var(--border);
}

.valor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.4);
  border-radius: inherit;
  z-index: 1;
  transition: all 0.3s ease;
}

.valor-card > * {
  position: relative;
  z-index: 2;
}

.valor-card:hover {
  transform: translateY(-5px);
  background-size: 110% 110%;
}

.valor-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: white;
}

.valor-card h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 600;
  font-family: var(--font-title);
  letter-spacing: 0.5px;
}

.valor-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-family: var(--font-text);
  font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
  .historia-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .timeline-item {
    flex-direction: column !important;
    text-align: center;
  }

  .timeline-content {
    width: 100%;
    margin-top: 40px;
  }

  .timeline-year {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto 20px;
  }

  .especialidades-grid,
  .valores-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .historia-hero {
    padding: 80px 0 60px;
  }

  .historia-title {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lider-card {
    padding: 30px 20px;
  }

  .lider-nome {
    font-size: 1.5rem;
  }
}
