/* Módulo: Seção de Autoridade */

.authority-section {
  background: var(--white);
}

.authority-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.github-block,
.content-block,
.legacy-block {
  flex: 1 1 300px;
  min-width: 280px;
  max-width: 400px;
}

.github-block:hover,
.expertise-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.block-icon {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.section-header .section-lead {
  margin-top: 0.5rem;
  color: #666;
  font-size: 1rem;
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.block-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.block-body {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 10px 14px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.22s ease;
}

.cta-ghost:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.cta-icon {
  font-size: 1.1rem;
}

.github-block {
  padding: 2.5rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbfc 0%, #eef6f8 100%);
}

.content-block {
  padding: 2.5rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #fbfbfd);
}

.content-highlights {
  margin: 1rem 0 1.25rem 0;
  padding-left: 1.1rem;
  color: #444;
}

.content-highlights li {
  margin-bottom: 0.6rem;
}

.github-block h3,
.expertise-block h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.github-block p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1.05rem;
}

.cta-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.cta-link:hover {
  color: #00ACC1;
  transform: translateX(4px);
}

.cta-link svg {
  transition: transform 0.3s ease;
}

.cta-link:hover svg {
  transform: scale(1.1);
}

.expertise-grid {
  display: grid;
  gap: 1.8rem;
}

.expertise-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.expertise-item:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(8px);
}

.expertise-number {
  background: linear-gradient(135deg, var(--accent), #0097A7);
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.expertise-content {
  flex: 1;
}

.expertise-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.expertise-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsividade */
@media (max-width: 1024px) {
  .authority-content {
    gap: 1.5rem;
  }
  
  .github-block,
  .content-block,
  .legacy-block {
    flex: 1 1 100%;
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .github-block,
  .expertise-block {
    padding: 2rem;
  }
  
  .expertise-item {
    padding: 0.75rem;
  }
  
  .expertise-number {
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .github-block,
  .expertise-block {
    padding: 1.5rem;
  }
  
  .expertise-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .expertise-number {
    align-self: center;
  }
}