/* =========================================================
   vh·ventures — Vinicius Santos
   Sistema de design: Space Grotesk + off-white/preto-tinta.
   Regra de ouro: o violeta aparece SÓ no motivo do ponto "·"
   (.dot) e, como sancionado no brief, no hover dos links.
   ========================================================= */

:root {
  --ink:          #12161C;   /* preto tinta */
  --ink-soft:     #2a2f38;   /* texto secundário sobre claro */
  --offwhite:     #F5F1E8;   /* off-white */
  --offwhite-dim: #cdc8bd;   /* texto secundário sobre escuro */
  --violet:       #6A32C9;   /* acento — SÓ no ponto */
  --violet-light: #9260E8;   /* acento secundário / hover */

  --maxw: 1160px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 11vw, 9rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--offwhite);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }

::selection { background: var(--violet); color: var(--offwhite); }

/* ---------- O ponto violeta: o sistema inteiro ---------- */
.dot {
  color: var(--violet);
  font-weight: 700;
  display: inline-block;
  transform: translateY(-0.02em);
}

/* ---------- Acessibilidade: skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--offwhite);
  padding: .75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--violet-light);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Wordmark (texto vivo) ---------- */
.wordmark {
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
.wordmark .dot { margin: 0 0.02em; }

/* Respiro generoso ao redor do wordmark (~altura do "v") */
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.25rem) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  font-size: 0.95rem;
}
.nav-links a { color: var(--offwhite-dim); }
.nav-links a:hover { color: var(--violet-light); }
.nav-cta {
  color: var(--offwhite) !important;
  border: 1px solid rgba(245,241,232,.28);
  padding: .5rem 1.1rem;
  border-radius: 999px;
}
.nav-cta:hover {
  border-color: var(--violet-light);
  color: var(--violet-light) !important;
}
.nav-links a:not(.nav-cta) { display: none; }
.nav-cta { display: none; }
@media (min-width: 720px) {
  .nav-links a:not(.nav-cta) { display: inline; }
  .nav-cta { display: inline; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--ink);
  color: var(--offwhite);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero-inner {
  flex: 1;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--gutter) var(--section-y);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: clamp(3rem, 5vw, 5rem); }
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--offwhite-dim);
  margin-bottom: 1.75rem;
}
.eyebrow .dot { margin-right: .4em; }

.hero-title {
  font-weight: 500;
  font-size: clamp(2.35rem, 6vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  max-width: 15ch;
}
.accent-word { font-weight: 700; }

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--offwhite-dim);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.tagline {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 2.5rem;
}
.tagline .dot { margin: 0 .3em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--offwhite);
  color: var(--ink);
}
.btn-primary:hover { background: var(--violet-light); color: var(--offwhite); }

.btn-ghost {
  border-color: rgba(245,241,232,.28);
  color: var(--offwhite);
}
.btn-ghost:hover { border-color: var(--violet-light); color: var(--violet-light); }

.btn-ghost-dark {
  border-color: rgba(18,22,28,.22);
  color: var(--ink);
}
.btn-ghost-dark:hover { border-color: var(--violet); color: var(--violet); }

/* Botão sólido escuro sobre fundo claro (seção Contato) */
.btn-primary-dark {
  background: var(--ink);
  color: var(--offwhite);
}
.btn-primary-dark:hover { background: var(--violet); color: var(--offwhite); }

/* ---------- Hero photo ---------- */
.hero-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  max-width: 420px;
  width: 100%;
  justify-self: center;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.8);
}
.hero-photo img { width: 100%; object-fit: cover; }
@media (min-width: 900px) { .hero-photo { justify-self: end; } }

/* =========================================================
   Cabeçalho de seção (compartilhado)
   ========================================================= */
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-label .dot { margin-right: .5em; }
.section-label-invert { color: var(--offwhite-dim); }

.section-title {
  font-weight: 500;
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-top: 1rem;
  max-width: 20ch;
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* =========================================================
   SOBRE
   ========================================================= */
.sobre {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 860px) {
  .sobre-grid { grid-template-columns: 0.8fr 1.2fr; }
}
.sobre-photo {
  border-radius: 14px;
  overflow: hidden;
  max-width: 380px;
  box-shadow: 0 30px 70px -45px rgba(18,22,28,.55);
}
@media (min-width: 860px) { .sobre-photo { position: sticky; top: 2rem; } }

.sobre-copy h2 {
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 1.75rem;
  max-width: 22ch;
}
.sobre-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-bottom: 1.25rem;
  max-width: 62ch;
}

.cred-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 0.65rem;
}
.cred-list li {
  font-weight: 500;
  font-size: 1.02rem;
}
.cred-list .dot { margin-right: .6em; }

/* =========================================================
   QUOTE band
   ========================================================= */
.quote-band {
  background: var(--ink);
  color: var(--offwhite);
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
}
.quote-band blockquote {
  max-width: var(--maxw);
  margin: 0 auto;
}
.quote-band p {
  font-weight: 500;
  font-size: clamp(1.7rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.quote-accent { color: var(--offwhite); }
.quote-accent .dot { margin-left: .05em; }

/* =========================================================
   PORTFÓLIO
   ========================================================= */
.portfolio {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 680px) { .cards { grid-template-columns: 1fr 1fr; } }

.card {
  border: 1px solid rgba(18,22,28,.14);
  border-radius: 16px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: transparent;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--violet); transform: translateY(-4px); }

.card-index {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  opacity: .55;
  margin-bottom: 1.25rem;
}
.card h3 {
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.card-tag {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.card p:not(.card-tag):not(.card-index) {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.95rem;
}
.card-link .dot { margin-left: .35em; transition: margin .25s var(--ease); }
.card-link:hover { color: var(--violet-light); }
.card-link:hover .dot { margin-left: .7em; }

/* =========================================================
   PROVA
   ========================================================= */
.prova {
  background: var(--ink);
  color: var(--offwhite);
  padding: var(--section-y) var(--gutter);
}
.prova .section-head,
.prova .stats { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.prova .section-title { color: var(--offwhite); }
.prova-note {
  margin-top: 1rem;
  color: var(--offwhite-dim);
  font-size: 1.05rem;
  max-width: 46ch;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(245,241,232,.16);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 680px) { .stats { grid-template-columns: repeat(3, 1fr); } }

.stat-num {
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  margin-top: 0.75rem;
  color: var(--offwhite-dim);
  font-size: 1rem;
  font-weight: 500;
}
.stat-label .dot { margin-right: .4em; }

/* =========================================================
   CONTATO
   ========================================================= */
.contato {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.contato-inner { max-width: 40ch; }
.contato-title {
  font-weight: 500;
  font-size: clamp(2.25rem, 6vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 1rem;
}
.contato-sub {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin: 1.25rem 0 2rem;
}
.contato-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.5rem; }

.social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-weight: 500;
}
.social a { color: var(--ink-soft); }
.social a:hover { color: var(--violet); }
.social .dot { margin-right: .35em; }
.social a[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--offwhite);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}
.wordmark-footer { font-size: 1.6rem; }
.tagline-footer { margin: 0; color: var(--offwhite-dim); }
.footer-legal {
  font-size: 0.85rem;
  color: var(--offwhite-dim);
  margin-top: 0.5rem;
}
.footer-legal .dot { margin: 0 .35em; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
