/* ============================================================
   ATTRACTIVE ENGENHARIA — reiner.css
   Página de perfil: Reiner Augusto Schmitz
   ============================================================ */

/* ── Link do nome na seção Sobre (index.html) ────────────────── */
.sobre__engineer-name-link {
  text-decoration: none;
  color: inherit;
}
.sobre__engineer-name-link:hover .sobre__engineer-name {
  color: var(--accent);
  transition: color 0.2s;
}

/* ── Hero ────────────────────────────────────────────────────── */
.reiner-hero {
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  border-bottom: 1px solid var(--border);
}

.reiner-hero__layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 700px) {
  .reiner-hero__layout { grid-template-columns: 1fr; }
}

.reiner-hero__avatar {
  width: 220px;
  height: 220px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-3);
  flex-shrink: 0;
}

.reiner-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reiner-hero__initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-muted);
}

.reiner-hero__name {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0.5rem 0 0.75rem;
}

.reiner-hero__title {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.reiner-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.reiner-hero__bio {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
}

/* ── Seções ──────────────────────────────────────────────────── */
.reiner-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.reiner-section--alt {
  background: var(--bg-2);
}

.reiner-section__title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.reiner-section__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* ── Timeline ────────────────────────────────────────────────── */
.reiner-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  border-left: 2px solid var(--border-light);
  padding-left: 2rem;
}

.reiner-timeline__item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.reiner-timeline__year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-top: 0.1rem;
}

.reiner-timeline__name {
  font-size: 1.15rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.reiner-timeline__org {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.reiner-timeline__desc {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ── Grid de cards ───────────────────────────────────────────── */
.reiner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.reiner-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.reiner-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.reiner-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
}

.reiner-card__icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.75rem;
}

.reiner-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.reiner-card__text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── Projetos ────────────────────────────────────────────────── */
.reiner-projects {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.reiner-project {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
}

.reiner-project__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.reiner-project__code {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reiner-project__tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.reiner-project__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.reiner-project__desc {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.reiner-project__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.reiner-project__specs strong {
  color: var(--text-muted);
}

/* ── Bio (parágrafos de apresentação) ───────────────────────── */
.reiner-bio {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 780px;
}

.reiner-bio p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ── Cliente do projeto ──────────────────────────────────────── */
.reiner-project__client {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

/* ── CTA ─────────────────────────────────────────────────────── */
.reiner-cta {
  padding: 6rem 0;
  text-align: center;
}

.reiner-cta__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.reiner-cta__sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
