/* Enxovix — site institucional. Inspirado no visual da Vercel: preto, Geist, grade de linhas finas. */
@font-face { font-family: 'Geist'; src: url('/home/fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/home/fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #000;
  --bg-2: #0a0a0a;
  --bg-3: #111;
  --fg: #ededed;
  --muted: #a1a1a1;
  --faint: #6b6b6b;
  --line: #242424;
  --line-2: #333;
  --mint: #2ef2c0;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --frame: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 30; }
.skip:focus { left: 12px; }

.frame { max-width: var(--frame); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); position: relative; }
.hr { border-top: 1px solid var(--line); }

/* Navegação */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, .72); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); }
.nav .frame { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 24px; border-color: transparent; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 600 18px/1 var(--sans); letter-spacing: -0.03em; color: #fff; }
.mark { width: 24px; height: 24px; display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; font: 500 14px/1 var(--sans); text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn-white { background: #fff; color: #000 !important; }
.btn-white:hover { background: #d9d9d9; }
.btn-line { background: #000; color: #fff !important; border-color: var(--line-2); }
.btn-line:hover { background: #111; border-color: #555; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 10px; }
@media (max-width: 760px) { .nav-links a:not(.btn):not(.lang) { display: none; } .nav .frame { padding: 0 16px; } .nav-links { gap: 14px; } }

/* Hero */
.hero { padding: 120px 24px 104px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%); opacity: .8; }
.hero::after { content: ''; position: absolute; left: 50%; top: -160px; width: 760px; height: 420px; max-width: 100%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(121, 40, 202, .32), rgba(0, 112, 243, .18) 55%, transparent 75%); filter: blur(40px); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(10, 10, 10, .8); font: 500 12px/1 var(--mono); color: var(--muted); }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
h1 { font: 600 clamp(44px, 8.4vw, 96px)/1 var(--sans); letter-spacing: -0.055em; margin: 28px auto 0; max-width: 13ch; background: linear-gradient(180deg, #fff 30%, #8a8a8a 120%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.lead { max-width: 600px; margin: 24px auto 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }

/* Seções */
.section { padding: 88px 24px 0; }
.head { max-width: 640px; }
.eyebrow { font: 500 12px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--faint); }
h2 { font: 600 clamp(30px, 4.4vw, 48px)/1.08 var(--sans); letter-spacing: -0.045em; margin: 0; }
.sub { color: var(--muted); margin: 16px 0 0; font-size: 18px; }

/* Bento de apps (células com bordas compartilhadas) */
.bento { margin: 48px 24px 0; display: grid; grid-template-columns: 1.7fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cell { padding: 32px; position: relative; background: var(--bg-2); }
.cell + .cell { border-left: 1px solid var(--line); }
.stack-cells { display: grid; grid-template-rows: 1fr 1fr; }
.stack-cells .cell + .cell { border-left: 0; border-top: 1px solid var(--line); }
.cell h3 { font: 600 22px/1.2 var(--sans); letter-spacing: -0.035em; margin: 0; }
.cell p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }
.label { font: 500 12px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 18px; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 40px 0; min-height: 600px; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 85% 100%, rgba(46, 242, 192, .16), transparent 70%), var(--bg-2); }
.product h3 { font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -0.05em; }
.product .copy { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; z-index: 1; }
.product .label { color: var(--mint); }
.product ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.product li { padding-left: 26px; position: relative; color: #cfcfcf; font-size: 15px; }
.product li::before { content: ''; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--mint); background: radial-gradient(circle, var(--mint) 35%, transparent 40%); }
.product .btn { align-self: flex-start; }
.app-title { display: flex; align-items: center; gap: 16px; }
.app-icon { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line-2); }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 16px; align-self: end; }
.phone { width: min(236px, 47%); height: auto; border-radius: 30px 30px 0 0; border: 1px solid #3a3a3a; border-bottom: 0; background: #000; box-shadow: 0 -10px 60px -20px rgba(46, 242, 192, .3); }
.phone.one { margin-bottom: -64px; }
.next { background-image: radial-gradient(#2a2a2a 1px, transparent 1px); background-size: 14px 14px; display: flex; flex-direction: column; justify-content: space-between; min-height: 270px; }
.next .link { margin-top: 24px; font-size: 14px; font-weight: 500; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: #fff; }
.next .link:hover { text-decoration: underline; text-underline-offset: 4px; }
.next .link svg { width: 14px; height: 14px; }
.think { display: flex; flex-direction: column; justify-content: space-between; min-height: 270px; }
@media (max-width: 1120px) {
  .bento { grid-template-columns: 1fr; }
  .cell + .cell { border-left: 0; border-top: 1px solid var(--line); }
  .stack-cells { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .stack-cells .cell + .cell { border-top: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .product { grid-template-columns: 1fr; padding: 28px 28px 0; }
  .phones { margin-top: 36px; }
}
@media (max-width: 620px) { .stack-cells { grid-template-columns: 1fr; } .stack-cells .cell + .cell { border-left: 0; border-top: 1px solid var(--line); } .bento { margin: 40px 16px 0; } }

/* Princípios */
.grid4 { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pr { padding: 32px 24px 40px; border-right: 1px solid var(--line); }
.pr:last-child { border-right: 0; }
.ico { width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); margin-bottom: 40px; }
.ico svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pr h3 { font: 600 18px/1.25 var(--sans); letter-spacing: -0.03em; margin: 0; }
.pr p { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
@media (max-width: 960px) { .grid4 { grid-template-columns: 1fr 1fr; } .pr:nth-child(2) { border-right: 0; } .pr:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } .pr { border-right: 0; border-bottom: 1px solid var(--line); } .pr:last-child { border-bottom: 0; } }

/* Tecnologia */
.tech { padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 10px; }
.tech .label { margin: 0 12px 0 0; }
.chip { height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font: 500 13px/1 var(--mono); color: var(--muted); background: var(--bg-2); }

/* Sobre */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; padding-bottom: 88px; }
.about p { color: var(--muted); font-size: 18px; margin: 0 0 16px; }
.facts { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fact { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.fact:nth-child(2n) { border-right: 0; }
.fact:nth-last-child(-n+2) { border-bottom: 0; }
.fact small { display: block; font: 500 11px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.fact span { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* Contato */
.cta { text-align: center; padding: 104px 24px; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(#2a2a2a 1px, transparent 1px); background-size: 16px 16px; mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 80%); }
.cta > * { position: relative; }
.cta h2 { margin: 0 auto; max-width: 14ch; font-size: clamp(38px, 6.4vw, 72px); letter-spacing: -0.055em; }
.cta p { color: var(--muted); margin: 20px auto 0; max-width: 48ch; font-size: 18px; }

/* Rodapé */
footer { border-top: 1px solid var(--line); }
footer .frame { padding: 56px 24px 0; }
.cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.cols h4 { margin: 0 0 14px; font: 500 12px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.cols a:not(.brand) { display: block; text-decoration: none; color: var(--muted); padding: 5px 0; font-size: 14px; }
.cols a:not(.brand):hover { color: #fff; }
.cols p { margin: 16px 0 0; font-size: 14px; color: var(--muted); max-width: 30ch; }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 0 32px; font-size: 13px; color: var(--faint); }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr 1fr; } .cols > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
