/* Cores da marca TechGenix: azul-escuro #0B0F1A, roxo #8B5CF6 e ciano #00C8FF */
:root {
  --ink: #0b0f1a;
  --ink-rgb: 11, 15, 26;
  --ink-2: #131833;
  --ink-3: #1d2247;
  --line-dark: rgba(255, 255, 255, .09);
  --text-on-dark: #e6ecf7;
  --muted-on-dark: #9aa8c3;

  --bg: #ffffff;
  --bg-alt: #f5f3ff;
  --text: #0f172a;
  --muted: #55627a;
  --line: #e4e1f5;

  --accent: #00c8ff;
  --accent-rgb: 0, 200, 255;
  --accent-hover: #4dd9ff;
  --accent-light: #7fe4ff;
  --accent-strong: #7c3aed;
  --accent-ink: #04121f;
  --blue: #8b5cf6;
  --blue-rgb: 139, 92, 246;
  --violet: #8b5cf6;
  --violet-rgb: 139, 92, 246;
  --glow-1: #2b1d63;
  --strip-bg: linear-gradient(90deg, #00c8ff, #8b5cf6);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);

  --f-head: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  font-family: var(--f-body);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.eyebrow {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-strong); margin-bottom: 14px;
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--accent); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(var(--ink-rgb), .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-on-dark);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-head); font-size: 21px; font-weight: 500; color: #fff; }
.brand b { font-weight: 700; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--muted-on-dark); transition: color .15s; }
.nav a:not(.btn):hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, var(--glow-1) 0%, transparent 60%), var(--ink);
  color: var(--text-on-dark);
  padding: 88px 0 104px;
}
.aurora { position: absolute; inset: -20%; pointer-events: none; filter: blur(70px); opacity: .75; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 50%; top: 0; background: radial-gradient(circle, rgba(var(--accent-rgb), .55), transparent 65%); }
.aurora i:nth-child(2) { width: 40vw; height: 40vw; left: 62%; top: 30%; background: radial-gradient(circle, rgba(var(--blue-rgb), .55), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 34vw; height: 34vw; left: 10%; top: 55%; background: radial-gradient(circle, rgba(var(--violet-rgb), .35), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-8vw, 6vh) scale(1.15); } 100% { transform: translate(5vw, -4vh) scale(.95); } }
.hero-gridlines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); mask: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.8vw, 56px); color: #fff; margin-bottom: 22px; }
.hl { color: var(--accent); }
.lead { font-size: 19px; color: var(--muted-on-dark); max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 40px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 14px; color: var(--muted-on-dark); }
.hero-proof strong { color: #fff; font-weight: 600; }

/* phone / chat mockup */
.hero-panel { position: relative; justify-self: center; width: 100%; max-width: 380px; }
.phone {
  background: #0b141a;
  border: 1px solid var(--line-dark);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  overflow: hidden;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #1f2c34; color: #e9edef; }
.chat-head b { display: block; font-size: 16px; }
.chat-head small { color: var(--accent); font-size: 12px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--blue)); color: var(--accent-ink);
  font-family: var(--f-head); font-weight: 700;
}
.chat {
  display: flex; flex-direction: column; gap: 8px; padding: 18px 14px 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.03) 0 2px, transparent 3px) 0 0 / 26px 26px,
    #0b141a;
}
.msg {
  max-width: 84%; padding: 9px 12px; border-radius: 12px;
  font-size: 14px; line-height: 1.45; color: #e9edef;
  opacity: 0; transform: translateY(8px); animation: msgIn .4s ease forwards;
}
.msg b { color: #fff; }
.msg.me { align-self: flex-end; background: #005c4b; border-top-right-radius: 3px; }
.msg.bot { align-self: flex-start; background: #1f2c34; border-top-left-radius: 3px; }
.msg.audio { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.msg.audio .play { font-size: 11px; }
.msg.audio .wave {
  flex: 1; height: 16px;
  background: repeating-linear-gradient(90deg, rgba(233,237,239,.75) 0 2px, transparent 2px 5px);
  -webkit-mask: linear-gradient(90deg, #000 0 40%, rgba(0,0,0,.4) 40%);
          mask: linear-gradient(90deg, #000 0 40%, rgba(0,0,0,.4) 40%);
  clip-path: polygon(0 40%, 10% 10%, 20% 50%, 30% 0, 40% 35%, 50% 15%, 60% 45%, 70% 5%, 80% 40%, 90% 20%, 100% 45%, 100% 60%, 90% 80%, 80% 60%, 70% 95%, 60% 55%, 50% 85%, 40% 65%, 30% 100%, 20% 50%, 10% 90%, 0 60%);
}
.msg.audio small { font-size: 11px; color: rgba(233,237,239,.7); }
@keyframes msgIn { to { opacity: 1; transform: none; } }

.badge-float {
  position: absolute; left: -36px; bottom: 36px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--text); font-weight: 600; font-size: 14px;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }

/* ---------- strip ---------- */
.concept { background: var(--strip-bg); color: var(--accent-ink); padding: 32px 0; text-align: center; }
.concept p { font-family: var(--f-head); font-weight: 600; font-size: clamp(19px, 2.4vw, 26px); line-height: 1.35; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark h2 { color: #fff; }
.section-head { max-width: 740px; margin-bottom: 52px; }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); }
.sub { font-size: 18px; color: var(--muted); margin-top: 16px; }
.section-dark .sub { color: var(--muted-on-dark); }

/* cards */
.card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(var(--accent-rgb), .12); margin-bottom: 20px;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-strong); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* skills (o que o Genix faz) */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skill-wide {
  grid-row: span 2;
  background: var(--ink); border-color: var(--ink); color: var(--text-on-dark);
  background-image: radial-gradient(500px 300px at 100% 0%, rgba(var(--accent-rgb), .16), transparent 70%);
  display: flex; flex-direction: column;
}
.skill-wide h3 { color: #fff; font-size: 26px; }
.skill-wide p { color: var(--muted-on-dark); font-size: 17px; }
.skill-wide .icon svg { stroke: var(--accent); }
.skill-stat { margin-top: auto !important; padding-top: 28px; }
.skill-stat b { display: block; font-family: var(--f-head); font-size: 54px; line-height: 1; color: var(--accent); margin-bottom: 6px; }
.skill-learn { grid-column: span 3; border-color: rgba(var(--accent-rgb), .45); background: linear-gradient(135deg, rgba(var(--accent-rgb), .08), rgba(var(--blue-rgb), .06)); box-shadow: none; }
.skill-learn p { color: var(--text); }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* mural de pedidos */
.wall-section { background: var(--bg-alt); overflow: hidden; }
.wall { display: grid; gap: 14px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wall-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.wall-row.reverse { animation-direction: reverse; animation-duration: 70s; }
.wall:hover .wall-row { animation-play-state: paused; }
.wall-row li {
  white-space: nowrap; padding: 12px 18px; border-radius: 16px 16px 4px 16px;
  background: #d9fdd3; color: #0b3d2e; font-size: 16px; box-shadow: 0 1px 1px rgba(0,0,0,.06);
}
.wall-row li.aud { background: var(--ink); color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* demonstrações */
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.demo-tabs button {
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-dark);
  background: var(--ink-2); color: var(--muted-on-dark); transition: background .15s, color .15s, border-color .15s;
}
.demo-tabs button:hover { color: #fff; }
.demo-tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.demo-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.demo-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.demo-panel[hidden] { display: none; }
.demo-copy h3 { font-size: 30px; color: #fff; margin-bottom: 16px; }
.demo-copy p { color: var(--muted-on-dark); font-size: 17px; }
.demo-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.demo-points li { display: flex; gap: 10px; align-items: center; color: var(--text-on-dark); }
.demo-points li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.demo-chat {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 18px; min-height: 360px;
  border-radius: var(--radius-lg); border: 1px solid var(--line-dark);
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.03) 0 2px, transparent 3px) 0 0 / 26px 26px, #0b141a;
}
.demo-chat .msg:nth-child(2) { animation-delay: .5s; }
.demo-chat .msg:nth-child(3) { animation-delay: 1.1s; }
.demo-chat .msg:nth-child(4) { animation-delay: 1.8s; }
.demo-chat .msg:nth-child(5) { animation-delay: 2.4s; }
.msg.quote { font-style: italic; border-left: 3px solid var(--accent); }
.msg.alert { background: #2a3a1f; }
.msg.photo { font-size: 13px; }

/* um dia com o genix */
.day { list-style: none; padding: 0; margin: 0 auto; position: relative; display: grid; gap: 18px; max-width: 820px; }
.day::before { content: ""; position: absolute; left: 70px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--blue)); opacity: .35; }
.day li { display: grid; grid-template-columns: 56px 1fr; gap: 36px; align-items: start; position: relative; }
.day time { font-family: var(--f-mono); font-size: 14px; color: var(--muted); padding-top: 18px; text-align: right; }
.day li::after { content: ""; position: absolute; left: 65px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-alt); border: 2px solid var(--accent); }
.day-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.day-card.auto { background: var(--ink); border-color: var(--ink); color: var(--text-on-dark); }
.day-card p { color: var(--muted); font-size: 15px; }
.day-card.auto p { color: var(--muted-on-dark); }
.day-card .day-ask { font-family: var(--f-head); font-weight: 600; font-size: 18px; color: var(--text); margin: 6px 0 4px; }
.day-card.auto .day-ask { color: #fff; }
.who-tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.who-tag.you { color: var(--blue); }
#um-dia .section-head { margin-left: auto; margin-right: auto; max-width: 820px; }
.day-end { max-width: 820px; margin: 28px auto 0; padding-left: 92px; font-family: var(--f-head); font-weight: 600; font-size: 20px; color: var(--accent-strong); }

/* comparativo */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 620px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--f-head); font-size: 18px; background: var(--bg-alt); }
.compare tbody th { font-weight: 600; width: 24%; }
.compare td { color: var(--muted); width: 30%; }
.compare .col-genix { background: rgba(var(--accent-rgb), .08); color: var(--text); }
.compare thead .col-genix { background: var(--ink); color: var(--accent); }
.compare tbody td.col-genix::before { content: "✓ "; color: var(--accent-strong); font-weight: 700; }
.compare-cta { margin-top: 32px; text-align: center; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--blue)); opacity: .35; }
.steps li { position: relative; }
.step-n {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--accent); font-family: var(--f-mono); font-weight: 500;
  margin-bottom: 20px; position: relative;
}
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* security */
#seguranca { background: radial-gradient(900px 500px at 0% 100%, var(--glow-1) 0%, transparent 60%), var(--ink); }
.security-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.security-grid > div:first-child { position: sticky; top: 110px; }
.security { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.security li {
  position: relative; padding: 24px 26px 24px 64px;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
}
.security li::before {
  content: ""; position: absolute; left: 24px; top: 26px; width: 22px; height: 22px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300c8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 3 6v6c0 5 3.8 9.3 9 10 5.2-.7 9-5 9-10V6l-9-4Z'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E");
}
.security h3 { font-size: 19px; color: #fff; margin-bottom: 6px; }
.security p { color: var(--muted-on-dark); font-size: 16px; }

/* for who */
.forwho { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.forwho .btn { margin-top: 30px; }
.who { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.who li {
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--f-head); font-weight: 500; font-size: 18px; background: var(--bg-alt);
}
.who li:nth-child(3n+1) { background: rgba(var(--accent-rgb), .12); border-color: rgba(var(--accent-rgb), .35); }

/* infra */
.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.infra-grid .card { box-shadow: none; }
.infra-grid .card:nth-child(4) { grid-column: span 2; border-color: rgba(var(--accent-rgb), .5); }
.concept-inline {
  margin-top: 44px; text-align: center;
  font-family: var(--f-head); font-weight: 600; font-size: clamp(19px, 2.2vw, 24px); color: var(--text);
}

/* cases */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); }
.case h3 { font-size: 28px; margin: 10px 0 14px; }
.case-genix { border-color: rgba(var(--accent-rgb), .5); background: linear-gradient(135deg, rgba(var(--accent-rgb), .08), transparent 60%); }
.testimonial { margin: 0; background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); display: flex; flex-direction: column; }
.quote-mark { width: 38px; height: 38px; fill: var(--accent); margin-bottom: 18px; }
.testimonial blockquote { margin: 0 0 28px; font-family: var(--f-head); font-size: 23px; line-height: 1.35; color: #fff; flex: 1; }
.testimonial figcaption strong { display: block; color: #fff; }
.testimonial figcaption span { color: var(--muted-on-dark); font-size: 15px; }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; }
.mini-stats div { background: var(--bg-alt); border-radius: 12px; padding: 14px 12px; }
.mini-stats dt { font-family: var(--f-head); font-weight: 700; font-size: 22px; line-height: 1.1; }
.mini-stats dd { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

/* diffs */
.diffs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.diff { border-top: 2px solid var(--accent); padding-top: 20px; }
.diff h3 { font-size: 20px; margin-bottom: 10px; }
.diff p { color: var(--muted); font-size: 16px; }
.certs-row { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.mini-title { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.certs-inline { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.certs-inline li { padding: 6px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; padding: 16px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2); }
.contact-list li[hidden] { display: none; }
.contact-list span { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-on-dark); }
.contact-list a { font-size: 18px; font-weight: 600; color: #fff; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--accent); }
.contact-form { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 34px; display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--text);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt);
  width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; background: #fff; }
.contact-form .invalid { border-color: #e5484d; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }

/* footer */
.footer { background: #070b16; color: var(--muted-on-dark); padding: 40px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer .brand { font-size: 17px; }

/* whatsapp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 18px 6px 6px; border-radius: 999px; background: #25d366;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .15s;
}
.wa-float:hover { transform: translateY(-2px) scale(1.03); }
.wa-float img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; background: #fff; }
.wa-float .wa-icon { width: 20px; height: 20px; fill: #fff; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .msg { opacity: 1; transform: none; animation: none; }
  .wall-row { animation: none; flex-wrap: wrap; width: auto; padding: 0 24px; }
  .wall-row li[aria-hidden] { display: none; }
  .dot { animation: none; }
}

/* ================= NOVO: movimento e Genix personalizável ================= */

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--accent), var(--blue), var(--violet));
  transform-origin: 0 50%; transform: scaleX(0);
}
.topbar { transition: background .3s, box-shadow .3s; }
.topbar.scrolled { background: rgba(var(--ink-rgb), .94); box-shadow: 0 10px 30px rgba(0,0,0,.25); }

.grad, .role-word {
  background: linear-gradient(90deg, var(--accent), var(--accent-light) 40%, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-dark {
  background: linear-gradient(90deg, var(--accent-strong), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* cargo girando */
.role-rotator { display: block; min-height: 1.2em; overflow: hidden; padding-bottom: .08em; }
.role-word { display: inline-block; background-size: 200% 100%; animation: shine 6s linear infinite; }
.role-word.out { opacity: 0; transform: translateY(-60%); filter: blur(4px); transition: all .28s ease-in; }
.role-word.in { animation: wordIn .55s cubic-bezier(.2,.8,.2,1) both, shine 6s linear infinite; }
@keyframes wordIn { from { opacity: 0; transform: translateY(70%); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes shine { to { background-position: 200% 0; } }

/* Genix no topo: imagem + conversa flutuante */
.hero-panel { max-width: none; justify-self: stretch; }
.hero-genix { position: relative; }
.hero-genix::before {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--violet-rgb), .35), transparent 70%);
  filter: blur(30px); animation: breathe 6s ease-in-out infinite;
}
.hero-genix img {
  position: relative; width: 100%; height: auto;
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
          mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  animation: floaty 8s ease-in-out infinite;
}
.hero-grid { grid-template-columns: 1fr 1fr; }
.hero .lead { max-width: 520px; }
.hero-panel .phone { position: absolute; left: -70px; bottom: -4%; width: 270px; border-radius: 22px; }
.hero-panel .phone .chat-head { padding: 12px 14px; }
.hero-panel .badge-float { left: auto; right: 4%; top: 8%; bottom: auto; }
.hero-panel .role-dots { position: absolute; left: -70px; width: 270px; bottom: calc(-4% - 30px); margin: 0; }
.security-genix {
  display: block; width: 100%; max-width: 340px; height: auto; margin-top: 30px;
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
          mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
}

/* conversa do topo */
.hero .chat { min-height: 268px; padding: 14px 12px 16px; }
.hero .chat .msg { font-size: 13.5px; }
.msg.shown { opacity: 1; transform: none; animation: none; }
.msg.typing { display: flex; gap: 4px; padding: 12px 14px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: typing 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.phone { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.role-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.role-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.25); transition: width .3s, background .3s; }
.role-dots button.on { width: 28px; background: var(--accent); }

/* avatar do Genix */
.genix-avatar {
  --s: 38px; position: relative; flex: 0 0 auto;
  width: var(--s); height: var(--s); border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, var(--accent-light), var(--accent) 35%, var(--blue) 80%);
  color: var(--accent-ink); font-family: var(--f-head); font-weight: 700; font-size: calc(var(--s) * .42);
  box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 8px 24px rgba(var(--accent-rgb), .35);
}
.genix-avatar::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 60%, var(--accent), var(--blue), transparent);
  -webkit-mask: radial-gradient(circle, transparent calc(50% - 2px), #000 calc(50% - 1px)); mask: radial-gradient(circle, transparent calc(50% - 2px), #000 calc(50% - 1px));
  animation: spin 3.5s linear infinite;
}
.genix-avatar span { position: relative; }
.genix-avatar.has-img { background: var(--ink-3); }
.genix-avatar.has-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; position: relative; }
.genix-avatar.sm { --s: 38px; }
.genix-avatar.sm::before { inset: -3px; }
.genix-avatar.lg { --s: 76px; }
.genix-avatar.xl { --s: 128px; }
@keyframes spin { to { rotate: 360deg; } }

/* faixa com cargos rolando */
.concept { padding: 0 0 30px; overflow: hidden; }
.ticker { overflow: hidden; border-bottom: 1px solid rgba(4,38,28,.15); margin-bottom: 26px; }
.ticker-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.ticker-track span { font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 12px 22px; white-space: nowrap; }
.ticker-track span::after { content: "✦"; margin-left: 44px; opacity: .5; }

/* monte o seu genix */
.builder-section { background: radial-gradient(800px 500px at 100% 0%, rgba(var(--blue-rgb), .18), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(var(--accent-rgb), .12), transparent 60%), var(--ink); }
.builder { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.builder-controls { background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 30px; position: relative; overflow: hidden; }
.name-field { display: grid; gap: 8px; margin-bottom: 26px; }
.name-field span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); }
.name-field input {
  font: inherit; font-family: var(--f-head); font-size: 28px; font-weight: 600; color: #fff;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px; padding: 12px 18px; width: 100%;
}
.name-field input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.role-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-picker button {
  font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-dark);
  background: var(--ink-2); color: var(--text-on-dark);
  transition: border-color .2s, background .2s, transform .2s;
}
.role-picker button:hover { border-color: rgba(var(--accent-rgb), .5); transform: translateY(-2px); }
.role-picker button[aria-checked="true"] { background: rgba(var(--accent-rgb), .14); border-color: var(--accent); color: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.role-picker button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.badge-stage { perspective: 1000px; display: grid; gap: 18px; justify-items: center; }
.badge-stage .btn { max-width: 380px; }
.id-badge {
  --rx: 0deg; --ry: 0deg;
  position: relative; width: 100%; max-width: 380px;
  background: linear-gradient(160deg, #ffffff, #eef4fb);
  color: var(--text); border-radius: 24px; padding: 34px 26px 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.2);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease;
}
.id-badge.flip { animation: flip .6s cubic-bezier(.2,.8,.2,1); }
@keyframes flip { 0% { transform: rotateY(0) scale(1); } 45% { transform: rotateY(90deg) scale(.96); } 100% { transform: rotateY(0) scale(1); } }
.id-strap { position: absolute; top: -18px; left: 50%; width: 64px; height: 26px; margin-left: -32px; border-radius: 0 0 10px 10px; background: var(--ink-3); box-shadow: inset 0 -6px 0 rgba(255,255,255,.06); }
.id-strap::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 26px; height: 5px; margin-left: -13px; border-radius: 9px; background: var(--ink); }
.id-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.id-brand { font-family: var(--f-head); font-weight: 500; }
.id-brand b { color: var(--accent-strong); }
.id-status { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--accent-strong); background: rgba(var(--accent-rgb), .12); padding: 4px 10px; border-radius: 99px; }
.id-status .dot { width: 7px; height: 7px; }
.id-body { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.id-name { font-family: var(--f-head); font-weight: 700; font-size: 30px; line-height: 1.1; word-break: break-word; }
.id-role { color: var(--accent-strong); font-weight: 600; margin-top: 4px; }
.id-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.id-tasks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.id-tasks li { display: flex; gap: 10px; font-size: 15px; animation: taskIn .45s ease both; animation-delay: calc(var(--i) * 80ms + 150ms); }
.id-tasks li::before { content: "✓"; color: var(--accent-strong); font-weight: 700; }
@keyframes taskIn { from { opacity: 0; transform: translateX(-10px); } }
.id-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.id-foot b { color: var(--text); }

/* integrações em órbita */
.integrations { overflow: hidden; }
.integ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.integ-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.integ-list li { padding: 7px 14px; border-radius: 99px; background: var(--bg-alt); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.integ-list li:last-child { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.orbit { --size: 460px; --r1: 135px; --r2: 210px; position: relative; width: var(--size); height: var(--size); margin: 0 auto; }
.orbit-ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed rgba(15,23,42,.18); animation: spin 40s linear infinite; }
.orbit-ring.r1 { width: calc(var(--r1) * 2); height: calc(var(--r1) * 2); --r: var(--r1); }
.orbit-ring.r2 { width: calc(var(--r2) * 2); height: calc(var(--r2) * 2); --r: var(--r2); animation-direction: reverse; animation-duration: 55s; }
.orbit-ring span { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--r)); }
.orbit-ring em {
  position: absolute; left: 0; top: 0; translate: -50% -50%;
  transform: rotate(calc(-1 * var(--a)));
  animation: spinBack 40s linear infinite;
  font-style: normal; white-space: nowrap; font-size: 14px; font-weight: 600;
  padding: 9px 15px; border-radius: 99px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(15,23,42,.10);
}
.orbit-ring.r2 em { animation-direction: reverse; animation-duration: 55s; }
@keyframes spinBack { to { rotate: -360deg; } }
.orbit:hover .orbit-ring, .orbit:hover .orbit-ring em { animation-play-state: paused; }
.orbit-core { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit-core::before { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .25), transparent 70%); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.18); opacity: .6; } }

/* luz que segue o mouse */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .13), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.spot:hover::after { opacity: 1; }
.card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(15,23,42,.05), 0 18px 40px rgba(15,23,42,.10); }
.btn-primary { box-shadow: 0 8px 24px rgba(var(--accent-rgb), .25); }
.btn-primary:hover { box-shadow: 0 12px 32px rgba(var(--accent-rgb), .4); }

@media (prefers-reduced-motion: reduce) {
  .aurora i, .phone, .ticker-track, .orbit-ring, .orbit-ring em, .orbit-core::before, .genix-avatar::before, .role-word, .id-tasks li { animation: none !important; }
  .role-word.out, .role-word.in { transition: none; animation: none; opacity: 1; transform: none; filter: none; }
  .id-badge { transition: none; }
}

.br-md { display: none; }
@media (min-width: 760px) { .br-md { display: inline; } }

.concept { color: #fff; }
.concept p { text-shadow: 0 1px 12px rgba(11, 15, 26, .35); }
.ticker { border-bottom-color: rgba(255, 255, 255, .25) !important; }
.who li:nth-child(3n+1) { background: rgba(var(--violet-rgb), .1) !important; border-color: rgba(var(--violet-rgb), .35) !important; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .security-grid, .forwho, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .security-grid > div:first-child { position: static; }
  .demo-panel { grid-template-columns: 1fr; gap: 32px; }
  .builder, .integ-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-grid { gap: 28px; }
  .hero-panel { display: contents; }
  .hero-genix { order: -1; width: 70%; max-width: 460px; justify-self: center; }
  .hero-copy { order: 0; }
  .hero-panel .phone { order: 1; position: relative; left: auto; bottom: auto; width: 100%; max-width: 380px; justify-self: center; }
  .hero-panel .badge-float { display: none; }
  .hero-panel .role-dots { order: 2; position: static; width: auto; margin-top: -8px; }
  .security-genix { max-width: 260px; margin: 24px auto 0; }
  .demo-chat { min-height: 0; }
  .diffs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .badge-float { left: -12px; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 8px 24px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .nav .btn { margin-top: 16px; padding: 14px; font-size: 16px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .skills, .infra-grid { grid-template-columns: 1fr 1fr; }
  .skill-wide { grid-column: span 2; grid-row: auto; }
  .skill-learn, .skills .card:nth-last-child(2) { grid-column: span 2; }
  .infra-grid .card:nth-child(4) { grid-column: auto; }
  .infra-grid .card:last-child { grid-column: span 2; }
  .cases { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 72px; }
  .lead { font-size: 17px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .skills, .infra-grid, .diffs, .steps { grid-template-columns: 1fr; }
  .skill-wide, .skill-learn, .skills .card:nth-last-child(2), .infra-grid .card:last-child { grid-column: auto; }
  .skill-stat b { font-size: 44px; }
  .card { padding: 24px 20px; }
  .security li { padding: 20px 18px 20px 54px; }
  .security li::before { left: 18px; top: 22px; }
  .who li { font-size: 16px; padding: 10px 16px; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .testimonial blockquote { font-size: 20px; }
  .contact-form { padding: 24px 18px; }
  .badge-float { left: 8px; bottom: -18px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero .chat { min-height: 280px; }
  .wa-float { padding: 0; background: none; box-shadow: none; right: 16px; bottom: 16px; }
  .wa-float img { width: 58px; height: 58px; box-shadow: 0 10px 28px rgba(0,0,0,.3); }
  .wa-float .wa-text { display: none; }
  .wa-float .wa-icon { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: #25d366; }
  .builder-controls { padding: 20px 16px; }
  .name-field input { font-size: 22px; }
  .role-picker button { font-size: 14px; padding: 12px; }
  .id-badge { padding: 30px 20px 18px; }
  .id-name { font-size: 24px; }
  .genix-avatar.lg { --s: 62px; }
  .orbit { --size: 320px; --r1: 92px; --r2: 146px; }
  .orbit-ring em { font-size: 12px; padding: 6px 10px; }
  .genix-avatar.xl { --s: 92px; }
  .orbit-core::before { width: 140px; height: 140px; }
  .wall-row li { font-size: 14px; padding: 10px 14px; }
  .demo-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 4px; scrollbar-width: none; }
  .demo-tabs button { flex: 0 0 auto; }
  .demo-copy h3 { font-size: 24px; }
  .day::before { left: 6px; }
  .day li { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .day li::after { left: 1px; top: 4px; }
  .day time { text-align: left; padding-top: 0; }
  .day-end { padding-left: 30px; }
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare tr { display: block; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { display: block; width: auto !important; border: 0; padding: 10px 16px; font-size: 15px; }
  .compare tbody th { padding-top: 16px; font-family: var(--f-head); font-size: 17px; }
  .compare td:last-child { padding-bottom: 16px; }
  .compare tbody td::before, .compare tbody td.col-genix::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  }
  .compare tbody td.col-genix::before { color: var(--accent-strong); }
  .compare tbody td.col-genix { border-radius: 10px; margin: 0 8px 8px; }
}
