/* =========================================================================
   STYLE.CSS — sistema visual único do site
   =========================================================================
   Cores no topo, dentro de :root. Todo o resto do CSS do site mora aqui —
   as páginas de projeto (PRO01.html etc.) não devem ter nenhum <style>
   ou atributo style="..." solto; se precisar de um ajuste visual novo,
   adicione uma classe aqui e use essa classe no HTML.
   ========================================================================= */

:root {
  --bg: #DFF1F1;
  --surface: #FFFFF5;
  --footer: #DFF1F1;
  --title: #BBD5DA;
  --medium: #FF7E7E;
  --text: #666666;
  --border: #BBD5DA;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'libre caslon', Georgia, serif;
  --gray-dark: #ABB5BD;
}

.top-name {
  margin: 0 0 40px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

body { min-height: 100vh; }
a { color: inherit; }

.portfolio {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 52px 0 72px;
}

.portfolio-block {
  padding: 0 0 76px;
  margin: 0 0 76px;
  border-bottom: 1px solid var(--border);
}

.portfolio-block:last-child { margin-bottom: 0; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}

.portfolio h1,
.portfolio h2 {
  margin: 0 0 28px;
  color: var(--title);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.portfolio h1 {
  font-size: clamp(46px, 7vw, 80px);
  line-height: .98;
}

.portfolio h2 {
  font-size: clamp(48px, 7vw, 76px);
  line-height: .98;
}

.lead,
.about-intro-lead {
max-width: 760px;
  margin: 0 0 34px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.22;
  color: var(--text); /* Alterado de var(--medium) para var(--text) */
  font-weight: 500;
}

.small-copy {
  max-width: 690px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--text);
}

.small-copy p { margin: 0 0 14px; }
.small-copy p:last-child { margin-bottom: 0; }

.medium-copy {
  max-width: 720px;
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.3;
  color: var(--medium);
  font-weight: 500;
}

.timeline-item h3 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.timeline-item .medium-copy { margin-bottom: 18px; }

/* ---------- estágios do About me (grid 2 colunas) ---------- */
.about-stages {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stage-box {
  background: #FFFFF5;
  border: 1px solid var(--border);
  padding: 20px 22px;
}
.stage-label {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}
.stage-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  text-align: justify;
}

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

/* ---------- What I do ---------- */
.what-i-do-items {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.what-i-do-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gray-dark);
}
.what-i-do-statement {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.35;
  color: var(--text);
}

/* ---------- animação de entrada ao rolar a tela ----------
   Qualquer elemento com classe "reveal" começa invisível/deslocado e
   ganha "is-visible" quando entra na tela (ver reveal.js). Quem usa
   "reduzir movimento" no sistema já vê tudo direto, sem animação. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- itens de Expertise ---------- */
.expertise-items {
  display: flex;
  flex-direction: column;
}
.expertise-item {
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.expertise-item:first-child { border-top: none; padding-top: 6px; }

/* Título de cada item de Expertise — antes vinha como <h3 class="medium-copy"
   style="...">; agora é só .expertise-item-title, sem style inline. */
.expertise-item-title {
 font-family: var(--font-serif); /* Adiciona a fonte Serif */
  font-style: italic;             /* Aplica o itálico */
  font-weight: 600;
  color: var(--medium);           /* Mantém o vermelho do sistema */
  font-size: 24px;
  margin: 0 0 12px;
  }
.expertise-item-text { margin-bottom: 0; }
.expertise-item .tag-list { margin-top: 18px; }

/* ---------- bloco de fechamento (Vamos conversar?) ---------- */
.closing-block .medium-copy { margin-bottom: 14px; }
.closing-block a.email-link {
  display: inline-block;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--title);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid var(--title);
  border-radius: 999px;
  background: #DFF1F1;
  color: var(--text);
  font-size: 11px;
  line-height: 1;
}

.see-more-link {
  display: inline-block;
  margin-top: 2px;
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 3px;
}

.portfolio-footer {
  background: var(--footer);
  padding: 56px 0;
}

.footer-inner {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: var(--text);
  font-size: 13px;
}

#footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
#footer-socials a { text-decoration: none; }

#hidden-email {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--title);
}

/* Project list pages */
.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.project-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 70px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--title);
  border-radius: 0;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background .15s ease, border-color .15s ease, outline-color .15s ease;
}

.project-card:hover {
  border-color: var(--title);
  outline: 1px solid var(--medium);
  outline-offset: -1px;
}

.project-card.confidential { border-style: dashed; }

.project-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.project-card p.blurb {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  max-width: 60ch;
}

/* Selo FULL / SHORT — editável direto no HTML, sem lógica nenhuma por
   trás. Troque o texto "Full case" / "Short case" onde ele aparecer. */
.case-length-tag {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.case-length-tag.full {
  background: var(--medium);
  color: #FFFFF5;
}
.case-length-tag.short {
  background: transparent;
  border: 1px solid var(--title);
  color: var(--text);
}

.project-tags {
  margin-top: 28px;
  padding-top: 0;
}
.project-tags span {
  border-color: var(--title);
  color: var(--text);
  background: transparent;
}
.project-tags span:hover { border-color: var(--medium); }

/* Placeholder de projeto ainda não preenchido */
.project-card.placeholder {
  border-style: dotted;
  opacity: .72;
}

/* ---------- Project detail (case study) ---------- */
.project-detail-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}

.back-link {
  display: inline-block;
  margin-bottom: 40px;
  font-size: 14px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}

.case-header {
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 28px;
}

.case-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-dark);
  margin-bottom: 12px;
  font-weight: 600;
}

.case-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.case-section { margin-bottom: 44px; }

/* xpto  */
.case-section h2 {
  font-family: var(--font-serif); /* Adiciona a fonte Serif */
  font-style: italic;             /* Altera de 'normal' para 'italic' */
  font-weight: 600;
  color: var(--medium);           /* Mantém o vermelho do sistema */
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: normal;
  text-transform: none;
}

.case-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
  text-align: justify;
}

.case-section ul {
  margin-bottom: 16px;
  padding-left: 24px;
}
.case-section ul li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 12px;
  text-align: justify;
}

.case-tags {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.case-tags .tag-list span { background: var(--surface); }

.case-image-container {
 max-width: 500px;
  width: 100%;
  margin: 3rem auto; 
}
.case-image-container img {
 max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  display: block;
  margin: 2rem auto; 
}
.case-image-container img:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .portfolio { width: min(100% - 32px, 920px); padding-top: 34px; }
  .portfolio-block { padding-bottom: 54px; margin-bottom: 54px; }
  .footer-inner { width: min(100% - 32px, 920px); align-items: flex-start; flex-direction: column; }
  .project-card { padding: 22px; }
  .project-card h3 { font-size: 19px; }
  .case-title { font-size: 30px; }
}
