/* ============ UGUIDE — DESIGN SYSTEM (LIGHT / BRAND OFFICIAL) ============ */
/* Baseado em: brand-docs/Uguide Brand Final.html */

:root {
  /* Canvas & surfaces */
  --bg-0: #F4F2EE;           /* canvas principal */
  --bg-1: #FFFFFF;           /* cards, superfícies elevadas */
  --bg-2: #FAF8F4;           /* superfícies alternadas */
  --bg-tinted: #EFEBE3;      /* seções destacadas */

  /* Lines & borders */
  --line: #DEDAD2;
  --line-soft: #E8E4DA;
  --line-strong: #C9C3B7;

  /* Text */
  --ink: #0F0F14;            /* texto principal */
  --ink-soft: #5A5560;       /* texto secundário */
  --ink-muted: #8A8590;      /* meta, timestamps */

  /* Brand purples */
  --purple-deep: #4A1856;
  --purple: #7B2A9E;         /* principal */
  --purple-vivid: #8B2FB0;
  --purple-light: #B44FD9;
  --purple-glow: rgba(123, 42, 158, 0.18);
  --purple-soft: #F3EBF7;    /* pastel / backgrounds tag */

  /* Gradient oficial (baixo-esq → cima-dir) */
  --grad-brand: linear-gradient(45deg, #0F0F14 0%, #4A1856 45%, #8B2FB0 100%);

  /* Legacy aliases — mapeia nomes antigos do dark-mode para tokens novos light */
  --text-0: var(--ink);
  --text-1: var(--ink-soft);
  --text-2: var(--ink-muted);
  --purple-500: var(--purple);
  --purple-400: var(--purple-vivid);
  --purple-300: var(--purple-light);
  --violet-soft: var(--purple-soft);
  --line-strong: #C9C3B7;

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 15, 20, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 15, 20, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 15, 20, 0.08);
  --shadow-glow: 0 8px 32px rgba(123, 42, 158, 0.2);
  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: 'Barlow', -apple-system, system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  font-family: 'Space Grotesk', ui-monospace, monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--purple);
}

h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter Tight', sans-serif;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-weight: 600;
}
h1 { font-size: clamp(44px, 6vw, 88px); font-weight: 300; letter-spacing: -0.035em; }
h1 b, h1 strong { font-weight: 700; }
h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 400; letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }

p {
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 16px;
  font-family: 'Barlow', sans-serif;
}
.lead { font-size: 19px; color: var(--ink-soft); max-width: 640px; line-height: 1.55; }

.text-purple { color: var(--purple); }
.text-grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 242, 238, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.78; }
.logo-img {
  height: 64px;
  width: auto;
  display: block;
}
.logo-img-lg { height: 72px; }
@media (max-width: 900px) {
  .logo-img { height: 46px; }
}
.nav-links {
  display: flex;
  gap: 36px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--purple); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--purple-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.btn-purple {
  background: var(--purple);
  color: #fff;
}
.btn-purple:hover {
  background: var(--purple-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--bg-1);
}
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: end;
}
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero-title { margin-bottom: 28px; }
.hero-title em {
  font-style: normal;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead { margin-bottom: 40px; max-width: 540px; font-size: 20px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ Hero visual — Painel operacional UGD.OS ============ */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-md);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 90%);
}
.hero-visual::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -30%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Header do painel */
.hero-panel-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.hero-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', monospace;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.hero-panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(123,42,158,0.15);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero-panel-ver {
  color: var(--ink-muted);
  font-weight: 500;
  margin-left: 4px;
}
.hero-panel-status {
  font-family: 'Space Grotesk', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--purple);
  font-weight: 600;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.55; transform: scale(0.85); }
}

/* KPIs (grid 2x2) */
.hero-kpis {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-kpi {
  background: var(--bg-1);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-kpi-value {
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hero-kpi-unit {
  font-size: 0.55em;
  color: var(--purple);
  font-weight: 500;
  margin-left: 2px;
}
.hero-kpi-label {
  font-family: 'Space Grotesk', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  text-transform: uppercase;
  line-height: 1.3;
}

/* Diagrama de método */
.hero-flow {
  position: relative;
  z-index: 2;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-1);
}
.hero-flow-title {
  font-family: 'Space Grotesk', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.hero-flow-track {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 6px;
}
.hero-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.hero-flow-idx {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--ink-muted);
  font-family: 'Space Grotesk', monospace;
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
  letter-spacing: 0.05em;
  transition: all .3s ease;
}
.hero-flow-label {
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  text-align: center;
  white-space: nowrap;
}
.hero-flow-node.active .hero-flow-idx {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  box-shadow: 0 0 0 4px var(--purple-soft);
}
.hero-flow-node.active .hero-flow-label { color: var(--purple-deep); font-weight: 500; }
.hero-flow-line {
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 4px, transparent 4px 8px);
}

/* Footer do painel */
.hero-panel-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: 'Space Grotesk', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-top: auto;
}
.hero-panel-foot-mid {
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  text-align: center;
}

/* Watermark de logo */
.hero-brand-watermark {
  position: absolute;
  bottom: -18px;
  right: -22px;
  width: 140px;
  height: 140px;
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-panel-foot-mid { display: none; }
  .hero-flow-label { font-size: 9px; }
}

/* ============ KEYWORDS MARQUEE ============ */
.hero-b-marquee {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.hero-b-marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll-x 40s linear infinite;
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  color: var(--ink-muted);
  font-weight: 300;
  align-items: center;
}
.hero-b-marquee-track span {
  color: var(--purple);
  font-weight: 500;
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ STATS BAR ============ */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
  background: var(--bg-1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-num sup {
  color: var(--purple);
  font-size: 0.45em;
  margin-right: 4px;
  vertical-align: super;
  font-weight: 500;
}
.stat-label {
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============ SECTION ============ */
.section { padding: 120px 0; position: relative; }
.section-header { max-width: 720px; margin-bottom: 64px; }
.section-header .eyebrow { margin-bottom: 20px; }
.section-header p { margin-top: 24px; }

.section-alt {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--bg-1);
  padding: 44px;
  transition: background 0.3s;
  cursor: pointer;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.service-card:hover { background: var(--bg-2); }

/* ============ Family Grid (Consultoria + Serviços de TI + Educacional) ============ */
.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
.family-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.family-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.family-head {
  padding: 32px 28px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.family-head::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 65%);
  pointer-events: none;
}
.family-tag {
  position: relative;
  display: inline-block;
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 14px;
}
.family-head h3 {
  position: relative;
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ink);
}
.family-head p {
  position: relative;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
  max-width: 92%;
}
.family-col-alt .family-head {
  background: var(--bg-tinted);
  border-color: var(--line-strong);
}
.family-services {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.family-services .service-card {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}
.family-services .service-card h3 {
  font-family: 'Sora', sans-serif;
}
.family-cta-card {
  background: var(--purple-soft) !important;
  border-color: var(--purple-light) !important;
}
.family-cta-card .service-num { color: var(--purple-deep); }

/* Coluna Educacional (mais lúdica) */
.family-col-edu .family-head-edu {
  background:
    linear-gradient(160deg, #FFE9DE 0%, #FFF5EE 55%, var(--bg-1) 100%);
  border-color: #F0C9B5;
}
.family-head-edu::before {
  background: radial-gradient(circle, rgba(228, 96, 33, 0.18) 0%, transparent 65%) !important;
}
.family-head-edu .family-tag { color: #C74910; }
.family-head-edu h3 { color: #6B2D0D; }
.family-head-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  background: #FFFFFF;
  border: 1px solid #F0C9B5;
  border-radius: 999px;
  font-family: 'Space Grotesk', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #C74910;
  font-weight: 600;
}
.family-head-badge .badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #E46021;
  animation: pulse 2.4s ease-in-out infinite;
}
.family-col-edu .service-card:hover {
  border-color: #F0C9B5;
  background: linear-gradient(180deg, #FFF5EE, var(--bg-1));
}
.family-col-edu .service-num { color: #C74910; }
.family-col-edu .family-cta-card {
  background: #FFE9DE !important;
  border-color: #F0C9B5 !important;
}
.family-col-edu .family-cta-card .service-num { color: #6B2D0D; }

@media (max-width: 1100px) {
  .family-grid-3 { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .family-grid { grid-template-columns: 1fr; gap: 32px; }
}
.service-num {
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  color: var(--purple);
  margin-bottom: 40px;
  letter-spacing: 0.15em;
  font-weight: 500;
}
.service-card h3 { margin-bottom: 14px; color: var(--ink); }
.service-card p { color: var(--ink-soft); margin-bottom: auto; }
.service-arrow {
  margin-top: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: all 0.3s;
  color: var(--ink);
  font-size: 16px;
}
.service-card:hover .service-arrow {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: rotate(-45deg);
}

/* ============ METHODOLOGY ============ */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.method-step {
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-1);
  position: relative;
  transition: all 0.2s;
}
.method-step:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow-md);
}
.method-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  color: var(--purple);
  margin-bottom: 40px;
  letter-spacing: 0.15em;
  font-weight: 500;
}
.method-step h3 { font-size: 22px; margin-bottom: 12px; color: var(--ink); }
.method-step p { font-size: 14px; color: var(--ink-soft); }
.method-connector {
  position: absolute;
  right: -14px;
  top: 42px;
  color: var(--purple-light);
  font-size: 14px;
  z-index: 2;
  background: var(--bg-0);
  padding: 0 4px;
}
.method-step:last-child .method-connector { display: none; }

/* ============ CASES ============ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px;
  background: var(--bg-1);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-light);
  box-shadow: var(--shadow-lg);
}
.case-tag {
  font-family: 'Space Grotesk', monospace;
  font-size: 10px;
  color: var(--purple);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--purple-soft);
  align-self: flex-start;
  font-weight: 500;
  text-transform: uppercase;
}
.case-quote {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 32px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.case-metric {
  font-family: 'Sora', sans-serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.case-metric-label {
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.case-divider { height: 1px; background: var(--line); margin: 28px 0; }
.case-client { font-size: 14px; color: var(--ink); font-weight: 500; }
.case-client-role {
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* ============ CERTIFICATIONS ============ */
.certs {
  padding: 100px 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.certs-header { text-align: center; margin-bottom: 56px; }
.certs-header .eyebrow { justify-content: center; }
.certs-header .eyebrow::before,
.certs-header .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--purple);
}
.certs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.cert-badge {
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 16px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-align: center;
  background: var(--bg-0);
  transition: all 0.2s;
}
.cert-badge:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}
.cert-badge small {
  display: block;
  font-family: 'Space Grotesk', monospace;
  font-size: 9px;
  color: var(--ink-muted);
  margin-top: 6px;
  letter-spacing: 0.15em;
  font-weight: 400;
}

/* ============ ABOUT PREVIEW ============ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--grad-brand);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
}
.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-visual-year {
  position: relative;
  font-family: 'Sora', sans-serif;
  font-size: clamp(140px, 20vw, 240px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #fff;
}
.about-visual-year sup {
  color: var(--purple-light);
  font-size: 0.35em;
  vertical-align: super;
}
.about-visual-label {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.15em;
}
.about-visual .hero-brand-mark {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 56px;
  height: 56px;
}

.about-copy h2 { margin-bottom: 24px; }
.about-copy .lead { margin-bottom: 32px; }
.about-highlights { display: flex; flex-direction: column; gap: 0; margin-bottom: 40px; }
.about-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.about-highlight:last-child { border-bottom: 1px solid var(--line); }
.about-highlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  margin-top: 9px;
  flex-shrink: 0;
}
.about-highlight h4 {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--ink);
}
.about-highlight p { font-size: 14px; color: var(--ink-soft); }

/* ============ CTA STRIP ============ */
.cta-strip {
  padding: 100px 0;
  background: var(--grad-brand);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip .eyebrow { color: var(--purple-light); justify-content: center; display: inline-flex; margin-bottom: 24px; }
.cta-strip .eyebrow::before { background: var(--purple-light); }
.cta-strip h2 {
  color: #fff;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.cta-strip .lead { color: rgba(255,255,255,0.8); margin: 0 auto 40px; }
.cta-strip .btn { margin: 0 6px; }
.cta-strip .btn-primary {
  background: #fff;
  color: var(--ink);
}
.cta-strip .btn-primary:hover {
  background: var(--purple-light);
  color: #fff;
}
.cta-strip .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.cta-strip .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ============ FOOTER ============ */
.footer {
  padding: 80px 0 32px;
  background: var(--ink);
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(5, 1fr);
  gap: 36px;
  margin-bottom: 60px;
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
}
.footer-col h4 {
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  transition: color 0.2s;
  font-family: 'Barlow', sans-serif;
}
.footer-col a:hover { color: var(--purple-light); }
.footer-brand p { max-width: 340px; margin-top: 20px; font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-family: 'Space Grotesk', monospace;
  letter-spacing: 0.03em;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--purple-light); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .hero { padding: 60px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { aspect-ratio: 4 / 3; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .method-connector { display: none !important; }
  .cases-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .section { padding: 80px 0; }
  .cta-strip { padding: 70px 0; }
}
