/* ==========================================================================
   Polska Performance Online — estilos compartilhados
   Identidade: azul #485683, preto #0E0E10, branco, cinza-azulado #EEF0F5
   Fontes: Roboto Slab (títulos), IBM Plex Sans (texto), IBM Plex Mono (rótulos)
   ========================================================================== */

@font-face { font-family: "Roboto Slab"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/roboto-slab-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto Slab"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/roboto-slab-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto Slab"; font-weight: 800; font-style: normal; font-display: swap; src: url(/assets/fonts/roboto-slab-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --azul: #485683;
  --azul-escuro: #2F3A5E;
  --azul-claro: #9AA6CC;
  --azul-gelo: #D9DEEC;
  --azul-tag: #E3E7F1;
  --preto: #0E0E10;
  --tinta: #111114;
  --texto: #3A3F4C;
  --texto-suave: #4A4F5C;
  --cinza-claro-texto: #C9CCD6;
  --cinza-mono: #9EA3B0;
  --fundo: #EEF0F5;
  --linha: #E2E5EC;
  --linha-escura: #26272C;
  --borda-campo: #B7BCC9;
  --erro: #B42318;

  --slab: "Roboto Slab", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body { margin: 0; background: #FFFFFF; font-family: var(--sans); color: var(--tinta); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
a:hover { color: var(--azul-escuro); }
input, select, textarea, button { font-family: var(--sans); }
:focus-visible { outline: 3px solid var(--azul-claro); outline-offset: 3px; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--azul); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 104px; padding-bottom: 104px; }
.section-sm { padding-top: 72px; padding-bottom: 72px; }
.stack { display: flex; flex-direction: column; }
.gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-28 { gap: 28px; } .gap-48 { gap: 48px; } .gap-56 { gap: 56px; }
.row { display: flex; flex-wrap: wrap; }
.col-side { flex: 1 1 320px; min-width: 0; }
.col-main { flex: 999 1 520px; min-width: 0; }
.head-split { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; }
.head-split > :first-child { flex: 1 1 520px; min-width: 0; }
.head-split > p { flex: 1 1 360px; min-width: 0; margin: 0; font-size: 17px; line-height: 1.6; }
.measure { max-width: 760px; }

.bg-white { background: #FFFFFF; }
.bg-fundo { background: var(--fundo); }
.bg-preto { background: var(--preto); color: #FFFFFF; }
.bg-azul { background: var(--azul); color: #FFFFFF; }
.stripes { position: relative; overflow: hidden; }
.stripes > .stripes-layer { position: absolute; top: 0; height: 100%; pointer-events: none; }
.stripes-right { right: 0; width: 38%; background: repeating-linear-gradient(135deg, rgba(72,86,131,.28) 0 14px, transparent 14px 34px); }
.stripes-left { left: 0; width: 28%; background: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 14px, transparent 14px 34px); }
.stripes > .wrap { position: relative; }

/* ---------- Tipografia ---------- */
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--azul); text-transform: uppercase; }
.bg-preto .eyebrow { color: var(--azul-claro); }
.bg-azul .eyebrow { color: var(--azul-gelo); }
.h1 { margin: 0; font-family: var(--slab); font-weight: 800; font-size: clamp(40px, 5.4vw, 70px); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
.h2 { margin: 0; font-family: var(--slab); font-weight: 800; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; text-wrap: balance; }
.h3 { margin: 0; font-family: var(--slab); font-weight: 800; font-size: 21px; line-height: 1.25; }
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--texto); max-width: 640px; }
.bg-preto .lead { color: var(--cinza-claro-texto); }
.bg-azul .lead { color: #E3E6EE; }
.body-lg { font-size: 18px; line-height: 1.7; color: var(--texto); }
.body-lg p { margin: 0; }
.muted { color: var(--texto); }
.bg-preto .muted { color: var(--cinza-claro-texto); }
.quote { margin: 0; padding-left: 20px; border-left: 3px solid var(--azul); font-family: var(--slab); font-weight: 600; font-size: 20px; color: var(--tinta); }
.mono-meta { display: flex; flex-wrap: wrap; gap: 10px 32px; font-family: var(--mono); font-size: 13px; color: var(--cinza-mono); }

/* Conteúdo a preencher (remover quando entrar o dado real) */
.fill { font-family: var(--mono); font-size: .92em; background: #FFF4D6; color: #5C4200; padding: 0 4px; border-radius: 3px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 4px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-white { background: #FFFFFF; color: var(--preto); }
.btn-white:hover { background: var(--azul-gelo); color: var(--preto); }
.btn-outline { border-color: rgba(255,255,255,.4); color: #FFFFFF; font-weight: 500; background: transparent; }
.btn-outline:hover { border-color: #FFFFFF; color: #FFFFFF; }
.btn-azul { background: var(--azul); color: #FFFFFF; }
.btn-azul:hover { background: var(--azul-escuro); color: #FFFFFF; }
.btn-outline-azul { border-color: var(--azul); color: var(--azul); background: transparent; }
.btn-outline-azul:hover { background: var(--azul-tag); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Cabeçalho ---------- */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--linha); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand .simbolo { height: 52px; width: auto; }
.brand .wordmark { height: 26px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav a { color: #2B2F3A; text-decoration: none; }
.nav a:hover { color: var(--azul); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; color: #FFFFFF; }
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .brand .simbolo { height: 44px; }
  .brand .wordmark { height: 22px; }
}
@media (max-width: 400px) {
  .brand .wordmark { display: none; }
}

/* Cabeçalho mínimo (landing e formulário) */
.header-min .wrap { justify-content: space-between; }
.header-min .nav a:not(.btn) { display: inline; }

/* ---------- Hero ---------- */
.hero .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-copy .lead { max-width: 620px; }
.hero-art { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 420px; }
@media (max-width: 640px) {
  .hero .wrap { padding-top: 64px; padding-bottom: 64px; gap: 40px; }
  .hero-art img { max-width: 260px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
}

/* ---------- Cartões e grades ---------- */
.grid { display: grid; gap: 16px; }
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-250 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.grid-280 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.grid-150 { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; }

.pain { background: #FFFFFF; border-radius: 6px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.pain .n { font-family: var(--slab); font-weight: 800; font-size: 15px; color: var(--azul); }
.pain p { margin: 0; font-size: 18px; line-height: 1.5; }

.pillar { border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: #FFFFFF; color: var(--tinta); }
.pillar .n { font-family: var(--slab); font-weight: 800; font-size: 44px; color: var(--azul); line-height: 1; }
.pillar p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--texto); }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 32px; border-top: 1px solid var(--linha); }
.service { padding: 28px 0; border-bottom: 1px solid var(--linha); display: flex; gap: 18px; }
.service svg { flex-shrink: 0; }
.service h3 { margin: 0; font-family: var(--slab); font-weight: 800; font-size: 19px; }
.service p { margin: 6px 0 0; font-size: 16px; line-height: 1.55; color: var(--texto); }

.steps-line { margin: 0; padding: 0; list-style: none; }
.steps-line li { border-top: 3px solid var(--azul-claro); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.steps-line .tag { font-family: var(--mono); font-size: 13px; color: var(--cinza-mono); }
.steps-line h3 { margin: 0; font-family: var(--slab); font-weight: 800; font-size: 22px; }
.steps-line p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--cinza-claro-texto); }
.bg-white .steps-line li, .bg-fundo .steps-line li { border-top-color: var(--azul); }
.bg-white .steps-line p, .bg-fundo .steps-line p { color: var(--texto); }
.bg-white .steps-line .tag, .bg-fundo .steps-line .tag { color: var(--texto-suave); }

.case { background: #FFFFFF; border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 18px; border-top: 4px solid var(--azul); }
.case .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case .tag { font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 3px; background: var(--azul-tag); color: var(--azul-escuro); }
.case .tag + .tag { background: #EDEDEF; color: #2B2F3A; }
.case .num { font-family: var(--slab); font-weight: 800; font-size: clamp(40px, 4vw, 54px); line-height: 1; color: var(--azul); overflow-wrap: anywhere; }
.case .metric { margin: 0; font-weight: 600; font-size: 17px; }
.case .story { margin: 0; font-size: 15px; line-height: 1.6; color: var(--texto); }
.case .who { margin: 0; padding-top: 14px; border-top: 1px solid var(--linha); font-family: var(--mono); font-size: 13px; color: var(--texto-suave); }
.logo-slot { height: 72px; border: 1px dashed #A9AFC0; border-radius: 4px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; color: #5A6070; }

.founder .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.photo { flex: 1 1 340px; min-width: 0; aspect-ratio: 4 / 5; max-width: 440px; border-radius: 6px; overflow: hidden; background: var(--fundo); border: 1px dashed #A9AFC0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: #5A6070; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-top: 8px; }
.stats div { display: flex; flex-direction: column; gap: 4px; }
.stats b { font-family: var(--slab); font-weight: 800; font-size: 36px; color: var(--azul); }
.stats span { font-size: 14px; color: var(--texto-suave); }

.check { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); cursor: pointer; font-size: 17px; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: #FFFFFF; flex-shrink: 0; }
.check-result { min-height: 1.6em; font-size: 17px; color: #FFFFFF; }

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); padding: 22px 0; }
.faq summary { font-family: var(--slab); font-weight: 600; font-size: 19px; display: flex; justify-content: space-between; gap: 16px; min-height: 28px; }
.faq summary span { color: var(--azul); transition: transform .15s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: var(--texto); max-width: 68ch; }

.cta-steps { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.cta-steps li { display: flex; gap: 16px; align-items: baseline; }
.cta-steps b { font-family: var(--slab); font-weight: 800; font-size: 15px; color: var(--azul-claro); }
.cta-steps span { font-size: 16px; line-height: 1.5; color: #DDE0E8; }
.cta-card { flex: 999 1 520px; min-width: 0; background: #FFFFFF; color: var(--tinta); border-radius: 8px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.cta-card .fine { margin: 0; font-size: 13px; line-height: 1.5; color: var(--texto-suave); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--preto); color: #FFFFFF; border-top: 1px solid var(--linha-escura); }
.footer-top { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-top > div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; min-width: 0; }
.footer-top .eyebrow { font-size: 12px; letter-spacing: .12em; color: var(--cinza-mono); }
.footer-top a { color: #DDE0E8; text-decoration: none; }
.footer-top a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-bottom { padding-top: 20px; padding-bottom: 40px; border-top: 1px solid var(--linha-escura); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--cinza-mono); }
.footer-bottom a { color: var(--cinza-mono); }

/* Página de texto (privacidade) */
.prose { max-width: 70ch; font-size: 17px; line-height: 1.7; color: var(--texto); }
.prose h2 { font-family: var(--slab); font-weight: 800; font-size: 24px; color: var(--tinta); margin: 40px 0 10px; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 1.2em; }

/* Aviso de cookies (LGPD) */
.cookie-aviso { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 640px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 18px; background: var(--preto); color: #E3E6EE; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 14px; line-height: 1.5; }
.cookie-aviso p { flex: 1 1 280px; margin: 0; }
.cookie-aviso a { color: #FFFFFF; }
.cookie-botoes { display: flex; gap: 10px; flex: none; }
.cookie-btn { min-height: 40px; padding: 0 18px; border-radius: 4px; font-size: 14px; font-weight: 600; cursor: pointer; }
.cookie-recusar { background: transparent; color: #FFFFFF; border: 1px solid rgba(255,255,255,.5); }
.cookie-recusar:hover { border-color: #FFFFFF; }
.cookie-aceitar { background: #FFFFFF; color: var(--preto); border: 1px solid #FFFFFF; }
.cookie-aceitar:hover { background: #DDE0E8; }
@media (max-width: 480px) { .cookie-aviso { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; gap: 8px 12px; font-size: 12px; line-height: 1.4; } .cookie-aviso p { flex-basis: 100%; } .cookie-botoes { width: 100%; } .cookie-btn { flex: 1; min-height: 36px; } }
