/* ═══════════════════════════════════════════════════════════
   351 Graus — Quick wins (founder + "Como funciona")
   Append to /assets/css/main.css (or link after it).
   Uses only existing Direction D tokens from main.css.
   ═══════════════════════════════════════════════════════════ */

/* ─── FOUNDER (Sobre / About page) ───────────────────────── */
.founder-grid {
  display: grid; grid-template-columns: minmax(220px, 0.75fr) 1.25fr;
  gap: 4rem; align-items: start;
}
.founder-photo {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--hairline-strong); background: var(--surface);
  aspect-ratio: 4 / 5;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block }
.founder-photo::after { /* subtle brand edge */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--status));
}
.founder-name {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em;
  font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; color: var(--text); margin-bottom: 0.35rem;
}
.founder-role {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
}
.founder-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.75rem 0 }
.founder-tag {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-secondary); border: 1px solid var(--hairline-strong); border-radius: 999px;
  padding: 0.4rem 0.8rem; background: var(--surface);
}
.founder-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem }
.founder-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); border: 1px solid var(--hairline-strong); border-radius: var(--r);
  padding: 0.7rem 1rem; transition: border-color 0.2s, color 0.2s;
}
.founder-link:hover { border-color: var(--accent); color: var(--accent) }
.founder-link svg { width: 14px; height: 14px; flex-shrink: 0 }

/* ─── FOUNDER STRIP (homepage, compact) ──────────────────── */
.founder-strip {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r);
  padding: 1.5rem 1.75rem; max-width: 760px; margin: 0 auto;
}
.founder-strip img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 15%;
  border: 2px solid var(--accent); flex-shrink: 0;
}
.founder-strip-quote { font-size: 0.95rem; font-weight: 300; color: var(--text); line-height: 1.6; margin-bottom: 0.4rem }
.founder-strip-meta {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.founder-strip-meta a { color: var(--accent) }

/* ─── COMO FUNCIONA / HOW IT WORKS ───────────────────────── */
.steps-section { background: var(--bg) }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--hairline); margin-top: 3rem; counter-reset: step;
}
.step-card { background: var(--bg); padding: 2.25rem; position: relative; display: flex; flex-direction: column }
.step-card:hover { background: var(--surface) }
.step-num {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem;
}
.step-num::after { content: ''; flex: 1; height: 1px; background: var(--hairline-strong) }
.step-title {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text);
  margin-bottom: 0.6rem; line-height: 1.25;
}
.step-desc { font-size: 0.86rem; font-weight: 300; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.25rem }
.step-list { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.5rem }
.step-list li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5 }
.step-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 0.45em }
.step-meta {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.step-meta span { display: flex; flex-direction: column; gap: 0.3rem }
.step-meta span:last-child { text-align: right }
.step-meta strong { color: var(--text); font-weight: 500 }
.step-card.is-final .step-num { color: var(--status) }
.step-card.is-final .step-list li::before { background: var(--status) }
.steps-cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 2rem }
  .founder-photo { max-width: 340px }
  .steps-grid { grid-template-columns: 1fr }
}
@media (max-width: 480px) {
  .founder-strip { flex-direction: column; text-align: center; padding: 1.5rem 1.25rem }
  .founder-links { flex-direction: column }
  .founder-link { justify-content: center }
  .step-card { padding: 1.75rem 1.25rem }
}

/* ─── FOUNDER v3 — accountability-led (RoboCFO pattern) ── */
.founder-caption {
  margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.2rem;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
}
.founder-caption strong { color: var(--text); font-weight: 400; font-size: 0.7rem }
.founder-headline {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; color: var(--text); margin-bottom: 1.5rem;
}
.founder-headline em { font-style: normal; color: var(--accent) }
.founder-why {
  border-left: 2px solid var(--accent); padding: 0.2rem 0 0.2rem 1.25rem; margin: 1.75rem 0;
  font-size: 1rem; line-height: 1.7; color: var(--text); font-weight: 400;
}
.founder-links .founder-link.is-primary { background: var(--accent); border-color: var(--accent); color: #fff }
.founder-links .founder-link.is-primary:hover { opacity: 0.9; color: #fff }

.work-head { margin-top: 4.5rem; display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap }
.work-head .section-title { margin-bottom: 0 }
.work-head > p { font-size: 0.85rem; font-weight: 300; color: var(--text-secondary); max-width: 360px; line-height: 1.7 }
.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; margin-top: 2rem;
}
.work-card { background: var(--bg); padding: 2rem; display: flex; flex-direction: column; gap: 0.75rem }
.work-tag { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted) }
.work-num { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--accent); letter-spacing: -0.01em }
.work-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text); line-height: 1.35 }
.work-desc { font-size: 0.85rem; font-weight: 300; color: var(--text-secondary); line-height: 1.7 }
.work-link {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--status);
}

.creds { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--hairline) }
.creds-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.25rem }
.creds-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem }
.cred-inst { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text); line-height: 1.2 }
.cred-what { font-size: 0.78rem; font-weight: 300; color: var(--text-secondary); line-height: 1.5; margin-top: 0.3rem }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr }
  .creds-row { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 480px) {
  .creds-row { grid-template-columns: 1fr }
  .work-card { padding: 1.5rem 1.25rem }
}
.founder-cred {
  display: block; margin-top: 0.15rem; color: var(--text-secondary);
  font-size: 0.6rem; letter-spacing: 0.08em;
}
.founder-cred:first-of-type { margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--hairline) }

/* ─── FOUNDER SUBTITLE (two-line role + focus area) ─── */
.founder-subtitle {
  display: block; color: var(--text-secondary);
  font-size: 0.62rem; letter-spacing: 0.1em;
}
.founder-subtitle--focus {
  color: var(--text-muted); font-size: 0.58rem; letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

/* ─── Cartões de ferramenta: ações + base de conhecimento ───── */
.tool-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: auto }
.tool-btn {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.7rem 1.1rem; border-radius: 8px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.tool-btn:hover { background: var(--accent-deep); transform: translateY(-1px) }
.c-violet .tool-btn { background: var(--violet) }
.c-violet .tool-btn:hover { background: #5B23C9 }
.c-amber .tool-btn { background: var(--amber) }
.c-amber .tool-btn:hover { background: #8A5200 }
.tool-actions .tool-cta { margin-top: 0; text-decoration: none }
.kb-wrap { max-width: 860px }
.kb-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem }
.kb-chip {
  padding: 0.4rem 0.85rem; border: 1px solid var(--hairline-strong); border-radius: 99px; background: var(--bg);
  font-size: 0.8rem; color: var(--text-secondary); text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.kb-chip:hover { border-color: var(--accent); color: var(--accent-deep) }
.kb-price { border: 1px solid var(--hairline-strong); border-left: 3px solid var(--accent); background: var(--bg); padding: 1.1rem 1.4rem; border-radius: 8px; margin-bottom: 3rem }
.kb-price strong { font-family: var(--font-display); color: var(--text) }
.kb-price p { margin-top: 0.35rem; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7 }
.kb-tool { padding: 2rem 0; border-top: 1px solid var(--hairline); scroll-margin-top: 90px }
.kb-tool-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem }
.kb-tool-head h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--text) }
.kb-q { border-bottom: 1px solid var(--hairline); padding: 0.9rem 0 }
.kb-q summary { cursor: pointer; font-weight: 500; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 1rem }
.kb-q summary::-webkit-details-marker { display: none }
.kb-q summary::after { content: '+'; color: var(--accent); font-size: 1.2rem; line-height: 1 }
.kb-q[open] summary::after { content: '–' }
.kb-q p { margin-top: 0.6rem; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.75; font-weight: 300 }
.kb-disc { margin-top: 2.5rem; font-size: 0.8rem; color: var(--text-muted); line-height: 1.7 }
