/* Page-level styles for EGOS landing ecosystem */

/* ===== Top Nav ===== */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 13, 0.65);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.topnav-scrolled { background: rgba(7,9,13,.85); border-bottom-color: var(--border); }
.topnav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  padding: 14px 24px;
}
.topnav-links {
  display: flex; gap: 28px; flex: 1; margin-left: 16px;
  font-size: 14px;
}
.topnav-links a { color: var(--text-muted); transition: color .15s ease; }
.topnav-links a:hover, .topnav-links a.active { color: var(--text-strong); }
.topnav-cta { display: flex; gap: 10px; }
.topnav-cta .btn { height: 40px; padding: 0 16px; font-size: 14px; }
.topnav-burger { display: none; padding: 8px; color: var(--text-primary); }
.topnav-mobile {
  display: flex; flex-direction: column; gap: 12px;
  padding: 8px 24px 24px;
  border-top: 1px solid var(--border);
  font-size: 16px;
}
.topnav-mobile a { color: var(--text-primary); padding: 10px 0; }

@media (max-width: 900px) {
  .topnav-links, .topnav-cta { display: none; }
  .topnav-burger { display: flex; }
  .topnav-inner { gap: 12px; }
}

/* ===== Trust bar ===== */
.trustbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, .4);
}
.trustbar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 14px 24px;
}
.trustbar-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-muted);
}
.trustbar-ic { color: var(--accent); font-size: 14px; }
@media (max-width: 768px) {
  .trustbar-inner { grid-template-columns: 1fr 1fr; padding: 12px 16px; gap: 12px; }
}

/* ===== Section header ===== */
.sec-head { margin-bottom: var(--sp-12); }
.sec-head-center { text-align: center; }

/* ===== Hero ===== */
.hero {
  padding: clamp(40px, 8vw, 96px) 24px clamp(48px, 8vw, 96px);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero-l > * + * { margin-top: 24px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-display-xl);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  text-wrap: balance;
}
.hero h1 .highlight { color: var(--accent); }
.hero-sub { font-size: 18px; line-height: 1.55; color: var(--text-muted); max-width: 560px; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-fine {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.hero-fine span:not(:last-child)::after {
  content: '·'; margin-left: 14px; color: var(--text-faint);
}

/* ===== Proof Card (key visual on hero + section 1) ===== */
.proof-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px var(--border);
  position: relative;
  overflow: hidden;
}
.proof-card::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .6;
}
.proof-bubble {
  font-size: 14px; line-height: 1.55;
  padding: 12px 14px; border-radius: 12px;
  max-width: 92%;
}
.proof-bubble-user {
  background: var(--bg-raised); border: 1px solid var(--border);
  color: var(--text-primary); align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.proof-bubble-ai {
  background: linear-gradient(180deg, rgba(56,189,248,.08), rgba(56,189,248,.03));
  border: 1px solid rgba(56,189,248,.25);
  color: var(--text-strong); align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.proof-source {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px;
  background: rgba(245,215,110,.10);
  color: var(--accent-warm);
  border: 1px solid rgba(245,215,110,.35);
  padding: 6px 10px; border-radius: var(--r-full);
  align-self: flex-start;
  cursor: pointer; transition: background .2s ease;
}
.proof-source:hover { background: rgba(245,215,110,.18); }
.proof-source-check { color: var(--success); }
.proof-divider {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin: 6px 0 2px;
}
.proof-divider::before, .proof-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.proof-bubble-refusal {
  background: var(--bg-raised); border: 1px dashed var(--border-strong);
  color: var(--text-muted);
  align-self: flex-start;
}

/* ===== Generic section wrappers ===== */
.section-alt { background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-deep { background: linear-gradient(180deg, #060810 0%, #0c1320 100%); }

/* ===== Pillar cards (4) ===== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar {
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.pillar-num {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
  letter-spacing: 0.1em;
}
.pillar h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--text-strong); margin: 0; }
.pillar p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 980px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pillars { grid-template-columns: 1fr; } }

/* ===== Personas ===== */
.personas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.persona {
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  cursor: pointer;
}
.persona-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(56,189,248,.25);
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
}
.persona h3 { font-size: 15px; font-weight: 500; color: var(--text-strong); margin: 0; font-family: var(--font-body); }
.persona p { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin: 0; flex: 1; }
.persona-cta { font-size: 12px; color: var(--accent); font-family: var(--font-mono); margin-top: 4px; }
@media (max-width: 980px) { .personas { grid-template-columns: 1fr 1fr; } }

/* ===== Cases ===== */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.case-tag {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.case-tag-live { color: var(--success); }
.case-tag-anon { color: var(--text-muted); }
.case h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text-strong); margin: 0; }
.case p { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin: 0; flex: 1; }
.case-stats { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--border); }
.case-stat { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.case-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--accent); margin-top: 4px;
}
.case-link:hover { color: var(--accent-glow); text-decoration: underline; }
@media (max-width: 980px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cases { grid-template-columns: 1fr; } }

/* ===== Pricing anchor ===== */
.pricing-anchor {
  padding: 48px 32px;
  text-align: center;
  display: flex; flex-direction: column; gap: 20px; align-items: center;
}
.pricing-from {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--text-strong); font-weight: 600;
  letter-spacing: -0.01em;
}
.pricing-from .accent { color: var(--accent); }
.pricing-seals { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.pricing-seal {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-muted);
}
.pricing-seal::before { content: '✓'; color: var(--success); }

/* ===== Pay after delivery section ===== */
.payafter {
  padding: clamp(48px, 8vw, 96px) 24px;
  background: linear-gradient(180deg, #050a14 0%, #0a1428 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.payafter-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.payafter h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05; font-weight: 600;
  letter-spacing: -0.02em; color: var(--text-strong);
  text-wrap: balance;
}
.payafter h2 .accent { color: var(--accent-warm); }
.payafter-steps { display: flex; flex-direction: column; gap: 18px; }
.payafter-step {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(15,23,42,.5);
}
.payafter-step-num {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display); font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(56,189,248,.3);
}
.payafter-step h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text-strong); margin: 0 0 4px; }
.payafter-step p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
@media (max-width: 900px) { .payafter-inner { grid-template-columns: 1fr; gap: 32px; } }

/* ===== How it works (timeline) ===== */
.howto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.howto::before {
  content: ''; position: absolute; top: 28px; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), var(--border-hover), var(--border-hover), var(--accent-soft));
  z-index: 0;
}
.howto-step { padding: 22px; position: relative; z-index: 1; background: var(--bg-surface); }
.howto-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-deep); border: 1px solid var(--border-hover);
  color: var(--accent); font-family: var(--font-display); font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  margin-bottom: 12px;
}
.howto-step h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text-strong); margin: 0 0 8px; }
.howto-step p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
@media (max-width: 900px) {
  .howto { grid-template-columns: 1fr 1fr; }
  .howto::before { display: none; }
}
@media (max-width: 540px) { .howto { grid-template-columns: 1fr; } }

/* ===== FAQ accordion ===== */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-surface);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item.open { border-color: var(--border-hover); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  text-align: left;
  font-family: var(--font-display); font-size: 17px; font-weight: 500;
  color: var(--text-strong);
}
.faq-q-ic { color: var(--accent); transition: transform .2s ease; flex-shrink: 0; }
.faq-item.open .faq-q-ic { transform: rotate(45deg); }
.faq-a {
  padding: 0 22px 20px;
  font-size: 15px; line-height: 1.6; color: var(--text-muted);
}

/* ===== Partnerships banner ===== */
.partner-banner {
  padding: 48px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.partner-banner h3 { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--text-strong); margin: 0 0 12px; }
.partner-banner p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.partner-banner-cta { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 800px) { .partner-banner { grid-template-columns: 1fr; padding: 32px; } }

/* ===== CTA Final (inline chat) ===== */
.cta-final {
  padding: clamp(48px, 8vw, 96px) 24px;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(56,189,248,.04));
}
.cta-final-h { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 36px; }
.cta-final-inline {
  max-width: 560px; margin: 0 auto;
}
.cta-alt {
  margin-top: 16px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
}
.cta-alt a { color: var(--accent); }

/* ===== Footer ===== */
.egos-footer {
  padding-top: var(--sp-16);
  background: #04060a;
  border-top: 1px solid var(--border);
}
.egos-footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding: 0 24px var(--sp-12);
}
.egos-footer-cols { display: contents; }
.egos-footer-h {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 16px;
}
.egos-footer a {
  display: block; padding: 6px 0;
  color: var(--text-primary); font-size: 14px;
  transition: color .15s ease;
}
.egos-footer a:hover { color: var(--accent); }
.egos-footer-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 14px;
  margin-top: var(--sp-8);
}
.egos-dpo { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--text-primary); }
.egos-dpo a { color: var(--accent); display: inline; padding: 0; }
.egos-foot-fine { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
@media (max-width: 900px) {
  .egos-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .egos-footer-inner { grid-template-columns: 1fr; }
}

/* ===== Stripe placeholder ===== */
.stripe-placeholder {
  width: 100%;
  border-radius: var(--r-md);
  background: repeating-linear-gradient(
    -45deg,
    rgba(56,189,248,.04) 0 14px,
    rgba(56,189,248,.08) 14px 28px
  );
  border: 1px dashed var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ===== Hero responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-r { order: -1; max-width: 480px; }
}

/* ===== Espiral / consent inset ===== */
.espiral-callout {
  padding: 24px 28px;
  background: rgba(245,215,110,.06);
  border: 1px solid rgba(245,215,110,.25);
  border-radius: var(--r-md);
  display: flex; gap: 18px; align-items: flex-start;
}
.espiral-callout-ic {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 8px;
  background: rgba(245,215,110,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-warm);
  border: 1px solid rgba(245,215,110,.3);
}
.espiral-callout h4 { margin: 0 0 6px; color: var(--text-strong); font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.espiral-callout p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }

/* ===== Legal pages (privacy, terms) ===== */
.legal-page { padding: clamp(48px, 8vw, 96px) 24px; }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600; line-height: 1.1;
  color: var(--text-strong); margin: 0 0 12px;
}
.legal-inner .legal-meta {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-muted); margin-bottom: 40px;
}
.legal-inner h2 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 600;
  color: var(--text-strong);
  margin: 48px 0 16px;
}
.legal-inner h3 { font-size: 17px; color: var(--text-strong); margin: 24px 0 8px; }
.legal-inner p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--text-primary); }
.legal-inner ul { padding-left: 22px; margin: 0 0 16px; }
.legal-inner li { margin-bottom: 8px; font-size: 16px; line-height: 1.7; color: var(--text-primary); }
.legal-inner a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(56,189,248,.4); }
.dpo-callout {
  padding: 22px 26px;
  background: rgba(56,189,248,.06);
  border: 1px solid var(--border-hover);
  border-radius: var(--r-md);
  margin: 24px 0 32px;
}
.dpo-callout strong { color: var(--accent); font-family: var(--font-display); font-size: 18px; }

/* ===== Partnerships modalities ===== */
.modalities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.modality {
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.modality.featured { border-color: var(--border-hover); box-shadow: var(--glow-accent); }
.modality-tag {
  position: absolute; top: -10px; left: 24px;
  font-family: var(--font-mono); font-size: 11px;
  background: var(--accent); color: #052331;
  padding: 4px 10px; border-radius: var(--r-full);
  letter-spacing: 0.05em;
}
.modality h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text-strong); margin: 0; }
.modality .price { font-family: var(--font-display); font-size: 26px; color: var(--accent); font-weight: 600; }
.modality ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.modality li {
  font-size: 14px; line-height: 1.5; color: var(--text-muted);
  padding-left: 22px; position: relative;
}
.modality li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: var(--success);
}
.modality li.x::before { content: '✗'; color: var(--text-faint); }
@media (max-width: 900px) { .modalities { grid-template-columns: 1fr; } }


/* =========================================================
   SUB-PAGES — Privacidade · Termos · Parcerias · Sobre-o-Lab
   ========================================================= */

/* Container variant for legal/narrow body content */
.container-narrow { max-width: 760px; margin: 0 auto; }

/* Legal hero (privacidade, termos) */
.legal-hero {
  padding: clamp(56px, 10vw, 96px) 24px clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #07090d 0%, #0a1220 100%);
}
.legal-hero h1 { margin: 14px 0 18px; }
.legal-meta { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* Legal body */
.legal-body { padding: clamp(40px, 7vw, 72px) 24px clamp(56px, 10vw, 96px); }
.legal-body section { margin-bottom: 48px; }
.legal-body section:last-child { margin-bottom: 0; }
.legal-body h2 {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  color: var(--text-strong); margin: 0 0 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.legal-body h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--text-strong); margin: 28px 0 10px; }
.legal-body p { font-size: 15.5px; line-height: 1.72; color: var(--text-primary); margin: 0 0 14px; }
.legal-body ul, .legal-body ol { font-size: 15.5px; line-height: 1.72; color: var(--text-primary); margin: 0 0 14px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body strong { color: var(--text-strong); font-weight: 600; }
.legal-body a { color: var(--accent); border-bottom: 1px solid rgba(56,189,248,.3); }
.legal-body a:hover { border-bottom-color: var(--accent); }

.muted-note {
  font-family: var(--font-mono); font-size: 13px; line-height: 1.65;
  color: var(--text-muted); margin-top: 14px !important;
  padding: 12px 14px; background: rgba(56,189,248,.06);
  border-left: 2px solid var(--accent); border-radius: 4px;
}

/* DPO highlight box */
.dpo-box {
  padding: 28px 32px; margin-bottom: 48px;
  background: linear-gradient(135deg, rgba(56,189,248,.08), rgba(34,211,238,.04));
  border: 1px solid rgba(56,189,248,.4); border-radius: var(--r-lg);
  position: relative;
}
.dpo-box-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 8px; }
.dpo-box-name { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--text-strong); margin-bottom: 6px; }
.dpo-box-mail { font-family: var(--font-mono); font-size: 16px; color: var(--accent); display: inline-block; margin-bottom: 12px; }
.dpo-box-desc { font-size: 14px !important; color: var(--text-muted) !important; margin: 0 !important; }

/* Legal table */
.legal-table { width: 100%; border-collapse: collapse; margin: 14px 0 8px; font-size: 14px; }
.legal-table th, .legal-table td {
  padding: 10px 14px; text-align: left;
  border: 1px solid var(--border); vertical-align: top;
}
.legal-table th { background: var(--bg-surface); color: var(--text-strong); font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; }
.legal-table td { color: var(--text-primary); line-height: 1.55; }

.rights-list { font-family: var(--font-mono); font-size: 14px; }
.version-list { list-style: none !important; padding-left: 0 !important; }
.version-list li { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border); }
.version-list li:last-child { border-bottom: none; }

/* Generic page-hero (parcerias, lab) */
.page-hero {
  padding: clamp(56px, 10vw, 96px) 24px clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #07090d 0%, #0a1220 100%);
}
.page-hero h1 { margin: 14px 0 18px; max-width: 880px; }

/* Parcerias — programs grid */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program {
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  background: var(--bg-surface);
}
.program-tag {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 4px 10px; border-radius: 999px;
}
.program-tag-ok { color: var(--success); background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.3); }
.program-tag-soon { color: var(--accent-warm); background: rgba(245,215,110,.1); border: 1px solid rgba(245,215,110,.3); }
.program h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--text-strong); margin: 0; }
.program-sub { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-top: -8px; }
.program p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.program-list-h { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; }
.program-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.55; }
.program-list li { padding-left: 20px; position: relative; color: var(--text-primary); }
.program-list.ok li::before { content: '✓'; color: var(--success); position: absolute; left: 0; font-weight: 600; }
.program-list.ko li::before { content: '×'; color: var(--text-dim); position: absolute; left: 0; font-weight: 600; }
@media (max-width: 900px) { .programs { grid-template-columns: 1fr; } }

/* Criteria */
.criteria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.criteria-card { padding: 24px; }
.criteria-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-strong); margin: 0 0 8px; }
.criteria-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }
@media (max-width: 700px) { .criteria { grid-template-columns: 1fr; } }

/* Timeline (parcerias 4 etapas) */
.timeline { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin: 0 auto; }
.timeline-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 24px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--bg-surface);
}
.timeline-num {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%; background: var(--bg-deep);
  border: 1px solid var(--border-hover); color: var(--accent);
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  display: grid; place-items: center;
}
.timeline-item h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text-strong); margin: 4px 0 6px; }
.timeline-item p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* Lab — milestones */
.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.milestone {
  padding: 24px; background: var(--bg-surface);
  border: 1px solid var(--border); border-radius: var(--r-md);
}
.milestone-date { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 10px; letter-spacing: 0.04em; }
.milestone h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text-strong); margin: 0 0 8px; }
.milestone p { font-size: 13.5px; line-height: 1.55; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .milestones { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .milestones { grid-template-columns: 1fr; } }

/* Stack grid */
.stack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 920px; margin: 0 auto; }
.stack-card { padding: 24px; }
.stack-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-strong); margin: 0 0 8px; }
.stack-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 0; }
@media (max-width: 700px) { .stack-grid { grid-template-columns: 1fr; } }

/* OSS list */
.oss-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; margin: 14px 0 0; }
.oss-list li { padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-surface); font-size: 15px; line-height: 1.55; }

/* Espiral callout (used on home, but also valid for legal cross-link) */
.espiral-callout {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px;
  padding: 22px 26px;
  background: rgba(56,189,248,.05);
  border: 1px solid rgba(56,189,248,.25); border-radius: var(--r-lg);
}
.espiral-callout-ic {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(56,189,248,.1); color: var(--accent);
  display: grid; place-items: center;
}
.espiral-callout h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text-strong); margin: 0 0 6px; }
.espiral-callout p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* ===================================================
   MOBILE AUDIT — 480px phone portrait + hero variants
   =================================================== */

/* Hero centered variant */
.hero-centered .hero-inner { grid-template-columns: 1fr; text-align: center; max-width: 760px; margin: 0 auto; }
.hero-centered .hero-l { align-items: center; display: flex; flex-direction: column; }
.hero-centered .hero-sub { margin: 0 auto; }
.hero-centered .hero-ctas { justify-content: center; }
.hero-centered .hero-fine { justify-content: center; }
.hero-centered .hero-r { display: none; }

/* Personas: single col at 480px */
@media (max-width: 480px) {
  .personas { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .hero-fine { flex-direction: column; gap: 6px; }
  .hero-fine span::before { display: none; }
  .partner-banner { padding: 24px; }
  .payafter-inner { gap: 24px; }
  .payafter-step-num { width: 32px; height: 32px; font-size: 15px; }
  .legal-table { font-size: 12px; }
  .legal-table th, .legal-table td { padding: 7px 8px; }
  .dpo-box { padding: 20px; }
  .dpo-box-name { font-size: 22px; }
  .programs { grid-template-columns: 1fr; }
  .criteria { grid-template-columns: 1fr; }
  .milestones { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
}

/* Touch-target enforcement — all interactive elements ≥44px */
@media (max-width: 768px) {
  .btn { min-height: 44px; }
  .faq-q { min-height: 52px; }
  .cw-launcher { width: 56px !important; height: 56px !important; bottom: 16px !important; right: 16px !important; }
}

/* Cookie banner mobile */
@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
