/* ============================================================
   CRONIUM — consolidated stylesheet (with motion layer)
   Shape rule: buttons 10px · cards 16px · pills/badges full.
   Color rule: one accent (acid green) across the whole page.
   Motion rule: idle cost ~0. Animation fires on load, on
   scroll-into-view (once), or on pointer. Few infinite loops,
   all transform/opacity only. Everything respects reduced-motion.
   Phones additionally silence the looping ambient animations.
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  --bg:          #080808;
  --bg-2:        #0d0d0d;
  --surface:     #131313;
  --surface-2:   #181818;
  --line:        rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --accent:      #00e87a;
  --accent-2:    #34ffa0;
  --accent-dim:  rgba(0, 232, 122, 0.12);
  --accent-ring: rgba(0, 232, 122, 0.30);
  --red:         #ff5a5a;

  --text:  #f1f3f2;
  --muted: #9aa39e;
  --dim:   #6c746f;

  --r-btn:  10px;
  --r-card: 16px;

  --wrap: 1200px;
  --pad:  clamp(1.25rem, 5vw, 3rem);
  --gap-section: clamp(5rem, 9vw, 8.5rem);

  --font: 'Mona Sans', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h: 68px;
}

/* ---- FONT ---- */
@font-face {
  font-family: 'Mona Sans';
  src: url('../fonts/Mona-Sans.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 1000;
  background: var(--accent); color: #04130b; font-weight: 700;
  padding: 0.6rem 1rem; border-radius: var(--r-btn);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---- TYPOGRAPHY ---- */
.sec-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-title {
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.sec-title em { position: relative; color: var(--accent); white-space: nowrap; }
.sec-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.08em; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s var(--ease) 0.25s;
}
.reveal.in .sec-title em::after, .sec-head.in .sec-title em::after { transform: scaleX(1); }
.sec-sub {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 60ch;
  text-wrap: pretty;
}
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 1.75rem; height: 1px; background: var(--accent); opacity: 0.6; }

/* ---- BUTTONS ---- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.5rem;
  white-space: nowrap;
  font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg); transition: left 0.6s var(--ease); pointer-events: none;
}
.btn:hover::after { left: 140%; }
.btn-primary { background: var(--accent); color: #04130b; }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 10px 30px -10px var(--accent-ring); }
.btn-outline { border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline::after { background: linear-gradient(100deg, transparent, rgba(0,232,122,0.18), transparent); }
.btn-ghost {
  border-color: var(--accent); color: var(--accent);
  padding: 0.6rem 1.25rem; font-size: 0.85rem;
}
.btn-ghost:hover { background: var(--accent); color: #04130b; }

/* ---- SCROLL PROGRESS ---- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 600; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left;
  box-shadow: 0 0 12px var(--accent-ring);
}

/* ---- NAV ---- */
#nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); padding-inline: var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
}
#nav.scrolled {
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.logo { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.04em; color: var(--text); }
.logo span { color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 2.25rem; }
.nav-menu ul { display: flex; gap: 1.75rem; }
.nav-menu ul a {
  position: relative;
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s; padding-block: 0.25rem;
}
.nav-menu ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-menu ul a:hover, .nav-menu ul a.active { color: var(--text); }
.nav-menu ul a:hover::after, .nav-menu ul a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

/* ---- HERO ---- */
#hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 5rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; }
/* radial gradients are already soft — no filter:blur (blur is the costly part on phones) */
.hero-bg::before, .hero-bg::after {
  content: ""; position: absolute; border-radius: 50%; opacity: 0.55;
}
.hero-bg::before {
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; top: -8%; right: 4%;
  background: radial-gradient(circle, rgba(0,232,122,0.20), transparent 62%);
  animation: aurora-a 18s ease-in-out infinite alternate;
}
.hero-bg::after {
  width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; bottom: -12%; left: 2%;
  background: radial-gradient(circle, rgba(52,255,160,0.12), transparent 62%);
  animation: aurora-b 24s ease-in-out infinite alternate;
}
@keyframes aurora-a { from { transform: translate(0,0) scale(1); } to { transform: translate(-8%, 6%) scale(1.15); } }
@keyframes aurora-b { from { transform: translate(0,0) scale(1.1); } to { transform: translate(7%, -5%) scale(0.95); } }
.hero-glow {
  position: absolute; top: 42%; right: -10%; width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px; transform: translateY(-50%);
  background: radial-gradient(circle at center, var(--accent-dim) 0%, rgba(0,232,122,0.03) 40%, transparent 68%);
}
.hero-constellation {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; animation: fade-in 1.4s ease 0.3s forwards;
}
@keyframes fade-in { to { opacity: 0.55; } }
.hero-constellation .constellation-lines line { stroke: var(--accent); stroke-width: 0.5; opacity: 0.18; }
.hero-constellation .constellation-dots circle { fill: var(--accent); }
.hero-constellation .pulse { animation: dot-pulse 4s ease-in-out infinite; }
@keyframes dot-pulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-title {
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-title em { color: var(--accent); display: inline; }
.hero-lede {
  margin-top: 1.5rem; max-width: 52ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted);
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }

.hero-principles {
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: clamp(1.5rem, 2.5vw, 2rem);
}
.hero-principles-label {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 1.5rem;
}
.hero-principles ol { display: grid; gap: 1.4rem; }
.hero-principles li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  transition: transform 0.25s var(--ease);
}
.hero-principles li:hover { transform: translateX(4px); }
.hero-principles .num {
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums; padding-top: 0.15rem;
}
.hero-principles strong { display: block; font-weight: 700; margin-bottom: 0.15rem; }
.hero-principles span span { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

.hero-cue {
  position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%); z-index: 1;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim);
  transition: color 0.2s;
}
.hero-cue:hover { color: var(--accent); }
.hero-cue svg { width: 18px; height: 18px; animation: cue-bob 2.2s ease-in-out infinite; }
@keyframes cue-bob { 0%,100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(5px); opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-principles { opacity: 0; animation: hero-rise 0.85s var(--ease) forwards; }
  .hero-copy .kicker       { animation-delay: 0.10s; }
  .hero-copy .hero-title   { animation-delay: 0.20s; }
  .hero-copy .hero-lede    { animation-delay: 0.35s; }
  .hero-copy .hero-actions { animation-delay: 0.50s; }
  .hero-principles         { animation-delay: 0.62s; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---- TRUST RAIL ---- */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center; padding-block: clamp(2.25rem, 4vw, 3.25rem);
}
.trust-lead { font-size: 0.98rem; color: var(--muted); max-width: 34ch; }
.trust-lead strong { display: block; color: var(--text); font-weight: 700; margin-bottom: 0.3rem; }
.trust-item { display: grid; gap: 0.5rem; padding-left: 1.25rem; border-left: 1px solid var(--line); }
.trust-tag { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.trust-item strong { font-weight: 600; font-size: 1.02rem; }

/* ---- TICKER ---- */
.ticker {
  border-bottom: 1px solid var(--line);
  overflow: hidden; padding-block: 1.1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: inline-flex; gap: 0; white-space: nowrap; will-change: transform; animation: ticker-scroll 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 1.5rem; padding-inline: 1.5rem; color: var(--muted); font-size: 0.95rem; }
.ticker-item::before { content: "\25C6"; color: var(--accent); font-size: 0.6rem; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- SECTION SPACING + subtle texture ---- */
main > section { padding-block: var(--gap-section); position: relative; }
section[id] { scroll-margin-top: var(--nav-h); }
#jornada, #processo {
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* ---- DISCOVERY / SEARCH ---- */
.live-bar {
  display: inline-flex; align-items: center; gap: 0.85rem; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); padding: 0.7rem 1.3rem; margin-bottom: 2.5rem;
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(255,90,90,0.5); animation: live-ping 1.8s ease-out infinite;
}
@keyframes live-ping { 0% { box-shadow: 0 0 0 0 rgba(255,90,90,0.45); } 100% { box-shadow: 0 0 0 9px rgba(255,90,90,0); } }
.live-label { color: var(--muted); font-size: 0.9rem; }
.live-num { font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; font-size: 1.05rem; }

.search-mock {
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  background: var(--surface); max-width: 720px;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.8);
}
.search-chrome {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.search-chrome .dot { width: 11px; height: 11px; border-radius: 50%; }
.search-chrome .dot.r { background: #ff5f57; } .search-chrome .dot.y { background: #febc2e; } .search-chrome .dot.g { background: #28c840; }
.search-url {
  margin-left: 0.75rem; font-size: 0.82rem; color: var(--dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-url em { color: var(--muted); }
.search-url .caret { color: var(--accent); font-weight: 700; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.search-results { padding: 0.5rem; }
.result {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: 1rem; border-radius: 12px; transition: background 0.25s;
}
.result:hover { background: rgba(255,255,255,0.03); }
html.js .result { opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
html.js .result.show { opacity: 1; transform: none; }
.result.lose { background: rgba(255,90,90,0.05); }
.result.lose.show { animation: nudge 0.5s var(--ease) 0.2s; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 30% { transform: translateX(-4px); } 60% { transform: translateX(3px); } }
.result-fav { font-size: 1.3rem; line-height: 1; }
.result-fav.no { filter: grayscale(1); opacity: 0.6; }
.result-name { font-weight: 600; color: var(--accent-2); font-size: 0.98rem; }
.result-name.dim { color: var(--muted); }
.result-link { font-size: 0.82rem; color: var(--dim); margin-top: 0.15rem; }
.result-pill { font-size: 0.72rem; font-weight: 600; padding: 0.35rem 0.7rem; border-radius: 999px; white-space: nowrap; }
.result-pill.yes { background: var(--accent-dim); color: var(--accent-2); }
.result-pill.no { background: rgba(255,90,90,0.14); color: var(--red); }

/* ---- shared card spotlight + tilt (pointer-driven, zero idle cost) ---- */
.tilt {
  transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease), border-color 0.25s, box-shadow 0.3s;
}
.tilt::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--accent-dim), transparent 45%);
  opacity: 0; transition: opacity 0.3s;
}
.tilt:hover { border-color: var(--accent-ring); box-shadow: 0 18px 50px -28px rgba(0,0,0,0.9); }
.tilt:hover::before { opacity: 1; }

/* ---- JOURNEY ---- */
.journey-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.journey-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); padding: clamp(1.5rem, 2.5vw, 2.25rem);
}
.journey-card > * { position: relative; z-index: 1; }
.journey-card.highlight {
  background: linear-gradient(160deg, rgba(0,232,122,0.10), var(--surface) 55%); border-color: var(--accent-ring);
  animation: glow-breathe 4.5s ease-in-out infinite;
}
@keyframes glow-breathe { 0%,100% { box-shadow: 0 0 0 0 rgba(0,232,122,0); } 50% { box-shadow: 0 0 40px -8px rgba(0,232,122,0.25); } }
.journey-num { position: absolute; top: 1.5rem; right: 1.75rem; font-weight: 800; font-size: 1rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.journey-icon { display: inline-flex; color: var(--text); margin-bottom: 1.25rem; transition: transform 0.3s var(--ease); }
.journey-icon svg { width: 40px; height: 40px; }
.journey-card:hover .journey-icon { transform: scale(1.12) translateZ(20px); }
.journey-card h3 { font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 0.6rem; }
.journey-card h3 .red { color: var(--red); } .journey-card h3 .green { color: var(--accent); }
.journey-card p { color: var(--muted); font-size: 0.95rem; }
.journey-tag { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.8rem; color: var(--dim); }
.journey-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.journey-tag.red::before { background: var(--red); } .journey-tag.green::before { background: var(--accent); }
.journey-cta { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; font-weight: 600; color: var(--accent); }
.journey-cta svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.journey-cta:hover svg { transform: translateX(4px); }

/* ---- SERVICES ---- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.svc-card {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); padding: clamp(1.5rem, 2.5vw, 2rem);
}
.svc-card > * { position: relative; z-index: 1; }
.svc-icon { display: inline-flex; color: var(--accent); margin-bottom: 1.25rem; transition: transform 0.3s var(--ease); }
.svc-icon svg { width: 32px; height: 32px; }
.svc-card:hover .svc-icon { transform: translateZ(24px) rotate(-6deg) scale(1.08); }
.svc-card h3 { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.svc-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.svc-status { align-self: flex-start; margin-top: 1.5rem; font-size: 0.72rem; font-weight: 600; padding: 0.3rem 0.7rem; border-radius: 999px; }
.svc-status.live { background: var(--accent-dim); color: var(--accent-2); }
.svc-status.soon { background: rgba(255,255,255,0.06); color: var(--muted); }
.svc-cta { align-items: flex-start; justify-content: center; gap: 1.25rem; background: var(--bg-2); border-style: dashed; }
.svc-cta p { flex: 0; color: var(--text); font-weight: 500; }

/* ---- PROCESS ---- */
.proc-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.proc-layout .sec-head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 2rem); }
.proc-list { display: grid; gap: 0.75rem; }
.proc-item { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; transition: border-color 0.25s, box-shadow 0.3s; }
.proc-item[open] { border-color: var(--accent-ring); box-shadow: 0 12px 36px -24px rgba(0,232,122,0.4); }
.proc-item summary { display: flex; align-items: center; gap: 1rem; cursor: pointer; list-style: none; padding: 1.3rem 1.5rem; font-weight: 600; transition: background 0.2s; }
.proc-item summary:hover { background: rgba(255,255,255,0.02); }
.proc-item summary::-webkit-details-marker { display: none; }
.proc-num { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.proc-title { flex: 1; font-size: 1.05rem; }
.proc-mark { position: relative; width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.proc-mark::before, .proc-mark::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent); transform: translate(-50%, -50%); transition: transform 0.25s var(--ease); }
.proc-mark::before { width: 14px; height: 2px; }
.proc-mark::after { width: 2px; height: 14px; }
.proc-item[open] .proc-mark::after { transform: translate(-50%, -50%) scaleY(0); }
.proc-item[open] .proc-mark { transform: rotate(90deg); }
.proc-body { padding: 0 1.5rem; max-height: 0; opacity: 0; overflow: hidden; color: var(--muted); font-size: 0.95rem; transition: max-height 0.4s var(--ease), opacity 0.3s, padding 0.4s var(--ease); }
.proc-item[open] .proc-body { max-height: 360px; opacity: 1; padding: 0 1.5rem 1.4rem; }
.proc-badge { display: inline-block; margin-top: 1rem; font-size: 0.72rem; font-weight: 600; color: var(--accent-2); background: var(--accent-dim); padding: 0.3rem 0.7rem; border-radius: 999px; }

/* ---- TEAM ---- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.team-card {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start;
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
}
.team-card > * { position: relative; z-index: 1; }
.avatar {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px;
  background: var(--accent-dim); color: var(--accent); font-weight: 800; font-size: 1.1rem;
  border: 1px solid var(--accent-ring); transition: transform 0.3s var(--ease);
}
.team-card:hover .avatar { transform: translateZ(20px) scale(1.06); }
.team-card h3 { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.team-role { color: var(--accent); font-size: 0.85rem; font-weight: 600; margin: 0.2rem 0 0.85rem; }
.team-desc { color: var(--muted); font-size: 0.93rem; }
.team-skills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.team-skills li { font-size: 0.74rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.7rem; transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease); }
.team-skills li:hover { border-color: var(--accent-ring); color: var(--accent); transform: translateY(-2px); }

/* ---- CONTACT ---- */
#contato { text-align: center; }
.cta-inner {
  position: relative; max-width: 820px; margin-inline: auto;
  border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  background: radial-gradient(120% 120% at 50% 0%, var(--accent-dim), transparent 55%), var(--surface);
  overflow: hidden;
}
.cta-inner::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, transparent, var(--accent-ring), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.6; animation: border-sheen 6s ease-in-out infinite;
}
@keyframes border-sheen { 0%,100% { opacity: 0.25; } 50% { opacity: 0.7; } }
.cta-title { font-weight: 800; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.04em; text-wrap: balance; }
.cta-title em { color: var(--accent); }
.cta-sub { margin: 1.25rem auto 2.25rem; color: var(--muted); max-width: 52ch; font-size: 1.1rem; }
#contato .hero-actions { justify-content: center; }

/* ---- FOOTER ---- */
footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: clamp(2.5rem, 5vw, 4rem); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.foot-links { display: flex; gap: 1.75rem; }
.foot-links a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.foot-links a:hover { color: var(--accent); }
.foot-meta { color: var(--dim); font-size: 0.82rem; text-align: right; line-height: 1.7; }

/* ---- REVEAL SYSTEM (directional + staggered; safe without JS) ---- */
html.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--rd, 0s);
}
html.js .reveal[data-reveal="left"]  { transform: translateX(-32px); }
html.js .reveal[data-reveal="right"] { transform: translateX(32px); }
html.js .reveal[data-reveal="scale"] { transform: scale(0.93); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================ RESPONSIVE ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-principles { order: 2; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-lead { grid-column: 1 / -1; }
  .proc-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .proc-layout .sec-head { position: static; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,8,8,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--pad) 1.75rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.25s;
  }
  body.menu-open .nav-menu { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu ul { flex-direction: column; gap: 0; }
  .nav-menu ul li { border-bottom: 1px solid var(--line); }
  .nav-menu ul a { display: block; padding: 1rem 0; font-size: 0.95rem; }
  .nav-menu .btn-ghost { margin-top: 1.25rem; text-align: center; justify-content: center; }
  body.menu-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  body.menu-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .journey-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding-left: 0; border-left: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; gap: 1.25rem; }
  .foot-grid { flex-direction: column; align-items: flex-start; }
  .foot-meta { text-align: left; }
  .hero-cue { display: none; }
  .tilt { transform: none !important; }
}

/* ---- MOBILE / LOW-POWER: silence continuous loops so phones stay light ---- */
@media (max-width: 760px) {
  .hero-bg::before, .hero-bg::after { animation: none; opacity: 0.4; }
  .hero-constellation .pulse { animation: none; }
  .journey-card.highlight { animation: none; }
  .cta-inner::before { animation: none; }
  .ticker-track { animation-duration: 50s; }
}

/* ---- REDUCED MOTION: kill all non-essential animation, show everything ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero-bg::before, .hero-bg::after, .ticker-track, .live-dot, .hero-cue svg, .journey-card.highlight, .cta-inner::before { animation: none !important; }
  .hero-constellation { opacity: 0.5 !important; animation: none !important; }
  .tilt { transform: none !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  .result { opacity: 1 !important; transform: none !important; }
}
