/* =====================================================
   FRATELLI CONTABILIDADE — Premium CSS Design System
   ===================================================== */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Fratelli Brand Colors (extraídas do logo original) ── */
  --brand-purple:      #5B2D8E;   /* quadrado roxo escuro do logo */
  --brand-purple-mid:  #7B40B8;   /* variação média */
  --brand-purple-lite: #9B6ACE;   /* variação clara */
  --brand-gray-sq:     #A9A5B5;   /* quadrado cinza do logo */
  --brand-lilac:       #C9A8E8;   /* lilás suave */
  --brand-glow:        #B06AFF;   /* brilho roxo vibrante */

  /* ── Backgrounds — mais claros que antes ── */
  --bg-base:    #1C1338;   /* deep indigo (era #0D0A14 — muito escuro) */
  --bg-section: #241A48;   /* seções alternadas */
  --bg-card:    #2E2058;   /* cards */
  --bg-card-hover: #362869;
  --bg-input:   rgba(255,255,255,0.06);

  /* ── Superfícies / Glassmorphism ── */
  --surface:       rgba(255,255,255,0.06);
  --surface-hover: rgba(255,255,255,0.10);
  --border:        rgba(180,140,255,0.22);
  --border-hover:  rgba(180,140,255,0.50);

  /* ── Texto ── */
  --text-primary:   #F0EAFF;    /* branco levemente lilás */
  --text-secondary: #C8B8E8;    /* lilás médio */
  --text-muted:     #9888B8;    /* muted lilás */

  /* ── Sombras ── */
  --shadow-sm: 0 2px 10px rgba(91,45,142,0.30);
  --shadow-md: 0 8px 32px  rgba(91,45,142,0.38);
  --shadow-lg: 0 20px 56px rgba(91,45,142,0.45);
  --shadow-xl: 0 36px 80px rgba(61,26,110,0.55);
  --glow:      0 0 40px rgba(176,106,255,0.40);

  /* ── Layout ── */
  --section-padding: 120px 0;
  --container-max: 1280px;
  --container-pad: 0 32px;

  /* ── Tipografia ── */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* ── Transições ── */
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --dur-fast: 150ms;
  --dur-mid:  280ms;
  --dur-slow: 450ms;

  /* ── Aliases (mantém compatibilidade com o restante do CSS) ── */
  --purple-dark:   #3D1A6E;
  --purple-main:   var(--brand-purple);
  --purple-mid:    var(--brand-purple-mid);
  --purple-light:  var(--brand-purple-lite);
  --purple-xlight: var(--brand-lilac);
  --purple-glow:   var(--brand-glow);
  --dark-bg:       var(--bg-base);
  --dark-card:     var(--bg-card);
  --dark-line:     #3A2A6A;
  --gray-mid:      #7A6A9A;
  --gray-light:    var(--brand-gray-sq);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1,h2,h3,h4,h5 { line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(91,45,142,0.12);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--purple-xlight) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.section {
  padding: var(--section-padding);
  position: relative;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--dur-mid) var(--ease);
  position: relative;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-mid) 0%, var(--purple-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm), 0 0 0 0 rgba(123,63,184,0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 30px rgba(123,63,184,0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--purple-light);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  background: rgba(91,45,142,0.15);
  border-color: var(--border-hover);
  color: #fff;
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-full { width: 100%; justify-content: center; }

/* =====================================================
   HEADER / NAV
   ===================================================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--dur-slow) var(--ease),
              box-shadow var(--dur-slow) var(--ease),
              backdrop-filter var(--dur-slow) var(--ease);
}
#header.scrolled {
  background: rgba(28,19,56,0.90);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(180,140,255,0.25), 0 8px 32px rgba(0,0,0,0.35);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 36px;
  height: 36px;
}
.logo-grid .sq { border-radius: 3px; transition: transform var(--dur-mid) var(--ease); }
/* ── Cores exatas do logo Fratelli ── */
.logo-grid .sq.filled { background: var(--brand-purple); }
.logo-grid .sq.empty  { background: var(--brand-gray-sq); opacity: 0.55; }
.logo:hover .logo-grid .sq.filled { background: var(--brand-purple-mid); }
.logo:hover .logo-grid .sq.empty  { opacity: 0.75; }

.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.logo-sub {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--purple-light);
  line-height: 1.4;
}

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(163,118,255,0.12);
}

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

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--dur-mid) var(--ease);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 32px 80px;
  max-width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 65% 45%, rgba(123,64,184,0.35) 0%, transparent 65%),
    radial-gradient(ellipse 55% 55% at 15% 85%, rgba(91,45,142,0.45) 0%, transparent 60%),
    linear-gradient(160deg, #1C1338 0%, #241A48 55%, #1C1338 100%);
}

/* Animated particle grid */
.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180,140,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,140,255,0.10) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
  0% { transform: translate(0,0); }
  100% { transform: translate(60px,60px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(91,45,142,0.2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--purple-xlight);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74,222,128,0.8);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,100% { box-shadow: 0 0 10px rgba(74,222,128,0.8); }
  50% { box-shadow: 0 0 20px rgba(74,222,128,1), 0 0 30px rgba(74,222,128,0.4); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
  letter-spacing: -0.03em;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--purple-glow) 0%, var(--purple-xlight) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-item { display: flex; flex-direction: column; }
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Visual - Chess Logo */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chess-board-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.chess-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 240px;
}

.chess-cell {
  aspect-ratio: 1;
  border-radius: 12px;
  transition: all var(--dur-slow) var(--ease);
  position: relative;
}

.chess-cell.active {
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-dark));
  box-shadow: var(--shadow-md), 0 0 20px rgba(123,63,184,0.4);
  animation: cellPulse 3s ease-in-out infinite;
}

.chess-cell.active:nth-child(1) { animation-delay: 0s; }
.chess-cell.active:nth-child(2) { animation-delay: 0.3s; }
.chess-cell.active:nth-child(3) { animation-delay: 0.6s; }
.chess-cell.active:nth-child(4) { animation-delay: 0.9s; }
.chess-cell.active:nth-child(7) { animation-delay: 1.2s; }

@keyframes cellPulse {
  0%,100% { box-shadow: var(--shadow-md), 0 0 20px rgba(123,63,184,0.4); }
  50% { box-shadow: var(--shadow-lg), 0 0 40px rgba(176,106,255,0.7); }
}

.chess-cell.dim {
  background: rgba(163,118,255,0.08);
  border: 1px solid rgba(163,118,255,0.15);
}

.chess-labels {
  text-align: center;
}
.chess-label-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 8px;
}
.chess-label-group span, .chess-pillar-group span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}
.chess-pillar-group {
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scroll-cue {
  position: relative;
  width: 44px;
  height: 42px;
}

.scroll-arrow {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--brand-lilac);
  border-bottom: 2px solid var(--brand-lilac);
  transform: translateX(-50%) rotate(45deg);
  filter: drop-shadow(0 0 8px rgba(201,168,232,0.7));
  animation: arrowDown 1.8s ease-in-out infinite;
}

.scroll-cue i {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-lilac);
  box-shadow: 0 0 10px rgba(201,168,232,0.9);
  animation: particleFloat 1.8s ease-in-out infinite;
}

.scroll-cue i:nth-child(1) { margin-left: -18px; animation-delay: -0.45s; }
.scroll-cue i:nth-child(2) { margin-left: 15px; animation-delay: -0.9s; }
.scroll-cue i:nth-child(3) { margin-left: -3px; animation-delay: -1.35s; }

@keyframes arrowDown {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -4px) rotate(45deg); }
  50% { opacity: 1; transform: translate(-50%, 7px) rotate(45deg); }
}

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(-2px) scale(0.6); }
  45%, 65% { opacity: 0.9; transform: translateY(8px) scale(1); }
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services-section {
  background: var(--bg-base);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--dur-mid) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,45,142,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(91,45,142,0.2);
}
.service-card:hover::before { opacity: 1; }

.service-card.featured {
  background: linear-gradient(135deg, #3D2875 0%, #2A1A5C 100%);
  border-color: rgba(180,140,255,0.45);
  box-shadow: var(--shadow-md), 0 0 60px rgba(123,64,184,0.35);
  grid-column: 3;
  grid-row: 1 / 3;
}

.featured-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-glow));
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 4px;
}

.service-icon-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(91,45,142,0.2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: all var(--dur-mid) var(--ease);
}
.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--purple-light);
}
.service-card:hover .service-icon {
  background: rgba(91,45,142,0.35);
  border-color: var(--border-hover);
}

.service-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(163,118,255,0.12);
  line-height: 1;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.service-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-light);
}

.service-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-light);
  text-decoration: none;
  transition: gap var(--dur-fast), color var(--dur-fast);
}
.service-link:hover {
  gap: 10px;
  color: var(--purple-glow);
}

/* =====================================================
   WHY US SECTION
   ===================================================== */
.why-section {
  background: linear-gradient(160deg, #241A48 0%, #2E2058 50%, #241A48 100%);
  overflow: hidden;
}

.why-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(180,140,255,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-content .section-title { text-align: left; }
.why-content > p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  font-size: 1.05rem;
}
.why-content > p strong { color: var(--purple-light); }

.why-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pillar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(91,45,142,0.2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.pillar-icon svg { width: 100%; height: 100%; stroke: var(--purple-light); }

.pillar h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.pillar p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* MVV Cards */
.mvv-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mvv-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all var(--dur-mid) var(--ease);
  position: relative;
  overflow: hidden;
}
.mvv-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--purple-mid), var(--purple-glow));
  border-radius: 3px;
}
.mvv-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.mvv-icon { font-size: 1.5rem; margin-bottom: 8px; }
.mvv-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.mvv-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }
.mvv-card ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mvv-card ul li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
}
.mvv-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--purple-light);
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-section {
  background: var(--bg-base);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Chess visual */
.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-chess-wrap {
  position: relative;
  width: 280px;
  height: 280px;
}

.about-chess-board {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-chess-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.acb-row { display: flex; flex: 1; }
.acb-cell { flex: 1; }
.acb-cell.dark  { background: rgba(91,45,142,0.50); }
.acb-cell.light { background: rgba(91,45,142,0.14); }

.chess-king-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  opacity: 0.6;
  filter: drop-shadow(0 0 20px rgba(176,106,255,0.8));
  animation: floatKing 4s ease-in-out infinite;
}
@keyframes floatKing {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50% { transform: translate(-50%,-55%) scale(1.05); }
}

.about-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center, rgba(91,45,142,0.3) 0%, transparent 70%);
  z-index: -1;
}

/* CEO Card */
.ceo-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.ceo-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.ceo-info h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.ceo-info p { font-size: 0.75rem; color: var(--purple-light); }
.ceo-info span { font-size: 0.7rem; color: var(--text-muted); }

/* About content */
.about-content .section-title { text-align: left; }
.about-lead {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-lead strong { color: var(--purple-light); }
.about-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-content p em { color: var(--purple-xlight); font-style: italic; }
.about-content p strong { color: var(--purple-light); }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.tag {
  padding: 6px 14px;
  background: rgba(91,45,142,0.15);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--purple-light);
  font-weight: 500;
}

/* =====================================================
   LOGO MEANING SECTION
   ===================================================== */
.logo-section {
  background: linear-gradient(160deg, #2E2058 0%, #241A48 100%);
}

.logo-meaning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.logo-big-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.logo-grid-big {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 220px;
}

.sq-big {
  aspect-ratio: 1;
  border-radius: 16px;
  transition: transform var(--dur-mid) var(--ease);
}
.sq-big.filled {
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-dark));
  box-shadow: 0 8px 24px rgba(91,45,142,0.4);
  animation: cellPulse 3s ease-in-out infinite;
}
.sq-big.filled:nth-child(1) { animation-delay: 0s; }
.sq-big.filled:nth-child(2) { animation-delay: 0.2s; }
.sq-big.filled:nth-child(3) { animation-delay: 0.4s; }
.sq-big.filled:nth-child(4) { animation-delay: 0.6s; }
.sq-big.filled:nth-child(7) { animation-delay: 0.8s; }

.sq-big.empty {
  background: rgba(163,118,255,0.08);
  border: 1px solid rgba(163,118,255,0.15);
}

.logo-axis-labels {
  text-align: center;
}
.axis-x, .axis-y {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 6px;
}
.axis-x span, .axis-y span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}
.axis-y span { color: var(--purple-light); }

/* Meanings */
.logo-meanings {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.meaning-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all var(--dur-mid) var(--ease);
}
.meaning-item:hover {
  border-color: var(--border-hover);
  transform: translateX(6px);
}

.meaning-color {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.chess-meaning {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(91,45,142,0.3), rgba(61,26,110,0.3));
  border: 1px solid var(--border);
}

.meaning-item h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.meaning-item p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section {
  background: var(--bg-base);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all var(--dur-mid) var(--ease);
}
.contact-item:hover { border-color: var(--border-hover); transform: translateX(4px); }

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(91,45,142,0.2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.contact-icon svg { width: 100%; height: 100%; stroke: var(--purple-light); }
.contact-icon.whatsapp { background: rgba(37,211,102,0.15); border-color: rgba(37,211,102,0.3); }
.contact-icon.whatsapp svg { stroke: none; fill: #25D366; }

.contact-item h4 { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-item a { font-size: 0.95rem; color: #fff; text-decoration: none; font-weight: 500; transition: color var(--dur-fast); }
.contact-item a:hover { color: var(--purple-light); }
.contact-item span { font-size: 0.95rem; color: var(--text-secondary); }

.social-links-contact {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.social-links-contact h4 { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; }

.social-icons { display: flex; gap: 10px; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(91,45,142,0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-decoration: none;
  transition: all var(--dur-mid) var(--ease);
  color: var(--purple-light);
}
.social-icon svg { width: 100%; height: 100%; }
.social-icon:hover {
  background: rgba(91,45,142,0.3);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  color: var(--purple-glow);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  caret-color: var(--brand-purple);
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 1; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 3px rgba(91,45,142,0.2);
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-color: #FFFFFF;
  color: var(--text-primary);
  color-scheme: light;
}
.form-group select option {
  background: #FFFFFF;
  color: var(--text-primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 10px;
  color: #4ade80;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-success.visible { display: flex; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.footer-top { padding: 80px 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-logo { margin-bottom: 4px; }

.footer-links h5, .footer-contact h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-links a:hover { color: var(--purple-light); }

.footer-contact p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 8px; }
.footer-contact a { color: var(--text-secondary); text-decoration: none; transition: color var(--dur-fast); }
.footer-contact a:hover { color: var(--purple-light); }

.footer-social { margin-top: 16px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
#whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 50px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  transition: all var(--dur-mid) var(--ease-spring);
  overflow: hidden;
}
#whatsapp-float svg { width: 22px; height: 22px; flex-shrink: 0; }
#whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(37,211,102,0.55);
}
#whatsapp-float span {
  max-width: 120px;
  white-space: nowrap;
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.12s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.19s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.26s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.33s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card.featured { grid-column: 1 / -1; grid-row: auto; }
  .why-grid, .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .logo-meaning-grid { grid-template-columns: 1fr; }
  .logo-big-display { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 80px 0; --container-pad: 0 20px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(28,19,56,0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 16px;
    border-top: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-container { flex-wrap: wrap; position: relative; }

  .hero { padding: 100px 20px 60px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
  .stat-divider { width: 40px; height: 1px; }
  .hero-cta { flex-direction: column; }

  .services-grid { grid-template-columns: 1fr; }
  .why-pillars { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .about-visual { margin-bottom: 40px; }
  .ceo-card { right: 0; }

  #whatsapp-float span { display: none; }
  #whatsapp-float { border-radius: 50%; padding: 14px; }
}

@media (max-width: 480px) {
  .contact-form { padding: 24px; }
  .why-grid { gap: 40px; }
  .about-grid { gap: 40px; }
}

/* =====================================================
   MODERN RELAUNCH OVERRIDES
   Marca mais fiel: roxo ameixa, cinza frio, lilas e base clara.
   ===================================================== */
:root {
  --brand-purple: #4A005F;
  --brand-purple-mid: #6F258D;
  --brand-purple-lite: #B171E7;
  --brand-gray-sq: #A7ADB4;
  --brand-lilac: #DCC7F4;
  --brand-glow: #B171E7;
  --bg-base: #F7F5FA;
  --bg-section: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FBF9FE;
  --bg-input: #FFFFFF;
  --surface: rgba(255,255,255,0.78);
  --surface-hover: #FFFFFF;
  --border: rgba(74,0,95,0.14);
  --border-hover: rgba(74,0,95,0.34);
  --text-primary: #211827;
  --text-secondary: #50475A;
  --text-muted: #7A7181;
  --shadow-sm: 0 2px 10px rgba(30,20,38,0.08);
  --shadow-md: 0 12px 30px rgba(30,20,38,0.12);
  --shadow-lg: 0 24px 54px rgba(30,20,38,0.16);
  --shadow-xl: 0 36px 80px rgba(30,20,38,0.18);
  --glow: 0 0 40px rgba(177,113,231,0.22);
  --dark-bg: #211827;
  --dark-card: #2B2033;
  --dark-line: #E5DDEE;
}

h1,h2,h3,h4,h5 { letter-spacing: 0; }

body {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F7F5FA 42%, #FFFFFF 100%);
  color: var(--text-primary);
}

.section-title {
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.section-subtitle,
.about-content p,
.why-content > p,
.service-card > p,
.service-list li,
.mvv-card p,
.mvv-card ul li,
.meaning-item p,
.footer-brand p,
.footer-links a,
.footer-contact p,
.footer-contact a {
  color: var(--text-secondary);
}

.section-tag,
.tag {
  color: var(--brand-purple-mid);
  background: rgba(177,113,231,0.10);
  border-color: rgba(74,0,95,0.16);
}

#header.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 0 rgba(74,0,95,0.10), 0 18px 40px rgba(30,20,38,0.10);
}

#header.scrolled .logo-name,
#header.scrolled .nav-link {
  color: var(--text-primary);
}

#header.scrolled .logo-sub,
#header.scrolled .btn-outline {
  color: var(--brand-purple-mid);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-purple);
  background: rgba(177,113,231,0.12);
}

.btn {
  border-radius: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-purple-mid) 0%, var(--brand-purple) 100%);
}

.btn-outline {
  border-color: rgba(255,255,255,0.24);
}

.hero {
  min-height: 96vh;
  background: #211827;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(33,24,39,0.98) 0%, rgba(33,24,39,0.82) 48%, rgba(74,0,95,0.70) 100%),
    url("hero-bg.png") center/cover no-repeat;
}

.hero-title,
.hero-content .hero-title,
.hero .logo-name {
  color: #FFFFFF;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--brand-lilac) 48%, var(--brand-purple-lite) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle,
.hero-badge,
.hero .stat-label {
  color: #E8DFF1;
}

#header:not(.scrolled) .nav-link {
  color: rgba(255,255,255,0.68);
}

#header:not(.scrolled) .nav-link:hover,
#header:not(.scrolled) .nav-link.active {
  color: #FFFFFF;
  background: rgba(255,255,255,0.10);
}

.hero .btn-ghost {
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.08);
}

.hero .btn-ghost:hover {
  background: rgba(255,255,255,0.14);
}

.hero-badge {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
}

.badge-dot {
  background: var(--brand-lilac);
  box-shadow: 0 0 12px rgba(220,199,244,0.85);
}

.hero-stats {
  border-top-color: rgba(255,255,255,0.18);
}

.stat-number {
  background: none;
  -webkit-text-fill-color: #FFFFFF;
  color: #FFFFFF;
}

.strategy-panel {
  width: min(520px, 44vw);
  min-height: 590px;
  position: relative;
}

.strategy-photo {
  position: absolute;
  inset: 38px 0 92px 60px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(0,0,0,0.38);
}

.strategy-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.strategy-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33,24,39,0.08), rgba(33,24,39,0.50));
}

.strategy-card {
  position: absolute;
  background: rgba(255,255,255,0.92);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.66);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(0,0,0,0.18);
  backdrop-filter: blur(18px);
}

.strategy-main {
  left: 0;
  bottom: 34px;
  width: 78%;
  padding: 18px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
}

.strategy-main img {
  width: 64px;
  height: 58px;
  object-fit: contain;
}

.strategy-main span,
.strategy-mini span {
  display: block;
  color: var(--brand-purple-mid);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.strategy-main strong {
  display: block;
  margin-top: 4px;
  font-size: 0.98rem;
  line-height: 1.35;
}

.strategy-mini {
  min-width: 148px;
  padding: 14px 16px;
}

.strategy-mini strong {
  display: block;
  font-size: 1rem;
}

.strategy-one {
  right: 12px;
  top: 0;
}

.strategy-two {
  right: -10px;
  bottom: 130px;
}

.services-section,
.about-section,
.contact-section {
  background: var(--bg-base);
}

.why-section,
.logo-section {
  background: #FFFFFF;
}

.why-bg-pattern {
  background-image: linear-gradient(rgba(74,0,95,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(74,0,95,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
}

.service-card,
.mvv-card,
.meaning-item,
.contact-item,
.social-links-contact,
.contact-form {
  background: var(--bg-card);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.service-card.featured {
  background: linear-gradient(145deg, #2B2033 0%, #4A005F 100%);
  color: #FFFFFF;
}

.service-card h3,
.mvv-card h4,
.meaning-item h4,
.contact-item a,
.social-links-contact h4 {
  color: var(--text-primary);
}

.service-card.featured h3,
.service-card.featured > p,
.service-card.featured .service-list li {
  color: #FFFFFF;
}

.service-card.featured .service-list li::before {
  background: var(--brand-lilac);
}

.service-icon,
.pillar-icon,
.contact-icon {
  border-radius: 8px;
  background: rgba(177,113,231,0.11);
}

.about-visual {
  min-height: 580px;
  align-items: center;
}

.ceo-portrait {
  width: min(520px, 100%);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(74,0,95,0.14);
  box-shadow: var(--shadow-xl);
  position: relative;
}

.ceo-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 58%, rgba(33,24,39,0.24) 100%);
}

.ceo-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% center;
}

.ceo-card {
  right: 18px;
  bottom: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  border-color: rgba(255,255,255,0.80);
}

.ceo-avatar {
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(74,0,95,0.12);
}

.ceo-avatar img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.ceo-info h4 {
  color: var(--text-primary);
}

.ceo-info p {
  color: var(--brand-purple-mid);
}

.blog-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F5FA 100%);
}

body[data-blog-enabled="false"] .blog-section,
body[data-blog-enabled="false"] .blog-nav-link {
  display: none !important;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.blog-copy .section-title {
  text-align: left;
}

.blog-control-note {
  justify-self: end;
  max-width: 360px;
  padding: 18px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.blog-control-note span {
  display: block;
  color: var(--brand-purple-mid);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.blog-control-note strong {
  display: block;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}

.blog-control-note code {
  color: var(--brand-purple);
  background: rgba(177,113,231,0.12);
  padding: 2px 5px;
  border-radius: 4px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  min-height: 320px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.blog-card time {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.blog-card h3 {
  color: var(--text-primary);
  font-size: 1.16rem;
  margin: 18px 0 12px;
}

.blog-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.blog-card a {
  margin-top: auto;
  display: inline-flex;
  color: var(--brand-purple-mid);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
}

.blog-card a:hover {
  color: var(--brand-purple);
}

.blog-category {
  align-self: flex-start;
  margin-top: 22px;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(177,113,231,0.12);
  color: var(--brand-purple-mid);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer {
  background: #FFFFFF;
}

.footer-links h5,
.footer-contact h5,
.footer-bottom p {
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .hero-visual {
    display: flex;
  }

  .strategy-panel {
    width: min(620px, 100%);
    min-height: 430px;
    margin-top: 24px;
  }

  .strategy-photo {
    inset: 0 0 60px 0;
  }

  .strategy-two {
    right: 20px;
    bottom: 88px;
  }

  .about-visual {
    min-height: auto;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav-container {
    padding: 18px 20px;
    gap: 16px;
  }

  #header.scrolled .nav-toggle span {
    background: var(--text-primary);
  }

  .nav-links.open .nav-link {
    color: #FFFFFF;
  }

  .strategy-panel {
    width: 100%;
    min-height: 360px;
  }

  .strategy-photo {
    inset: 0 0 76px 0;
  }

  .strategy-main {
    width: 88%;
    grid-template-columns: 52px 1fr;
  }

  .strategy-main img {
    width: 52px;
    height: 48px;
  }

  .strategy-one,
  .strategy-two {
    display: none;
  }

  .blog-layout,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-control-note {
    justify-self: stretch;
  }

  .ceo-card {
    left: 18px;
    right: 18px;
  }

  .hero {
    width: 100%;
    overflow: hidden;
  }

  .hero > * {
    min-width: 0;
  }

  .hero-content {
    width: 100%;
    max-width: calc(100vw - 40px);
    min-width: 0;
  }

  .hero-badge {
    max-width: 100%;
    white-space: normal;
  }

  .hero-subtitle,
  .hero-title {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-cta {
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    white-space: normal;
    justify-content: center;
  }

  .strategy-panel {
    max-width: calc(100vw - 40px);
  }

  .hero-scroll-indicator {
    display: none;
  }
}

/* =====================================================
   BRAND ACCURACY + POLISH PASS
   ===================================================== */
:root {
  --brand-purple: #380058;
  --brand-purple-mid: #5B1478;
  --brand-purple-lite: #B078E8;
  --brand-gray-sq: #A0A8B0;
  --brand-lilac: #EBDDFA;
}

.logo-grid .sq,
.logo-grid .sq.filled,
.logo-grid .sq.empty {
  opacity: 1;
  background: transparent;
  border: 0;
}

.logo-grid .sq:nth-child(1),
.logo-grid .sq:nth-child(2),
.logo-grid .sq:nth-child(3) {
  background: var(--brand-purple);
}

.logo-grid .sq:nth-child(4),
.logo-grid .sq:nth-child(5) {
  background: var(--brand-gray-sq);
}

.logo-grid .sq:nth-child(6) {
  background: rgba(255,255,255,0.10);
  border: 1px solid var(--brand-gray-sq);
}

.logo-grid .sq:nth-child(7) {
  background: var(--brand-purple-lite);
}

.logo-grid .sq:nth-child(8),
.logo-grid .sq:nth-child(9) {
  background: rgba(255,255,255,0.10);
  border: 1px solid var(--brand-purple-lite);
}

#header.scrolled .logo-grid .sq:nth-child(6),
#header.scrolled .logo-grid .sq:nth-child(8),
#header.scrolled .logo-grid .sq:nth-child(9),
.footer .logo-grid .sq:nth-child(6),
.footer .logo-grid .sq:nth-child(8),
.footer .logo-grid .sq:nth-child(9) {
  background: #FFFFFF;
}

.logo:hover .logo-grid .sq.filled,
.logo:hover .logo-grid .sq.empty {
  opacity: 1;
}

.sq-big,
.sq-big.filled,
.sq-big.empty {
  background: transparent;
  border: 0;
  box-shadow: none;
  animation: none;
}

.sq-big:nth-child(1),
.sq-big:nth-child(2),
.sq-big:nth-child(3) {
  background: var(--brand-purple);
  box-shadow: 0 18px 34px rgba(56,0,88,0.18);
}

.sq-big:nth-child(4),
.sq-big:nth-child(5) {
  background: var(--brand-gray-sq);
  box-shadow: 0 14px 28px rgba(80,88,96,0.14);
}

.sq-big:nth-child(6) {
  background: #FFFFFF;
  border: 2px solid var(--brand-gray-sq);
}

.sq-big:nth-child(7) {
  background: var(--brand-purple-lite);
  box-shadow: 0 18px 34px rgba(176,120,232,0.22);
}

.sq-big:nth-child(8),
.sq-big:nth-child(9) {
  background: #FFFFFF;
  border: 2px solid var(--brand-purple-lite);
}

.strategy-panel {
  width: min(500px, 42vw);
  min-height: 540px;
}

.strategy-photo {
  inset: 22px 0 84px 54px;
  background: #EBDDFA;
  border: 1px solid rgba(255,255,255,0.26);
}

.strategy-photo img {
  object-position: 44% center;
  filter: saturate(0.96) contrast(1.02);
}

.strategy-photo::after {
  background:
    linear-gradient(180deg, rgba(33,24,39,0.00) 48%, rgba(33,24,39,0.34) 100%),
    linear-gradient(90deg, rgba(56,0,88,0.10), rgba(56,0,88,0.00));
}

.strategy-mini {
  display: none;
}

.strategy-main {
  bottom: 34px;
  left: 14px;
  width: min(410px, 88%);
  border-color: rgba(255,255,255,0.82);
}

.trust-strip {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(56,0,88,0.10);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(56,0,88,0.10);
  border-left: 1px solid rgba(56,0,88,0.10);
  border-right: 1px solid rgba(56,0,88,0.10);
}

.trust-item {
  min-height: 146px;
  padding: 30px 34px;
  background: #FFFFFF;
}

.trust-item span {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-purple-lite);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.trust-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 1rem;
}

.trust-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.62;
}

.ceo-quote {
  margin: 8px 0 30px;
  padding: 22px 24px;
  background: #FFFFFF;
  border-left: 4px solid var(--brand-purple-mid);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.ceo-quote p {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.14rem;
  line-height: 1.5;
}

.ceo-quote cite {
  color: var(--brand-purple-mid);
  font-size: 0.82rem;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meaning-color {
  border: 1px solid rgba(56,0,88,0.08);
}

.chess-meaning {
  color: var(--brand-purple);
  background: #EBDDFA;
  border-color: rgba(56,0,88,0.16);
}

@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: 1fr;
    border-left: 0;
    border-right: 0;
  }

  .trust-item {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    min-height: auto;
    padding-bottom: 86px;
  }

  .hero-visual {
    display: none !important;
  }

  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.12;
  }

  .hero-content {
    align-self: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-cta,
  .hero-stats {
    width: 100% !important;
    max-width: 18.5rem !important;
  }

  .hero-cta .btn {
    max-width: 18.5rem;
  }

  .hero-title .highlight {
    display: block;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-title,
  .hero-subtitle,
  .strategy-main strong {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .strategy-main > div {
    min-width: 0;
  }

  .strategy-panel {
    width: 100%;
    max-width: calc(100vw - 40px);
    min-height: 410px;
  }

  .strategy-photo {
    inset: 0 0 78px 0;
  }

  .strategy-main {
    left: 0;
    bottom: 28px;
    width: 100%;
  }

  .trust-item {
    padding: 24px 20px;
  }

  .trust-item strong,
  .trust-item p {
    max-width: 19rem;
  }

  .ceo-quote {
    padding: 18px 20px;
  }
}

/* =====================================================
   HERO NETWORK VISUAL
   ===================================================== */
.strategy-panel {
  width: min(520px, 42vw);
  min-height: 540px;
}

.network-visual {
  position: absolute;
  inset: 0 0 78px 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,0.16) 0 9%, rgba(176,120,232,0.14) 10% 23%, transparent 24%),
    radial-gradient(circle at 50% 48%, rgba(56,0,88,0.60), rgba(33,24,39,0.18) 68%, transparent 72%);
  overflow: hidden;
}

.network-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 0 50px rgba(176,120,232,0.14),
    0 0 48px rgba(56,0,88,0.22);
}

.network-visual::after {
  content: "";
  position: absolute;
  inset: 92px;
  border-radius: 50%;
  border: 1px dashed rgba(235,221,250,0.24);
}

.network-ring {
  position: absolute;
  left: 50%;
  top: 48%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ring-one {
  width: 340px;
  height: 340px;
  border: 1px solid rgba(176,120,232,0.34);
}

.ring-two {
  width: 220px;
  height: 220px;
  border: 1px solid rgba(160,168,176,0.28);
}

.network-line {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 280px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.58), transparent);
  transform-origin: left center;
  opacity: 0.75;
}

.line-one { transform: rotate(16deg); }
.line-two { transform: rotate(74deg); width: 245px; }
.line-three { transform: rotate(134deg); width: 255px; }
.line-four { transform: rotate(207deg); width: 278px; }
.line-five { transform: rotate(307deg); width: 244px; }

.network-center {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 176px;
  height: 176px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,247,255,0.90));
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.24),
    0 0 0 10px rgba(255,255,255,0.08),
    0 0 0 24px rgba(176,120,232,0.08);
  z-index: 4;
}

.network-center img {
  width: 86px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 8px;
}

.network-center strong {
  color: var(--brand-purple);
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1;
}

.network-center span {
  width: 112px;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.person-node {
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 16px 38px rgba(0,0,0,0.20);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 11px;
  z-index: 3;
}

.person-node::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-gray-sq);
  transform: translateX(-50%);
}

.person-node::after {
  content: "";
  position: absolute;
  top: 39px;
  left: 50%;
  width: 34px;
  height: 19px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple-mid));
  transform: translateX(-50%);
}

.person-node span {
  position: relative;
  z-index: 2;
  color: var(--brand-purple);
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.node-one { left: 54px; top: 58px; }
.node-two { right: 36px; top: 72px; }
.node-three { right: 42px; bottom: 78px; }
.node-four { left: 40px; bottom: 88px; }
.node-five { left: 50%; top: 16px; transform: translateX(-50%); }
.node-six { left: 50%; bottom: 22px; transform: translateX(-50%); }

.network-caption {
  bottom: 18px;
  left: auto;
  right: 0;
  width: min(360px, 82%);
  transform: none;
  border-color: rgba(255,255,255,0.82);
}

@media (max-width: 1024px) {
  .network-visual {
    inset: 0 0 80px;
  }

  .network-caption {
    width: min(460px, 92%);
  }
}

/* Fundo teste aplicado como arte principal do hero. */
.network-art {
  inset: 18px 0 86px 0;
  background: #140D1D;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 34px 84px rgba(0,0,0,0.34);
}

.network-art::before,
.network-art::after {
  display: none;
}

.network-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.03);
}

.network-art + .network-caption {
  bottom: 26px;
  right: 24px;
  width: min(390px, 82%);
}

/* Integra a arte de conexoes ao hero sem parecer um quadro colado. */
.hero .strategy-panel {
  width: min(650px, 48vw);
  min-height: 600px;
  margin-left: 0;
  pointer-events: none;
}

.hero .network-art {
  inset: -40px -128px 0 -36px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 58% 48%, rgba(176,120,232,0.24), transparent 42%),
    linear-gradient(90deg, rgba(33,24,39,0.70), rgba(56,0,88,0.18) 42%, rgba(56,0,88,0.04) 100%);
  box-shadow: none;
}

.hero .network-art::before {
  content: "";
  display: block;
  position: absolute;
  inset: -2px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(33,24,39,1) 0%,
      rgba(33,24,39,0.96) 10%,
      rgba(33,24,39,0.68) 24%,
      rgba(33,24,39,0.26) 42%,
      rgba(33,24,39,0.00) 64%),
    linear-gradient(180deg,
      rgba(33,24,39,0.58) 0%,
      rgba(33,24,39,0.00) 22%,
      rgba(33,24,39,0.00) 70%,
      rgba(33,24,39,0.92) 100%);
}

.hero .network-art::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(33,24,39,0.72) 0%, rgba(33,24,39,0.08) 36%, transparent 62%),
    linear-gradient(270deg, rgba(74,0,95,0.40), transparent 48%),
    linear-gradient(180deg, rgba(33,24,39,0.28), transparent 30%, transparent 68%, rgba(33,24,39,0.62));
  mix-blend-mode: multiply;
}

.hero .network-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.70;
  filter: saturate(0.80) contrast(1.08) brightness(0.82);
  mix-blend-mode: lighten;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.08) 12%, rgba(0,0,0,0.56) 28%, #000 44%, #000 88%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.84) 8%, #000 22%, #000 76%, rgba(0,0,0,0.66) 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.08) 12%, rgba(0,0,0,0.56) 28%, #000 44%, #000 88%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.84) 8%, #000 22%, #000 76%, rgba(0,0,0,0.66) 88%, transparent 100%);
  mask-composite: intersect;
}

.hero .network-art + .network-caption {
  display: none;
}

/* Hero sem imagem lateral: foco em mensagem, CTA e indicadores. */
.hero {
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: 132px 32px 104px;
}

.hero-overlay {
  background:
    radial-gradient(ellipse 78% 62% at 82% 22%, rgba(74,0,95,0.66) 0%, transparent 66%),
    radial-gradient(ellipse 54% 54% at 12% 86%, rgba(176,120,232,0.20) 0%, transparent 62%),
    linear-gradient(135deg, #1A1021 0%, #23172F 48%, #4A005F 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.35), #000 45%, rgba(0,0,0,0.18));
}

.hero-content {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(3.1rem, 7vw, 5.9rem);
  line-height: 1.02;
}

.hero-subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  justify-content: center;
  margin-bottom: 56px;
}

.hero-stats {
  width: min(820px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.stat-item {
  padding: 22px 26px;
  background: rgba(255,255,255,0.06);
  align-items: center;
}

.stat-label {
  text-align: center;
}

.stat-divider,
.hero-visual {
  display: none !important;
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 76px;
  }

  .hero-content {
    text-align: left;
  }

  .hero-badge {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-title,
  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    width: 100% !important;
    max-width: 18.5rem !important;
    margin-left: 0;
  }

  .stat-item {
    align-items: flex-start;
  }

  .stat-label {
    text-align: left;
  }
}

/* Mantem o fundo estrategico/xadrez, sem imagem lateral no hero. */
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(26,16,33,0.98) 0%, rgba(26,16,33,0.88) 43%, rgba(74,0,95,0.74) 100%),
    radial-gradient(ellipse 80% 62% at 78% 30%, rgba(176,120,232,0.18), transparent 64%),
    url("hero-bg.png") center/cover no-repeat;
}

.hero-visual {
  display: none !important;
}

.hero::before {
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.72;
}

/* Reorganiza o conteudo para revelar mais do fundo hero no desktop. */
@media (min-width: 1025px) {
  .hero {
    justify-content: flex-start;
    min-height: 90vh;
    padding: 128px clamp(48px, 7vw, 120px) 96px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg,
        rgba(26,16,33,0.98) 0%,
        rgba(26,16,33,0.92) 34%,
        rgba(26,16,33,0.62) 58%,
        rgba(74,0,95,0.48) 100%),
      radial-gradient(ellipse 58% 62% at 78% 46%, rgba(176,120,232,0.26), transparent 68%),
      url("../images/hero-bg.png") center/cover no-repeat;
  }

  .hero-content {
    width: min(720px, 52vw);
    max-width: 720px;
    margin: 0;
    text-align: left;
  }

  .hero-badge,
  .hero-title,
  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-title {
    max-width: 720px;
    font-size: clamp(3.4rem, 5.35vw, 5.25rem);
  }

  .hero-subtitle {
    max-width: 620px;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .hero-stats {
    width: min(660px, 100%);
    margin-left: 0;
    margin-right: 0;
  }

  .stat-item {
    align-items: flex-start;
  }

  .stat-label {
    text-align: left;
  }
}

/* Ajuste fino da organizacao do hero desktop. */
@media (min-width: 1025px) {
  .hero {
    min-height: 100svh;
    padding-top: 108px;
    padding-bottom: 72px;
  }

  .hero-content {
    display: grid;
    grid-template-columns: minmax(620px, 1.08fr) minmax(420px, 0.72fr);
    gap: clamp(42px, 5vw, 78px);
    align-items: center;
    justify-content: center;
    width: min(1160px, 100%);
    max-width: 1160px;
    min-height: 560px;
  }

  .hero-badge {
    margin-bottom: 24px;
  }

  .hero-title {
    margin-bottom: 0;
    max-width: 760px;
    font-size: clamp(2.9rem, 3.75vw, 4.15rem);
  }

  .hero-support {
    align-self: center;
    padding: 8px 0 0;
  }

  .hero-subtitle {
    margin-bottom: 24px;
    max-width: 500px;
    font-size: 1.06rem;
  }

  .hero-cta {
    flex-direction: row;
    align-items: stretch;
    margin-bottom: 26px;
  }

  .hero-cta .btn {
    justify-content: center;
    width: auto;
    min-width: 200px;
  }

  .hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border: 0;
    background: transparent;
    overflow: visible;
    backdrop-filter: none;
  }

  .stat-item {
    width: 100%;
    min-height: 92px;
    padding: 18px 16px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    background: rgba(255,255,255,0.075);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    margin-top: 4px;
  }
}

/* Bloco direito do hero no formato: texto, botoes em linha e barra de numeros. */
@media (min-width: 1025px) {
  .hero-content {
    grid-template-columns: minmax(560px, 0.95fr) minmax(540px, 0.86fr);
    gap: clamp(48px, 5vw, 86px);
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-headline {
    transform: none;
  }

  .hero-support {
    width: 540px;
    max-width: 100%;
    transform: none;
  }

  .hero-subtitle {
    max-width: 540px;
    margin-bottom: 22px;
    text-align: left;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: minmax(230px, 1.12fr) minmax(170px, 0.88fr);
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    min-width: 0;
    min-height: 58px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    background: rgba(255,255,255,0.16);
    overflow: hidden;
    backdrop-filter: blur(16px);
  }

  .stat-item {
    min-height: 70px;
    padding: 14px 18px;
    border: 0;
    border-radius: 0;
    background: rgba(255,255,255,0.045);
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .stat-item + .stat-item {
    border-left: 1px solid rgba(33,24,39,0.24);
  }

  .stat-number {
    font-size: 1.72rem;
  }

  .stat-label {
    margin-top: 3px;
    text-align: center;
    line-height: 1.25;
  }
}

/* Centralizacao optica final do hero: mantem a composicao e equilibra as duas colunas. */
@media (min-width: 1025px) {
  .hero-content {
    width: min(1260px, 100%);
    max-width: 1260px;
    min-height: 540px;
    grid-template-columns: minmax(610px, 1fr) 540px;
    gap: clamp(44px, 4.4vw, 76px);
  }

  .hero-title {
    max-width: 700px;
    font-size: clamp(3rem, 3.9vw, 4rem);
    line-height: 1.06;
  }

  .hero-headline {
    align-self: center;
  }

  .hero-support {
    align-self: center;
    transform: translateY(10px);
  }
}

/* Efeitos sutis do hero, resgatando movimento da primeira versao sem poluir a leitura. */
.hero {
  --hero-mouse-x: 68%;
  --hero-mouse-y: 40%;
}

.hero-overlay {
  overflow: hidden;
}

.hero-overlay::before,
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-overlay::before {
  background:
    radial-gradient(circle at var(--hero-mouse-x) var(--hero-mouse-y), rgba(176,120,232,0.20), transparent 24%),
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.065) 43%, transparent 57%);
  mix-blend-mode: screen;
  opacity: 0.62;
  transform: translate3d(-3%, 0, 0);
  animation: heroLightSweep 9s ease-in-out infinite;
}

.hero-overlay::after {
  background:
    radial-gradient(circle at 16% 32%, rgba(255,255,255,0.10) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 66%, rgba(176,120,232,0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 82%, rgba(255,255,255,0.10) 0 1px, transparent 2px);
  background-size: 170px 150px, 230px 190px, 290px 210px;
  opacity: 0.36;
  animation: heroStarDrift 18s linear infinite;
}

.hero-particles {
  z-index: 1;
  opacity: 0.74;
  mix-blend-mode: screen;
}

.hero-particle {
  box-shadow: 0 0 12px currentColor;
  will-change: transform, opacity;
}

.hero-content {
  animation: heroContentIn 0.9s var(--ease) both;
}

.hero-badge {
  transition: transform var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease), background var(--dur-mid) var(--ease);
}

.hero-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.12);
}

.hero .btn,
.hero-stats {
  position: relative;
}

.hero .btn {
  overflow: hidden;
}

.hero .btn::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -55%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  opacity: 0;
  transition: left 0.7s var(--ease), opacity 0.35s var(--ease);
}

.hero .btn:hover::after {
  left: 114%;
  opacity: 1;
}

.hero-stats {
  box-shadow: 0 22px 52px rgba(26,16,33,0.28);
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease);
}

.hero-stats:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.24);
  box-shadow: 0 28px 68px rgba(26,16,33,0.38), 0 0 34px rgba(176,120,232,0.14);
}

.hero-stats .stat-item {
  transition: background var(--dur-mid) var(--ease);
}

.hero-stats .stat-item:hover {
  background: rgba(255,255,255,0.075);
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLightSweep {
  0%, 100% {
    transform: translate3d(-3%, 0, 0);
    opacity: 0.42;
  }
  50% {
    transform: translate3d(3%, 0, 0);
    opacity: 0.72;
  }
}

@keyframes heroStarDrift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 170px 150px, -230px 190px, 290px -210px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .hero-overlay::before,
  .hero-overlay::after,
  .hero-particles,
  .hero-particle {
    animation: none !important;
  }

  .hero .btn::after {
    display: none;
  }
}

/* Refinamento da secao sobre: retrato com presenca e citacao mais editorial. */
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(500px, 0.92fr);
  gap: clamp(46px, 5.5vw, 76px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.about-story .about-content {
  text-align: left;
}

.about-story .section-title {
  max-width: 760px;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.about-story .about-lead,
.about-story .about-content p {
  max-width: 780px;
  margin-left: 0;
  margin-right: 0;
}

.about-story .about-tags {
  justify-content: flex-start;
}

.about-image-card {
  position: relative;
  min-height: 430px;
  aspect-ratio: 16 / 10.5;
  border: 1px solid rgba(74,0,95,0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #211827;
  box-shadow: 0 28px 70px rgba(33,24,39,0.15);
}

.about-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(33,24,39,0.00) 34%, rgba(33,24,39,0.26) 100%),
    radial-gradient(ellipse 72% 60% at 82% 14%, rgba(176,120,232,0.20), transparent 66%);
  pointer-events: none;
}

.about-image-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  pointer-events: none;
}

.about-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: 36% center;
  filter: saturate(0.96) contrast(1.04);
}

.about-image-caption {
  position: absolute;
  left: auto;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  width: min(300px, calc(100% - 48px));
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 8px;
  background: rgba(255,255,255,0.18);
  box-shadow: 0 18px 42px rgba(33,24,39,0.18);
  backdrop-filter: blur(18px) saturate(1.45);
}

.about-image-caption span {
  display: block;
  margin-bottom: 6px;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 10px rgba(33,24,39,0.36);
  text-transform: uppercase;
}

.about-image-caption strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.88rem;
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(33,24,39,0.42);
}

.about-identity-card {
  position: relative;
  min-height: 520px;
  padding: 8px 0 0;
  color: var(--text-primary);
}

.about-identity-header {
  text-align: center;
}

.about-identity-header .section-tag {
  margin-bottom: 10px;
  color: var(--brand-purple);
  border-color: rgba(74,0,95,0.12);
  background: rgba(74,0,95,0.04);
}

.about-identity-header h3 {
  color: var(--brand-purple);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.about-identity-header > p {
  max-width: 460px;
  margin: 12px auto 0;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.65;
}

.about-logo-explanation {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 18px 20px;
  border-top: 1px solid rgba(74,0,95,0.12);
  border-bottom: 1px solid rgba(74,0,95,0.12);
}

.about-logo-mark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  width: 132px;
  height: 132px;
}

.about-logo-mark span {
  border-radius: 8px;
  background: rgba(74,0,95,0.07);
  border: 1px solid rgba(74,0,95,0.08);
}

.about-logo-mark span.filled {
  background: var(--brand-purple);
  border-color: var(--brand-purple);
  box-shadow: 0 5px 12px rgba(74,0,95,0.16);
}

.about-logo-explanation strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-purple);
  font-size: 0.98rem;
}

.about-logo-explanation p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.65;
}

.about-colors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.about-color-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.about-color-swatch {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.78;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(33,24,39,0.12);
}

.about-color-swatch.plum { background: #4A005F; }
.about-color-swatch.gray { background: #A7ADB4; }
.about-color-swatch.lilac { background: #B171E7; }

.about-color-item strong {
  display: block;
  color: var(--brand-purple);
  font-size: 0.83rem;
}

.about-color-item small {
  display: block;
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 0.7rem;
  line-height: 1.45;
}

.about-visual {
  isolation: isolate;
}

.ceo-section {
  position: relative;
  overflow: hidden;
  padding-top: 104px;
  padding-bottom: 104px;
  border-top: 1px solid rgba(74,0,95,0.14);
  background:
    radial-gradient(ellipse 42% 56% at 82% 36%, rgba(176,120,232,0.18), transparent 68%),
    linear-gradient(180deg, #F4EFF8 0%, #FFFFFF 180px, #F7F5FA 100%);
}

.ceo-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(360px, 42vw);
  height: 3px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--brand-purple-lite), transparent);
  pointer-events: none;
}

.ceo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(74,0,95,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,0,95,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 76%, transparent);
  pointer-events: none;
}

.ceo-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: clamp(42px, 4.8vw, 68px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.ceo-section-copy {
  position: relative;
  padding: clamp(26px, 2.8vw, 36px) clamp(28px, 3vw, 40px);
  border: 1px solid rgba(255,255,255,0.70);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.58), rgba(255,255,255,0.30)),
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(176,120,232,0.12), transparent 64%);
  box-shadow: 0 20px 58px rgba(33,24,39,0.10);
  backdrop-filter: blur(20px) saturate(1.38);
}

.ceo-section-copy::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,0.46);
  border-radius: 6px;
  pointer-events: none;
}

.ceo-section-copy .section-title {
  position: relative;
  max-width: 620px;
  text-align: left;
  font-size: clamp(2rem, 2.8vw, 2.9rem);
  line-height: 1.12;
}

.ceo-bio {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-left: 20px;
  border-left: 3px solid var(--brand-purple-mid);
}

.ceo-bio p {
  max-width: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.ceo-feature {
  position: relative;
  display: flex;
  justify-content: center;
  isolation: isolate;
  width: 100%;
  margin: 0 auto;
}

.ceo-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  margin: 0;
  border: 1px solid rgba(74,0,95,0.12);
  border-radius: 8px;
  background: #211827;
  box-shadow: 0 28px 70px rgba(33,24,39,0.15);
  overflow: hidden;
}

.ceo-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(33,24,39,0.00) 40%, rgba(33,24,39,0.34) 100%),
    radial-gradient(ellipse 72% 60% at 82% 14%, rgba(176,120,232,0.18), transparent 66%);
  opacity: 1;
  filter: none;
  pointer-events: none;
}

.ceo-portrait::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  background: none;
  pointer-events: none;
}

.ceo-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% center;
  border-radius: inherit;
  filter: saturate(0.98) contrast(1.03);
  transform: none;
}

.ceo-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  width: min(292px, calc(100% - 48px));
  min-width: 0;
  padding: 14px 16px;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 8px;
  background: rgba(255,255,255,0.18);
  box-shadow: 0 18px 42px rgba(33,24,39,0.20);
  backdrop-filter: blur(18px) saturate(1.45);
}

.ceo-card::before {
  display: none;
}

.ceo-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 12px 24px rgba(33,24,39,0.16);
}

.ceo-info h4 {
  color: #FFFFFF;
  font-size: 0.94rem;
  text-shadow: 0 1px 10px rgba(33,24,39,0.36);
}

.ceo-info p {
  color: #FFFFFF;
  margin-bottom: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  text-shadow: 0 1px 10px rgba(33,24,39,0.36);
}

.ceo-info span {
  color: rgba(255,255,255,0.78);
  font-size: 0.68rem;
  text-shadow: 0 1px 10px rgba(33,24,39,0.42);
}

.ceo-quote-intro {
  position: relative;
  z-index: 1;
  margin: 18px 0 8px !important;
  color: var(--brand-purple-mid) !important;
  font-size: 0.76rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.ceo-quote {
  position: relative;
  z-index: 1;
  margin-top: 0;
  margin-bottom: 0;
  padding: 18px 22px 18px 28px;
  border: 1px solid rgba(255,255,255,0.58);
  border-left: 0;
  background:
    linear-gradient(90deg, rgba(56,0,88,0.07), transparent 48%),
    rgba(255,255,255,0.52);
  box-shadow: 0 18px 48px rgba(33,24,39,0.08);
  backdrop-filter: blur(14px) saturate(1.2);
  overflow: hidden;
}

.ceo-quote::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brand-purple), var(--brand-purple-lite));
}

.ceo-quote::after {
  content: "\"";
  position: absolute;
  top: -22px;
  right: 20px;
  color: rgba(176,120,232,0.16);
  font-family: var(--font-display);
  font-size: 5.8rem;
  line-height: 1;
  pointer-events: none;
}

.ceo-quote p {
  position: relative;
  z-index: 1;
  max-width: 92%;
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
}

.ceo-quote cite {
  position: relative;
  z-index: 1;
}

.ceo-quote-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 108px 0 116px;
  color: #FFFFFF;
  background:
    radial-gradient(circle at 50% 42%, rgba(176,120,232,0.24), transparent 30%),
    linear-gradient(135deg, #211827 0%, #380058 52%, #211827 100%);
}

.quote-particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.96;
}

.ceo-quote-section::before,
.ceo-quote-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.ceo-quote-section::before {
  inset: 0;
  opacity: 0.32;
  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: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
}

.ceo-quote-section::after {
  left: 50%;
  bottom: 0;
  width: min(720px, 72vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.48), transparent);
}

.quote-editorial {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  display: block;
  height: 64px;
  color: var(--brand-lilac);
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 0.92;
  opacity: 0.86;
  text-shadow: 0 0 30px rgba(201,168,232,0.45);
}

.quote-kicker {
  margin-bottom: 22px;
  color: rgba(255,255,255,0.68);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ceo-quote-section .ceo-quote {
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.ceo-quote-section .ceo-quote::before,
.ceo-quote-section .ceo-quote::after {
  display: none;
}

.ceo-quote-section .ceo-quote p {
  max-width: 100%;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.35rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
}

.ceo-quote-section .ceo-quote cite {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 28px;
  color: var(--brand-lilac);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ceo-quote-section .ceo-quote cite strong {
  color: #FFFFFF;
  font-size: 0.86rem;
}

.ceo-quote-section .ceo-quote cite span {
  color: rgba(255,255,255,0.58);
  font-size: 0.68rem;
}

.ceo-quote-orbit {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(201,168,232,0.20);
  border-radius: 50%;
  pointer-events: none;
}

.ceo-quote-orbit::after {
  content: "";
  position: absolute;
  top: 14%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-lilac);
  box-shadow: 0 0 18px rgba(201,168,232,0.8);
}

.ceo-quote-orbit-left {
  top: 50%;
  left: -110px;
  transform: translateY(-50%) rotate(28deg);
}

.ceo-quote-orbit-right {
  right: -110px;
  bottom: -100px;
  transform: rotate(-28deg);
}

@media (max-width: 768px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-image-card {
    min-height: 320px;
    aspect-ratio: 1 / 0.86;
  }

  .about-image-card img {
    min-height: 320px;
    object-position: 42% center;
  }

  .about-image-caption {
    right: 14px;
    bottom: 14px;
    width: min(260px, calc(100% - 28px));
    padding: 12px 14px;
  }

  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .ceo-section {
    padding-top: 84px;
    padding-bottom: 76px;
  }

  .ceo-quote-section {
    padding: 78px 0 84px;
  }

  .ceo-section-copy {
    padding: 24px 22px;
  }

  .ceo-section-copy .section-title {
    text-align: left;
  }

  .ceo-feature {
    order: -1;
    width: min(100%, 420px);
  }

  .ceo-portrait {
    width: 100%;
  }

  .ceo-portrait::before {
    inset: 0;
  }

  .ceo-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    min-width: 0;
    padding: 12px 14px;
  }

  .ceo-quote-section .ceo-quote p {
    font-size: clamp(1.65rem, 8vw, 2.4rem);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .about-story {
    grid-template-columns: 1fr;
  }

  .about-image-card {
    min-height: 400px;
    aspect-ratio: 16 / 9;
  }

  .about-image-card img {
    object-position: 34% center;
  }

  .ceo-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .ceo-feature {
    justify-content: flex-start;
    margin-left: 0;
  }
}

/* Logo meaning: larger brand mark with a subtle motion effect. */
.logo-section {
  background:
    linear-gradient(rgba(56,0,88,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,0,88,0.035) 1px, transparent 1px),
    linear-gradient(180deg, #FFFFFF 0%, #FBF8FF 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

.logo-section .logo-meaning-grid {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(56px, 6vw, 96px);
  align-items: center;
}

.logo-story {
  max-width: 620px;
}

.logo-story .section-tag {
  margin-bottom: 14px;
}

.logo-story .section-title {
  margin-bottom: 26px;
  color: var(--brand-purple);
  background: none;
  -webkit-text-fill-color: initial;
}

.logo-story p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.78;
}

.logo-story p:last-child {
  margin-bottom: 0;
}

.logo-section .logo-big-display {
  position: relative;
  isolation: isolate;
  justify-content: center;
  min-height: 520px;
  padding: clamp(26px, 4vw, 44px);
  overflow: hidden;
}

.logo-section .logo-big-display::before {
  content: "";
  position: absolute;
  inset: 10% 0;
  z-index: -1;
  background:
    linear-gradient(105deg, transparent 0%, rgba(176,120,232,0.08) 42%, rgba(56,0,88,0.12) 50%, rgba(176,120,232,0.08) 58%, transparent 100%);
  transform: translateX(-76%) skewX(-12deg);
  animation: logoMeaningSweep 7s ease-in-out infinite;
}

.logo-section .logo-big-display::after {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -2;
  border: 1px solid rgba(56,0,88,0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(56,0,88,0.035), rgba(176,120,232,0.055) 48%, rgba(255,255,255,0.22));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}

.logo-section .logo-grid-big {
  position: relative;
  z-index: 1;
  width: min(410px, 100%);
  gap: clamp(14px, 1.6vw, 20px);
  filter: drop-shadow(0 28px 46px rgba(56,0,88,0.14));
  transform-style: preserve-3d;
  animation: logoMeaningFloat 6s ease-in-out infinite;
}

.logo-section .sq-big,
.logo-section .sq-big.filled,
.logo-section .sq-big.empty {
  position: relative;
  overflow: hidden;
  border-radius: clamp(16px, 2vw, 24px);
  transform: translateZ(0);
  transition:
    transform 360ms var(--ease),
    box-shadow 360ms var(--ease),
    filter 360ms var(--ease);
  animation: logoTileBreath 5.4s ease-in-out infinite;
}

.logo-section .sq-big::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.34), transparent 42%);
  opacity: 0.42;
  pointer-events: none;
}

.logo-section .sq-big:nth-child(1),
.logo-section .sq-big:nth-child(2),
.logo-section .sq-big:nth-child(3) {
  box-shadow: 0 24px 42px rgba(56,0,88,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}

.logo-section .sq-big:nth-child(4),
.logo-section .sq-big:nth-child(5) {
  box-shadow: 0 20px 34px rgba(70,78,88,0.18), inset 0 1px 0 rgba(255,255,255,0.36);
}

.logo-section .sq-big:nth-child(6) {
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 32px rgba(160,168,176,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
}

.logo-section .sq-big:nth-child(7) {
  box-shadow: 0 24px 42px rgba(176,120,232,0.32), inset 0 1px 0 rgba(255,255,255,0.28);
}

.logo-section .sq-big:nth-child(8),
.logo-section .sq-big:nth-child(9) {
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 32px rgba(176,120,232,0.16), inset 0 1px 0 rgba(255,255,255,0.9);
}

.logo-section .sq-big:nth-child(2) { animation-delay: 120ms; }
.logo-section .sq-big:nth-child(3) { animation-delay: 240ms; }
.logo-section .sq-big:nth-child(4) { animation-delay: 360ms; }
.logo-section .sq-big:nth-child(5) { animation-delay: 480ms; }
.logo-section .sq-big:nth-child(6) { animation-delay: 600ms; }
.logo-section .sq-big:nth-child(7) { animation-delay: 720ms; }
.logo-section .sq-big:nth-child(8) { animation-delay: 840ms; }
.logo-section .sq-big:nth-child(9) { animation-delay: 960ms; }

.logo-section .logo-grid-big:hover .sq-big {
  transform: translateY(-6px) scale(1.025);
  filter: saturate(1.08);
}

.logo-section .logo-axis-labels {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  margin-top: 6px;
}

.logo-section .axis-x,
.logo-section .axis-y {
  justify-content: space-between;
  gap: 10px;
}

.logo-section .axis-x span,
.logo-section .axis-y span {
  color: #6D6075;
  font-size: 0.76rem;
  letter-spacing: 0;
}

.logo-section .axis-y span {
  color: var(--brand-purple-lite);
  font-weight: 700;
}

.brand-colors-section {
  background: #FFFFFF;
  overflow: hidden;
}

.brand-colors-heading {
  text-align: center;
  margin-bottom: 70px;
}

.brand-colors-heading .section-tag {
  margin-bottom: 12px;
}

.brand-colors-heading .section-title {
  margin-bottom: 0;
  color: var(--brand-purple);
  background: none;
  -webkit-text-fill-color: initial;
}

.brand-colors-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(24px, 3vw, 48px);
  row-gap: 34px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.brand-color-story {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.brand-color-block {
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(33,24,39,0.12);
}

.brand-color-block.plum { background: #41005D; }
.brand-color-block.gray { background: #A5ADB5; }
.brand-color-block.lilac { background: #B06EE6; }

.brand-color-story p {
  width: min(100%, 300px);
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.72;
  text-align: left;
}

.brand-color-initial {
  float: left;
  margin: -5px 7px 0 0;
  color: var(--brand-purple-mid);
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 0.9;
}

.brand-color-gray-story .brand-color-initial {
  color: #8E979F;
}

.brand-color-dot {
  display: inline;
}

.brand-color-gray-story {
  display: flex;
  flex-direction: column-reverse;
  margin-top: 82px;
}

.brand-color-lilac-story {
  margin-top: 38px;
}

.brand-color-lilac-story .brand-color-block {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .brand-colors-heading {
    margin-bottom: 44px;
  }

  .brand-colors-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    max-width: 420px;
  }

  .brand-color-gray-story,
  .brand-color-lilac-story {
    margin-top: 0;
  }

  .brand-color-gray-story {
    display: flex;
    flex-direction: column-reverse;
  }

  .brand-color-block {
    width: min(220px, 100%);
  }

  .brand-color-story p {
    width: min(220px, 100%);
  }
}

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

@keyframes logoTileBreath {
  0%, 100% { filter: saturate(1) brightness(1); }
  50% { filter: saturate(1.08) brightness(1.04); }
}

@keyframes logoMeaningSweep {
  0%, 18% { transform: translateX(-76%) skewX(-12deg); opacity: 0; }
  38%, 62% { opacity: 1; }
  82%, 100% { transform: translateX(76%) skewX(-12deg); opacity: 0; }
}

@media (max-width: 1024px) {
  .logo-section .logo-meaning-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .logo-section .logo-big-display {
    min-height: 460px;
  }
}

@media (max-width: 768px) {
  .logo-section .logo-big-display {
    min-height: 360px;
    padding: 22px 14px;
  }

  .logo-section .logo-big-display::after {
    inset: 6%;
  }

  .logo-section .logo-grid-big {
    width: min(300px, 86vw);
    gap: 12px;
  }

  .logo-section .logo-axis-labels {
    width: min(320px, 90vw);
  }

  .logo-section .axis-x span,
  .logo-section .axis-y span {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-section .logo-big-display::before,
  .logo-section .logo-grid-big,
  .logo-section .sq-big {
    animation: none;
  }
}
