/* PubliConect Brasil
   Layout: tela branca com superfícies creme, tipografia Geist, pílulas e nenhuma sombra.
   Cartões creme separam blocos; o rodapé é o único bloco escuro. */
:root {
  --ink: #111111;
  --ink-hover: #2a2926;
  --obsidian: #1e1e1d;
  --subtle: #615e5b;
  --mid: #888888;
  --tan: #d8d3cc;
  --mist: #e9eaeb;
  --cream: #f3efeb;
  --cream-hover: #ebe5de;
  --white: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.62);
  --on-dark-line: rgba(255, 255, 255, 0.14);
  --sans: 'Geist', Inter, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.83, 0, 0.17, 1);
  --gutter: clamp(20px, 4vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.3;
  font-feature-settings: "ss02", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, dl, dd, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 160px; z-index: 50; text-decoration: none; font-size: 14px;
}
.skip:focus { top: 16px; }

/* ---------- tipografia ---------- */
.over {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--subtle);
}
h1 {
  font-size: clamp(40px, 5.2vw, 60px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.lead { font-size: 20px; line-height: 1.35; color: var(--subtle); max-width: 36ch; }
.body-text { font-size: 18px; line-height: 1.5; color: var(--subtle); max-width: 60ch; }

/* ---------- botões ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 160px;
  font: 500 16px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pill svg { width: 16px; height: 16px; flex: none; transition: transform 0.3s var(--ease); }
.pill:hover svg { transform: translateX(3px); }
.pill--fill { background: var(--ink); color: var(--white); }
.pill--fill:hover { background: var(--ink-hover); }
.pill--line { border-color: var(--ink); color: var(--ink); }
.pill--line:hover { background: var(--ink); color: var(--white); }
.pill--inverse { background: var(--white); color: var(--ink); border-color: var(--white); }
.pill--inverse:hover { background: transparent; color: var(--white); }
.pill--inverse:focus-visible { outline-color: var(--white); }
.pill--sm { height: 40px; padding: 0 18px; font-size: 15px; }

/* ---------- navegação ---------- */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--mist);
}
.nav-in { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand b { font-weight: 600; }
.links { display: flex; gap: 32px; font-size: 16px; }
.links a { text-decoration: none; color: var(--subtle); transition: color 0.3s var(--ease); }
.links a:hover { color: var(--ink); }

/* ---------- herói ---------- */
.hero {
  display: grid;
  gap: 28px;
  justify-items: start;
  padding-block: clamp(56px, 9vw, 120px) clamp(40px, 5vw, 64px);
}
.hero h1 { max-width: 20ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- marcas ---------- */
.clients { padding-block: 8px 24px; }
.clients .over { margin-bottom: 24px; }
.logos {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}
.logos li {
  display: grid;
  place-items: center;
  padding: 18px 10px;
  border-left: 1px solid var(--mist);
}
.logos li:first-child { border-left: 0; }
.logos img {
  width: 100%;
  max-width: 150px;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.82;
  transition: opacity 0.3s var(--ease);
}
.logos li:hover img { opacity: 1; }

/* ---------- seções ---------- */
.section { padding-block: clamp(48px, 6vw, 72px); }
.sec-head { display: grid; gap: 16px; margin-bottom: 48px; }
.card { background: var(--cream); border-radius: 32px; padding: clamp(28px, 5vw, 56px); }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); }
.about-head { display: grid; gap: 20px; align-content: start; }
.about-text { display: grid; gap: 20px; align-content: start; padding-top: 6px; }
.about-text p { border-top: 1px solid var(--tan); padding-top: 20px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.feature { display: grid; gap: 18px; align-content: start; border-top: 1px solid var(--mist); padding-top: 28px; }
.feature-top { display: flex; align-items: center; justify-content: space-between; }
.badge {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  display: grid; place-items: center; color: var(--ink);
}
.badge svg { width: 20px; height: 20px; }
.num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.03em; color: var(--mid); font-feature-settings: "ss08"; }
.feature p { font-size: 18px; line-height: 1.5; color: var(--subtle); }

.press { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.press a {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 32px;
  min-height: 240px;
  background: var(--cream);
  border-radius: 32px;
  padding: 32px;
  text-decoration: none;
  transition: background-color 0.3s var(--ease);
}
.press a:hover { background: var(--cream-hover); }
.press img { width: 100%; max-width: 220px; height: 84px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; filter: grayscale(1); align-self: center; }
.press-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 500; }
.press-foot span:first-child { color: var(--subtle); font-weight: 400; }
.press-foot svg { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ease); }
.press a:hover .press-foot svg { transform: translate(2px, -2px); }

/* ---------- rodapé ---------- */
.foot { background: var(--obsidian); color: var(--white); margin-top: clamp(48px, 6vw, 72px); }
.foot .wrap { padding-block: clamp(56px, 7vw, 80px) 32px; display: grid; gap: 48px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-top p { color: var(--on-dark-muted); font-size: 16px; line-height: 1.4; max-width: 40ch; margin-top: 12px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  font-size: 11px; letter-spacing: 0.03em; color: var(--on-dark-muted);
  padding-top: 24px; border-top: 1px solid var(--on-dark-line);
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; letter-spacing: 0; }
.foot-bottom a { text-decoration: none; transition: color 0.3s var(--ease); }
.foot-bottom a:hover { color: var(--white); }
.foot a:focus-visible { outline-color: var(--white); }

/* ---------- página de texto (política) ---------- */
.doc { padding-block: clamp(48px, 7vw, 88px) 24px; display: grid; gap: 40px; max-width: 760px; }
.doc header { display: grid; gap: 16px; }
.doc section { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--mist); }
.doc h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.01em; }
.doc p { font-size: 18px; line-height: 1.55; color: var(--subtle); max-width: 62ch; }
.doc a { text-underline-offset: 3px; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logos li:nth-child(4n + 1) { border-left: 0; }
  .logos li:nth-child(n + 5) { border-top: 1px solid var(--mist); }
}
@media (max-width: 900px) {
  .links { display: none; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .features, .press { grid-template-columns: minmax(0, 1fr); }
  .press a { min-height: 0; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .nav-in { height: 72px; }
  .brand { font-size: 20px; }
  .lead { font-size: 18px; }
  .card, .press a { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
