/* ═══════════════════════════════════════════════
   MKS ESTRATÉGIA & TRANSFORMAÇÃO — Main Stylesheet
   Brand palette: Rose #c2185b → Magenta #d81b8a → Violet #7b1fa2
   ═══════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --rose:       #c2185b;
  --magenta:    #d81b8a;
  --violet:     #7b1fa2;
  --rose-light: #e91e8c;
  --grad-brand: linear-gradient(135deg, #c2185b 0%, #d81b8a 45%, #7b1fa2 100%);
  --grad-soft:  linear-gradient(135deg, rgba(194,24,91,0.12) 0%, rgba(123,31,162,0.08) 100%);

  --ink:        #0f0d12;
  --ink-soft:   #2c2535;
  --ink-muted:  #6b6378;
  --paper:      #faf8fc;
  --paper-warm: #f5f0fa;
  --paper-card: rgba(255,255,255,0.72);

  --glass-bg:           rgba(255,255,255,0.58);
  --glass-border:       rgba(255,255,255,0.75);
  --glass-border-brand: rgba(194,24,91,0.22);

  --rose-pale:   #fce4ec;
  --violet-pale: #f3e5f5;

  --shadow-soft: 0 4px 32px rgba(123,31,162,0.07);
  --shadow-card: 0 8px 48px rgba(123,31,162,0.10);
  --shadow-btn:  0 4px 24px rgba(194,24,91,0.38);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── DARK MODE ── */
[data-theme="dark"] {
  --ink:        #f0ecf5;
  --ink-soft:   #c8bfd4;
  --ink-muted:  #8a7d96;
  --paper:      #0d0b10;
  --paper-warm: #120f18;
  --paper-card: rgba(24,18,32,0.78);
  --glass-bg:           rgba(24,18,32,0.65);
  --glass-border:       rgba(255,255,255,0.07);
  --glass-border-brand: rgba(216,27,138,0.28);
  --rose-pale:   #2a0d1a;
  --violet-pale: #1e0e2a;
  --shadow-soft: 0 4px 32px rgba(0,0,0,0.35);
  --shadow-card: 0 8px 48px rgba(0,0,0,0.40);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}

/* ── PARTICLES CANVAS ── */
#particles-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.55;
}

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 5%;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(22px) saturate(1.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  background: rgba(250,248,252,0.75);
  border-bottom: 1px solid rgba(194,24,91,0.10);
  transition: all var(--transition);
}
[data-theme="dark"] nav { background: rgba(13,11,16,0.82); }
nav.scrolled { padding: 10px 5%; box-shadow: var(--shadow-soft); }

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img {
  height: 42px; width: auto; display: block;
  transition: opacity 0.3s;
}
/* Light mode: logo-light (gradient, transparent bg) */
.nav-logo .logo-light { display: block; }
.nav-logo .logo-white { display: none; }
/* Dark mode: logo-white (all white, transparent bg) */
[data-theme="dark"] .nav-logo .logo-light { display: none; }
[data-theme="dark"] .nav-logo .logo-white { display: block; }

.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--ink-muted);
  text-decoration: none; letter-spacing: .05em; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--rose); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn-theme {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--glass-border-brand);
  background: var(--glass-bg); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: all .2s;
}
.btn-theme:hover { border-color: var(--rose); }

.btn-cta-nav {
  padding: 9px 22px; background: var(--grad-brand);
  color: #fff; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; text-decoration: none;
  letter-spacing: .04em; transition: all .2s;
  box-shadow: 0 2px 12px rgba(194,24,91,.32);
}
.btn-cta-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(194,24,91,.42); }

.nav-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: all .3s;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--paper); padding: 100px 5% 40px;
  flex-direction: column; gap: 32px; align-items: flex-start;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 36px; font-weight: 500;
  color: var(--ink); text-decoration: none; transition: color .2s;
}
.mobile-menu a:hover { color: var(--rose); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 5% 80px; overflow: hidden; z-index: 1;
}

.hero-bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; will-change: transform;
}
.orb-1 {
  width: 700px; height: 700px; top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(194,24,91,.14) 0%, transparent 70%);
  animation: orbFloat 14s ease-in-out infinite;
}
.orb-2 {
  width: 550px; height: 550px; bottom: -80px; left: -100px;
  background: radial-gradient(circle, rgba(123,31,162,.10) 0%, transparent 70%);
  animation: orbFloat 18s ease-in-out infinite reverse;
}
.orb-3 {
  width: 400px; height: 400px; top: 45%; left: 42%;
  background: radial-gradient(circle, rgba(216,27,138,.07) 0%, transparent 70%);
  animation: orbFloat 22s ease-in-out infinite;
}

@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-40px) scale(1.05); }
  66%      { transform: translate(-20px,20px) scale(.97); }
}

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; border: 1px solid var(--glass-border-brand);
  border-radius: 100px; font-size: 11.5px; font-weight: 500;
  color: var(--rose); letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 28px; background: rgba(194,24,91,.05);
  backdrop-filter: blur(8px); animation: fadeUp .8s ease both;
}
.hero-label-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rose); animation: pulse 2s ease infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(54px, 7.2vw, 100px);
  font-weight: 600; line-height: 1.02; text-align: center;
  color: var(--ink); max-width: 940px; margin-bottom: 24px;
  animation: fadeUp .8s .1s ease both; letter-spacing: -.02em;
}
.hero-title em {
  font-style: italic;
  background: var(--grad-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px); color: var(--ink-muted); text-align: center;
  max-width: 620px; line-height: 1.8; margin-bottom: 48px; font-weight: 300;
  animation: fadeUp .8s .2s ease both;
}

.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .8s .3s ease both;
}

.btn-primary {
  padding: 15px 36px; background: var(--grad-brand); color: #fff;
  border-radius: var(--radius-md); font-size: 15px; font-weight: 500;
  text-decoration: none; letter-spacing: .02em; transition: all .3s;
  box-shadow: var(--shadow-btn); position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0; transition: opacity .3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(194,24,91,.48); }
.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
  padding: 15px 36px; background: var(--glass-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: var(--ink); border: 1px solid var(--glass-border-brand);
  border-radius: var(--radius-md); font-size: 15px; font-weight: 500;
  text-decoration: none; letter-spacing: .02em; transition: all .3s;
}
.btn-secondary:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-2px); }

.hero-metrics {
  display: flex; gap: 48px; margin-top: 72px;
  animation: fadeUp .8s .4s ease both;
}
.hero-metric { text-align: center; }
.hero-metric-value {
  font-family: var(--font-display); font-size: 44px; font-weight: 600;
  color: var(--ink); line-height: 1;
}
.hero-metric-value span {
  background: var(--grad-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-metric-label {
  font-size: 11.5px; color: var(--ink-muted);
  letter-spacing: .07em; text-transform: uppercase; margin-top: 6px;
}
.hero-metrics-divider { width: 1px; background: var(--glass-border-brand); align-self: stretch; }

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: fadeUp .8s .6s ease both;
}
.scroll-hint span { font-size: 10px; color: var(--ink-muted); letter-spacing: .1em; text-transform: uppercase; }
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--rose), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}

/* ── SECTION HELPERS ── */
section { position: relative; z-index: 1; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-pad { padding: 100px 0; }
.text-center { text-align: center; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; color: var(--rose);
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px;
}
.section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--grad-brand); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px); font-weight: 600;
  line-height: 1.1; color: var(--ink); letter-spacing: -.02em; margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  background: var(--grad-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-body { font-size: 17px; color: var(--ink-muted); line-height: 1.8; max-width: 580px; font-weight: 300; }

/* ── ABOUT ── */
.about { background: var(--paper-warm); padding: 100px 0; }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
}
.about-visual { position: relative; padding-bottom: 56px; }
.about-card-main {
  background: var(--glass-bg); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  padding: 48px; box-shadow: var(--shadow-card); position: relative; overflow: hidden;
}
.about-card-main::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand);
}
.about-card-accent {
  position: absolute; bottom: -48px; right: -24px;
  background: var(--grad-brand); border-radius: var(--radius-md);
  padding: 20px 28px; box-shadow: 0 12px 40px rgba(194,24,91,.38);
  color: #fff; min-width: 180px;
}
.about-card-accent-val { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; }
.about-card-accent-label { font-size: 12px; opacity: .85; margin-top: 4px; letter-spacing: .04em; }
.about-icon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.about-icon-item { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-soft); }
.about-icon-circle {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--violet-pale); display: flex; align-items: center;
  justify-content: center; font-size: 16px; flex-shrink: 0;
}
.about-quote {
  font-family: var(--font-display); font-size: 22px; font-style: italic;
  color: var(--ink); line-height: 1.5; margin-bottom: 20px; font-weight: 500;
}
.about-quote-mark {
  font-size: 72px; line-height: .8; color: var(--rose-pale);
  font-family: var(--font-display); display: block; margin-bottom: 12px;
}

/* ── SERVICES ── */
.services { padding: 100px 0; }
.services-header { text-align: center; margin-bottom: 64px; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.service-card {
  background: var(--glass-bg); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: all var(--transition);
  position: relative; overflow: hidden; cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-soft); opacity: 0; transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(123,31,162,.12); border-color: var(--glass-border-brand); }
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(5deg); }

.service-card.featured { background: var(--grad-brand); border-color: transparent; }
.service-card.featured .service-title,
.service-card.featured .service-body { color: rgba(255,255,255,.92); }
.service-card.featured .service-icon-wrap { background: rgba(255,255,255,.2); }

.service-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px; background: var(--rose-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 24px; transition: all .3s;
}
.service-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--ink); margin-bottom: 12px; line-height: 1.3; letter-spacing: -.01em;
}
.service-body { font-size: 14px; color: var(--ink-muted); line-height: 1.75; font-weight: 300; }
.service-tag {
  display: inline-block; padding: 4px 12px;
  background: rgba(194,24,91,.1); border-radius: 100px;
  font-size: 11px; color: var(--rose); font-weight: 500; letter-spacing: .04em; margin-top: 20px;
}
.service-card.featured .service-tag { background: rgba(255,255,255,.2); color: #fff; }

/* ── METHODOLOGY ── */
.methodology { background: var(--paper-warm); padding: 100px 0; }
.methodology-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-bottom: 64px; }
.methodology-steps {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--glass-border-brand); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.step-item {
  background: var(--glass-bg); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px); padding: 32px 28px;
  transition: all .3s; cursor: pointer; position: relative; overflow: hidden;
}
.step-item::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand); transform: scaleX(0); transition: transform .4s; transform-origin: left;
}
.step-item:hover,
.step-item.active { background: var(--paper-card); }
.step-item:hover::after,
.step-item.active::after { transform: scaleX(1); }

.step-number { font-family: var(--font-mono); font-size: 11px; color: var(--rose); letter-spacing: .1em; margin-bottom: 12px; }
.step-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }
.step-body { font-size: 13px; color: var(--ink-muted); line-height: 1.65; font-weight: 300; }

/* ── SIMULATOR ── */
.simulator { padding: 100px 0; }
.simulator-header { text-align: center; margin-bottom: 56px; }
.simulator-card {
  background: var(--glass-bg); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl); padding: 56px 64px; box-shadow: var(--shadow-card);
  max-width: 820px; margin: 0 auto; position: relative; overflow: hidden;
}
.simulator-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand);
}
.simulator-question {
  font-family: var(--font-display); font-size: 26px; font-weight: 500;
  color: var(--ink); margin-bottom: 32px; line-height: 1.4; text-align: center;
}
.simulator-progress { display: flex; gap: 6px; margin-bottom: 40px; justify-content: center; }
.sim-dot { height: 4px; border-radius: 2px; background: var(--glass-border-brand); flex: 1; max-width: 60px; transition: background .3s; }
.sim-dot.active { background: var(--rose); }
.sim-dot.done   { background: var(--violet); }

.simulator-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.sim-option {
  background: transparent; border: 1px solid var(--glass-border-brand);
  border-radius: var(--radius-md); padding: 20px 24px;
  cursor: pointer; text-align: left; transition: all .2s; font-family: var(--font-body);
}
.sim-option:hover    { border-color: var(--rose); background: rgba(194,24,91,.05); transform: translateY(-2px); }
.sim-option.selected { border-color: var(--rose); background: rgba(194,24,91,.07); }
.sim-option-label { font-size: 12px; color: var(--rose); font-weight: 600; letter-spacing: .04em; margin-bottom: 4px; display: block; }
.sim-option-text  { font-size: 14px; color: var(--ink); line-height: 1.5; }

.sim-nav { display: flex; justify-content: center; gap: 12px; }
.btn-sim { padding: 12px 28px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; letter-spacing: .02em; }
.btn-sim-back { background: transparent; border: 1px solid var(--glass-border-brand); color: var(--ink-muted); }
.btn-sim-back:hover { border-color: var(--ink-muted); color: var(--ink); }
.btn-sim-next { background: var(--grad-brand); border: none; color: #fff; box-shadow: var(--shadow-btn); }
.btn-sim-next:hover { transform: translateY(-1px); }

.sim-result { display: none; text-align: center; }
.sim-result.show { display: block; }
.sim-score-ring { width: 160px; height: 160px; margin: 0 auto 28px; position: relative; }
.sim-score-ring svg { transform: rotate(-90deg); }
.sim-score-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sim-score-num   { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--ink); line-height: 1; }
.sim-score-label { font-size: 12px; color: var(--ink-muted); letter-spacing: .06em; text-transform: uppercase; }
.sim-result-title { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.sim-result-body  { font-size: 15px; color: var(--ink-muted); max-width: 480px; margin: 0 auto 28px; line-height: 1.7; }

/* ── AI CHAT ── */
.ai-section { background: var(--paper-warm); padding: 100px 0; }
.ai-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 5%; }

.chat-widget {
  background: var(--glass-bg); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card);
  height: 490px; display: flex; flex-direction: column;
}
.chat-header { padding: 18px 24px; border-bottom: 1px solid var(--glass-border-brand); display: flex; align-items: center; gap: 12px; background: var(--paper-card); }
.chat-agent-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; flex-shrink: 0; }
.chat-agent-name   { font-size: 14px; font-weight: 600; color: var(--ink); }
.chat-agent-status { font-size: 11px; color: var(--rose); display: flex; align-items: center; gap: 5px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); animation: pulse 2s ease infinite; }

.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; scroll-behavior: smooth; }
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--glass-border-brand); border-radius: 2px; }

.msg { max-width: 78%; animation: msgIn .3s ease; }
.msg.agent { align-self: flex-start; }
.msg.user  { align-self: flex-end; }
.msg-bubble { padding: 12px 16px; border-radius: 16px; font-size: 13.5px; line-height: 1.6; }
.msg.agent .msg-bubble { background: var(--paper-card); border: 1px solid var(--glass-border-brand); border-bottom-left-radius: 4px; color: var(--ink); }
.msg.user  .msg-bubble  { background: var(--grad-brand); color: #fff; border-bottom-right-radius: 4px; }
.msg-time { font-size: 10px; color: var(--ink-muted); margin-top: 4px; padding: 0 4px; }
.msg.user .msg-time { text-align: right; }

.typing-indicator { display: none; gap: 4px; padding: 12px 16px; background: var(--paper-card); border: 1px solid var(--glass-border-brand); border-radius: 16px; border-bottom-left-radius: 4px; width: fit-content; align-self: flex-start; }
.typing-indicator.show { display: flex; }
.typing-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-muted); animation: typingBounce 1.2s ease infinite; }
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }

.chat-input-area { padding: 12px 16px; border-top: 1px solid var(--glass-border-brand); display: flex; gap: 10px; align-items: flex-end; background: var(--paper-card); }
.chat-input { flex: 1; border: 1px solid var(--glass-border-brand); border-radius: 12px; padding: 10px 14px; font-family: var(--font-body); font-size: 13.5px; color: var(--ink); background: var(--paper); resize: none; max-height: 100px; outline: none; transition: border-color .2s; line-height: 1.5; }
.chat-input:focus { border-color: var(--rose); }
.chat-input::placeholder { color: var(--ink-muted); }
.chat-send { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-brand); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s; box-shadow: 0 2px 12px rgba(194,24,91,.38); }
.chat-send:hover { transform: scale(1.06); }
.chat-send svg { width: 18px; height: 18px; fill: #fff; }

.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 16px 12px; background: var(--paper-card); border-top: 1px solid var(--glass-border-brand); }
.suggestion-chip { padding: 5px 12px; border: 1px solid var(--glass-border-brand); border-radius: 100px; font-size: 11.5px; color: var(--rose); cursor: pointer; transition: all .2s; background: rgba(194,24,91,.04); white-space: nowrap; }
.suggestion-chip:hover { background: var(--grad-brand); color: #fff; border-color: transparent; }

/* ── CONTACT ── */
.contact { padding: 100px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; max-width: 1200px; margin: 0 auto; padding: 0 5%; }

.contact-form-card {
  background: var(--glass-bg); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl); padding: 48px; box-shadow: var(--shadow-card); position: relative; overflow: hidden;
}
.contact-form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-brand); }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.form-input,
.form-textarea,
.form-select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--glass-border-brand);
  border-radius: var(--radius-sm); background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 14.5px; outline: none; transition: all .2s; appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(194,24,91,.10); }
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-submit { width: 100%; padding: 16px; background: var(--grad-brand); color: #fff; border: none; border-radius: var(--radius-md); font-family: var(--font-body); font-size: 15px; font-weight: 500; cursor: pointer; transition: all .3s; letter-spacing: .04em; box-shadow: var(--shadow-btn); margin-top: 8px; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(194,24,91,.48); }

.contact-info { padding-top: 24px; }
.contact-info-title { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--ink); line-height: 1.15; margin-bottom: 20px; letter-spacing: -.02em; }
.contact-info-body { font-size: 16px; color: var(--ink-muted); line-height: 1.8; margin-bottom: 40px; font-weight: 300; }

.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-detail-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--rose-pale); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-detail-text { font-size: 14px; color: var(--ink-muted); }
.contact-detail-text strong { display: block; color: var(--ink); font-weight: 500; font-size: 15px; }

/* ── FOOTER ── */
footer { background: #0f0d12; color: rgba(255,255,255,.45); padding: 60px 5% 32px; position: relative; z-index: 1; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 32px; }
.footer-brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 12px; letter-spacing: .02em; }
.footer-brand-body { font-size: 13.5px; line-height: 1.7; max-width: 300px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social-link { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; text-decoration: none; color: rgba(255,255,255,.45); font-size: 14px; transition: all .2s; font-weight: 600; }
.footer-social-link:hover { background: var(--grad-brand); border-color: transparent; color: #fff; }
.footer-col-title { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.3); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,.42); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--rose-light); }
.footer-logo-light { height: 32px; width: auto; display: block; opacity: .85; }
.footer-logo-white { height: 32px; width: auto; display: none; opacity: .75; }
[data-theme="dark"] .footer-logo-light { display: none; }
[data-theme="dark"] .footer-logo-white { display: block; }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; flex-wrap: wrap; gap: 12px; }
.footer-bottom-tagline { color: var(--rose-light); font-style: italic; font-family: var(--font-display); font-size: 14px; }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── KEYFRAMES ── */
@keyframes pulse      { 0%,100%{opacity:1;transform:scale(1);}50%{opacity:.4;transform:scale(.65);} }
@keyframes fadeUp     { from{opacity:0;transform:translateY(28px);}to{opacity:1;transform:translateY(0);} }
@keyframes scrollDrop { 0%{transform:scaleY(0);transform-origin:top;}50%{transform:scaleY(1);transform-origin:top;}51%{transform:scaleY(1);transform-origin:bottom;}100%{transform:scaleY(0);transform-origin:bottom;} }
@keyframes msgIn      { from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:translateY(0);} }
@keyframes typingBounce { 0%,60%,100%{transform:translateY(0);}30%{transform:translateY(-6px);} }

/* ── RESPONSIVE ── */

/* Tablet landscape */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-inner, .ai-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .methodology-header { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-metrics { gap: 32px; }
}

/* Tablet portrait / large mobile */
@media (max-width: 768px) {
  /* Navbar */
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .btn-cta-nav { display: none; }

  /* Hero */
  .hero { padding: 100px 5% 60px; }
  .hero-metrics { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .hero-metrics-divider { display: none; }
  .hero-metric-value { font-size: 32px; }

  /* About */
  .about { padding: 64px 0; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 5%; }
  .about-card-main { padding: 32px 24px; }
  .about-card-accent { position: static; margin-top: 24px; display: inline-block; }
  .about-visual { padding-bottom: 0; }

  /* Services */
  .services { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }

  /* Methodology */
  .methodology { padding: 64px 0; }
  .methodology-steps { grid-template-columns: 1fr; }

  /* Simulator */
  .simulator { padding: 64px 0; }
  .simulator-card { padding: 32px 20px; }
  .simulator-options { grid-template-columns: 1fr; }
  .simulator-question { font-size: 20px; }

  /* AI Chat */
  .ai-section { padding: 64px 0; }
  .ai-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 5%; }
  .chat-widget { height: 420px; }

  /* Contact */
  .contact { padding: 64px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 5%; }
  .contact-info-title { font-size: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 32px 24px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  /* Section titles */
  .section-title { font-size: clamp(28px, 6vw, 42px); }
}

/* Mobile */
@media (max-width: 480px) {
  /* Navbar */
  nav { padding: 12px 4%; }
  .nav-logo img { height: 32px; }

  /* Hero */
  .hero { padding: 90px 4% 48px; min-height: auto; }
  .hero-title { font-size: clamp(36px, 10vw, 54px); }
  .hero-subtitle { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-primary, .btn-secondary { text-align: center; padding: 14px 24px; }
  .hero-metrics { gap: 12px; }
  .hero-metric-value { font-size: 28px; }
  .hero-metric-label { font-size: 10px; }
  .scroll-hint { display: none; }

  /* About */
  .about-card-main { padding: 24px 20px; }
  .about-icon-grid { grid-template-columns: 1fr; gap: 12px; }
  .about-quote { font-size: 18px; }

  /* Services */
  .service-card { padding: 28px 20px; }

  /* Simulator */
  .simulator-card { padding: 24px 16px; }
  .sim-nav { flex-direction: column; gap: 8px; }
  .btn-sim { width: 100%; text-align: center; }

  /* Chat */
  .chat-widget { height: 380px; }
  .chat-suggestions { display: none; }

  /* Contact */
  .contact-form-card { padding: 24px 16px; }

  /* Footer */
  .footer-inner { padding: 0; }
  footer { padding: 48px 4% 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* General */
  .container { padding: 0 4%; }
  .section-pad { padding: 64px 0; }
  .section-title { font-size: clamp(26px, 7vw, 36px); }
  .section-body { font-size: 15px; }
}
