@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/inter-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/manrope-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/manrope-latin-800-normal.woff2) format('woff2')}
/* Site público do PaceTake (início, guias, compatibilidade, privacidade). Mesma identidade do app. */
:root {
  --ink: #101820; --lime: #C6F34A;
  --bg: #F7F9FC; --surface: #FFFFFF; --surface-2: #EEF2F6; --text: #101820; --text-2: #526070;
  --border: #D9E0E8; --border-strong: #101820;
  --activity: #2563EB; --activity-soft: #E6EEFE; --video: #7C3AED; --video-soft: #F0E9FE;
  --success: #15803D; --success-soft: #E5F5EB; --warn: #92400E; --warn-soft: #FDF3E1;
  --error: #B91C1C; --error-soft: #FDECEC; --info: #526070; --info-soft: #EEF2F6;
  --focus: #101820; --link: #1D4ED8;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-brand: 'Manrope', 'Inter', system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #101820; --surface: #17232F; --surface-2: #22313F; --text: #F7F9FC; --text-2: #A9B8C8;
  --border: #2C3D4E; --border-strong: #A9B8C8;
  --activity: #7EA8FF; --activity-soft: #1C2D4A; --video: #BA9EFF; --video-soft: #2B2445;
  --success: #69D99B; --success-soft: #16352A; --warn: #F5C96B; --warn-soft: #3A2F17;
  --error: #FF9C9C; --error-soft: #3E2024; --info: #A9B8C8; --info-soft: #22313F;
  --focus: #C6F34A; --link: #9DBBFF;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: 17px; line-height: 1.6; }
body { overflow-wrap: break-word; }
h1, h2, h3, h4, .word { font-family: var(--font-brand); font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(32px, 5vw, 48px); }
h2, .h2 { font-size: clamp(24px, 3vw, 30px); }
h3, .h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; font-family: var(--font-ui); letter-spacing: 0; }
p { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--surface-2); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.num { font-variant-numeric: tabular-nums; }
.small { font-size: 15px; }
.muted { color: var(--text-2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); z-index: 10; }
.skip:focus { top: 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--text); font: 600 16px/1.2 var(--font-ui); text-decoration: none; cursor: pointer; }
.btn:hover { text-decoration: none; filter: brightness(.97); }
.btn.primary { background: var(--lime); border-color: var(--ink); color: var(--ink); }
.btn.ghost { border-color: var(--border); background: transparent; }
.btn.big { min-height: 52px; padding: 14px 26px; font-size: 18px; }
.btn.small { min-height: 44px; padding: 8px 14px; font-size: 15px; }
.link-btn { all: unset; cursor: pointer; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.success { background: var(--success-soft); color: var(--success); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.error { background: var(--error-soft); color: var(--error); }
.pill.neutral { background: var(--surface-2); color: var(--text-2); }

/* cabeçalho */
.site-head { background: var(--surface); border-bottom: 1px solid var(--border); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo .word { font-size: 24px; letter-spacing: -0.02em; }
.logo.small .word { font-size: 19px; }
.head-nav { display: flex; gap: 18px; margin-left: 8px; }
.head-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 0; }
.head-nav a:hover, .head-nav a[aria-current='page'] { text-decoration: underline; }
.lang-switch { display: flex; gap: 2px; margin-left: auto; }
.lang-switch a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--text-2); text-decoration: none; border-radius: var(--r-sm); }
.lang-switch a[aria-current='true'] { color: var(--text); background: var(--surface-2); }
.lang-switch a:hover { color: var(--text); }

/* início */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-copy { display: grid; gap: 20px; }
.lead { font-size: 19px; color: var(--text-2); }
.cta-block { display: grid; gap: 10px; justify-items: start; margin: 8px 0; }
.cta-block.final { justify-items: center; text-align: center; }
.hero-fig { margin: 0; display: grid; gap: 12px; background: var(--ink); color: #F7F9FC; border-radius: 24px; padding: 28px 24px; }
.hero-fig figcaption { color: #A9B8C8; }
/* rótulo na largura da palavra (Atividade, Activity, Actividad), trilha e eixo alinhados na mesma coluna */
.tl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 14px 12px; align-items: center; }
.tl-row { display: contents; }
.tl-k { font-weight: 700; font-size: 14px; white-space: nowrap; }
.tl-k.act { color: #7EA8FF; }
.tl-k.vid { color: #BA9EFF; }
.tl-track { position: relative; height: 34px; border-radius: 10px; background: #22313F; }
.tl-act { position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(90deg, #2563EB, #3B82F6); }
.tl-clip { position: absolute; top: 0; bottom: 0; border-radius: 10px; background: #7C3AED; border: 2px solid #C6F34A; }
.tl-clip.c1 { left: 0; width: 22%; }
.tl-clip.c2 { left: 34%; width: 18%; }
.tl-clip.c3 { left: 66%; width: 26%; }
.tl-axis { grid-column: 2; display: flex; justify-content: space-between; font-size: 13px; color: #A9B8C8; }

.section { padding-top: 56px; display: grid; gap: 20px; }
.section-lead { color: var(--text-2); max-width: 760px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 10px; align-content: start; }
.card.soft { background: var(--surface-2); border-color: transparent; }
.steps3, .cards3, .cards2, .guide-list, .plain { list-style: none; margin: 0; padding: 0; }
.steps3, .cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step-n { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 800; }
.dest-card .more { font-weight: 600; margin-top: auto; }
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guide-list a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--text); min-height: 44px; }
.guide-list a:hover { border-color: var(--border-strong); }
.final-cta { justify-items: center; text-align: center; padding-bottom: 24px; }

/* artigos (guias, compatibilidade, privacidade) */
.article { display: grid; gap: 18px; padding-top: 40px; padding-bottom: 24px; }
.article > h2, .article section > h2 { margin-top: 18px; }
.article ul, .article ol { margin: 0; padding-left: 24px; display: grid; gap: 8px; }
.article .plain, .article .guide-list { padding-left: 0; }
.article section { display: grid; gap: 12px; }
.crumbs { color: var(--text-2); }
.crumbs a { color: var(--text-2); }
.callout { background: var(--activity-soft); border-left: 4px solid var(--activity); padding: 14px 16px; border-radius: 0 var(--r-md) var(--r-md) 0; }
.compat-box { border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-md); padding: 16px 18px; display: grid; gap: 6px; }
.shot { margin: 0; display: grid; gap: 8px; justify-items: center; }
.shot svg { width: 100%; max-width: 420px; height: auto; border-radius: var(--r-md); }
.related { display: grid; gap: 12px; margin-top: 12px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--r-md); }
table { border-collapse: collapse; width: 100%; background: var(--surface); }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
thead th { font-size: 14px; color: var(--text-2); background: var(--surface-2); white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
.editor-card { margin-top: 16px; scroll-margin-top: 16px; }
.kv-list { display: grid; gap: 12px; margin: 0; }
.kv-list > div { border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; background: var(--surface); }
.kv-list dt { font-weight: 700; }
.kv-list dd { margin: 4px 0 0; }
.consent-box p { margin-bottom: 4px; }
.not-found { gap: 24px; padding-top: 64px; }

/* anúncios: espaço identificado, com altura reservada, só depois de a pessoa permitir */
.ad-slot { border: 1px dashed var(--border); border-radius: var(--r-md); padding: 12px 16px 16px; display: grid; gap: 10px; }
.ad-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.ad-ask, .ad-off, .ad-box { display: none; }
.ad-slot[data-state='ask'] .ad-ask { display: grid; gap: 10px; }
.ad-slot[data-state='denied'] .ad-off { display: block; }
.ad-slot[data-state='granted'] .ad-box { display: block; min-height: 280px; }

/* rodapé */
.site-foot { margin-top: 64px; border-top: 1px solid var(--border); background: var(--surface); padding: 32px 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 24px; align-items: start; font-size: 15px; }
.foot-brand { display: grid; gap: 8px; }
.foot-nav { display: grid; gap: 2px; }
.foot-nav a { color: var(--text); padding: 8px 0; }
.site-foot .lang-switch { margin-left: 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; gap: 32px; }
  .steps3, .cards3 { grid-template-columns: 1fr; }
  .cards2, .two-col, .guide-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  html, body { font-size: 16px; }
  .head-nav { display: none; }
  .head-row { gap: 8px; }
  .head-cta { display: none; }
  .lead { font-size: 17px; }
  .section { padding-top: 40px; }
  .tl { column-gap: 10px; }
  .cta-block .btn { width: 100%; }
  .hero-fig { padding: 20px 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
