/* ============================================================
   AnderCtrl.co — Design System
   Brandbook: Material Institucional AnderCtrl.co V2
   Cores: #0148a3, #0062e5, #006bff, #eaeaea, #bcbcbc, #010101
   Tipografia: Manrope (títulos e corpo)
   Conceito: Liderado por Humanos, Operado por Agentes
   ============================================================ */

:root {
  /* Brand blues */
  --blue-900: #002a63;
  --blue-700: #0148a3;
  --blue-600: #0062e5;
  --blue-500: #006bff;
  --blue-400: #3a8bff;
  --blue-300: #6fa9ff;

  /* Neutrals */
  --ink: #010101;
  --ink-soft: #0a0f1a;
  --slate-900: #0d1320;
  --slate-800: #121a2b;
  --slate-700: #1c2740;
  --gray-400: #bcbcbc;
  --gray-200: #eaeaea;
  --gray-100: #f4f6fa;
  --white: #ffffff;

  /* Semantic */
  --bg: #ffffff;
  --bg-alt: #f6f4ef;          /* marfim editorial (seções/páginas de conteúdo) */
  --text: #0b1220;
  --text-soft: #4a566b;
  --text-mute: #8a94a6;
  --line: #e7e3d9;            /* linha quente para combinar com o marfim */

  --grad-brand: linear-gradient(120deg, #006bff 0%, #0062e5 45%, #0148a3 100%);
  --grad-deep: linear-gradient(160deg, #0148a3 0%, #002a63 100%); /* tons escuros da marca: blue-700 → blue-900 */
  --grad-glow: radial-gradient(60% 80% at 70% 10%, rgba(0,107,255,.35), transparent 70%);

  --shadow-sm: 0 1px 2px rgba(2,12,40,.06), 0 2px 8px rgba(2,12,40,.06);
  --shadow-md: 0 6px 24px rgba(2,18,60,.10);
  --shadow-lg: 0 24px 60px rgba(2,18,60,.18);
  --shadow-blue: 0 14px 40px rgba(0,107,255,.30);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --maxw: 1180px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: rgba(0,107,255,.22); }

/* ---------- Accessibility ---------- */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 6px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* Honour users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section--tight { padding: 72px 0; }
.center { text-align: center; }
.muted { color: var(--text-soft); }

/* ---------- Typography ---------- */
/* Títulos de exibição em peso leve (editorial), com a palavra-chave em destaque (gradient-text 700). */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 300; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); font-weight: 300; letter-spacing: -.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.gradient-text { font-weight: 600; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600);
  padding: 7px 14px; border-radius: 100px;
  background: rgba(0,107,255,.08);
  border: 1px solid rgba(0,107,255,.16);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(0,107,255,.18); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-soft); max-width: 60ch; }
.gradient-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .lead { margin: 18px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: .98rem;
  padding: 15px 26px; border-radius: 100px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(0,107,255,.42); }
.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn--ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--blue-700); border: 1.5px solid rgba(1,72,163,.3); }
.btn--outline:hover { border-color: var(--blue-500); background: rgba(0,107,255,.05); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s, border-color .3s;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 600; font-size: .95rem; color: var(--text-soft); transition: color .2s; }
.nav__links a:hover { color: var(--blue-600); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav.on-dark:not(.scrolled) .nav__links a { color: rgba(255,255,255,.82); }
.nav.on-dark:not(.scrolled) .nav__links a:hover { color: #fff; }
.nav.on-dark:not(.scrolled) .logo__text { color: #fff; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: .3s; }
.nav__burger span::before, .nav__burger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: .3s; }
.nav__burger span::before { top: -6px; } .nav__burger span::after { top: 6px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad-brand); position: relative; flex-shrink: 0;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,107,255,.4);
}
.logo__mark::after {
  content: '⌃'; color: #fff; font-size: 20px; font-weight: 900; line-height: 1; margin-top: 3px;
}
.logo__text { font-size: 1.2rem; color: var(--text); }
.logo__text b { font-weight: 800; }
.logo__text .co { color: var(--blue-500); }
/* Real brand logo (image) */
.logo__img { height: 40px; width: auto; display: block; }
.logo--white { display: none; }
.nav.on-dark:not(.scrolled) .logo--blue { display: none; }
.nav.on-dark:not(.scrolled) .logo--white { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 168px 0 110px;
  background: var(--grad-deep); color: #fff; overflow: hidden;
}
.hero::before { content: ''; position: absolute; inset: 0; background: var(--grad-glow); pointer-events: none; }
.hero__grid-bg {
  position: absolute; inset: 0; opacity: .4; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(80% 80% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 0%, #000 30%, transparent 75%);
}
.hero__circuit {
  position: absolute; top: -30px; right: -40px; z-index: 0; pointer-events: none;
  width: 480px; max-width: 46%; aspect-ratio: 1;
  background: url(../assets/logo-mark-white.png) top right / contain no-repeat;
  opacity: .12;
  mask-image: radial-gradient(120% 120% at 100% 0%, #000 45%, transparent 85%);
  -webkit-mask-image: radial-gradient(120% 120% at 100% 0%, #000 45%, transparent 85%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero .eyebrow { background: transparent; border-color: transparent; color: #9bbcf0; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; padding: 0; }
.hero h1 { color: #fff; margin: 22px 0 14px; }
.hero h1 .gradient-text { background: linear-gradient(100deg,#6fa9ff,#a9c8ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
.hero__tagline { color: #dbe6fb; font-size: clamp(1.15rem,2vw,1.5rem); font-weight: 500; letter-spacing: -.01em; margin: 0 0 18px; max-width: 40ch; }
.hero__lead { color: rgba(232,238,250,.82); font-size: clamp(1.05rem,1.6vw,1.22rem); max-width: 52ch; }
.hero__lead--mt { margin-top: 14px; }
.hero__lead--hook { color: #eaf1ff; font-weight: 500; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero__stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero__stat .n { font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero__stat .l { font-size: .82rem; color: rgba(232,238,250,.62); max-width: 16ch; line-height: 1.35; }

/* Hero visual: "operated by agents" orbit card */
.hero__visual { position: relative; }
.agent-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.agent-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.agent-card__dots { display: flex; gap: 6px; }
.agent-card__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.agent-card__dots i:first-child { background: #ff6058; } .agent-card__dots i:nth-child(2){ background:#ffbd2e;} .agent-card__dots i:nth-child(3){background:#28c93f;}
.agent-card__title { font-size: .82rem; color: rgba(255,255,255,.6); font-family: var(--mono); }
.agent-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 13px; background: rgba(255,255,255,.05); margin-bottom: 10px; border: 1px solid rgba(255,255,255,.06); }
.agent-row__icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 17px; background: rgba(0,107,255,.18); flex-shrink: 0; }
.agent-row__txt b { color: #fff; font-size: .92rem; display: block; }
.agent-row__txt span { color: rgba(255,255,255,.55); font-size: .78rem; }
.agent-row__status { margin-left: auto; font-size: .68rem; font-weight: 700; color: #28c93f; display: flex; align-items: center; gap: 5px; }
.agent-row__status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #28c93f; box-shadow: 0 0 0 3px rgba(40,201,63,.2); }
.agent-row__status--model { color: #8fb4ff; text-transform: lowercase; letter-spacing: .04em; }
.agent-row__status--model::before { background: #6fa9ff; box-shadow: 0 0 0 3px rgba(0,107,255,.18); }
.agent-card__human { margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.14); display: flex; align-items: center; gap: 12px; }
.agent-card__human .av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; font-weight: 800; color: #fff; }
.agent-card__human b { color: #fff; font-size: .9rem; display: block; }
.agent-card__human span { color: rgba(255,255,255,.55); font-size: .76rem; }
.agent-card__note { margin-top: 14px; font-size: .72rem; line-height: 1.45; color: rgba(232,238,250,.5); font-style: italic; }

/* ---------- Trust / logos strip ---------- */
.trust { padding: 34px 0; border-bottom: 1px solid var(--line); }
.trust__row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust__label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); font-weight: 700; }
.trust__item { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--text-soft); opacity: .85; text-decoration: none; transition: opacity .2s, color .2s; }
a.trust__item:hover { opacity: 1; color: var(--blue-500); }
.trust__item .d { width: 5px; height: 5px; border-radius: 1.5px; background: var(--blue-500); }
.pillar__icon { color: var(--blue-600); } .pillar__icon svg { width: 28px; height: 28px; }
.apoint__ic { color: var(--blue-600); } .apoint__ic svg { width: 22px; height: 22px; }
.agent-row__icon { color: #9ec5ff; } .agent-row__icon svg { width: 18px; height: 18px; display: block; }
.trust__logo { height: 19px; width: auto; opacity: .68; transition: opacity .2s; }
.trust__logo--mark { height: 24px; }
a.trust__item--logo { opacity: 1; }
a.trust__item:hover .trust__logo { opacity: 1; }

/* ---------- Legenda de fontes (dados) ---------- */
.src { font-size: .72rem; line-height: 1.4; color: var(--text-mute); opacity: .8; margin-top: 14px; }
.hero .src { color: rgba(232,238,250,.5); }
.src--center { text-align: center; margin: 12px auto 0; }
.hero__btnnote { font-size: .82rem; color: rgba(232,238,250,.66); margin-top: 14px; }
.hero__btnnote b { color: rgba(232,238,250,.88); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 30px; transition: transform .3s, box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.pillar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(0,107,255,.2); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__num { font-family: var(--mono); font-size: .8rem; color: var(--blue-500); font-weight: 700; }
.pillar__icon { width: 56px; height: 56px; border-radius: 15px; background: rgba(0,107,255,.1); display: grid; place-items: center; margin: 14px 0 18px; font-size: 26px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--text-soft); font-size: .97rem; }
.pillar__stat { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--text-soft); }
.pillar__stat b { color: var(--blue-700); }

/* ---------- Portfolio funnel ---------- */
.funnel { display: grid; gap: 18px; }
.funnel__tier { }
.funnel__tier-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.funnel__tier-tag { font-family: var(--mono); font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 8px; letter-spacing: .04em; flex-shrink: 0; white-space: nowrap; }
.tag-entrada { background: rgba(0,107,255,.12); color: var(--blue-600); }
.tag-metodo  { background: rgba(1,72,163,.12); color: var(--blue-700); }
.tag-acesso  { background: rgba(105,40,200,.10); color: #6a3bd0; }
.tag-vitrine { background: rgba(196,88,56,.12); color: #b8502f; }
.funnel__tier-tag--core  { background: rgba(0,107,255,.14); color: var(--blue-700); }
.funnel__tier-tag--learn { background: rgba(105,40,200,.10); color: #6a3bd0; }
.funnel__tier-tag--free  { background: rgba(40,201,63,.12); color: #1c9c33; }
.funnel__tier-head h3 { font-size: 1.15rem; }
.funnel__tier-head .sub { color: var(--text-mute); font-size: .9rem; }
.funnel__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 18px; }
.product {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0,107,255,.25); }
.product__badge { position: absolute; top: 18px; right: 18px; font-size: .68rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; background: var(--gray-100); color: var(--text-soft); }
.product__badge.free { background: rgba(40,201,63,.12); color: #1c9c33; }
.product__badge.live { background: rgba(0,107,255,.12); color: var(--blue-600); }
.product__icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 24px; background: var(--gray-100); margin-bottom: 16px; }
.product h4 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.product p { color: var(--text-soft); font-size: .92rem; flex: 1; }
.product__foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product__price { font-weight: 800; color: var(--text); font-size: .95rem; }
.product__price small { color: var(--text-mute); font-weight: 600; font-size: .78rem; }
.product__link { font-weight: 700; font-size: .9rem; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.product__link:hover { gap: 10px; }
.product--feature { background: var(--grad-deep); color: #fff; border: none; overflow: hidden; }
.product--feature::after { content:''; position:absolute; inset:0; background: var(--grad-glow); pointer-events:none; }
.product--feature * { position: relative; z-index: 1; }
.product--feature h4 { color: #fff; } .product--feature p { color: rgba(232,238,250,.78); }
.product--feature .product__icon { background: rgba(255,255,255,.1); }
.product--feature .product__price { color: #fff; }
/* badge precisa voltar ao canto (o seletor universal acima força position:relative) */
.product--feature .product__badge { position: absolute; align-self: flex-end; background: rgba(255,255,255,.18); color: #fff; }

/* ============================================================
   Soluções — estética do mockup validado (cards quentes compactos)
   Sobrescreve os estilos acima; escopo: #portfolio
   ============================================================ */
#portfolio .funnel { gap: 30px; }
#portfolio .funnel__tier-head { align-items: center; gap: 10px; margin-bottom: 14px; }
#portfolio .funnel__tier-tag {
  font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 0; background: none !important; color: var(--blue-700);
}
#portfolio .funnel__tier-tag--learn { color: var(--blue-700); }
#portfolio .funnel__tier-head h3 { font-size: 1rem; font-weight: 600; }
#portfolio .funnel__tier-head .sub { font-size: .85rem; }
#portfolio .funnel__cards { grid-template-columns: repeat(auto-fit, minmax(212px,1fr)); gap: 14px; }

#portfolio .product {
  background: #fbfaf7; border: .5px solid var(--line); border-radius: 13px;
  padding: 17px 16px 16px; gap: 8px; box-shadow: none;
}
#portfolio .product:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(2,18,60,.08); border-color: #cfd9ec; }
#portfolio .product__icon {
  width: 36px; height: 36px; border-radius: 10px; font-size: 19px; margin-bottom: 2px;
  background: #e6f1fb; color: var(--blue-700); order: -1;
}
#portfolio .product__icon svg { width: 20px; height: 20px; display: block; }
#portfolio .product:has(.product__badge.free) .product__icon { background: #eafbe9; color: #1c9c33; }
#portfolio .product h4 { font-size: .98rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 0; }
#portfolio .product p { font-size: .83rem; line-height: 1.5; }
#portfolio .product__badge {
  position: static; align-self: flex-start; font-size: .66rem; font-weight: 500;
  padding: 3px 10px; border-radius: 999px; background: #eef0f4; color: var(--text-soft);
}
#portfolio .product__badge.free { background: #eafbe9; color: #1c7a2a; }
#portfolio .product__foot { margin-top: 6px; }
#portfolio .product__price { font-size: .78rem; font-weight: 600; color: var(--text-soft); }
#portfolio .product__price small { font-size: .72rem; }
#portfolio .product__link { font-size: .8rem; font-weight: 600; color: var(--blue-700); }

/* RH as a Service — destaque com borda (não mais card escuro) */
#portfolio .product--feature {
  background: #fff; border: 1.5px solid #bcd5ff; box-shadow: 0 8px 28px rgba(0,107,255,.10);
}
#portfolio .product--feature::after { display: none; }
#portfolio .product--feature h4 { color: var(--ink); }
#portfolio .product--feature p { color: var(--text-soft); }
#portfolio .product--feature .product__icon { background: var(--blue-500); color: #fff; }
#portfolio .product--feature .product__price { color: var(--text-soft); }
#portfolio .product--feature .product__badge {
  position: static; align-self: flex-start; background: var(--blue-500); color: #fff;
}

/* Trilha (flow) — cards conectados por setas */
#portfolio .flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; }
#portfolio .flow--mt { margin-top: 14px; }
#portfolio .flow .product { flex: 1 1 200px; }
.flow__arrow { align-self: center; flex: 0 0 auto; color: var(--blue-400); font-weight: 700; font-size: 1.3rem; line-height: 1; }
@media (max-width: 760px) {
  .flow__arrow { width: 100%; text-align: center; transform: rotate(90deg); margin: 2px 0; }
}

/* ---------- Method (Sprint pillars) ---------- */
.method { background: var(--bg-alt); }
.method__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.mstep {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; position: relative; transition: transform .3s, box-shadow .3s;
}
.mstep:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.mstep__n { width: 36px; height: 36px; border-radius: 10px; background: var(--grad-brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .95rem; margin-bottom: 14px; }
.mstep h4 { font-size: 1.02rem; margin-bottom: 8px; }
.mstep p { font-size: .85rem; color: var(--text-soft); }
.mstep__quote { font-size: .8rem; color: var(--blue-700); font-style: italic; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ---------- About / founder ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.founder-card {
  background: var(--grad-deep); color: #fff; border-radius: var(--radius-xl); padding: 40px; position: relative; overflow: hidden;
}
.founder-card::after { content:''; position:absolute; inset:0; background: var(--grad-glow); }
.founder-card > * { position: relative; z-index: 1; }
.founder-card .av { width: 72px; height: 72px; border-radius: 20px; background: var(--grad-brand); display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 20px; box-shadow: var(--shadow-blue); }
.founder-photo { width: 104px; height: 104px; border-radius: 24px; object-fit: cover; margin-bottom: 20px; border: 2px solid rgba(255,255,255,.18); box-shadow: var(--shadow-blue); }
.founder-card h3 { color: #fff; font-size: 1.4rem; }
.founder-card .role { color: var(--blue-300); font-weight: 700; font-size: .92rem; margin: 4px 0 18px; }
.founder-card p { color: rgba(232,238,250,.8); font-size: .95rem; }
.founder-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.founder-tags span { font-size: .76rem; padding: 6px 12px; border-radius: 100px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.85); }
.about__points { display: grid; gap: 22px; margin-top: 30px; }
.apoint { display: flex; gap: 16px; }
.apoint__ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: rgba(0,107,255,.1); display: grid; place-items: center; font-size: 20px; }
.apoint h4 { font-size: 1.05rem; margin-bottom: 4px; }
.apoint p { color: var(--text-soft); font-size: .93rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-brand); border-radius: var(--radius-xl); padding: 60px; text-align: center; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-blue); }
.cta-band::before { content:''; position:absolute; inset:0; background: radial-gradient(50% 120% at 80% 0, rgba(255,255,255,.18), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin: 16px auto 30px; }
.cta-band .btn--ghost { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.26); }
.cta-band .btn--light { background: #fff; color: var(--blue-700); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 70px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo__text { color: #fff; }
.footer__about { color: rgba(255,255,255,.55); font-size: .92rem; margin-top: 16px; max-width: 30ch; }
.footer h5 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: rgba(255,255,255,.62); font-size: .93rem; transition: color .2s; }
.footer a:hover { color: var(--blue-400); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.45); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: rgba(255,255,255,.7); transition: .25s; }
.footer__social a:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 9px; }
.footer__contact .ci { width: 16px; height: 16px; flex-shrink: 0; opacity: .75; }

/* ---------- Founder social (Quem Somos) ---------- */
.founder-social { display: flex; gap: 10px; margin-top: 20px; }
.founder-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: rgba(255,255,255,.85); transition: .25s; }
.founder-social a:hover { background: var(--blue-600); color: #fff; border-color: transparent; transform: translateY(-2px); }
.founder-social svg { width: 18px; height: 18px; }

/* ---------- Testimonials / Referências ---------- */
.testi-carousel { position: relative; }
.testi-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px; scrollbar-width: none; -ms-overflow-style: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-track .testi { scroll-snap-align: start; }
.caro-btn {
  position: absolute; top: 44%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); color: var(--blue-700); font-size: 1.7rem; line-height: 1;
  display: grid; place-items: center; box-shadow: var(--shadow-lg); cursor: pointer; z-index: 3; transition: .2s;
}
.caro-btn:hover { background: var(--blue-600); color: #fff; border-color: transparent; }
.caro-btn:disabled { opacity: 0; pointer-events: none; }
.caro-prev { left: -14px; } .caro-next { right: -14px; }
.caro-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.caro-dot { width: 9px; height: 9px; border-radius: 50%; background: #d2dbea; border: none; cursor: pointer; padding: 0; transition: .25s; }
.caro-dot.active { background: var(--blue-600); width: 26px; border-radius: 6px; }
.testi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 26px 24px; margin: 0; display: flex; flex-direction: column; gap: 16px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,107,255,.2); }
.testi blockquote { margin: 0; color: var(--text-soft); font-size: .95rem; line-height: 1.7; }
.testi figcaption { margin-top: auto; padding-top: 4px; border-top: 1px dashed var(--line); }
.testi figcaption b { display: block; color: var(--text); font-size: .98rem; margin-top: 12px; }
.testi figcaption span { color: var(--text-mute); font-size: .79rem; }
@media (max-width: 920px) { .testi-track { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 600px) { .testi-track { grid-auto-columns: 86%; } .caro-btn { display: none; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.08s;} .reveal[data-d="2"]{transition-delay:.16s;} .reveal[data-d="3"]{transition-delay:.24s;} .reveal[data-d="4"]{transition-delay:.32s;}

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--grad-deep); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transform: translateY(-100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.mobile-menu.open { transform: none; }
.mobile-menu a { color: #fff; font-size: 1.5rem; font-weight: 700; }
.mobile-menu .btn { margin-top: 14px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 460px; }
  .hero__circuit { display: none; } /* grafismo nunca sobrepõe o texto quando empilha */
  .pillars { grid-template-columns: 1fr; }
  .method__steps { grid-template-columns: repeat(2,1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav__links, .nav__cta .btn--text { display: none; }
  .nav__burger { display: inline-flex; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 70px 0; }
  .wrap { padding: 0 18px; }
  .method__steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
  .hero__stats { gap: 22px; }
  .founder-card { padding: 28px; }
}

/* ============================================================
   Utilitários (substituem estilos inline — CSP sem 'unsafe-inline')
   ============================================================ */
.section--alt { background: var(--bg-alt); }
.product--full { grid-column: 1 / -1; }
.hero__actions--center { justify-content: center; }
.hero__actions--center-wrap { justify-content: center; flex-wrap: wrap; }
.hero__actions--center-wrap-mt { justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.founder-headline { margin: 16px 0 14px; }
.logo__img--28 { height: 28px; }
.logo__img--30 { height: 30px; }
.logo__img--34 { height: 34px; }
.eyebrow--center { margin: 0 auto; }
.lead-card.lead-card--single { grid-template-columns: 1fr; max-width: 560px; }
.lead-card__pitch.lead-card__pitch--center { text-align: center; padding: 48px 40px; }
.share-row--mt { margin-top: 12px; }
.gradient-text--blue { background: linear-gradient(100deg,#6fa9ff,#a9c8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Página 404 (movido do <style> inline para respeitar a CSP) */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--grad-deep); color: #fff; position: relative; overflow: hidden; padding: 40px 24px; }
.nf::before { content: ''; position: absolute; inset: 0; background: var(--grad-glow); pointer-events: none; }
.nf__inner { position: relative; z-index: 1; max-width: 560px; }
.nf__code { font-family: var(--mono); font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; background: linear-gradient(100deg,#6fa9ff,#a9c8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { color: #fff; margin: 10px 0 14px; }
.nf p { color: rgba(232,238,250,.82); margin-bottom: 30px; }
.nf .hero__actions { justify-content: center; }
.nf__logo { height: 30px; margin-bottom: 34px; opacity: .9; }

/* ============================================================
   Cases — card de destaque na home
   ============================================================ */
.case-card {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 0;
  background: var(--bg, #fff); border: 1px solid var(--line); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-md); text-decoration: none; color: inherit;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,107,255,.25); }
.case-card + .case-card { margin-top: 26px; }
.case-card__body { padding: 38px 40px; }
.case-card__tag { font-family: var(--mono); font-size: .74rem; font-weight: 700; color: var(--blue-600); background: rgba(0,107,255,.1); padding: 5px 11px; border-radius: 8px; display: inline-block; }
.case-card__body h3 { margin: 16px 0 12px; font-size: 1.35rem; letter-spacing: -.01em; }
.case-card__body p { color: var(--text-soft); font-size: .97rem; }
.case-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 700; color: var(--blue-600); transition: gap .2s; }
.case-card:hover .case-card__link { gap: 11px; }
.case-card__metrics { background: var(--grad-deep); color: #fff; padding: 34px 32px; display: grid; gap: 18px; align-content: center; position: relative; }
.case-card__metrics::before { content: ''; position: absolute; inset: 0; background: var(--grad-glow); pointer-events: none; }
.cmetric { position: relative; z-index: 1; }
.cmetric b { display: block; font-size: 1.6rem; font-weight: 800; background: linear-gradient(100deg,#6fa9ff,#a9c8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cmetric span { display: block; font-size: .8rem; color: rgba(232,238,250,.7); line-height: 1.4; margin-top: 2px; }
@media (max-width: 760px) {
  .case-card { grid-template-columns: 1fr; }
  .case-card__body { padding: 30px 26px; }
  .case-card__metrics { grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: 28px 26px; }
}

/* ============================================================
   Página de Case (case-hrbps.html)
   ============================================================ */
/* Páginas internas em base marfim editorial (faixas brancas para contraste) */
.page-ivory { background: var(--bg-alt); }
.page-ivory .section--alt { background: var(--white); }
.case-hero__copy { max-width: 780px; }
.case-hero__copy h1 { margin: 22px 0 18px; }
.case-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: rgba(232,238,250,.7); font-size: .88rem; }
.case-hero__meta b { color: #fff; font-weight: 700; }
.case-block { max-width: 820px; margin: 0 auto; }
.case-block + .case-block { margin-top: 14px; }
.case-block--mt { margin-top: 42px; }
.case-block h2 { font-size: 1.7rem; margin-bottom: 18px; }
.case-block h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.case-block p { color: var(--text-soft); margin-bottom: 14px; }
.case-block ul { list-style: none; display: grid; gap: 12px; margin: 8px 0 6px; }
.case-block ul li { position: relative; padding-left: 30px; color: var(--text-soft); }
.case-block ul li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; background: rgba(0,107,255,.1); color: var(--blue-600); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.case-metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 18px; max-width: 900px; margin: 6px auto 0; }
.case-metric { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
.case-metric b { display: block; font-size: 2rem; font-weight: 800; color: var(--blue-700); }
.case-metric span { display: block; color: var(--text-soft); font-size: .88rem; margin-top: 6px; line-height: 1.4; }
.case-quote { max-width: 760px; margin: 0 auto; text-align: center; }
.case-quote blockquote { font-size: 1.3rem; line-height: 1.5; font-weight: 600; color: var(--text); }
.case-quote figcaption { margin-top: 16px; color: var(--text-mute); font-size: .9rem; }

/* ============================================================
   Toques de marca (Brand Kit AnderCtrl) — sutis
   ============================================================ */
/* Assinatura de logo entre linhas (rodapé) */
.brand-sign { display: flex; align-items: center; gap: 22px; justify-content: center; max-width: 540px; margin: 0 auto 40px; }
.brand-sign__line { height: 1px; flex: 1; background: rgba(255,255,255,.18); }
.brand-sign__logo { height: 24px; width: auto; opacity: .95; }

/* Marca d'água do mark (impressão digital) em seções */
.sec-mark { position: relative; overflow: hidden; }
.sec-mark > .wrap { position: relative; z-index: 1; }
.sec-mark::after {
  content: ''; position: absolute; right: -70px; bottom: -70px; width: 360px; height: 360px;
  background: url(../assets/logo-mark.png) center / contain no-repeat; opacity: .04; pointer-events: none;
}
.sec-mark--dark::after { background-image: url(../assets/logo-mark-white.png); opacity: .08; right: -50px; bottom: -50px; }

/* Placeholder da estátua em "Quem Somos" (até a arte do Canva entrar) */
.statue-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 4/5; border: 2px dashed var(--line); border-radius: var(--radius-lg);
  background: var(--bg-alt); color: var(--text-soft); text-align: center; padding: 24px; margin-bottom: 22px; }
.statue-ph b { color: var(--text); }
.statue-ph small { font-size: .8rem; }
