/* ========================================
   SPINE QUIROPRAXIA · DESIGN SYSTEM
   Stylesheet
   ======================================== */

/* Google Fonts carregadas via <link> no HTML para não bloquear o parser CSS */

:root {
  /* ── Brand palette (exact from Paleta-SPINE.jpg) ── */
  --spine-navy:        #001280;  /* deep navy — logo, primary text */
  --spine-navy-deep:   #000A4A;  /* darker variant for backgrounds */
  --spine-royal:       #003BD7;  /* royal blue — primary action */
  --spine-violet:      #8036FF;  /* electric violet — accent */
  --spine-periwinkle:  #587DFF;  /* soft accent */
  --spine-azure:       #2B9DFD;  /* bright support */
  --spine-cyan:        #00C7FB;  /* vibrant highlight */

  /* ── Neutrals ── */
  --ink:               #0A0F2E;
  --ink-soft:          #3B4068;
  --ink-mute:          #6E7299;
  --line:              #E5E7F4;
  --line-strong:       #C8CCE3;
  --paper:             #FAF8F3;  /* warm off-white */
  --paper-2:           #F2F0E9;
  --white:             #FFFFFF;

  /* ── Semantic ── */
  --success:           #16A36B;
  --warning:           #F2A53A;
  --danger:            #E5484D;
  --google-yellow:     #F5B400;

  /* ── Gradient (brand signature) ── */
  --grad-brand: linear-gradient(180deg, #8036FF 0%, #587DFF 35%, #2B9DFD 70%, #00C7FB 100%);
  --grad-brand-h: linear-gradient(90deg, #8036FF 0%, #587DFF 35%, #2B9DFD 70%, #00C7FB 100%);
  --grad-blue-radial: radial-gradient(circle at 30% 30%, #587DFF 0%, #003BD7 45%, #001280 100%);

  /* ── Type ── */
  --ff-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --ff-brush:   'Instrument Serif', 'Times New Roman', serif;
  --ff-sans:    'Geist', system-ui, -apple-system, sans-serif;
  --ff-logo:    'Bricolage Grotesque', sans-serif;

  /* ── Spacing scale (4-base) ── */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* ── Radius ── */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* ── Shadow ── */
  --sh-1: 0 1px 2px rgba(0, 18, 128, 0.06), 0 1px 1px rgba(0, 18, 128, 0.04);
  --sh-2: 0 4px 12px rgba(0, 18, 128, 0.08), 0 2px 4px rgba(0, 18, 128, 0.04);
  --sh-3: 0 16px 40px rgba(0, 18, 128, 0.14), 0 4px 12px rgba(0, 18, 128, 0.06);
  --sh-glow: 0 0 0 1px rgba(128, 54, 255, 0.20), 0 12px 32px rgba(128, 54, 255, 0.25);
}

/* ========== Reset / base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* ========== Layout primitives ========== */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

section { padding: var(--s-9) 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

.eyebrow {
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--spine-royal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--spine-royal);
}

.section-head { margin-bottom: var(--s-8); }
.section-head h2 {
  font-family: var(--ff-display);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--spine-navy);
  margin: var(--s-4) 0 var(--s-5);
  font-weight: 700;
  font-variation-settings: "opsz" 96;
}
.section-head h2 .brush {
  font-family: var(--ff-brush);
  font-style: italic;
  color: var(--spine-violet);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.section-head p {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--spine-navy);
  color: var(--white);
}

/* ========== Top nav ========== */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.top-brand { display: flex; align-items: center; gap: 12px; }
.top-brand img { height: 28px; }
.top-brand-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-left: 1px solid var(--line-strong);
  padding-left: 12px;
}
.top-nav { display: flex; gap: 4px; align-items: center; }
.top-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: all .15s ease;
}
.top-nav a:hover { color: var(--spine-navy); background: var(--paper-2); }
.top-version {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--spine-violet);
  padding: 4px 10px;
  border: 1px solid var(--spine-violet);
  border-radius: var(--r-pill);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--s-9) 0 var(--s-10);
  border-top: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.hero-eyebrow span { display: flex; gap: 4px; }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--spine-navy); }
.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(64px, 10vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--spine-navy);
  margin: 0 0 var(--s-6);
  font-weight: 700;
  font-variation-settings: "opsz" 96;
}
.hero h1 .brush {
  display: inline;
  font-family: var(--ff-brush);
  font-style: italic;
  color: var(--spine-violet);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: 1em;
  margin: 0;
}
.hero p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 var(--s-6);
}
.hero-meta {
  display: flex;
  gap: 48px;
  margin-top: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.hero-meta-item .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.hero-meta-item .val {
  font-family: var(--ff-display);
  font-size: 28px;
  color: var(--spine-navy);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .dots-arc {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .logo-w {
  position: relative;
  z-index: 2;
  width: 70%;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.4), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(0,18,128,0.5), transparent 50%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Marquee strip below hero */
.marquee {
  background: var(--spine-navy);
  color: var(--white);
  padding: 18px 0;
  overflow: hidden;
  border: 0;
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scrolly 40s linear infinite;
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; }
.marquee-track span::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--spine-cyan);
}
@keyframes scrolly {
  to { transform: translateX(-50%); }
}

/* ========== A MARCA ========== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: var(--s-6);
}
.brand-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.brand-card .label {
  font-family: var(--ff-brush);
  font-style: italic;
  font-size: 44px;
  color: var(--spine-navy);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.brand-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.brand-card.featured {
  background: var(--spine-navy);
  color: var(--white);
  grid-column: span 1;
}
.brand-card.featured .label,
.brand-card.featured p { color: var(--white); }
.brand-card .corner {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.brand-card.featured .corner { color: rgba(255,255,255,0.5); }

/* Values pills */
.values {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.value-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--spine-navy);
  border-radius: var(--r-pill);
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--spine-navy);
  background: var(--white);
  transition: all .2s;
}
.value-pill:hover { background: var(--spine-navy); color: var(--white); }
.value-pill .num {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 600;
  opacity: 0.5;
}

/* ========== LOGO ========== */
.logo-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}
.logo-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  position: relative;
}
.logo-card .show {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
}
.logo-card .show img { max-width: 70%; max-height: 70%; object-fit: contain; }
.logo-card.bg-white .show { background: var(--white); }
.logo-card.bg-navy { background: var(--spine-navy); border-color: var(--spine-navy); color: var(--white); }
.logo-card.bg-navy .show { background: var(--spine-navy); }
.logo-card.bg-grad { background: var(--grad-brand); border: 0; color: var(--white); }
.logo-card.bg-grad .show { background: transparent; }
.logo-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.logo-anatomy {
  margin-top: var(--s-7);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.logo-anatomy h3 {
  font-family: var(--ff-display);
  font-size: 36px;
  color: var(--spine-navy);
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-anatomy ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.logo-anatomy li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  font-size: 14px;
  color: var(--ink-soft);
}
.logo-anatomy li .n {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--spine-violet);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 12px;
}
.logo-anatomy li strong { color: var(--spine-navy); display: block; }

.dont-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: var(--s-7);
}
.dont-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  background: var(--white);
}
.dont-card .preview {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.dont-card .preview img { max-width: 70%; }
.dont-card .x {
  position: absolute;
  top: 8px; right: 8px;
  width: 24px; height: 24px;
  background: var(--danger);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.dont-card .desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ========== CORES ========== */
.color-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.color-block {
  border-radius: var(--r-lg);
  padding: 32px;
  color: var(--white);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s;
}
.color-block:hover { transform: translateY(-2px); }
.color-block .nm {
  font-family: var(--ff-display);
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.color-block .role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 8px;
}
.color-block .codes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  opacity: 0.85;
}
.color-block .codes div { display: flex; gap: 6px; }
.color-block .codes .k { opacity: 0.6; min-width: 36px; }
.color-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.color-block.sm { min-height: 200px; padding: 20px; }
.color-block.sm .nm { font-size: 22px; }

/* Gradient showcase */
.grad-showcase {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grad-card {
  border-radius: var(--r-lg);
  height: 240px;
  position: relative;
  padding: 28px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.grad-card .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: rgba(0,0,0,0.25);
  padding: 6px 10px;
  border-radius: var(--r-sm);
  align-self: flex-start;
}
.grad-card .nm {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ========== TIPOGRAFIA ========== */
.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: var(--s-7);
}
.type-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
}
.type-card .preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  line-height: 1;
  color: var(--spine-navy);
}
.type-card .preview.brush { font-family: var(--ff-brush); font-style: italic; font-size: 132px; color: var(--spine-violet); }
.type-card .preview.display { font-family: var(--ff-display); font-weight: 700; letter-spacing: -0.04em; }
.type-card .preview.sans { font-family: var(--ff-sans); font-weight: 500; letter-spacing: -0.03em; }
.type-card .meta {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 12px;
}
.type-card .meta .name {
  font-family: var(--ff-sans);
  font-weight: 700;
  color: var(--spine-navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.type-card .meta .role { color: var(--ink-mute); margin-top: 4px; }
.type-card .meta .glyph { color: var(--ink-mute); font-family: 'JetBrains Mono', monospace; }

.scale-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.scale-row {
  display: grid;
  grid-template-columns: 160px 100px 80px 1fr;
  align-items: center;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  gap: 16px;
}
.scale-row:first-child { border-top: 0; background: var(--paper-2); padding: 12px 24px; }
.scale-row:first-child > * {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-mute);
}
.scale-row .nm { font-family: var(--ff-sans); font-weight: 600; color: var(--spine-navy); font-size: 13px; }
.scale-row .px,
.scale-row .lh { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--ink-soft); }
.scale-row .sample { color: var(--spine-navy); font-family: var(--ff-display); }

/* ========== ICONOGRAFIA ========== */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.icon-card {
  aspect-ratio: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  transition: all .2s;
}
.icon-card:hover {
  border-color: var(--spine-violet);
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}
.icon-card svg { width: 40%; height: auto; color: var(--spine-navy); }
.icon-card.pixel svg { image-rendering: pixelated; }
.icon-card .lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.badge-circle {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--spine-navy);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.badge-circle svg.text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.badge-circle .glyph {
  font-family: var(--ff-display);
  color: white;
  font-size: 48px;
  font-weight: 600;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== PADRÕES ========== */
.pattern-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 16px;
}
.pattern-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  min-height: 320px;
  padding: 28px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pattern-card .nm {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  align-self: flex-start;
  background: rgba(0,0,0,0.25);
  padding: 6px 12px;
  border-radius: var(--r-sm);
}
.pattern-card .role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.dot-pattern {
  background: var(--spine-navy);
  background-image: radial-gradient(ellipse 8px 4px at center, white 40%, transparent 42%);
  background-size: 28px 24px;
}
.dot-arc-pattern {
  background: var(--spine-navy);
  position: relative;
}
.glow-pattern {
  background:
    radial-gradient(circle at 20% 30%, #587DFF 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, #00C7FB 0%, transparent 50%),
    var(--spine-royal);
}

/* ========== COMPONENTES ========== */
.comp-section { background: var(--paper-2); }
.comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.comp-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--line);
}
.comp-card h3 {
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 24px;
}
.comp-card .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.comp-card .row:last-child { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all .2s ease;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary { background: var(--spine-navy); color: var(--white); }
.btn-primary:hover { background: var(--spine-royal); }
.btn-secondary {
  background: var(--white);
  color: var(--spine-navy);
  border-color: var(--spine-navy);
}
.btn-secondary:hover { background: var(--spine-navy); color: var(--white); }
.btn-violet { background: var(--spine-violet); color: var(--white); }
.btn-violet:hover { background: #6B26E5; }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1DAF54; }
.btn-ghost { color: var(--spine-navy); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

.btn .arrow {
  display: inline-flex;
  width: 18px; height: 18px;
  transition: transform .2s;
}
.btn:hover .arrow { transform: translateX(3px); }

/* Google Star Badge */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
}
.google-badge .g-logo {
  font-family: 'Product Sans', var(--ff-sans);
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(90deg, #4285F4 0%, #EA4335 30%, #FBBC05 60%, #34A853 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.google-badge .stars { display: flex; gap: 2px; color: var(--google-yellow); }
.google-badge .stars svg { width: 14px; }
.google-badge .meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
}
.google-badge .meta b { color: var(--spine-navy); }

/* Form fields */
.field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--spine-navy);
}
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: all .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--spine-violet);
  box-shadow: 0 0 0 3px rgba(128, 54, 255, 0.15);
}

/* Service card */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
}
.service-card:hover {
  border-color: var(--spine-violet);
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
}
.service-card .num {
  font-family: var(--ff-display);
  font-size: 14px;
  color: var(--spine-violet);
  letter-spacing: 0.1em;
}
.service-card h4 {
  font-family: var(--ff-display);
  font-size: 28px;
  line-height: 1.05;
  color: var(--spine-navy);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.service-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}
.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--spine-navy);
}

/* Testimonial card */
.testi-card {
  background: var(--grad-blue-radial);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
}
.testi-card .quote {
  font-family: var(--ff-brush);
  font-style: italic;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  flex: 1;
}
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .who .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.testi-card .who .nm { font-size: 13px; font-weight: 600; }
.testi-card .who .role { font-size: 11px; opacity: 0.7; }

/* Team card */
.team-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.team-card .photo {
  aspect-ratio: 1;
  background: var(--grad-brand);
  position: relative;
}
.team-card .photo .ph {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-family: var(--ff-brush);
  font-size: 48px;
}
.team-card .info { padding: 20px; }
.team-card h5 {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--spine-navy);
  margin: 0 0 4px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.team-card .role { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

/* Stat block */
.stat {
  text-align: left;
}
.stat .n {
  font-family: var(--ff-display);
  font-size: 72px;
  line-height: 1;
  color: var(--spine-navy);
  letter-spacing: -0.04em;
  font-weight: 700;
  font-variation-settings: "opsz" 96;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.stat .n .suffix { font-size: 36px; color: var(--spine-violet); font-weight: 600; }
.stat .lbl {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 8px;
}

/* Accordion (FAQ) */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-display);
  font-size: 20px;
  color: var(--spine-navy);
  font-weight: 600;
  letter-spacing: -0.02em;
  gap: 24px;
}
.acc-trigger .plus {
  width: 32px; height: 32px;
  border: 1px solid var(--spine-navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform .2s;
}
.acc-item.open .acc-trigger .plus { transform: rotate(45deg); background: var(--spine-navy); color: white; }
.acc-content {
  display: none;
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 720px;
}
.acc-item.open .acc-content { display: block; }

/* Spacing scale visualization */
.spacing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.space-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.space-box .vis {
  height: 80px;
  display: flex; align-items: flex-end; justify-content: center;
}
.space-box .bar { background: var(--spine-violet); width: 100%; border-radius: 4px 4px 0 0; }
.space-box .nm { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--spine-navy); }
.space-box .val { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-mute); }

/* Radii */
.radii-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.radii { background: var(--white); border: 1px solid var(--line); padding: 16px; text-align: center; }
.radii .box {
  width: 100%; aspect-ratio: 1.5;
  background: var(--spine-navy);
  margin-bottom: 12px;
}
.radii .nm { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--spine-navy); }
.radii .val { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-mute); margin-top: 4px; }

/* Voice & tone */
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.voice-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.voice-card .lbl {
  font-family: var(--ff-brush);
  font-style: italic;
  font-size: 36px;
  margin-bottom: 12px;
  line-height: 1;
}
.voice-card.do .lbl { color: var(--success); }
.voice-card.dont .lbl { color: var(--danger); text-decoration: line-through; text-decoration-thickness: 2px; }
.voice-card ul { padding-left: 20px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }

/* Motion */
.motion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.motion-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.motion-card .preview {
  flex: 1;
  background: var(--paper-2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.motion-card h4 {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--spine-navy);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.motion-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

.motion-preview .bouncer {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--spine-violet);
  animation: bounce 1.6s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(-30px); }
  50% { transform: translateY(30px); background: var(--spine-cyan); }
}
.motion-preview .arc {
  display: flex; gap: 6px;
}
.motion-preview .arc div {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--spine-navy);
  animation: arc-pulse 1.5s ease infinite;
}
.motion-preview .arc div:nth-child(2) { animation-delay: 0.1s; background: var(--spine-royal); }
.motion-preview .arc div:nth-child(3) { animation-delay: 0.2s; background: var(--spine-periwinkle); }
.motion-preview .arc div:nth-child(4) { animation-delay: 0.3s; background: var(--spine-azure); }
.motion-preview .arc div:nth-child(5) { animation-delay: 0.4s; background: var(--spine-cyan); }
.motion-preview .arc div:nth-child(6) { animation-delay: 0.5s; background: var(--spine-violet); }
@keyframes arc-pulse {
  0%, 100% { transform: scale(0.6); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}
.motion-preview .scroll-card {
  width: 80px; height: 100px;
  background: var(--spine-navy);
  border-radius: 8px;
  animation: scroll-in 2.5s ease-in-out infinite;
}
@keyframes scroll-in {
  0%, 100% { transform: translateY(40px) scale(0.8); opacity: 0; }
  30%, 70% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Footer */
.footer {
  background: var(--spine-navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  border-top: 0;
}
.footer .wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
}
.footer h6 {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 16px;
}
.footer .brand-mark {
  font-family: var(--ff-display);
  font-size: 56px;
  color: var(--white);
  line-height: 0.9;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 96;
}
.footer .brand-mark .b { font-family: var(--ff-brush); font-style: italic; color: var(--spine-cyan); display: block; font-size: 0.55em; font-weight: 400; letter-spacing: -0.01em; }
.footer p { font-size: 14px; line-height: 1.6; margin: 16px 0 0; max-width: 380px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a { color: rgba(255,255,255,0.85); }
.footer ul a:hover { color: var(--spine-cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/10; }
  .brand-grid, .logo-grid, .pattern-grid, .type-grid, .motion-grid, .comp-grid { grid-template-columns: 1fr; }
  .color-row, .icon-grid, .spacing-grid, .radii-row { grid-template-columns: repeat(3, 1fr); }
  .dont-grid { grid-template-columns: repeat(2, 1fr); }
  .top-nav { display: none; }
  .footer .wrap { grid-template-columns: 1fr; }
}
