/* =========================================================
   pages.rogpe.tech — Enterprise B2B Vitrine
   Stack: Static HTML + vanilla CSS + JS
   ========================================================= */

:root {
  /* Semantic surface tokens (mapped to brandbook) */
  --bg: #ffffff;
  --bg-soft: var(--plasma-50);
  --bg-deep: var(--cosmos-950);
  --ink: var(--cosmos-900);
  --ink-2: var(--cosmos-700);
  --ink-3: var(--cosmos-500);
  --ink-on-deep: #ffffff;
  --ink-on-deep-2: var(--cosmos-300);
  --line: var(--cosmos-200);
  --line-on-deep: oklch(28% 0.04 285);
  --surface: #ffffff;
  --surface-2: var(--plasma-50);
  --brand: var(--plasma-500);
  --brand-2: var(--plasma-400);
  --brand-deep: var(--plasma-700);
  --brand-deeper: var(--plasma-800);

  /* Status colors */
  --status-live: oklch(58% 0.18 145);
  --status-live-bg: oklch(94% 0.10 145);
  --status-demo: oklch(55% 0.18 240);
  --status-demo-bg: oklch(95% 0.06 240);
  --status-validation: oklch(60% 0.16 75);
  --status-validation-bg: oklch(96% 0.06 75);
  --status-evolution: oklch(55% 0.10 285);
  --status-evolution-bg: var(--plasma-100);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Containers ---------- */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Top nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--plasma-500) 0%, var(--plasma-700) 100%);
  display: inline-grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 14px oklch(52% 0.245 285 / 0.4);
}

.brand-suffix { color: var(--ink-3); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}

.nav-links a {
  transition: color .15s;
  font-weight: 500;
}

.nav-links a:hover { color: var(--brand); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}

.nav-cta:hover {
  background: var(--brand);
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--surface-2);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% 0%, oklch(52% 0.245 285 / 0.10), transparent 70%),
    linear-gradient(180deg, var(--plasma-50) 0%, #ffffff 80%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(52% 0.245 285 / 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(52% 0.245 285 / 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 4px oklch(52% 0.245 285 / 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero h1 em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.hero-lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s;
}

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 8px 24px oklch(52% 0.245 285 / 0.32);
}

.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px oklch(52% 0.245 285 / 0.40);
}

.btn-ghost {
  background: rgba(255,255,255,0.7);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: white;
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.btn-outline:hover { background: var(--brand); color: white; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  transition: gap .2s, color .2s;
}

.btn-link:hover { gap: 10px; color: var(--brand-deep); }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero-meta-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.hero-meta-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Hero visual — floating product chips */
.hero-visual {
  position: relative;
  height: 480px;
}

.float-card {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 18px 40px -12px oklch(15% 0.02 285 / 0.18), 0 6px 16px -4px oklch(15% 0.02 285 / 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  animation: float 6s ease-in-out infinite;
}

.float-card .fc-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.float-card .fc-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.float-card .fc-desc {
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.float-card:nth-child(1) { top: 8%; left: 0%; animation-delay: 0s; }
.float-card:nth-child(2) { top: 28%; right: 4%; animation-delay: -2s; }
.float-card:nth-child(3) { top: 52%; left: 14%; animation-delay: -4s; }
.float-card:nth-child(4) { top: 74%; right: 8%; animation-delay: -1s; }
.float-card:nth-child(5) { top: 12%; right: 30%; animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .float-card, .hero-eyebrow::before { animation: none; }
}

/* ---------- Section base ---------- */

.section {
  padding: 96px 0;
  position: relative;
}

.section--soft { background: var(--surface-2); }
.section--deep {
  background: var(--bg-deep);
  color: var(--ink-on-deep);
}
.section--deep .section-title { color: white; }
.section--deep .section-sub { color: var(--ink-on-deep-2); }
.section--deep .eyebrow { color: var(--brand-2); }

.section-header {
  margin-bottom: 56px;
  max-width: 760px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-title em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}

.section-sub {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 620px;
}

/* ---------- "O que entregamos" — capabilities ---------- */

.caps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.cap {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.cap:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 16px 32px -12px oklch(52% 0.245 285 / 0.18);
}

.cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--plasma-100);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.cap-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.cap-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ---------- Product cards grid ---------- */

.products-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.chip {
  padding: 9px 18px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  transition: all .15s;
}

.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.chip.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 22px;
}

.pcard {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s;
}

.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px oklch(15% 0.02 285 / 0.16), 0 8px 16px -4px oklch(15% 0.02 285 / 0.08);
  border-color: var(--brand);
}

.pcard-head {
  position: relative;
  padding: 22px;
  min-height: 120px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pcard-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pcard-mark {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 16px;
}

.pcard-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pcard-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pcard-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.pcard-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

.pcard-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pcard-features li {
  font-size: 12.5px;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.pcard-features li::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 7px;
  flex-shrink: 0;
}

.pcard-ctas {
  margin-top: auto;
  display: flex;
  gap: 8px;
  padding-top: 6px;
}

.pcard-ctas .btn-link,
.pcard-ctas .btn-demo {
  font-size: 12.5px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  transition: all .15s;
}

.btn-detail {
  background: var(--surface-2);
  color: var(--brand-deep);
  flex: 1;
  text-align: center;
}

.btn-detail:hover { background: var(--plasma-100); }

.btn-demo {
  background: var(--ink);
  color: white;
  flex: 1;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-demo:hover { background: var(--brand); }

/* Status badge */

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status--live { background: var(--status-live-bg); color: oklch(28% 0.16 145); }
.status--live::before { background: var(--status-live); }

.status--demo { background: var(--status-demo-bg); color: oklch(30% 0.16 240); }
.status--demo::before { background: var(--status-demo); }

.status--validation { background: var(--status-validation-bg); color: oklch(35% 0.16 75); }
.status--validation::before { background: var(--status-validation); }

.status--evolution { background: var(--status-evolution-bg); color: var(--brand-deeper); }
.status--evolution::before { background: var(--status-evolution); }

/* Product head color variants */
.head-pharmacy   { background: linear-gradient(135deg, oklch(52% 0.18 200) 0%, oklch(30% 0.12 210) 100%); }
.head-holofote   { background: linear-gradient(135deg, oklch(55% 0.22 350) 0%, oklch(32% 0.15 340) 100%); }
.head-lembria    { background: linear-gradient(135deg, oklch(58% 0.22 35) 0%, oklch(35% 0.16 30) 100%); }
.head-blog       { background: linear-gradient(135deg, oklch(50% 0.18 60) 0%, oklch(28% 0.12 50) 100%); }
.head-networking { background: linear-gradient(135deg, oklch(48% 0.18 220) 0%, oklch(26% 0.12 230) 100%); }
.head-crm        { background: linear-gradient(135deg, oklch(48% 0.18 145) 0%, oklch(28% 0.12 145) 100%); }
.head-real       { background: linear-gradient(135deg, oklch(50% 0.16 50) 0%, oklch(28% 0.10 40) 100%); }
.head-tribo      { background: linear-gradient(135deg, oklch(52% 0.18 285) 0%, oklch(30% 0.14 290) 100%); }
.head-bible      { background: linear-gradient(135deg, oklch(35% 0.20 295) 0%, oklch(20% 0.12 295) 100%); }
.head-canapyra   { background: linear-gradient(135deg, oklch(48% 0.18 145) 0%, oklch(28% 0.12 145) 100%); }
.head-admin      { background: linear-gradient(135deg, var(--cosmos-700) 0%, var(--cosmos-900) 100%); }
.head-genai      { background: linear-gradient(135deg, var(--plasma-500) 0%, var(--plasma-800) 100%); }
.head-auth       { background: linear-gradient(135deg, oklch(45% 0.16 260) 0%, oklch(25% 0.10 265) 100%); }
.head-lares      { background: linear-gradient(135deg, oklch(55% 0.18 110) 0%, oklch(30% 0.12 120) 100%); }
.head-viora      { background: linear-gradient(135deg, oklch(60% 0.20 340) 0%, oklch(35% 0.14 330) 100%); }

/* ---------- Detalhe de produto (deep sections) ---------- */

.product-detail {
  scroll-margin-top: 100px;
  border-top: 1px solid var(--line);
  padding: 88px 0;
}

.product-detail:nth-child(even) { background: var(--surface-2); }

.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.pd-lead .eyebrow { color: var(--brand); }

.pd-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.pd-name em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}

.pd-tagline {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pd-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 6px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.pd-cards {
  display: grid;
  gap: 14px;
}

.pd-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.pd-card h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pd-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-card li {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pd-card li::before {
  content: "›";
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.4;
}

.pd-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ---------- GenAI section (deep) ---------- */

.genai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.genai-tile {
  background: linear-gradient(180deg, oklch(20% 0.04 285) 0%, oklch(12% 0.03 285) 100%);
  border: 1px solid var(--line-on-deep);
  border-radius: 16px;
  padding: 22px;
  transition: border-color .2s, transform .2s;
}

.genai-tile:hover {
  border-color: var(--brand-2);
  transform: translateY(-3px);
}

.genai-tile h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.genai-tile p {
  font-size: 14px;
  color: var(--ink-on-deep-2);
  line-height: 1.55;
}

/* ---------- Security / LGPD grid ---------- */

.sec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.sec-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sec-tile h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.sec-tile p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.sec-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--plasma-50);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

/* ---------- Como trabalhamos (timeline) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  position: relative;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}

.step h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ---------- Para quem é (segments) ---------- */

.segments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.segment {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  transition: border-color .2s, transform .2s;
}

.segment:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.segment h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.segment p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ---------- Final CTA ---------- */

.cta-block {
  background: linear-gradient(135deg, var(--cosmos-900) 0%, oklch(20% 0.04 285) 100%);
  color: white;
  border-radius: 28px;
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse at 30% 20%, oklch(52% 0.245 285 / 0.32) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, oklch(45% 0.22 295 / 0.22) 0%, transparent 55%);
  pointer-events: none;
}

.cta-block > * { position: relative; z-index: 2; }

.cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cta-block h2 em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: oklch(80% 0.13 285);
}

.cta-block p {
  font-size: 17px;
  color: oklch(82% 0.006 285);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--cosmos-900);
  color: var(--ink-on-deep-2);
  padding: 64px 0 32px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.foot-brand .brand {
  color: white;
  margin-bottom: 14px;
}

.foot-brand p {
  font-size: 14px;
  color: var(--ink-on-deep-2);
  line-height: 1.55;
  max-width: 320px;
}

.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 14px;
}

.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-col a {
  font-size: 13.5px;
  color: var(--ink-on-deep-2);
  transition: color .15s;
}

.foot-col a:hover { color: var(--brand-2); }

.foot-bottom {
  border-top: 1px solid var(--line-on-deep);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: oklch(55% 0.008 285);
}

.foot-bottom a { color: oklch(70% 0.008 285); transition: color .15s; }
.foot-bottom a:hover { color: var(--brand-2); }

/* ---------- Mobile responsive ---------- */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { height: 360px; }
  .pd-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav.mobile-open .nav-mobile-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 16px 32px 24px;
    gap: 16px;
  }
  .nav.mobile-open .nav-mobile-menu a { font-size: 16px; color: var(--ink); font-weight: 500; }
  .nav-mobile-menu { display: none; }

  .container, .container-narrow { padding: 0 20px; }
  .hero { padding: 64px 0 56px; }
  .hero-inner { padding: 0 20px; }
  .hero h1 { font-size: 40px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 36px; }
  .products-grid { grid-template-columns: 1fr; }

  .product-detail { padding: 64px 0; }
  .cta-block { padding: 56px 24px; border-radius: 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
