/* ============================================================================
 * VUS. — Design System (v3 · designer rebrand)
 * Square × Timeline × Monotype. Branco + ink + verde. Didone + Helvetica-genre.
 * Fontes web (Google) mapeiam as licenciadas — ver 00-brand/DESIGN.md §3.
 *   Playfair Display  → AWConqueror Std Didot Bold (títulos)
 *   Archivo           → Forma DJR Deck / Nimbus Sans (logo, corpo, UI)
 * ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;0,900;1,500;1,600;1,700&display=swap');

:root {
  /* ---- Cores (manual VUS.pdf) ---- */
  --ink:    #1D1D1B;
  --white:  #FFFFFF;
  --green:  #38A05F;
  --sage:   #54A86B;
  --mint:   #E8F2EB;
  --grey:   #CECCCC;
  --ink-70: rgba(29,29,27,0.70);
  --ink-55: rgba(29,29,27,0.55);
  --white-85: rgba(255,255,255,0.85);
  --white-65: rgba(255,255,255,0.65);

  /* ---- Tipografia ---- */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* ---- Layout ---- */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius-pill: 999px;
  --radius-lg: 22px;
  --radius-md: 14px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.27, 1);
  --dur: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -0.01em; line-height: 1.04; margin: 0; }
.display { font-size: clamp(40px, 7vw, 92px); line-height: 0.98; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 5.6vw, 76px); }
h2 { font-size: clamp(30px, 4.4vw, 56px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
.italic { font-style: italic; }
.serif { font-family: var(--font-serif); }
.sans  { font-family: var(--font-sans); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-70); line-height: 1.5; }
.eyebrow { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(64px, 10vw, 132px) 0; }
.center { text-align: center; }
.muted { color: var(--ink-55); }

/* ---------- Logo / wordmark ---------- */
.wordmark { font-family: var(--font-sans); font-weight: 900; letter-spacing: -0.03em; line-height: 0.86; color: var(--ink); display: inline-block; }
.wordmark .dot { color: var(--green); }
.lockup { font-weight: 900; font-size: 20px; }
.lockup .l1 { display: block; }
.lockup .l2 { display: block; font-weight: 700; font-size: 0.62em; letter-spacing: 0.12em; }
.on-photo .wordmark, .on-dark .wordmark { color: var(--white); }

/* ---------- Botões-pílula ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 15px 28px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--sage); }
.btn--mint { background: var(--mint); color: var(--green); }
.btn--mint:hover { background: #d9ecdf; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #000; }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: #f2f2f0; }
.btn--outline { background: transparent; border-color: currentColor; }
.btn--lg { padding: 18px 34px; font-size: 17px; }
.btn--sm { padding: 11px 20px; font-size: 14px; }

/* ---------- NAV (sempre branca, com logo animado desde o topo) ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--white); border-bottom: 1px solid var(--grey); transition: box-shadow var(--dur); }
.nav.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

/* Logo animado (vídeo preto-sobre-branco) toca desde o início — o fundo branco do
   vídeo funde no branco da nav, sem emendas. prefers-reduced-motion → lockup estático. */
.nav-logo { display: flex; align-items: center; }
.nav-vid { height: 44px; width: auto; display: block; }
.nav-text { display: none; }
@media (prefers-reduced-motion: reduce) { .nav-vid { display: none; } .nav-text { display: inline-block; } }

.nav .lockup, .nav-links a, .nav .lang a.active { color: var(--ink); }
.nav .lang { color: var(--ink-55); }
.nav-links { display: none; align-items: center; gap: 34px; }
.nav-links a { font-size: 15.5px; font-weight: 500; opacity: 0.9; }
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.lang a:hover { color: var(--green) !important; }
.nav-cta { display: inline-flex; }  /* CTA visível também no mobile */

@media (max-width: 460px) { .nav-inner { gap: 12px; } .nav-cta { padding: 9px 15px; } }
@media (min-width: 940px) {
  .nav-links { display: flex; }
}

/* ---------- HERO ---------- */
.hero { position: relative; min-height: clamp(560px, 88vh, 880px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
/* Fundo: gradiente fallback. Sobe um <video class="hero-bg"> ou <img> por cima quando existir. */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden;
   background: radial-gradient(120% 80% at 70% 20%, #2a3b33 0%, #161d1a 55%, #0c100e 100%); }
.hero-bg, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* Overlay de contraste — sempre por cima do vídeo/foto, atrás do texto */
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
   linear-gradient(180deg, rgba(13,18,16,0.50) 0%, rgba(13,18,16,0.18) 36%, rgba(13,18,16,0.70) 100%); }
/* Badge "TODO foto" removido — agora há vídeo real (assets/hero.mp4). */
.hero-inner { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vw, 104px); padding-top: 120px; max-width: 880px; }
.hero h1 { color: var(--white); }
.hero .lead { color: var(--white-85); max-width: 560px; margin: 20px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .spark { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 22px 6px rgba(56,160,95,0.6); display: inline-block; }

/* ---------- Big statement + stat bar ---------- */
.statement h2 { max-width: 14ch; }
.stat-bar { margin-top: clamp(40px, 7vw, 88px); }
.stat-line { border: 0; border-top: 3px dotted var(--ink); margin: 0 0 22px; }
.stats { display: grid; grid-template-columns: 1fr; gap: 36px; }
.stat .num { font-family: var(--font-sans); font-weight: 500; font-size: clamp(40px, 5vw, 62px); letter-spacing: -0.02em; line-height: 1; }
.stat .cap { margin-top: 12px; color: var(--ink-70); font-size: 16px; max-width: 26ch; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Feature split (accordion + product mock) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.05fr; } }
.acc-item { border-top: 1px solid var(--grey); }
.acc-item:last-child { border-bottom: 1px solid var(--grey); }
.acc-head { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--font-sans); font-weight: 600; font-size: clamp(18px, 2vw, 22px); color: var(--ink); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.acc-head .pm { flex: none; width: 26px; height: 26px; position: relative; }
.acc-head .pm::before, .acc-head .pm::after { content: ""; position: absolute; background: var(--ink); transition: transform var(--dur) var(--ease), opacity var(--dur); }
.acc-head .pm::before { top: 12px; left: 3px; right: 3px; height: 2px; }
.acc-head .pm::after { left: 12px; top: 3px; bottom: 3px; width: 2px; }
.acc-item.open .acc-head .pm::after { transform: scaleY(0); opacity: 0; }
.acc-item.open .acc-head { color: var(--green); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.acc-body-inner { padding: 0 0 22px; color: var(--ink-70); max-width: 46ch; }
.acc-body-inner a { color: var(--green); font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }

/* Product mock (substitui o screenshot do Square por um painel VUS de analytics) */
.mock { background: #f6f6f4; border: 1px solid var(--grey); border-radius: var(--radius-lg); padding: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.25); }
.mock-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.mock-panel { background: var(--white); border-radius: var(--radius-md); padding: 16px; }
.mock-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.mock-kpi { background: var(--mint); border-radius: 12px; padding: 12px 14px; }
.mock-kpi.alt { background: #eef0ee; }
.mock-kpi .k { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-55); }
.mock-kpi .v { font-family: var(--font-sans); font-weight: 700; font-size: 22px; margin-top: 4px; }
.mock-kpi .v small { color: var(--green); font-size: 13px; font-weight: 600; }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; padding-top: 8px; }
.mock-bars span { flex: 1; background: var(--grey); border-radius: 4px 4px 0 0; }
.mock-bars span.g { background: var(--green); }
.mock-list { display: flex; flex-direction: column; gap: 10px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; padding-bottom: 9px; border-bottom: 1px solid #eee; }
.mock-row b { font-weight: 700; }
.mock-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.mock-tot { font-weight: 700; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 880px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.plan { border: 1px solid var(--grey); border-radius: var(--radius-lg); padding: 34px 30px; text-align: center; background: var(--white); display: flex; flex-direction: column; gap: 16px; position: relative; }
.plan.best { border-color: var(--green); box-shadow: 0 24px 60px -34px rgba(56,160,95,0.55); }
.plan .best-tag { position: absolute; top: 18px; right: 24px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.plan .pname { font-family: var(--font-sans); font-size: 22px; font-weight: 700; }
.plan .pdesc { color: var(--ink-55); font-size: 15px; margin-top: -8px; }
.plan .price { font-family: var(--font-sans); font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: -0.02em; }
.plan .price small { font-size: 18px; color: var(--ink-55); font-weight: 500; }
.plan .price .from { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink-55); line-height: 1; margin-bottom: 5px; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 8px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.plan li { font-size: 15px; padding-left: 26px; position: relative; color: var(--ink-70); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ---------- Stack mini (logos discretos sob o título de serviços) ---------- */
.stack-note { font-style: italic; font-size: 15px; color: var(--ink-55); font-weight: 500; margin: 0 0 18px; }
.stack-mini { display: flex; flex-flow: row wrap; align-items: center; gap: 18px 26px; margin-bottom: 36px; max-width: 470px; }
.stack-mini img { height: 24px; width: auto; opacity: 0.5; transition: opacity var(--dur) var(--ease); }
.stack-mini img:hover { opacity: 0.9; }
.stack-mini .wm-chip { font-family: var(--font-sans); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); opacity: 0.5; transition: opacity var(--dur) var(--ease); }
.stack-mini .wm-chip:hover { opacity: 0.9; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); max-width: 18ch; margin: 0 auto 18px; }
.cta-band .lead { color: var(--white-85); max-width: 56ch; margin: 0 auto 30px; }

/* ---------- Footer (giant wordmark) ---------- */
.footer { background: var(--white); padding: clamp(56px, 9vw, 120px) 0 48px; }
.footer-word { display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; }
.footer-word .big { font-family: var(--font-sans); font-weight: 900; letter-spacing: -0.04em; font-size: clamp(72px, 18vw, 230px); line-height: 0.8; color: var(--ink); }
.footer-word .big .dot { color: var(--green); }
.footer-word .tag { font-family: var(--font-sans); font-weight: 400; font-size: clamp(22px, 4vw, 52px); letter-spacing: -0.02em; color: var(--ink); }
.footer-meta { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr; gap: 22px; border-top: 1px solid var(--grey); padding-top: 30px; }
@media (min-width: 760px) { .footer-meta { grid-template-columns: 2fr 1fr 1fr; } }
.footer-meta h4 { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-55); margin: 0 0 14px; font-weight: 600; }
.footer-meta a { display: block; color: var(--ink-70); font-size: 15px; padding: 4px 0; }
.footer-meta a:hover { color: var(--green); }
.footer-legal { margin-top: 36px; color: var(--ink-55); font-size: 13px; }

/* ---------- Hero kicker (Technology · RevOps · AI · Automation · Business Services) ---------- */
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 22px; font-family: var(--font-sans); font-weight: 600; font-size: clamp(11px, 1.1vw, 13px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); }
.hero-kicker span { opacity: 0.94; }
.hero-kicker span + span::before { content: "·"; margin: 0 10px; color: var(--green); opacity: 1; }

/* ---------- Feature visual (mock flutuando sobre imagem de fundo, como no PDF) ---------- */
.feature-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: flex; align-items: center; justify-content: center; padding: clamp(20px, 4vw, 40px);
  background:
    linear-gradient(150deg, rgba(56,160,95,0.16), rgba(29,29,27,0.0) 55%),
    radial-gradient(120% 90% at 80% 10%, #3a5a48 0%, #243a2f 45%, #16221c 100%); }
.feature-visual img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.feature-visual::after { content: "TODO · imagem real do banco da marca"; position: absolute; top: 12px; left: 14px; z-index: 1; font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.06em; color: var(--white-65); background: rgba(0,0,0,0.32); padding: 4px 9px; border-radius: 999px; }
.feature-visual .mock { position: relative; z-index: 2; width: 100%; max-width: 460px; }
@media (min-width: 960px) { .feature-visual .mock { transform: translateX(6%); } }

/* ---------- Industries / Setores (estilo Square) ---------- */
.industries { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: clamp(40px, 6vw, 64px); text-align: left; }
@media (min-width: 600px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .industries { grid-template-columns: repeat(5, 1fr); } }
.ind-card { border: 1px solid var(--grey); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); display: flex; flex-direction: column; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ind-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(0,0,0,0.28); }
.ind-top { height: 132px; display: flex; align-items: flex-end; padding: 16px 18px; position: relative; }
.ind-top .num { font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; position: absolute; top: 16px; left: 18px; opacity: 0.7; }
.ind-ico { width: 46px; height: 46px; display: block; }
.ind-ico svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ind-top.t-ink { background: var(--ink); color: var(--white); }
.ind-top.t-green { background: var(--green); color: var(--white); }
.ind-top.t-sage { background: var(--sage); color: var(--white); }
.ind-top.t-mint { background: var(--mint); color: var(--green); }
.ind-top.t-grey { background: var(--grey); color: var(--ink); }
.ind-top.t-forest { background: #143a28; color: var(--white); }
.ind-top .pill-badge { position: absolute; top: 14px; right: 14px; font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--white); color: var(--green); padding: 4px 11px; border-radius: 999px; }
.ind-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ind-body h3 { font-size: 23px; }
.ind-body p { margin: 0; font-size: 14.5px; color: var(--ink-70); line-height: 1.55; flex: 1; }
.ind-body .more { font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: var(--green); }
.ind-body .more:hover { text-decoration: underline; }

/* ---------- Footer brand: logo animado (vídeo) ---------- */
.footer-brand { margin-bottom: clamp(28px, 5vw, 56px); }
.logo-anim { width: 100%; max-width: 720px; height: auto; display: block; }
.footer-brand .tag { font-family: var(--font-sans); font-weight: 400; font-size: clamp(20px, 3.4vw, 40px); letter-spacing: -0.02em; color: var(--ink); margin: clamp(8px, 2vw, 20px) 0 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
