/* Estilos específicos das páginas de equipamento (SEO).
   Reaproveita as variáveis e o design system de style.css. */

/* Hero da página de equipamento */
.seo-hero {
  position: relative;
  overflow: hidden;
  padding: 8rem 0 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.seo-hero .container {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 1.5rem;
}

.seo-breadcrumb a {
  color: var(--text-2);
  text-decoration: none;
}

.seo-breadcrumb a:hover {
  color: var(--accent);
}

.seo-breadcrumb span[aria-current] {
  color: var(--text);
}

.seo-hero-icon {
  display: inline-block;
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.seo-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.seo-hero-sub {
  font-size: 1.15rem;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.seo-hero .hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Conteúdo em prosa */
.seo-content {
  padding: 4rem 0;
}

.seo-prose {
  max-width: 760px;
}

.seo-prose h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.75rem 0 1rem;
}

.seo-prose p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 1rem;
}

.seo-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-prose a.btn {
  text-decoration: none;
  color: #fff;
}

.seo-prose a.btn-secondary {
  color: var(--text);
}

.seo-prose strong {
  color: var(--text);
  font-weight: 600;
}

/* Listas */
.seo-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.seo-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-2);
}

.seo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Passos numerados */
.seo-steps {
  list-style: none;
  counter-reset: seo-step;
  margin: 0 0 1rem;
  padding: 0;
}

.seo-steps li {
  counter-increment: seo-step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.1rem;
  min-height: 2rem;
}

.seo-steps li::before {
  content: counter(seo-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-steps li strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.seo-steps li span {
  color: var(--text-2);
  line-height: 1.55;
}

/* Tabela */
.seo-table-wrap {
  overflow-x: auto;
  margin: 0 0 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 520px;
}

.seo-table th,
.seo-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.45;
}

.seo-table thead th {
  background: var(--border-subtle);
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.seo-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

.seo-table tbody tr:last-child td {
  border-bottom: none;
}

/* Relacionados */
.seo-related {
  padding: 3.5rem 0 5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--white);
}

.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.9rem;
  max-width: 900px;
  margin: 0 auto;
}

.seo-related-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.seo-related-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.seo-related-icon {
  font-size: 1.5rem;
}

.seo-related-name {
  font-weight: 600;
  font-size: 0.98rem;
}

@media (max-width: 640px) {
  .seo-hero {
    padding: 6.5rem 0 2.5rem;
  }
  .seo-content {
    padding: 2.5rem 0;
  }
}
