/* Base compartilhada pelas páginas: fontes, tokens, cabeçalho, botões e rodapé.
   Sistema visual da landing nova da Cooud (cooud-web, src/components/landing):
   preto quase puro, SF Pro Display 400 com tracking negativo, Good Times só em
   marca, pílulas e fios de 1px. Um tema só, de propósito. */
@font-face {
  font-family: "GoodTimes";
  src: url("fonts/GoodTimes.woff2") format("woff2");
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "SFProDisplay";
  src: url("fonts/SFPRODISPLAYREGULAR.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "SFProDisplay";
  src: url("fonts/SFPRODISPLAYMEDIUM.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
:root {
  --ground: #030303;
  --page: #050505;
  --ink: #f3f3f3;
  --soft: #c0c0c0;
  --muted: #999999;
  --quiet: #86868b;
  --dim: #6b6b6b;
  --line: #ffffff1c;
  --line-strong: #ffffff35;
  --panel: #0a0a0a;
  --gutter: max(5%, 16px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--page); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "SFProDisplay", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:is(a, button):focus-visible { outline: 2px solid #d2d2d2; outline-offset: 6px; border-radius: 4px; }
section[id], article[id] { scroll-margin-top: 92px; }
p { color: var(--muted); font-size: 17px; line-height: 1.65; letter-spacing: -0.01em; }
.gt { font-family: "GoodTimes", "SFProDisplay", sans-serif; font-weight: 400; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 60; background: #fff; color: #000; padding: 12px 20px; border-radius: 8px; }
.skip:focus { top: 15px; }
.arrow { width: 15px; height: 15px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 10px; line-height: 1.5; letter-spacing: 0.14em; font-weight: 500; color: var(--soft); text-transform: uppercase; }
.eyebrow span { color: #737373; }
.textLink {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  font-size: 13px;
  border-bottom: 1px solid #ffffff30;
  padding-bottom: 8px;
  transition: border-color 0.2s;
}
.textLink:hover { border-color: #ddd; }

/* ---------- navegação ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: #050505d9;
  border-bottom: 1px solid #ffffff12;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.nav {
  max-width: 1536px;
  margin: auto;
  height: 76px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.monogram {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 9px;
  letter-spacing: 0.02em;
  padding-left: 1px;
}
.links { display: flex; gap: 30px; margin-left: auto; font-size: 13px; color: #b2b2b2; }
.links a { transition: color 0.2s; }
.links a:hover, .links a[aria-current="page"] { color: #fff; }
.pill, .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 44px;
  padding: 0 19px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.pill {
  background: linear-gradient(145deg, #fff, #d6d6d6);
  color: #111;
  border: 1px solid #ffffff90;
  box-shadow: inset 0 1px 0 #fff, 0 3px 14px #ffffff0a;
}
.pill:hover { background: #fff; transform: translateY(-2px); }
.ghost { border: 1px solid var(--line-strong); background: #ffffff03; color: #e4e4e4; }
.ghost:hover { background: #ffffff0b; border-color: #ffffff70; transform: translateY(-2px); }

/* ---------- rodapé ---------- */
.footer { max-width: 1536px; margin: auto; padding: 65px var(--gutter) 0; border-top: 1px solid var(--line); overflow: hidden; }
.footerTop { display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr; gap: 45px; }
.footerTop > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footerTop h3 { font-size: 11px; font-weight: 400; margin-bottom: 9px; }
.footerTop > div > a:not(.brand) { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #a5a5a5; }
.footerTop > div > a:not(.brand):hover { color: #fff; }
.footerTop > div > a .arrow { width: 11px; height: 11px; }
.footerTop p { margin: 8px 0 10px; font-size: 16px; line-height: 1.5; color: #9a9a9a; }
.footerBottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 50px; padding: 26px 0; border-top: 1px solid var(--line); color: #9c9c9c; font-size: 9px; }
.wordmark {
  font-family: "GoodTimes", sans-serif;
  font-size: clamp(42px, 10.4vw, 168px);
  line-height: 1.35;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(#49494980, #14141440);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  margin-bottom: -0.25em;
}

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .footerTop { grid-template-columns: 1fr 1fr; }
  .footerTop > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .nav { height: 64px; gap: 22px; }
  .links { gap: 18px; }
  .footerTop { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}
@media (max-width: 370px) {
  /* Nome e os três links não cabem juntos: fica o monograma. */
  .nav .brand > span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { animation: none !important; transition: none !important; }
}
