/* pontieri.com.br — visual híbrido: hero neon do pontieri.eu + seções sóbrias. */
:root {
  --bg-0: #02030a;
  --bg-1: #050608;
  --bg-glow: #0a0d1c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hi: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --fg: rgba(255, 255, 255, 0.94);
  --fg-body: rgba(255, 255, 255, 0.74);
  --fg-dim: rgba(255, 255, 255, 0.5);
  --neon-cyan: #00e6ff;
  --neon-magenta: #ff2eb3;
  --neon-violet: #7a5cff;
  --neon-mint: #5cffc9;
  --neon-amber: #ffb86b;
  --danger: #ff7a90;
  --ok: #5cffc9;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg-1);
  color: var(--fg-body);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--fg); text-underline-offset: 3px; text-decoration-color: rgba(0, 230, 255, 0.5); }
a:hover { color: #fff; text-decoration-color: var(--neon-magenta); }
:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--fg); font-weight: 400; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: #000; padding: 8px 12px; }
.skip:focus { left: 8px; }

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { font: 400 0.9rem var(--mono); letter-spacing: 0.04em; text-decoration: none; color: var(--fg); }
.brand span { color: var(--neon-cyan); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 0.9rem; }
.nav a { text-decoration: none; color: var(--fg-body); }
.nav a:hover { color: #fff; }
.nav .nav-cta { color: var(--fg); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
.langs { display: flex; gap: 2px; font: 400 0.75rem var(--mono); letter-spacing: 0.08em; }
.langs a, .langs span { padding: 4px 7px; border-radius: 6px; text-decoration: none; color: var(--fg-dim); }
.langs span { color: var(--fg); background: var(--surface-hi); }

/* ---------- hero neon ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 860px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 96px var(--gutter) 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 55%, var(--bg-glow) 0%, var(--bg-1) 55%, var(--bg-0) 100%);
  isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.55) 100%),
              linear-gradient(180deg, transparent 70%, var(--bg-1) 100%);
}
.splines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.cyan { color: var(--neon-cyan); } .magenta { color: var(--neon-magenta); } .violet { color: var(--neon-violet); }
.mint { color: var(--neon-mint); } .amber { color: var(--neon-amber); } .white { color: #fff; }
.fiber {
  fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round;
  filter: drop-shadow(0 0 4px currentColor) drop-shadow(0 0 12px currentColor);
  opacity: 0; animation: fiber-in 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.fiber.thin { stroke-width: 0.55; animation-name: fiber-in-dim; }
.f1 { animation-delay: 0.15s; } .f2 { animation-delay: 0.4s; } .f3 { animation-delay: 0.65s; } .f4 { animation-delay: 0.9s; }
.f5 { animation-delay: 1.15s; } .f6 { animation-delay: 0.55s; } .f7 { animation-delay: 0.8s; } .f8 { animation-delay: 1.3s; }
@keyframes fiber-in { to { opacity: 0.7; } }
@keyframes fiber-in-dim { to { opacity: 0.36; } }
.pulse {
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 55 1000; stroke-dashoffset: 60;
  filter: drop-shadow(0 0 6px currentColor) drop-shadow(0 0 16px currentColor);
  animation: travel linear infinite;
}
.p1 { animation-duration: 9s; } .p2 { animation-duration: 13s; animation-delay: -4s; }
.p3 { animation-duration: 11s; animation-delay: -2s; } .p4 { animation-duration: 15s; animation-delay: -7s; }
.p5 { animation-duration: 12s; animation-delay: -1s; } .p6 { animation-duration: 10s; animation-delay: -5s; }
@keyframes travel { from { stroke-dashoffset: 60; } to { stroke-dashoffset: -1060; } }

.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.eyebrow {
  font: 400 0.72rem var(--mono); letter-spacing: 0.32em; text-transform: uppercase; color: var(--fg-dim);
  margin-bottom: 22px; opacity: 0; animation: rise 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s forwards;
}
.tagline {
  font: italic 400 clamp(2.4rem, 7vw, 5.6rem)/1.02 var(--serif); letter-spacing: -0.018em;
  max-width: 16ch; margin: 0 auto;
  opacity: 0; animation: rise 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s forwards;
}
.accent {
  background: linear-gradient(110deg, var(--neon-cyan) 0%, var(--neon-mint) 25%, var(--neon-magenta) 65%, var(--neon-violet) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(0, 230, 255, 0.3));
  animation: hue-drift 12s ease-in-out infinite alternate;
}
@keyframes hue-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.lead {
  max-width: 60ch; margin: 28px auto 0; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--fg-body);
  opacity: 0; animation: rise 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s forwards;
}
.ctas {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px;
  opacity: 0; animation: rise 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 1.1s forwards;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 0.95rem var(--sans); text-decoration: none; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg); background: transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.btn.primary {
  border-color: transparent;
  background: linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
              linear-gradient(110deg, var(--neon-cyan), var(--neon-magenta)) border-box;
  border: 1px solid transparent;
}
.btn:hover { color: #fff; box-shadow: 0 0 24px rgba(0, 230, 255, 0.22), 0 0 40px rgba(255, 46, 179, 0.14); }
.btn:disabled { opacity: 0.6; cursor: progress; }

/* ---------- seções ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 120px) var(--gutter); }
.section + .section { border-top: 1px solid var(--line); }
.kicker { font: 400 0.72rem var(--mono); letter-spacing: 0.28em; text-transform: uppercase; color: var(--neon-cyan); margin-bottom: 14px; }
.section h2 { font: 400 clamp(2rem, 4.4vw, 3.2rem)/1.08 var(--serif); letter-spacing: -0.01em; max-width: 22ch; }
.intro { max-width: 62ch; margin-top: 18px; font-size: 1.05rem; }
.muted { color: var(--fg-dim); }

.grid.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: border-color 0.3s, background 0.3s; }
.card:hover { background: var(--surface-hi); border-color: rgba(0, 230, 255, 0.25); }
.card .num { font: 400 0.75rem var(--mono); color: var(--fg-dim); }
.card h3 { font: 500 1.08rem/1.35 var(--sans); margin: 14px 0 8px; }
.card p { font-size: 0.95rem; }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.steps li { counter-increment: s; padding-top: 22px; border-top: 1px solid var(--line); position: relative; }
.steps li::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
}
.steps h3 { font: italic 400 1.6rem var(--serif); margin-bottom: 6px; }
.steps p { font-size: 0.95rem; }

.app-card {
  display: block; margin-top: 40px; max-width: 760px; text-decoration: none; color: var(--fg-body);
  padding: 32px; border-radius: 20px; border: 1px solid transparent;
  background: linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
              linear-gradient(120deg, rgba(0, 230, 255, 0.5), rgba(122, 92, 255, 0.35), rgba(255, 46, 179, 0.5)) border-box;
  transition: box-shadow 0.3s;
}
.app-card:hover { color: var(--fg-body); box-shadow: 0 0 40px rgba(122, 92, 255, 0.2); }
.app-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.app-name { font: italic 400 2.2rem var(--serif); color: var(--fg); }
.badge { font: 400 0.7rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--neon-mint); }
.app-tagline { font: 400 0.85rem var(--mono); color: var(--fg); margin: 6px 0 14px; }
.app-card p + p { margin-top: 10px; }
.app-link { display: inline-block; margin-top: 18px; color: var(--fg); font-weight: 500; }

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; margin-top: 44px; }
.person h3 { font: italic 400 1.8rem var(--serif); }
.role { font: 400 0.75rem var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-dim); margin: 4px 0 16px; }
.person p + p { margin-top: 12px; }
.company { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; align-self: start; }
.company h3 { font: 500 0.95rem var(--sans); margin-bottom: 14px; }
.company dl > div { padding: 10px 0; border-top: 1px solid var(--line); }
.company dt { font: 400 0.7rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); }
.company dd { color: var(--fg); font-size: 0.95rem; }

/* ---------- formulário ---------- */
.form { margin-top: 40px; max-width: 760px; display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font: 400 0.72rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--fg);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(0, 230, 255, 0.6); box-shadow: 0 0 0 3px rgba(0, 230, 255, 0.12); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.hint { font-size: 0.82rem; color: var(--danger); margin-top: 6px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 0.85rem; color: var(--fg-dim); }
.form .btn { justify-self: start; }
.status { min-height: 1.5em; font-size: 0.95rem; }
.status.error { color: var(--danger); }
.form.sent .row, .form.sent .field, .form.sent .cf-turnstile, .form.sent .consent, .form.sent .btn { display: none; }
.form.sent .status {
  color: var(--fg); padding: 22px 24px; border-radius: 16px; font-size: 1.05rem;
  border: 1px solid rgba(92, 255, 201, 0.45); background: rgba(92, 255, 201, 0.06);
}
.form.sent .status::before { content: "✓ "; color: var(--ok); }

/* ---------- páginas legais ---------- */
.prose { max-width: 780px; }
.prose h1 { font: italic 400 clamp(2.2rem, 5vw, 3.4rem)/1.1 var(--serif); margin-bottom: 8px; }
.prose h2 { font: 500 1.15rem var(--sans); max-width: none; margin: 36px 0 8px; }
.notfound > div + div { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.notfound h1 { font-size: 2.2rem; }
.notfound p { margin-top: 10px; }

/* ---------- rodapé ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px var(--gutter);
  display: grid; grid-template-columns: 1fr auto; gap: 14px 32px;
  font-size: 0.85rem; color: var(--fg-dim);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.footer strong { color: var(--fg-body); font-weight: 500; }
.footer-links { display: flex; gap: 20px; align-self: start; }
.footer-links a { color: var(--fg-body); }
.footer-copy { grid-column: 1 / -1; font: 400 0.7rem var(--mono); letter-spacing: 0.08em; }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .grid.cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .langs { margin-left: auto; }
  .grid.cards, .steps, .form .row { grid-template-columns: 1fr; }
  .app-card { padding: 24px; }
  .footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01s !important; animation-iteration-count: 1 !important; transition-duration: 0.01s !important; }
  html { scroll-behavior: auto; }
  .pulse { display: none; }
  .fiber, .eyebrow, .tagline, .lead, .ctas { opacity: 1 !important; }
}
