/* =============================================================================
   Infinoos — base compartilhada entre todas as páginas
   Tokens, cromo (cabeçalho, menu, cortina, cursor), componentes e utilitários.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* o atributo `hidden` tem que vencer qualquer `display` declarado depois —
   sem isto, elementos como .ring__ai ou .chat__form continuam visíveis */
[hidden] { display: none !important; }

/* --------------------------------------------------------------- tokens -- */
:root,
[data-theme="dark"] {
  --brand: #3BB8FF;
  --brand-2: #8B5CF6;
  --navy: #0D1B2E;
  --navy-2: #15243B;
  --bg: #0A1524;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --text: #EDEBE7;
  --text-dim: rgba(237, 235, 231, 0.6);
  --text-faint: rgba(237, 235, 231, 0.34);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.06);
  --dev-tag: #F2C94C;
  --green: #34D399;
  --gradient-hero: linear-gradient(135deg, #3BB8FF 0%, #8B5CF6 100%);
  --band-text: rgba(237, 235, 231, 0.7);
  --band-text-dim: rgba(237, 235, 231, 0.65);
  --band-surface: rgba(255, 255, 255, 0.06);
  --band-line: rgba(255, 255, 255, 0.12);
  --paper: #F5F3EF;
  --paper-ink: #0B1526;
}

[data-theme="light"] {
  --brand: #1E93DB;
  --brand-2: #7C4DE0;
  --bg: #F4F2EC;
  --surface: #FFFFFF;
  --surface-2: #FBFAF6;
  --text: #1C1B19;
  --text-dim: rgba(28, 27, 25, 0.62);
  --text-faint: rgba(28, 27, 25, 0.4);
  --line: #E2DFD7;
  --line-2: #EEEBE3;
  --dev-tag: #B07A0A;
  --green: #0F9D6C;
}

html, body { background: var(--navy); }

body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
::selection { background: rgba(59, 184, 255, 0.3); }

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.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;
}

.defs { position: absolute; width: 0; height: 0; }

/* ----------------------------------------------------------- keyframes -- */
@keyframes coverFromRight { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes coverFromLeft  { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes pageEnterIn    { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marqueeLeft    { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fadeUpIn       { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes menuSlideIn    { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes menuSlideOut   { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes menuImgIn      { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes floaty         { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ribbonIn       { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes priceIn        { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes checkPop       { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes aiRing         { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
@keyframes aiFloat        { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes typingDot      { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes bubbleIn       { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* -------------------------------------------------- cortina de transição -- */
.curtain {
  position: fixed; inset: 0; z-index: 100000;
  background: var(--navy);
  pointer-events: none;
  transform: translateX(0);
  transition: transform .55s cubic-bezier(0.76, 0, 0.24, 1);
}

.cover {
  position: fixed; inset: 0; z-index: 100001;
  background: var(--navy);
  pointer-events: none;
  display: none;
  align-items: center; justify-content: center;
  color: #fff;
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cover.is-active { display: flex; }
.cover.is-forward { animation: coverFromRight .55s cubic-bezier(0.76, 0, 0.24, 1) forwards; }
.cover.is-back    { animation: coverFromLeft .55s cubic-bezier(0.76, 0, 0.24, 1) forwards; }
.cover__label { animation: fadeUpIn .5s .12s cubic-bezier(0.16, 1, 0.3, 1) both; }
.cover__label:empty { display: none; }
.cover__inf { font-weight: 400; margin: 0 6px; color: var(--brand); }
.cover__name { color: rgba(255, 255, 255, 0.85); font-weight: 500; }

/* ---------------------------------------------------------- cursor blob -- */
.cursor {
  position: absolute; top: 0; left: 0;
  width: 0; height: 0;
  pointer-events: none; z-index: 9999;
  transform: translate3d(-999px, -999px, 0);
  transition: transform .14s ease-out;
}
.cursor__dot {
  position: absolute; top: 0; left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: rgba(190, 190, 196, 0.9);
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 600; letter-spacing: 0.01em;
  color: #fff; white-space: nowrap; overflow: hidden;
  transition:
    width .3s cubic-bezier(.34, 1.56, .64, 1),
    height .3s cubic-bezier(.34, 1.56, .64, 1),
    background .18s ease;
}
.cursor.is-expanded .cursor__dot {
  width: 64px; height: 64px;
  background: rgba(210, 210, 215, 0.14);
  filter: blur(1px);
}
.cursor.is-labelled .cursor__dot {
  width: 150px; height: 150px;
  background: rgba(220, 220, 228, 0.22);
  filter: none;
}
[data-theme="light"] .cursor__dot { background: rgba(70, 70, 76, 0.85); }
[data-theme="light"] .cursor.is-expanded .cursor__dot { background: rgba(60, 60, 66, 0.08); }
[data-theme="light"] .cursor.is-labelled .cursor__dot { background: rgba(220, 220, 228, 0.22); }

/* --------------------------------------------------------------- header -- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line-2);
  transform: translateY(0);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.site-header.is-hidden { transform: translateY(-110%); }

/* variante translúcida sobre foto (People) */
.site-header--overlay {
  backdrop-filter: blur(10px);
  background: rgba(11, 21, 38, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.site-header--overlay .brand,
.site-header--overlay .brand__name,
.site-header--overlay .home-btn,
.site-header--overlay .lang { color: #fff; }
.site-header--overlay .brand__name em { color: rgba(255, 255, 255, 0.75); }
.site-header--overlay .lang__opt { color: rgba(255, 255, 255, 0.55); }
.site-header--overlay .lang__opt:hover,
.site-header--overlay .lang__opt.is-active { color: #fff; }
.site-header--overlay .lang__sep { color: rgba(255, 255, 255, 0.6); }
.site-header--overlay .burger span { background: #fff; }
.site-header--overlay .home-btn:hover { background: var(--brand); color: #fff; }

.hdr__inner {
  max-width: 1760px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; gap: 28px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__mark { filter: drop-shadow(0 0 7px rgba(99, 140, 255, 0.6)); }
.brand__name { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand__name em { font-style: normal; color: var(--text-dim); font-weight: 500; }

.home-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: transparent; color: var(--text); flex-shrink: 0;
  transform: scale(1);
  transition: background .25s ease, color .25s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.home-btn:hover { background: #638AFB; color: #fff; transform: scale(1.18); }

.mainnav {
  display: flex; gap: 22px; margin-left: 8px;
  font-size: 14.5px;
}
.mainnav a { color: var(--text-dim); }
.mainnav a:hover { color: var(--brand); }

.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.lang {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
}
.lang__opt {
  background: none; border: 0; padding: 0;
  font: inherit; cursor: pointer;
  color: var(--text-dim);
  transition: color .15s;
}
.lang__opt:hover, .lang__opt.is-active { color: var(--text); }
.lang__sep { opacity: .5; color: var(--text-dim); }

/* CTA "Vamos conversar" */
.cta {
  position: relative; overflow: hidden;
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.01em;
  padding: 12px 22px; border-radius: 999px; border: none;
  background: var(--text); color: var(--bg);
  cursor: pointer; text-transform: uppercase;
  box-shadow: none; transform: scale(1);
  transition: background .25s, color .25s, box-shadow .25s, transform .2s ease;
  width: 150px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cta:hover {
  background: var(--brand-2); color: #fff;
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.65), 0 0 46px rgba(139, 92, 246, 0.35);
  transform: scale(0.92);
}
.cta__static { display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.cta:hover .cta__static { visibility: hidden; }
.cta__marquee {
  position: absolute; inset: 0;
  display: none; align-items: center; justify-content: flex-start;
  overflow: hidden;
}
.cta:hover .cta__marquee { display: flex; }
.cta__track { display: flex; white-space: nowrap; animation: marqueeLeft 4s linear infinite; }
.cta__track span { padding-right: 28px; }

/* CTA compacto usado no WMS */
.cta-inline {
  font-weight: 600; font-size: 13.5px;
  padding: 10px 18px; border-radius: 10px;
  background: var(--gradient-hero); color: #fff;
  box-shadow: 0 6px 18px rgba(59, 184, 255, 0.3);
}
.cta-inline:hover { color: #fff; }

/* hambúrguer */
.burger {
  display: flex; flex-direction: column; gap: 4px;
  justify-content: center; align-items: flex-end;
  width: 32px; height: 34px;
  background: transparent; border: none; cursor: pointer; padding: 0;
}
.burger span { width: 100%; height: 2px; background: var(--text); }
.burger span:last-child { width: 50%; transition: width .65s cubic-bezier(0.16, 1, 0.3, 1); }
.burger:hover span:last-child { width: 100%; }

/* alternador de tema */
.theme-toggle {
  position: relative;
  width: 74px; height: 34px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  cursor: pointer; padding: 0; flex-shrink: 0;
  color: var(--text);
}
.theme-toggle__moon { position: absolute; top: 10px; left: 11px; opacity: .4; }
.theme-toggle__sun  { position: absolute; top: 9.5px; right: 10px; opacity: .4; }
.theme-toggle__thumb {
  position: absolute; top: 2px; left: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  display: flex; align-items: center; justify-content: center;
  transform: translateX(0);
  transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
[data-theme="light"] .theme-toggle__thumb { transform: translateX(40px); }
.theme-toggle__thumb .icon-moon { display: block; }
.theme-toggle__thumb .icon-sun  { display: none; }
[data-theme="light"] .theme-toggle__thumb .icon-moon { display: none; }
[data-theme="light"] .theme-toggle__thumb .icon-sun  { display: block; }

.header-spacer { height: 66px; }

/* ------------------------------------------------------- menu overlay --- */
.menu {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--bg);
  display: none; flex-direction: column;
  padding: 32px 40px;
}
.menu.is-open { display: flex; animation: menuSlideIn .5s cubic-bezier(0.76, 0, 0.24, 1) forwards; }
.menu.is-closing { display: flex; animation: menuSlideOut .5s cubic-bezier(0.76, 0, 0.24, 1) forwards; }

.menu__tint {
  position: absolute; inset: 0;
  background-color: transparent;
  transition: background-color .5s ease;
  pointer-events: none;
}
.menu__topbar { display: flex; justify-content: flex-end; }
.menu__close {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line); background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); cursor: pointer;
  transition: background .2s, color .2s;
}
.menu__close:hover { background: var(--text); color: var(--bg); }

.menu__body {
  flex: 1; display: flex; gap: 60px;
  align-items: center; flex-wrap: wrap; padding: 20px 0;
}
.menu__col-products {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1; min-width: 280px;
}
.menu__col-nav {
  position: relative; z-index: 9600;
  display: flex; flex-direction: column; gap: 16px;
  min-width: 200px; flex-shrink: 0;
}
.menu__label {
  font-size: 14px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 10px;
}
.menu__col-nav .menu__label { margin-bottom: 6px; }

.menu__product {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  color: var(--text);
  transition: opacity .2s, color .2s;
}
.menu__product-thin { font-size: clamp(40px, 6.4vw, 74px); font-weight: 700; letter-spacing: -0.02em; }
.menu__product-name { font-size: clamp(40px, 6.4vw, 74px); font-weight: 300; letter-spacing: -0.02em; }
.menu__product svg { flex-shrink: 0; }
.menu.has-product-hover .menu__product { color: #000; }
.menu.has-product-hover .menu__product.is-hovered { color: #fff; }

.menu__nav-link {
  position: relative; display: block;
  font-size: 42px; font-weight: 600;
  color: var(--text); opacity: 1;
  transition: opacity .2s, color .2s;
}
.menu__nav-link:hover { color: var(--brand); }
.menu__col-nav.has-hover .menu__nav-link { opacity: .35; }
.menu__col-nav.has-hover .menu__nav-link:hover { opacity: 1; }
.menu__dot {
  position: absolute; left: -30px; top: 50%;
  width: 15px; height: 15px; border-radius: 50%;
  background: conic-gradient(from 180deg, var(--brand), var(--brand-2), #22D3EE, var(--brand));
  box-shadow: inset 0 0 0 3.5px var(--bg);
  transform: translateY(-50%) scale(0);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.menu__nav-link:hover .menu__dot { transform: translateY(-50%) scale(1); }

.menu__foot {
  border-top: 1px solid var(--line);
  padding-top: 18px; text-align: right;
}
.menu__foot span { font-size: 12px; color: var(--text-faint); }

.menu__img {
  position: fixed; top: 0; left: 0;
  width: 720px; height: 520px;
  z-index: 9500; pointer-events: none;
  display: none;
  transform: translate3d(-999px, -999px, 0) rotate(-8deg);
  transition: transform .12s ease-out;
}
.menu__img.is-visible { display: block; }
.menu__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  animation: menuImgIn .25s ease both;
}

/* ------------------------------------------------------------ tipografia -- */
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}

.section { max-width: 1760px; margin: 0 auto; padding: 56px 32px; }
.section--wide { padding: 72px 32px; }

.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.sec-head h2 {
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.05;
}
.sec-head p {
  font-size: 16px; color: var(--text-dim);
  max-width: 80ch; line-height: 1.6; margin-top: 6px;
}
/* variante centralizada, usada em Home/WMS/People/Planos.
   Na arte estes títulos não declaram line-height e o parágrafo não tem
   margin-top — só o gap de 10px do contêiner. */
.sec-head--center { align-items: center; text-align: center; }
.sec-head--center h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  line-height: normal;
}
.sec-head--center p { font-size: 15px; max-width: 70ch; margin-top: 0; }
/* onde a arte usa 64ch em vez de 70ch */
.sec-head--64 p { max-width: 64ch; }

/* faixas escuras */
.band { background: var(--navy); color: #fff; padding: 80px 24px; }
.band__inner { max-width: 1760px; margin: 0 auto; }
.band .sec-head h2 { color: #fff; }
.band .sec-head p { color: var(--band-text); }

/* botões */
.btn-grad {
  font-weight: 600; font-size: 14.5px;
  padding: 13px 26px; border-radius: 11px;
  background: var(--gradient-hero); color: #fff;
  box-shadow: 0 6px 18px rgba(59, 184, 255, 0.3);
}
.btn-grad:hover { color: #fff; }
.btn-ghost {
  font-weight: 600; font-size: 14.5px;
  padding: 13px 24px; border-radius: 11px;
  border: 1px solid var(--line); color: var(--text);
}
.btn-ghost:hover { color: var(--text); border-color: var(--brand); }

/* selos */
.badge-soon {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--dev-tag);
  background: rgba(242, 201, 76, 0.13);
  border: 1px solid rgba(242, 201, 76, 0.4);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.badge-paid {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.13);
  border: 1px solid rgba(74, 222, 128, 0.4);
  padding: 5px 13px; border-radius: 999px; white-space: nowrap;
}

/* --------------------------------------------------------------- cartões -- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

.card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, border-color .2s;
}
.card:hover { border-color: var(--brand); }
.card--lift:hover { transform: translateY(-3px); }
.card__icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--gradient-hero);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; font-weight: 700;
}
.card__icon--sm { width: 44px; height: 44px; border-radius: 11px; font-size: 20px; }
.card__title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.card__titlerow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card p { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }

/* cartão sobre faixa escura */
.card--onband {
  background: var(--band-surface);
  border-color: var(--band-line);
  min-height: 210px;
}
.card--onband:hover { border-color: var(--brand); }
.card--onband .card__title { color: #fff; }
.card--onband p { color: var(--band-text-dim); }
.card--onband.card--short { min-height: 190px; }

/* lista com check */
.checklist { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.checklist div {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 13.5px; line-height: 1.4;
}
.checklist span:first-child { color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.checklist span:last-child { color: var(--text); }

/* ------------------------------------------------------------------ faq -- */
.faq { padding: 56px 24px 72px; }
.faq--surface { background: var(--surface-2); padding: 72px 24px; }
.faq__inner { max-width: 900px; margin: 0 auto; }
.faq__inner--narrow { max-width: 820px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 2px 20px;
  transition: border-color .2s;
}
.faq--surface .faq__item { background: var(--surface); }
.faq__item:hover { border-color: var(--brand); }
.faq__item summary {
  cursor: pointer; list-style: none;
  padding: 18px 0; font-size: 15.5px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  color: var(--brand); font-size: 22px; font-weight: 400; flex-shrink: 0;
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  font-size: 14px; color: var(--text-dim);
  line-height: 1.6; padding: 0 0 20px; text-wrap: pretty;
}

/* botão que abre/fecha a seção inteira de FAQ (People) */
.faq__toggle {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 14px 26px; cursor: pointer;
  color: var(--text);
  font-size: clamp(17px, 2vw, 22px); font-weight: 700; letter-spacing: -0.01em;
  transition: border-color .2s;
}
.faq__toggle:hover { border-color: var(--brand); }
.faq__toggle svg { color: var(--brand); transition: transform .3s ease; }
.faq__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq__togglewrap { display: flex; justify-content: center; margin-bottom: 0; transition: margin-bottom .3s ease; }
.faq__togglewrap.is-open { margin-bottom: 28px; }

/* ------------------------------------------------------- rodapé escuro --- */
.site-footer { background: var(--navy); color: #EDEBE7; padding: 56px 24px 34px; }
.site-footer__inner { max-width: 1760px; margin: 0 auto; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand__row { display: flex; align-items: center; gap: 10px; }
.foot-brand__row svg { filter: drop-shadow(0 0 6px rgba(99, 140, 255, 0.6)); }
.foot-brand__name { font-weight: 700; font-size: 17px; color: #fff; }
.foot-brand__name em { font-style: normal; color: rgba(237, 235, 231, 0.6); font-weight: 500; }
.foot-brand p { font-size: 13px; color: rgba(237, 235, 231, 0.5); line-height: 1.55; max-width: 34ch; }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-col__title {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(237, 235, 231, 0.45);
}
.foot-col a { font-size: 13.5px; color: rgba(237, 235, 231, 0.72); }
.foot-col a:hover { color: var(--brand); }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px; padding-top: 22px; text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; color: rgba(237, 235, 231, 0.5);
}

/* -------------------------------------------- rodapé claro (Home/People) -- */
.paper-footer {
  background: var(--bg); padding: 90px 16px 16px;
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end;
}
.paper-footer__card {
  max-width: 1720px; margin: 0 auto; width: 100%;
  background: var(--paper); color: var(--paper-ink);
  border-radius: 28px; overflow: hidden; position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(36px, 5vw, 64px); flex: 1;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 72px) clamp(20px, 2.5vw, 36px);
}
.newsgrid {
  position: relative; display: grid;
  grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px);
  align-items: center;
  border-bottom: 1px solid rgba(11, 21, 38, 0.12);
  padding-bottom: clamp(28px, 4vw, 52px);
}
.newsgrid__copy { display: flex; flex-direction: column; gap: 12px; }
.newsgrid__tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.12em; color: rgba(11, 21, 38, 0.5);
}
.newsgrid__title {
  font-size: clamp(24px, 2.4vw, 36px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.2; text-wrap: pretty;
}
.newsgrid__sub { font-size: 14.5px; color: rgba(11, 21, 38, 0.6); line-height: 1.6; max-width: 52ch; }
.newsgrid form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsgrid input {
  flex: 1; min-width: 240px;
  background: #fff; border: 1px solid rgba(11, 21, 38, 0.15);
  border-radius: 999px; padding: 16px 24px;
  font: inherit; font-size: 15px; color: var(--paper-ink); outline: none;
}
.newsgrid input:focus { border-color: #7C3AED; }
.newsgrid button {
  background: #7C3AED; color: #fff; border: none; border-radius: 999px;
  padding: 16px 30px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}

.footgridhome { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.footgridhome__lead { display: flex; flex-direction: column; gap: 34px; }
.footgridhome__lead h2 {
  font-size: clamp(32px, 3.6vw, 52px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.12; text-wrap: pretty;
}
.footgridhome__lead h2 em { font-style: normal; color: #7C3AED; }
.footgridhome__social { display: flex; align-items: center; gap: 14px; }
.footgridhome__social a { color: var(--paper-ink); display: inline-flex; }
.footgridhome__col {
  display: flex; flex-direction: column; gap: 16px; justify-self: center;
}
.footgridhome__col > span { font-size: 13px; color: rgba(11, 21, 38, 0.5); }
.footgridhome__col a { font-size: 15px; color: var(--paper-ink); }
.footgridhome__col a.is-product { font-size: 17px; font-weight: 600; }
.paper-footer__bottom {
  border-top: 1px solid rgba(11, 21, 38, 0.12); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(11, 21, 38, 0.6);
}
.paper-footer__mark { display: flex; align-items: center; gap: 9px; }
.paper-footer__mark span { font-weight: 700; font-size: 15px; color: var(--paper-ink); }

/* ------------------------------------------------ tela "Construindo" ----- */
/* Ativada pelo atributo data-building no <html>. Todo o conteúdo real da
   página continua no HTML, apenas oculto — para publicar a página pronta é só
   remover o atributo. */
@keyframes traceInfinity { to { stroke-dashoffset: -100; } }
@keyframes buildFloat    { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes buildHalo     { 0%, 100% { opacity: .3; transform: scale(1); } 50% { opacity: .7; transform: scale(1.08); } }
@keyframes buildDot      { 0%, 70%, 100% { opacity: .18; } 35% { opacity: 1; } }

[data-building] .site-header,
[data-building] .menu,
[data-building] .header-spacer,
[data-building] main,
[data-building] .site-footer,
[data-building] .paper-footer { display: none !important; }

.building { display: none; }
[data-building] .building {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 100vh; padding: 40px 24px;
  text-align: center; gap: 6px;
  background: var(--bg);
}

.building__mark {
  position: relative;
  width: min(320px, 62vw); aspect-ratio: 100 / 60;
  animation: buildFloat 4.5s ease-in-out infinite;
}
.building__halo {
  position: absolute; inset: -18% -8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(99, 138, 251, 0.42), transparent 72%);
  animation: buildHalo 4.5s ease-in-out infinite;
  pointer-events: none;
}
.building__mark svg { position: relative; width: 100%; height: 100%; display: block; }
.building__track { stroke: var(--line); }
.building__trace {
  stroke: url(#buildgrad);
  stroke-dasharray: 26 74;
  animation: traceInfinity 3.4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(99, 140, 255, 0.75));
}

.building__brand {
  margin-top: clamp(18px, 4vh, 40px);
  font-size: clamp(22px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em;
  color: var(--text);
}
.building__brand em { font-style: normal; color: var(--text-dim); font-weight: 500; }

/* o "Construindo..." percorre a paleta da marca: azul → índigo → roxo → ciano.
   No tema claro usa as versões escurecidas, para manter contraste sobre o
   fundo creme. */
@keyframes buildPaleta {
  0%,  100% { color: #3BB8FF; text-shadow: 0 0 18px rgba(59, 184, 255, 0.45); }
  25%       { color: #638AFB; text-shadow: 0 0 18px rgba(99, 138, 251, 0.45); }
  50%       { color: #A78BFA; text-shadow: 0 0 18px rgba(139, 92, 246, 0.5); }
  75%       { color: #22D3EE; text-shadow: 0 0 18px rgba(34, 211, 238, 0.45); }
}
@keyframes buildPaletaClara {
  0%,  100% { color: #0A6299; text-shadow: none; }
  25%       { color: #3B55BE; text-shadow: none; }
  50%       { color: #6B3FC4; text-shadow: none; }
  75%       { color: #076C77; text-shadow: none; }
}

.building__text {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand); margin-top: 10px;
  animation: buildPaleta 9s linear infinite;
}
[data-theme="light"] .building__text { animation-name: buildPaletaClara; }
.building__text i { font-style: normal; animation: buildDot 1.4s ease-in-out infinite; }
.building__text i:nth-child(2) { animation-delay: .18s; }
.building__text i:nth-child(3) { animation-delay: .36s; }

.building__note {
  font-size: 14.5px; color: var(--text-dim);
  line-height: 1.6; max-width: 44ch; margin-top: 14px;
}
/* o botão de voltar reaproveita o .home-btn do cabeçalho do People — mesma
   casinha em círculo que se preenche no hover; aqui só o espaçamento muda */
.building__back { margin-top: 30px; }

@media (prefers-reduced-motion: reduce) {
  .building__mark, .building__halo, .building__trace,
  .building__text, .building__text i { animation: none !important; }
  .building__trace { stroke-dasharray: none; }
}

/* -------------------------------------------------- luz que segue o mouse -- */
.spot { position: relative; overflow: hidden; }
.spot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(220px 220px at var(--mx, -9999px) var(--my, -9999px), var(--spot-color, rgba(59, 184, 255, 0.28)), transparent 65%);
  transition: background .1s linear;
}

/* ------------------------------------------------ revelação ao rolar ----- */
.reveal { transform-style: preserve-3d; will-change: transform; }
.js .reveal {
  opacity: 0;
  transform: perspective(1100px) translateY(44px) rotateX(10deg);
  transform-origin: 50% 100%;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: perspective(1100px) translateY(0) rotateX(0deg);
}

/* ------------------------------------------------------------ responsivo -- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .footgridhome { grid-template-columns: repeat(2, 1fr); }
  .newsgrid { grid-template-columns: 1fr; }
  .mainnav { display: none; }
  .menu__img { width: 480px; height: 340px; }
}

@media (max-width: 640px) {
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .footgridhome { grid-template-columns: 1fr; gap: 36px; }
  .footgridhome__col { justify-self: start; }
  .hdr__inner { padding: 12px 18px; gap: 12px; }
  .home-btn, .lang, .hdr__right > .cta { display: none; }
  .hdr__right { gap: 12px; }
  .brand__name { font-size: 17px; }
  .section, .section--wide { padding: 48px 18px; }
  .menu { padding: 24px 20px; }
  .menu__nav-link { font-size: 30px; }
  .menu__img { display: none !important; }
  .cursor { display: none; }
  .paper-footer { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
