/* ============================================================
   José Ricardo · site de posicionamento
   Sistema visual "Blueprint" (Brandbook v3)
   Papel frio · tinta · slate-teal · Archivo/Inter/IBM Plex Mono
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Cores canônicas */
  --papel: #ECEEE9;        /* fundo dominante */
  --tinta: #1A2320;        /* texto, molduras, grid */
  --teal: #34595C;         /* accent único */
  --teal-luz: #7FB5B9;     /* o teal aceso, só pra brilhar no escuro */
  --superficie: #F4F5F2;   /* cards sobre o papel */
  --tinta-suave: #5A625E;  /* apoio, legendas, metadados */
  --papel-teal: #D2D9D5;   /* G1: registro de dados/prova */

  /* Derivados */
  --linha: rgba(26, 35, 32, 0.14);
  --linha-forte: rgba(26, 35, 32, 0.28);
  --grid: rgba(26, 35, 32, 0.06);
  --teal-suave: rgba(52, 89, 92, 0.10);

  /* Tipografia */
  --display: "Archivo", system-ui, sans-serif;
  --corpo: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Ritmo */
  --maxw: 1120px;
  --gut: clamp(20px, 5vw, 64px);
  --sec: clamp(64px, 9vw, 128px);
  --radius: 4px;
}

/* ---------- Reset leve ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--corpo);
  font-weight: 400;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 900; letter-spacing: -0.015em; line-height: 1.04; }
p { margin: 0; }
::selection { background: var(--teal); color: var(--papel); }

/* Papel milimetrado: linhas fixas ao viewport (grade contínua em todo o site),
   recolorindo por seção. Cor via --grid, sobrescrita por ground.
   background-attachment: fixed alinha a malha entre as seções. */
.section::before, .footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: 0 0;
  background-attachment: fixed;
}
.section > .wrap, .footer > .wrap { position: relative; z-index: 1; }

/* ---------- Layout base ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
main { position: relative; z-index: 1; }
.section { padding-block: var(--sec); position: relative; }

/* Grounds (Brandbook §5) */
.g0 { background: var(--papel); }
.g1 { background: var(--papel-teal); }
.g2 { background: var(--teal); color: var(--papel); --grid: rgba(236, 238, 233, 0.11); }

/* ---------- Tipografia utilitária ---------- */
.tag {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}
.g2 .tag { color: var(--papel); opacity: 0.9; }
.eyebrow { display: inline-block; margin-bottom: 1.25rem; }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; color: var(--tinta); max-width: 60ch; }
.muted { color: var(--tinta-suave); }
.g2 .muted { color: rgba(236, 238, 233, 0.78); }
/* No ground teal (oferta), o texto de apoio precisa ser claro: senão some no fundo. */
.g2 .lead { color: var(--papel); }
.g2 p:not([class]) { color: rgba(236, 238, 233, 0.92); }

.h-xl { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.h-sm { font-size: clamp(1.15rem, 2vw, 1.4rem); }

/* Palavra em destaque: cor teal no papel; régua no ground teal */
.key { color: var(--teal); }
.g2 .key {
  color: var(--papel);
  box-shadow: inset 0 -0.12em 0 rgba(236, 238, 233, 0.55);
}

/* ---------- Header fixo ---------- */
html { scroll-padding-top: 68px; }
body { padding-top: 53px; }               /* altura do header fixo, pra nada esconder */
.sitehead {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(236, 238, 233, 0.80);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .38s cubic-bezier(.4, 0, .2, 1), border-color .38s ease,
              box-shadow .38s ease, padding .38s cubic-bezier(.4, 0, .2, 1);
}
.sitehead .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding-block: 0.7rem;
  border: 1px solid transparent; border-radius: 0;
  transition: max-width .38s cubic-bezier(.4, 0, .2, 1), padding .38s cubic-bezier(.4, 0, .2, 1),
              background .38s ease, border-color .38s ease, box-shadow .38s ease, border-radius .38s ease;
}
.sitehead__brand { font-size: 1.12rem; letter-spacing: -0.02em; text-decoration: none; color: var(--tinta); white-space: nowrap; }
.sitehead__nav { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.5rem); }
.sitehead__nav a {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--tinta-suave); text-decoration: none; transition: color .15s ease;
}
.sitehead__nav a:hover { color: var(--teal); }
.sitehead__blog { color: var(--tinta) !important; border-bottom: 1.5px solid var(--teal); padding-bottom: 2px; }
.sitehead__blog:hover { color: var(--teal) !important; }
.sitehead__cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--corpo) !important; font-weight: 600; text-transform: none !important;
  font-size: 0.85rem !important; letter-spacing: 0 !important;
  background: var(--tinta); color: var(--papel) !important;
  padding: 0.5rem 1rem; border-radius: var(--radius); border: 1.5px solid var(--tinta);
}
.sitehead__cta:hover { background: var(--teal); border-color: var(--teal); color: var(--papel) !important; }
.sitehead__cta .arrow { transition: transform .16s ease; }
.sitehead__cta:hover .arrow { transform: translateX(3px); }
/* Ao rolar, a barra deixa de ser bloco e vira uma cápsula flutuante de vidro:
   do wordmark até o CTA, encolhida e centrada. */
.sitehead.scrolled {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  padding-top: 12px;
}
.sitehead.scrolled .wrap {
  width: fit-content;
  max-width: calc(100% - 2 * var(--gut));
  margin-inline: auto;
  padding-inline: 0.75rem 0.75rem;
  padding-block: 0.5rem;
  border-radius: 999px;
  background: rgba(240, 242, 238, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  backdrop-filter: blur(22px) saturate(190%);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 10px 34px rgba(26, 35, 32, 0.16),
    0 2px 8px rgba(26, 35, 32, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(26, 35, 32, 0.05);
}
.sitehead.scrolled .sitehead__brand { padding-left: 0.5rem; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sitehead.scrolled .wrap { background: rgba(240, 242, 238, 0.95); }
}
@media (max-width: 720px) {
  .sitehead__nav a:not(.sitehead__blog):not(.sitehead__cta) { display: none; }
  .sitehead__cta { padding: 0.45rem 0.8rem; }
  .sitehead .wrap { gap: 0.7rem; }
  .sitehead__brand { font-size: 1rem; }
  .sitehead__cta { font-size: 0.78rem !important; white-space: nowrap; }
  .sitehead__cta .arrow { display: none; }   /* no aperto do celular, o texto manda */
  .sitehead.scrolled .wrap { padding-inline: 0.6rem; }
}

/* ---------- Brand bar ---------- */
.brandbar {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--linha);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}
.brandbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 0.7rem; }
.brandbar .geo { color: var(--teal); }
@media (max-width: 640px) { .brandbar .credit { display: none; } .brandbar .wrap { justify-content: center; } }

/* ---------- Wordmark ---------- */
.wordmark { font-family: var(--display); font-weight: 900; letter-spacing: -0.02em; }
.wordmark .dot { color: var(--teal); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--corpo); font-weight: 600; font-size: 1rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--tinta);
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, color .16s ease;
}
.btn-primary { background: var(--tinta); color: var(--papel); }
.btn-primary:hover { transform: translateY(-2px); background: var(--teal); border-color: var(--teal); }
.btn-ghost { background: transparent; color: var(--tinta); }
.btn-ghost:hover { background: var(--tinta); color: var(--papel); transform: translateY(-2px); }
.g2 .btn-primary { background: var(--papel); color: var(--tinta); border-color: var(--papel); }
.g2 .btn-primary:hover { background: transparent; color: var(--papel); }
.btn .arrow { transition: transform .16s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Moldura de registro (assinatura visual) ---------- */
.frame { position: relative; padding: 10px; }
.frame__inner { position: relative; border: 1px solid var(--linha-forte); border-radius: 2px; overflow: hidden; }
.frame__inner img { width: 100%; height: auto; }
/* Brackets em "L" nos 4 cantos, deslocados pra fora */
.frame .reg { position: absolute; width: 16px; height: 16px; z-index: 2; }
.frame .reg::before, .frame .reg::after { content: ""; position: absolute; background: var(--teal); }
.frame .reg::before { width: 16px; height: 1.5px; }
.frame .reg::after { width: 1.5px; height: 16px; }
.frame .reg.tl { top: 0; left: 0; }        .frame .reg.tl::before { top: 0; left: 0; } .frame .reg.tl::after { top: 0; left: 0; }
.frame .reg.tr { top: 0; right: 0; }        .frame .reg.tr::before { top: 0; right: 0; } .frame .reg.tr::after { top: 0; right: 0; }
.frame .reg.bl { bottom: 0; left: 0; }      .frame .reg.bl::before { bottom: 0; left: 0; } .frame .reg.bl::after { bottom: 0; left: 0; }
.frame .reg.br { bottom: 0; right: 0; }     .frame .reg.br::before { bottom: 0; right: 0; } .frame .reg.br::after { bottom: 0; right: 0; }

/* ---------- Cantos técnicos + régua (só bookends) ---------- */
.rule-top { height: 2px; background: var(--teal); width: 64px; margin-bottom: 1.5rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: var(--sec); min-height: min(86vh, 860px); display: flex; align-items: center; }
/* Quando o canvas assume a malha, o ::before estático sai de cena */
.hero.has-canvas::before { content: none; }

/* Blueprint noturno: a tinta vira fundo e a malha clareia.
   No hero ela ainda brilha e reage ao mouse; no blog fica só o fundo (g-noite),
   porque lá o que importa é ler. */
.hero--dark, .g-noite {
  background: radial-gradient(ellipse 95% 75% at 50% 30%, #243430 0%, #1A2320 55%, #101613 100%);
  color: var(--papel);
  --grid: rgba(236, 238, 233, 0.07);
}
.hero--dark .hero__name, .hero--dark h1 { color: var(--papel); }
.hero--dark .dot { color: var(--teal-luz); }
.hero--dark .tag { color: var(--teal-luz); }
.hero--dark .rule-top { background: var(--teal-luz); }
.hero--dark .key { color: #A5D6D9; text-shadow: 0 0 26px rgba(127, 181, 185, 0.5); }
.hero--dark .hero__promise { color: rgba(236, 238, 233, 0.92); }
.hero--dark .hero__sub { color: rgba(236, 238, 233, 0.66); }
.hero--dark .hero__meta { color: rgba(236, 238, 233, 0.62); }
.hero--dark .hero__meta span::before { background: var(--teal-luz); }
.hero--dark .btn-primary { background: var(--papel); color: var(--tinta); border-color: var(--papel); }
.hero--dark .btn-primary:hover { background: var(--teal-luz); border-color: var(--teal-luz); color: var(--tinta); }
.hero--dark .btn-ghost { color: var(--papel); border-color: rgba(236, 238, 233, 0.5); }
.hero--dark .btn-ghost:hover { background: var(--papel); color: var(--tinta); }
.hero--dark .hero__aura::before { background: radial-gradient(circle at center, rgba(127, 181, 185, 0.13), transparent 66%); filter: blur(10px); }
.hero--dark .hero__aura::after { background: radial-gradient(circle at center, rgba(127, 181, 185, 0.07), transparent 70%); }

/* Página noturna (blog): mesma noite do hero, sem animação nenhuma.
   Sobe atrás da cápsula do header: senão a faixa de respiro do header fixo
   mostraria o papel claro do body e abriria uma tarja no topo. */
.g-noite--topo {
  margin-top: -53px;
  padding-top: calc(clamp(96px, 12vw, 148px) + 53px);
  padding-bottom: clamp(64px, 9vw, 128px);
}
.g-noite h1, .g-noite h2, .g-noite h3 { color: var(--papel); }
.g-noite .wordmark, .g-noite .wordmark .dot { color: var(--papel); }
.g-noite .wordmark .dot { color: var(--teal-luz); }
.g-noite .tag { color: var(--teal-luz); }
.g-noite .rule-top { background: var(--teal-luz); }
.g-noite .key { color: #A5D6D9; }
.g-noite .lead, .g-noite .muted { color: rgba(236, 238, 233, 0.68); }
.g-noite .btn-primary { background: var(--papel); color: var(--tinta); border-color: var(--papel); }
.g-noite .btn-primary:hover { background: var(--teal-luz); border-color: var(--teal-luz); color: var(--tinta); }
.g-noite .btn-ghost { color: var(--papel); border-color: rgba(236, 238, 233, 0.5); }
.g-noite .btn-ghost:hover { background: var(--papel); color: var(--tinta); }
/* cards de artigo na noite */
/* Cada artigo numa caixa de vidro branco, mesma receita da cápsula do header.
   Sobre a noite, o vidro separa um artigo do outro e mostra onde clicar.
   Como o vidro é claro, o texto de dentro vira escuro (igual na cápsula). */
.g-noite .blog__list { display: grid; gap: 1rem; }
.g-noite .blog__card {
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  /* mais opaco que a cápsula do header de propósito: aqui dentro tem texto pra
     ler, e no vidro a 62% o resumo caía pra 2,5 de contraste (mínimo é 4,5) */
  background: rgba(240, 242, 238, 0.80);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  backdrop-filter: blur(22px) saturate(190%);
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.30),
    0 2px 8px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(26, 35, 32, 0.05);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.g-noite .blog__card:hover {
  transform: translateY(-2px);
  background: rgba(246, 248, 244, 0.90);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.36),
    0 3px 10px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(26, 35, 32, 0.05);
}
.g-noite .blog__card-title { color: var(--tinta); }
.g-noite .blog__card:hover .blog__card-title { color: var(--teal); }
/* apoio mais escuro que o --tinta-suave normal: sobre vidro ele não tem o papel
   sólido por trás, então precisa de mais peso pra passar no contraste */
.g-noite .blog__card-meta { color: rgba(26, 35, 32, 0.78); }
.g-noite .blog__card-lead { color: rgba(26, 35, 32, 0.78); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .g-noite .blog__card { background: rgba(240, 242, 238, 0.95); }
}
@media (prefers-reduced-motion: reduce) { .g-noite .blog__card:hover { transform: none; } }
/* rodapé na noite */
.g-noite.footer { border-top-color: rgba(236, 238, 233, 0.14); }
.g-noite .footer__meta { color: rgba(236, 238, 233, 0.58); }
.g-noite .footer a:hover { color: var(--teal-luz); }
.hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* Sem foto: texto centrado, o fundo interativo é o palco */
.hero__grid { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 62rem; margin-inline: auto; }
.hero .rule-top { margin-inline: auto; }
.hero__name { font-size: clamp(1rem, 1.4vw, 1.15rem); letter-spacing: -0.01em; margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: 1rem; max-width: 34ch; margin-inline: auto; }
/* o margin-inline:auto que centra a promessa é do hero: fora dele (ex.: "Quem sou
   eu") a classe é reaproveitada em coluna alinhada à esquerda, e centrar cria uma
   falsa indentação em relação ao título e ao corpo. */
.hero__promise { font-family: var(--corpo); font-weight: 600; font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.35; color: var(--tinta); margin-bottom: 1.5rem; max-width: 40ch; }
.hero .hero__promise { margin-inline: auto; }
.hero__sub { font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--tinta-suave); max-width: 58ch; margin-bottom: 2rem; margin-inline: auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; justify-content: center; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.25rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tinta-suave); justify-content: center; }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__meta span::before { content: ""; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }

/* ============================================================
   PROVA (QG) · G1
   ============================================================ */
.proof__head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.proof__head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 1rem; }
/* Empilhado: a captura do QG ocupa a largura toda (bem maior) e os números vêm numa faixa embaixo. */
.proof__grid { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.proof__grid .frame { max-width: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--linha); border: 1px solid var(--linha); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--papel-teal); padding: 1.4rem 1.3rem; }
.stat__num { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; }
.stat__num .u { font-size: 0.55em; font-weight: 800; }
.stat__lbl { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tinta-suave); margin-top: 0.5rem; }
.stat__src { font-family: var(--mono); font-size: 0.62rem; color: var(--tinta-suave); margin-top: 0.25rem; opacity: 0.85; }

.caption { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.03em; color: var(--tinta-suave); margin-top: 0.9rem; text-transform: uppercase; }

/* Gravação do QG em loop (prints em transição, 1s cada) */
.qg-video { width: 100%; height: auto; display: block; background: var(--tinta); }

/* ============================================================
   DOR NOMEADA (Q&A GEO)
   ============================================================ */
.qa { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 760px) { .qa { grid-template-columns: 1fr; } }
.qa__item { background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--radius); padding: clamp(1.5rem, 2.5vw, 2rem); }
.qa__item h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 0.75rem; font-weight: 800; }
.qa__item p { color: var(--tinta-suave); font-size: 0.98rem; }
.qa__q { color: var(--teal); }

/* ============================================================
   O QUE EU FAÇO (done-for-you)
   ============================================================ */

/* Manifesto: a seção vira uma faixa noturna curta, tudo centrado.
   Sem a lista de passos: quem conta o passo a passo é a linha do tempo logo abaixo. */
.manifesto { max-width: 50rem; margin-inline: auto; text-align: center; }
.manifesto .rule-top { margin-inline: auto; }
.manifesto h2 { margin-bottom: 1.6rem; }
.manifesto__neg { font-size: clamp(1rem, 1.3vw, 1.15rem); margin-bottom: 0.9rem; }
/* riscado é pra ser descartado, mas ainda carrega sentido: 0.45 dava 3,9 de
   contraste (mínimo 4,5). Fica apagado, e legível. */
.manifesto__neg .neg {
  text-decoration: line-through;
  text-decoration-color: rgba(236, 238, 233, 0.4);
  color: rgba(236, 238, 233, 0.6);
}
.manifesto__sim {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  color: rgba(236, 238, 233, 0.92);
  max-width: 44ch;
  margin-inline: auto;
}

/* ============================================================
   TRAJETÓRIA (track record)
   ============================================================ */
.track { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); margin-top: clamp(32px, 4vw, 48px); }
.track__item { border-top: 2px solid var(--tinta); padding-top: 1.25rem; }
.track__stat { font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.05; letter-spacing: -0.02em; }
.track__stat .arrow { color: var(--teal); }
.track__label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tinta-suave); margin: 0.65rem 0 0.9rem; }
.track__ctx { color: var(--tinta-suave); font-size: 0.96rem; }
@media (max-width: 760px) { .track { grid-template-columns: 1fr; gap: 0; } .track__item { margin-top: 1.5rem; } .track__item:first-child { margin-top: 0; } }

/* ============================================================
   QUEM SOU EU
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about__grid .frame { max-width: 380px; }
@media (max-width: 760px) { .about__grid { grid-template-columns: 1fr; } .about__grid .frame { max-width: 300px; } }

/* ============================================================
   OFERTA (G2 teal · o pico)
   ============================================================ */
.offer__grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .offer__grid { grid-template-columns: 1fr; } }
.offer h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.25rem; }
.offer__price { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
.offer__price .u { font-size: 0.62em; font-weight: 800; }
.offer__price small { display: block; font-family: var(--mono); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.8; margin-top: 0.35rem; }
.spec { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border: 1px solid rgba(236,238,233,0.28); border-radius: var(--radius); overflow: hidden; }
.spec li { display: grid; grid-template-columns: 40% 1fr; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(236,238,233,0.18); font-size: 0.95rem; }
.spec li:last-child { border-bottom: 0; }
.spec .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.85; align-self: center; }
.offer__cta { margin-top: 2rem; }
/* Contraste: teal mais profundo só na oferta pra o texto claro saltar (papel sobre teal
   claro ficava lavado); e um leve fundo escuro na tabela pra os itens ganharem definição. */
.offer.g2 { background: #21393B; }
.offer .spec { background: rgba(11, 22, 22, 0.22); }
.offer .spec li { border-bottom-color: rgba(236, 238, 233, 0.16); }
.offer .offer__price small { opacity: 0.9; }

/* ============================================================
   MÉTODO / PROVAS (3 cards)
   ============================================================ */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }
.pcard { background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--radius); padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; }
.pcard .num { font-family: var(--mono); font-size: 0.72rem; color: var(--teal); letter-spacing: 0.06em; margin-bottom: 1rem; }
.pcard h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.7rem; }
.pcard p { color: var(--tinta-suave); font-size: 0.96rem; }

/* Portfólio grade 3x3 */
.showcase { max-width: 620px; margin: clamp(36px, 5vw, 60px) auto 0; }
.showcase .caption { text-align: center; }
.grid33 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.grid33 .cell { aspect-ratio: 4/5; width: 100%; height: 100%; object-fit: cover; background: var(--papel-teal); border: 1px solid var(--linha); border-radius: 2px; }
.grid33 .cell.feat { outline: 2px solid var(--teal); outline-offset: -2px; }

/* Proof rows: uma mídia para cada prova (QG · diagnóstico · grade) */
.proofrows { display: grid; gap: clamp(48px, 7vw, 88px); margin-top: clamp(40px, 5vw, 64px); }
.proofrow { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
/* na linha invertida a mídia vai pra esquerda: as colunas trocam junto,
   senão a mídia cai na coluna estreita e o print encolhe */
.proofrow--flip { grid-template-columns: 1.18fr 0.82fr; }
.proofrow--flip .proofrow__text { order: 2; }
.proofrow--grade { align-items: start; }
.proofrow--grade .proofrow__text { padding-top: 0.4rem; }
.proofrow__num { font-family: var(--mono); font-size: 0.72rem; color: var(--teal); letter-spacing: 0.06em; margin-bottom: 1rem; }
.proofrow__text h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: 0.9rem; }
.proofrow__text p { color: var(--tinta-suave); max-width: 40ch; }
.proofrow__media .caption { text-align: left; margin-top: 0.9rem; }
.proofrow__media .grid33 { max-width: none; }
@media (max-width: 820px) {
  .proofrow { grid-template-columns: 1fr; gap: clamp(18px, 4vw, 28px); }
  .proofrow--flip .proofrow__text { order: 0; }
}

/* Títulos em 1 linha + subtítulos usando o espaço à direita que sobra no desktop */
.proof .proof__head, #trajetoria .proof__head, #provas .proof__head { max-width: none; }
/* a prova usa o espaço à direita que sobra no desktop: seção mais larga, subtítulo em 2 linhas */
#prova .wrap { max-width: 1330px; }
#projeto-h { white-space: nowrap; font-size: clamp(2rem, 3.9vw, 2.9rem); }
@media (max-width: 1080px) { #projeto-h { white-space: normal; } }
.proof .proof__head .lead { max-width: 73rem; }
#trajetoria .proof__head .lead { max-width: 90ch; }
#prova-h, #provas-h { white-space: nowrap; }
@media (max-width: 720px) { #prova-h, #provas-h { white-space: normal; } }

/* Portfólio de sites: miniaturas ~15% maiores */
#sites .wrap { max-width: 1288px; }
/* título em 1 linha e subtítulo ocupando o espaço à direita que sobrava */
#sites .proof__head { max-width: none; }
#sites-h { white-space: nowrap; font-size: clamp(2rem, 3.9vw, 2.9rem); }
#sites .proof__head .lead { max-width: 72rem; }
@media (max-width: 1180px) { #sites-h { white-space: normal; font-size: clamp(2rem, 4.4vw, 3.1rem); } }

/* ============================================================
   O PROJETO COMPLETO (timeline · da pesquisa ao QG entregue)
   ============================================================ */
.timeline { position: relative; max-width: 880px; margin-top: clamp(36px, 5vw, 56px); }
.timeline::before {
  content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px;
  background: var(--teal); opacity: 0.3;
}
.tl-item { position: relative; padding-left: 66px; padding-bottom: clamp(30px, 4.5vw, 48px); }
.tl-item:last-child { padding-bottom: 0; }
.tl-mk {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--teal); border-radius: 50%;
  background: var(--papel);
  font-family: var(--mono); font-weight: 600; font-size: 0.78rem; color: var(--teal);
}
.tl-mk--fill { background: var(--teal); color: var(--papel); }
.tl-item h3 { font-size: clamp(1.2rem, 2.1vw, 1.55rem); font-weight: 800; margin-bottom: 0.55rem; padding-top: 0.4rem; }
.tl-item p { color: var(--tinta-suave); max-width: 62ch; }
.tl-media { margin-top: 1.4rem; max-width: 620px; }
.tl-media .caption { text-align: left; }
/* documento em pé (a pesquisa): usa toda a largura disponível, pra dar pra ler a tabela */
.tl-media--doc { max-width: none; }
/* o QG entregue merece respiro também */
.proofrow--grade .tl-media, .tl-item:last-child .tl-media { max-width: 720px; }
@media (max-width: 640px) {
  .timeline::before { left: 15px; }
  .tl-item { padding-left: 52px; }
  .tl-mk { width: 32px; height: 32px; font-size: 0.7rem; }
}

/* ============================================================
   ONDE ATENDO (geo)
   ============================================================ */
.geo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 760px) { .geo__grid { grid-template-columns: 1fr; } }
.regions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.chip { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.03em; padding: 0.5rem 0.9rem; border: 1px solid var(--linha-forte); border-radius: 999px; color: var(--tinta); }
.chip.on { background: var(--teal); color: var(--papel); border-color: var(--teal); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 780px; margin-top: clamp(32px, 4vw, 48px); }
.faq details { border-top: 1px solid var(--linha); padding: 0; }
.faq details:last-child { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex-shrink: 0; width: 18px; height: 18px; position: relative; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--teal); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.faq summary .ic::before { width: 14px; height: 1.5px; }
.faq summary .ic::after { width: 1.5px; height: 14px; transition: transform .2s ease; }
.faq details[open] summary .ic::after { transform: translate(-50%, -50%) scaleY(0); }
.faq details p { padding: 0 0 1.5rem; color: var(--tinta-suave); max-width: 68ch; }

/* ============================================================
   CONTATO / FORM
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.15rem; background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); }
.field { display: grid; gap: 0.45rem; }
.field label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tinta-suave); }
.field label .req { color: var(--teal); }
.field input, .field textarea, .field select {
  font-family: var(--corpo); font-size: 1rem; color: var(--tinta);
  background: var(--papel); border: 1px solid var(--linha-forte); border-radius: var(--radius);
  padding: 0.85rem 0.95rem; width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-suave); }
.field.err input, .field.err textarea, .field.err select { border-color: #9b3d2e; }
.field .msg { font-size: 0.78rem; color: #9b3d2e; min-height: 1em; }
.form__note { font-size: 0.82rem; color: var(--tinta-suave); }
.form__ok { display: none; padding: 1rem 1.15rem; background: var(--teal); color: var(--papel); border-radius: var(--radius); font-weight: 600; }
.form.sent .form__ok { display: block; }
.form.sent .form__body { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; border-top: 1px solid var(--linha); padding-block: clamp(40px, 6vw, 72px); }
.footer__grid { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; }
.footer .wordmark { font-size: 1.6rem; }
.footer__meta { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.03em; color: var(--tinta-suave); line-height: 1.9; text-transform: uppercase; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--teal); }

/* ============================================================
   HERO · presença + animação (fundo animado, sóbrio e claro)
   ============================================================ */
.hero { position: relative; overflow: hidden; }
/* Aura teal que respira atrás do hero: dá profundidade sem escurecer o papel */
.hero__aura { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__aura::before {
  content: ""; position: absolute; right: -12%; top: -18%;
  width: min(64vw, 760px); aspect-ratio: 1;
  background: radial-gradient(circle at center, var(--teal-suave), transparent 66%);
  filter: blur(6px);
  animation: auraDrift 20s ease-in-out infinite alternate;
}
.hero__aura::after {
  content: ""; position: absolute; left: -14%; bottom: -22%;
  width: min(48vw, 520px); aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(52,89,92,0.06), transparent 70%);
  animation: auraDrift 26s ease-in-out infinite alternate-reverse;
}
@keyframes auraDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-5%, 7%, 0) scale(1.14); }
}

/* ============================================================
   FEITO PARA CLIENTES · strip de criativos reais (dentro de PROVAS)
   ============================================================ */
.clientwork { margin-top: clamp(44px, 6vw, 76px); }
.clientwork__head { border-top: 1px solid var(--linha); padding-top: 1.6rem; margin-bottom: 1.6rem; max-width: 62ch; }
.clientwork__head h3 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); font-weight: 800; margin-bottom: 0.6rem; }
.clientwork__head p { color: var(--tinta-suave); font-size: 0.98rem; }
.clientstrip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.clientstrip figure { position: relative; margin: 0; }
.clientstrip img { aspect-ratio: 4/5; width: 100%; object-fit: cover; border: 1px solid var(--linha); border-radius: 2px; background: var(--papel-teal); }
@media (max-width: 860px) { .clientstrip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .clientstrip { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   PORTFÓLIO DE SITES · Bianca + Jennifer
   ============================================================ */
.sites { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 52px); margin-top: clamp(32px, 5vw, 56px); }
@media (max-width: 760px) { .sites { grid-template-columns: 1fr; } }
.sitecard__body { margin-top: 1.2rem; }
.sitecard__body h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; margin-bottom: 0.55rem; }
.sitecard__body p { color: var(--tinta-suave); font-size: 0.97rem; max-width: 52ch; }
.sitecard__row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.sitecard__tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tinta-suave); }
.sitelink { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--teal); text-decoration: none; border-bottom: 1px solid var(--teal); padding-bottom: 2px; transition: color .15s ease, border-color .15s ease; }
.sitelink:hover { color: var(--tinta); border-color: var(--tinta); }
.sitelink .arrow { transition: transform .16s ease; }
.sitelink:hover .arrow { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .hero__aura::before, .hero__aura::after { animation: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* ---------- Foco visível (acessibilidade) ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px;
}

/* Skip link */
.skip { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--tinta); color: var(--papel); padding: 0.6rem 1rem; border-radius: var(--radius); }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Blog / artigos ---------- */
.article__head { max-width: 68ch; margin-inline: auto; text-align: center; }
.article__head .tag { justify-content: center; }
.article__meta { font-family: var(--mono); font-size: 0.82rem; color: var(--tinta-suave); margin-top: 1rem; }

/* Titulo + subtitulo: cada um em UMA linha, mesmo tamanho de fonte.
   white-space:nowrap trava a quebra; o clamp com vw encolhe o suficiente pra
   a linha mais longa (o subtitulo) nunca quebrar, do celular ao desktop largo. */
.article__title { display: block; }
.article__title-line {
  display: block;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.15;
  font-size: clamp(0.82rem, 4vw, 1.85rem);
}
.article__title-line--sub { font-weight: 700; color: var(--tinta-suave); margin-top: 0.3em; }
.article__body { max-width: 68ch; margin: 0 auto; }
.article__body p { color: var(--tinta); margin-bottom: 1.4rem; font-size: clamp(1.03rem, 1.3vw, 1.15rem); line-height: 1.7; }
.article__body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 2.6rem 0 1.1rem; letter-spacing: -0.01em; }
.article__body ol, .article__body ul { margin: 0 0 1.4rem; padding-left: 1.3rem; color: var(--tinta); }
.article__body li { margin-bottom: 0.6rem; line-height: 1.65; }
.article__body strong { font-weight: 700; }
.article__body em { color: var(--tinta-suave); }
.article__cta { border-top: 1px solid var(--linha); margin-top: 2.4rem; padding-top: 2.2rem; text-align: center; }

/* ---------- Artigo na noite: o texto todo dentro de uma caixa de vidro escuro ----------
   Aqui o vidro é ESCURO (tinta da marca), ao contrário do card branco do índice:
   é uma folha de leitura sobre a noite, e texto claro sobre vidro escuro cansa
   menos numa leitura de 4 minutos do que texto escuro sobre vidro branco. */
.artigo-vidro {
  max-width: 76ch;
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1.25rem, 3.5vw, 3rem);
  border: 1px solid rgba(236, 238, 233, 0.14);
  border-radius: 24px;
  background: rgba(18, 26, 23, 0.55);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.42),
    0 3px 12px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(236, 238, 233, 0.10);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .artigo-vidro { background: rgba(18, 26, 23, 0.92); }
}
/* dentro do vidro escuro o texto inverte */
.g-noite .article__meta { color: rgba(236, 238, 233, 0.60); }
.g-noite .article__title-line { color: var(--papel); }
.g-noite .article__title-line--sub { color: rgba(236, 238, 233, 0.66); }
.g-noite .article__body p,
.g-noite .article__body ol,
.g-noite .article__body ul { color: rgba(236, 238, 233, 0.88); }
.g-noite .article__body h2 { color: var(--papel); }
.g-noite .article__body strong { color: var(--papel); }
.g-noite .article__body em { color: rgba(236, 238, 233, 0.66); }
.g-noite .article__body a { color: var(--teal-luz); }
.g-noite .article__cta { border-top-color: rgba(236, 238, 233, 0.14); }
.blog__list { max-width: 68ch; margin-inline: auto; }
.blog__card { display: block; padding: 1.6rem 0; border-bottom: 1px solid var(--linha); text-decoration: none; }
.blog__card:hover .blog__card-title { color: var(--teal); }
.blog__card-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 1.9vw, 1.4rem); margin-bottom: 0.5rem; transition: color .15s ease; }
.blog__card-meta { font-family: var(--mono); font-size: 0.8rem; color: var(--tinta-suave); margin-bottom: 0.6rem; }
.blog__card-lead { color: var(--tinta-suave); max-width: 60ch; }
