/* =========================================================
   StronIT · Design System
   ========================================================= */

:root {
  /* Colors — base */
  --bg-light: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-dark: #0A1224;
  --bg-dark-2: #0F1A33;
  --bg-dark-3: #14213D;

  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-light-muted: #94A3B8;

  /* Brand */
  --brand: #1E40AF;
  --brand-hover: #1E3A8A;
  --brand-light: #DBEAFE;
  --accent: #06B6D4;
  --accent-bright: #22D3EE;

  --secure: #10B981;
  --secure-light: #D1FAE5;
  --warning: #F59E0B;
  --warning-light: #FEF3C7;

  /* Emergency — Estou sob ataque */
  --danger: #DC2626;
  --danger-bright: #EF4444;
  --danger-glow: rgba(239, 68, 68, 0.4);

  /* Borders / Surfaces */
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-dark: #1E293B;
  --border-dark-2: #334155;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 8px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 32px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 0 4px rgba(30, 64, 175, 0.12);

  /* Radii */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Type scale */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;
  --fs-7xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Container */
  --container: 1200px;
  --container-narrow: 920px;

  /* Animations */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 400ms;
}

/* =========================================================
   Reset
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brand); color: white; }

/* =========================================================
   Layout helpers
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-narrow { max-width: var(--container-narrow); }

.section { padding: var(--space-24) 0; }
.section-sm { padding: var(--space-16) 0; }
.section-lg { padding: var(--space-32) 0; }
@media (max-width: 768px) {
  .section { padding: var(--space-16) 0; }
  .section-sm { padding: var(--space-12) 0; }
  .section-lg { padding: var(--space-20) 0; }
}

.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--text-light); }
.section-dark p { color: var(--text-light-muted); }

.section-subtle { background: var(--bg-subtle); }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
}
.section-dark .eyebrow { color: var(--accent-bright); }
.section-dark .eyebrow::before { background: var(--accent-bright); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-16);
}
.section-header .eyebrow { justify-content: center; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--space-4);
}
.section-header p {
  font-size: var(--fs-lg);
  color: var(--text-muted);
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: var(--fs-base);
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}
.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.35);
}
.btn-secondary {
  background: white;
  color: var(--text-dark);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
}
.btn-danger {
  background: var(--danger);
  color: white;
  box-shadow: 0 4px 12px var(--danger-glow);
}
.btn-danger:hover {
  background: var(--danger-bright);
  box-shadow: 0 8px 24px var(--danger-glow);
}
.btn-lg { padding: 1.125rem 2rem; font-size: var(--fs-lg); }
.btn-sm { padding: 0.5rem 1rem; font-size: var(--fs-sm); }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--brand);
  font-weight: 600;
  transition: gap var(--t-base) var(--ease);
}
.link-arrow:hover { gap: var(--space-3); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease); }
.link-arrow:hover svg { transform: translateX(2px); }
.section-dark .link-arrow { color: var(--accent-bright); }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--t-base) var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-8);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  height: 38px;
  width: auto;
  display: block;
}
.site-footer .brand img { height: 44px; }
@media (max-width: 480px) { .brand img { height: 32px; } }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-7, 1.75rem);
}
.nav-item { position: relative; }
.nav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-dark);
  padding: var(--space-2) 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.nav-link:hover { color: var(--brand); }
.nav-link[aria-current="page"] { color: var(--brand); }
.nav-link svg { width: 14px; height: 14px; opacity: 0.6; }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  min-width: 320px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--t-base) var(--ease);
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius);
  transition: background var(--t-fast);
}
.dropdown-item:hover { background: var(--bg-subtle); }
.dropdown-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--bg-subtle);
  color: var(--brand);
  flex-shrink: 0;
}
.dropdown-icon svg { width: 18px; height: 18px; }
.dropdown-title { font-weight: 600; font-size: var(--fs-sm); color: var(--text-dark); margin-bottom: 2px; }
.dropdown-desc { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.4; }

.header-cta {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

/* =========================================================
   Language Switcher PT | EN (compacto, no header)
   ========================================================= */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.lang-switcher a {
  display: inline-block;
  padding: 0.5rem 0.625rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--t-fast);
  line-height: 1;
}
.lang-switcher a:hover { background: var(--bg-subtle); color: var(--brand); }
.lang-switcher a[aria-current="true"] {
  background: var(--brand);
  color: white;
}
.lang-switcher a + a { border-left: 1px solid var(--border); }

@media (max-width: 768px) {
  .lang-switcher { order: -1; }
}

.btn-client-area {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: white;
  color: var(--brand);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
}
.btn-client-area:hover {
  background: var(--brand-light);
  color: var(--brand-hover);
  border-color: var(--brand);
  transform: translateY(-1px);
}
.btn-client-area svg { color: var(--brand); }

/* NPS Hero stat — destacar */
.hero-stat-num[data-suffix="/10"] {
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Clients wall — grade de logos placeholder */
.clients-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}
@media (max-width: 1024px) { .clients-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .clients-wall { grid-template-columns: repeat(2, 1fr); } }

.client-logo-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-2);
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
  min-height: 120px;
}
.client-logo-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
}
.client-logo-mark {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: white;
  border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
}
.client-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}
.client-site {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

/* NPS Banner — peça-chave de marketing */
.nps-banner {
  background: linear-gradient(135deg, #F59E0B 0%, #FCD34D 100%);
  padding: var(--space-16) 0;
  text-align: center;
  color: #422006;
  position: relative;
  overflow: hidden;
}
.nps-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.2) 0%, transparent 70%);
}
.nps-banner-inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; }
.nps-score {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-2);
}
.nps-score-suffix {
  font-size: 0.4em;
  vertical-align: top;
  margin-left: 0.2em;
  opacity: 0.7;
}
.nps-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-4);
  color: #422006;
}
.nps-banner p {
  font-size: var(--fs-lg);
  color: #5C3A0E;
  max-width: 640px;
  margin: 0 auto;
}
.nps-stars {
  display: inline-flex;
  gap: 4px;
  margin-bottom: var(--space-4);
}
.nps-stars svg { width: 20px; height: 20px; fill: #422006; }

.btn-attack {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--danger);
  color: white;
  font-weight: 700;
  font-size: var(--fs-sm);
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  border: none;
  box-shadow: 0 4px 12px var(--danger-glow);
  position: relative;
  overflow: hidden;
}
.btn-attack::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--danger-bright);
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity var(--t-base);
}
.btn-attack:hover::before { opacity: 1; }
.btn-attack > * { position: relative; z-index: 1; }
.btn-attack .pulse-dot {
  width: 8px; height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.menu-toggle svg { width: 20px; height: 20px; margin: 0 auto; }

@media (max-width: 1024px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: white; padding: var(--space-6);
    box-shadow: var(--shadow-lg); align-items: stretch; }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; align-items: stretch; }
  .nav-item { border-bottom: 1px solid var(--border); }
  .nav-link { padding: var(--space-4) 0; font-size: var(--fs-base); justify-content: space-between; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 var(--space-3) var(--space-4);
    min-width: 100%; }
  .header-cta { flex-direction: column; align-items: stretch; gap: var(--space-2); margin-top: var(--space-4); }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  background: var(--bg-dark);
  color: white;
  padding: var(--space-24) 0 var(--space-32);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(30, 64, 175, 0.25) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  font-size: var(--fs-sm);
  color: var(--accent-bright);
  font-weight: 500;
  margin-bottom: var(--space-6);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
  color: white;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-light-muted);
  max-width: 640px;
  margin: 0 auto var(--space-10);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-8);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
}
.hero-stat-num {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  background: linear-gradient(135deg, white 0%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.hero-stat-label {
  font-size: var(--fs-sm);
  color: var(--text-light-muted);
}
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* =========================================================
   Trust / Logos bar
   ========================================================= */

.logos-bar {
  padding: var(--space-12) 0;
  background: white;
  border-bottom: 1px solid var(--border);
}
.logos-bar-label {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-6);
  align-items: center;
  opacity: 0.65;
}
.logo-item {
  height: 40px;
  display: grid;
  place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding: 0 var(--space-3);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
@media (max-width: 768px) {
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   Cards
   ========================================================= */

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--t-base) var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: white;
  display: grid; place-items: center;
  margin-bottom: var(--space-6);
  box-shadow: 0 8px 16px rgba(30, 64, 175, 0.2);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-3);
  color: var(--text-dark);
}
.card p {
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}
.card-list {
  margin-bottom: var(--space-6);
}
.card-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.card-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310B981'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Card dark variant */
.section-dark .card {
  background: var(--bg-dark-2);
  border-color: var(--border-dark);
}
.section-dark .card:hover {
  border-color: var(--border-dark-2);
  background: var(--bg-dark-3);
}
.section-dark .card h3 { color: white; }
.section-dark .card p { color: var(--text-light-muted); }
.section-dark .card-list li { color: var(--text-light-muted); }

/* =========================================================
   Service hero (interna)
   ========================================================= */

.service-hero {
  background: var(--bg-dark);
  color: white;
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 20%, rgba(6, 182, 212, 0.18) 0%, transparent 50%);
  pointer-events: none;
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}
.service-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: white;
}
.service-hero p {
  font-size: var(--fs-lg);
  color: var(--text-light-muted);
  margin-bottom: var(--space-8);
}
.service-hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .service-hero-grid { grid-template-columns: 1fr; gap: var(--space-10); }
}

/* Visual block for service hero (mini-dashboard look) */
.tech-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.tech-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tech-card-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-sm);
  color: var(--text-light-muted);
}
.status-dot {
  width: 8px; height: 8px;
  background: var(--secure);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--secure);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--secure);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.tech-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: var(--fs-sm);
}
.tech-row:last-child { border-bottom: none; }
.tech-row-label { color: var(--text-light-muted); }
.tech-row-value { font-family: 'JetBrains Mono', monospace; color: white; font-weight: 600; }

/* =========================================================
   Process steps
   ========================================================= */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--space-6);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -12px; left: var(--space-6);
  background: var(--brand);
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.step h4 {
  font-size: var(--fs-lg);
  margin: var(--space-3) 0;
}
.step p { color: var(--text-muted); font-size: var(--fs-sm); }
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
}

/* =========================================================
   Stats banner (numbers)
   ========================================================= */

.stats-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%);
  color: white;
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}
.stat {
  text-align: center;
}
.stat-num {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--space-3);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.85);
}
@media (max-width: 768px) {
  .stats-banner-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-10); }
}

/* =========================================================
   Quote / Testimonials
   ========================================================= */

.quote {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-size: 5rem;
  line-height: 1;
  color: var(--brand-light);
  font-family: Georgia, serif;
}
.quote-text {
  position: relative;
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: var(--space-6);
  padding-left: var(--space-10);
}
.quote-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-left: var(--space-10);
}
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: white;
  display: grid; place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.author-name { font-weight: 600; color: var(--text-dark); }
.author-role { font-size: var(--fs-sm); color: var(--text-muted); }

/* =========================================================
   FAQ Accordion
   ========================================================= */

.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) 0;
  background: none;
  border: none;
  text-align: left;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  gap: var(--space-4);
}
.faq-question:hover { color: var(--brand); }
.faq-question .icon {
  width: 24px; height: 24px;
  background: var(--bg-subtle);
  border-radius: 6px;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease);
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); background: var(--brand); color: white; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
  color: var(--text-muted);
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding-bottom: var(--space-6); padding-right: var(--space-12); line-height: 1.7; }

/* =========================================================
   CTA section
   ========================================================= */

.cta-band {
  background: var(--bg-dark);
  color: white;
  text-align: center;
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(30, 64, 175, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-4);
  color: white;
}
.cta-band p {
  font-size: var(--fs-lg);
  color: var(--text-light-muted);
  margin-bottom: var(--space-8);
}
.cta-band-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  padding: var(--space-20) 0 var(--space-10);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-dark-2), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
.footer-brand {
  font-size: var(--fs-xl);
  color: white;
}
.footer-tagline {
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--text-light-muted);
  max-width: 280px;
}
.footer-col h4 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: white;
  margin-bottom: var(--space-4);
}
.footer-col ul li { margin-bottom: var(--space-3); font-size: var(--fs-sm); }
.footer-col ul li a:hover { color: var(--accent-bright); }
.footer-newsletter input {
  width: 100%;
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: white;
  margin-bottom: var(--space-3);
}
.footer-newsletter input::placeholder { color: var(--text-light-muted); }
.footer-newsletter button { width: 100%; }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--fs-xs);
}
.footer-bottom a:hover { color: var(--accent-bright); }
.footer-socials { display: flex; gap: var(--space-3); }
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all var(--t-base);
}
.footer-socials a:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.footer-socials svg { width: 16px; height: 16px; }
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Partners grid (parceiros globais)
   ========================================================= */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 1024px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .partners-grid { grid-template-columns: 1fr; } }

.partner-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.partner-logo-box {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-4);
}
.partner-logo-box img {
  max-height: 44px;
  max-width: 180px;
  object-fit: contain;
}
.partner-name {
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--text-dark);
}
.partner-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.5;
}
.section-dark .partner-card { background: var(--bg-dark-2); border-color: var(--border-dark); }
.section-dark .partner-card:hover { background: var(--bg-dark-3); border-color: var(--border-dark-2); }
.section-dark .partner-name { color: white; }
.section-dark .partner-desc { color: var(--text-light-muted); }

/* Em fundo escuro, padronizar cada logo dentro de uma "vidraça" branca limpa
   para que TODOS os logos (independente da cor original) fiquem perfeitamente
   visíveis, respeitando a identidade do fabricante. */
.section-dark .partner-logo-box {
  background: #FFFFFF;
  border: none;
  border-radius: 10px;
  height: 80px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 var(--space-2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
.section-dark .partner-logo-box img {
  max-height: 52px;
  max-width: 100%;
  object-fit: contain;
  filter: none;            /* logos preservam cores oficiais */
  mix-blend-mode: normal;
}
/* Caso especial — Keeper tem versão com texto branco original. Em fundo branco
   precisa de uma variação. Aplicamos um leve fundo dourado para contraste. */
.partner-logo-box[data-bg="keeper"] { background: #1A1A1A; }
.partner-logo-box[data-bg="keeper"] img { max-height: 48px; }
.partner-logo-box[data-bg="fortinet"] { background: #1A1A1A; }
.partner-logo-box[data-bg="fortinet"] img { max-height: 40px; }
.partner-logo-box[data-bg="aws"] { background: #1A1A1A; }
.partner-logo-box[data-bg="aws"] img { max-height: 40px; }
.partner-logo-box[data-bg="knowbe4"] { background: #1A1A1A; }

/* Featured (Assessment 360) card */
.card-featured {
  position: relative;
  background: linear-gradient(135deg, rgba(30,64,175,0.04) 0%, rgba(6,182,212,0.04) 100%);
  border-color: var(--brand);
}
.card-featured::before {
  content: "Produto exclusivo Stronit";
  position: absolute;
  top: -10px; left: 24px;
  background: var(--brand);
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* =========================================================
   Emergency / Attack page
   ========================================================= */

.attack-hero {
  background:
    linear-gradient(180deg, rgba(220,38,38,0.15) 0%, transparent 100%),
    var(--bg-dark);
  color: white;
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.attack-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(239,68,68,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,68,68,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at top, black, transparent 70%);
  pointer-events: none;
}
.attack-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.attack-badge .blink {
  width: 8px; height: 8px;
  background: var(--danger-bright);
  border-radius: 50%;
  animation: blink 1s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.attack-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-6);
  color: white;
}
.attack-hero p {
  font-size: var(--fs-lg);
  color: var(--text-light-muted);
  max-width: 600px;
  margin-bottom: var(--space-10);
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.channel-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: left;
  transition: all var(--t-base);
  text-decoration: none;
  color: inherit;
}
.channel-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--danger-bright);
  transform: translateY(-2px);
}
.channel-card.primary {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.05) 100%);
  border-color: rgba(239, 68, 68, 0.3);
}
.channel-icon {
  width: 44px; height: 44px;
  background: var(--danger);
  border-radius: 12px;
  display: grid; place-items: center;
  color: white;
  margin-bottom: var(--space-4);
}
.channel-icon svg { width: 22px; height: 22px; }
.channel-card h3 {
  font-size: var(--fs-base);
  color: white;
  margin-bottom: var(--space-2);
}
.channel-card .channel-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-lg);
  color: white;
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-2);
}
.channel-card .channel-sub {
  font-size: var(--fs-sm);
  color: var(--text-light-muted);
}
@media (max-width: 768px) {
  .contact-channels { grid-template-columns: 1fr; }
}

/* SLA bar */
.sla-bar {
  background: var(--bg-dark-2);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: var(--space-8) 0;
  color: white;
}
.sla-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.sla-item { display: flex; align-items: center; gap: var(--space-3); }
.sla-icon {
  width: 36px; height: 36px;
  background: rgba(16,185,129,0.15);
  color: var(--secure);
  border-radius: 9px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.sla-icon svg { width: 18px; height: 18px; }
.sla-label { font-size: var(--fs-xs); color: var(--text-light-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.sla-value { font-weight: 700; font-size: var(--fs-base); color: white; }
@media (max-width: 768px) { .sla-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .sla-grid { grid-template-columns: 1fr; } }

/* Emergency form */
.attack-form {
  background: var(--bg-subtle);
  padding: var(--space-12) 0;
}
.attack-form-card {
  background: white;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-10);
  box-shadow: var(--shadow);
}
.attack-form-card h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-2);
}
.attack-form-card > p {
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

/* Forms */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-4); }
.form-field { display: flex; flex-direction: column; margin-bottom: var(--space-4); }
.form-field label { font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--space-2); color: var(--text-dark); }
.form-field input,
.form-field textarea,
.form-field select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: var(--fs-base);
  background: white;
  color: var(--text-dark);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.severity-pills {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.severity-pill {
  flex: 1;
  text-align: center;
  padding: var(--space-3);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  background: white;
  transition: all var(--t-fast);
  min-width: 110px;
}
.severity-pill[data-active="true"][data-level="critical"] { border-color: var(--danger); background: rgba(220,38,38,0.05); color: var(--danger); }
.severity-pill[data-active="true"][data-level="high"] { border-color: var(--warning); background: rgba(245,158,11,0.05); color: var(--warning); }
.severity-pill[data-active="true"][data-level="medium"] { border-color: var(--brand); background: rgba(30,64,175,0.05); color: var(--brand); }
.severity-pill:hover { border-color: var(--border-strong); }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Tabs
   ========================================================= */

.tabs {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.tab {
  padding: var(--space-3) var(--space-5);
  background: none;
  border: none;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.tab:hover { color: var(--text-dark); }
.tab[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.tab-panel { display: none; }
.tab-panel[data-active="true"] { display: block; }

/* =========================================================
   Breadcrumbs
   ========================================================= */

.breadcrumbs {
  display: flex;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-light-muted);
  margin-bottom: var(--space-4);
}
.breadcrumbs a:hover { color: white; }
.breadcrumbs .sep { color: var(--text-light-muted); opacity: 0.5; }

/* =========================================================
   Blog
   ========================================================= */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-base);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.post-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.5);
}
.post-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.post-thumb-mark {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-2xl);
  color: rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
  font-weight: 700;
}
.post-body { padding: var(--space-6); }
.post-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
  letter-spacing: 0.08em;
}
.post-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: var(--space-3);
  color: var(--text-dark);
}
.post-card:hover .post-title { color: var(--brand); }
.post-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* =========================================================
   Team
   ========================================================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  text-align: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.team-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: white;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: var(--fs-2xl);
  margin: 0 auto var(--space-4);
}
.team-name { font-weight: 700; }
.team-role { color: var(--text-muted); font-size: var(--fs-sm); margin-top: 2px; }
.team-cert {
  display: inline-flex;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs);
  background: var(--bg-subtle);
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: var(--space-3);
  color: var(--text-muted);
  font-weight: 600;
}

/* =========================================================
   Page title (interior)
   ========================================================= */

.page-title {
  background: var(--bg-dark);
  color: white;
  padding: var(--space-20) 0 var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
}
.page-title h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-4);
  position: relative;
}
.page-title p {
  font-size: var(--fs-lg);
  color: var(--text-light-muted);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

/* =========================================================
   Animations
   ========================================================= */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* =========================================================
   Utility
   ========================================================= */
.text-center { text-align: center; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-8 { margin-top: var(--space-8); }
.flex { display: flex; }
.gap-4 { gap: var(--space-4); }
.center { display: grid; place-items: center; }

/* Mini section blocks for inner pages */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 768px) { .feature-list { grid-template-columns: 1fr; } }
.feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--bg-subtle);
  border-radius: 11px;
  display: grid; place-items: center;
  color: var(--brand);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h4 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.feature p { color: var(--text-muted); font-size: var(--fs-sm); }
.section-dark .feature-icon { background: rgba(255,255,255,0.05); color: var(--accent-bright); }
