/* Nigmatech — estilos do site */

@font-face { font-family: "Tektur"; font-style: normal; font-weight: 400 900; font-stretch: 75% 100%; font-display: swap; src: url("../fonts/tektur-var.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/inter-var.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); }

:root {
  --bg: #050505;
  --surface: #0a0a0a;
  --hover: #111;
  --border: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --text-2: #a3a3a3;
  --text-3: #6b6b6b;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.12);
  --display: "Tektur", "Inter", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.display { font-family: var(--display); font-stretch: 85%; font-weight: 500; letter-spacing: -0.02em; }
.muted-italic { color: #7a7a7a; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3);
}
.section { position: relative; padding-block: clamp(96px, 12vw, 160px); border-top: 1px solid var(--border); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 32px; border-radius: 999px; font-size: 16px; font-weight: 500;
  transition: transform .4s var(--ease), background-color .3s, border-color .3s, box-shadow .4s;
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-light { background: #fff; color: #000; box-shadow: 0 0 40px rgba(255, 255, 255, 0.18); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(255, 255, 255, 0.3); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.04); }
.btn-sm { height: 36px; padding: 0 20px; font-size: 14px; }

/* ---------- navegação ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(896px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 24px; border: 1px solid var(--border); border-radius: 999px;
  background: rgba(5, 5, 5, 0.6); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.2em; font-size: 15px; }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--text-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 999px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: #fff; position: relative; transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 767px) {
  .nav { padding-left: 20px; border-radius: 28px; flex-wrap: wrap; row-gap: 0; transition: background-color .3s; }
  .nav.open { background: rgba(5, 5, 5, 0.94); }
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    display: grid; grid-template-rows: 0fr; width: 100%; transition: grid-template-rows .4s var(--ease);
  }
  .mobile-menu > div { overflow: hidden; }
  .nav.open .mobile-menu { grid-template-rows: 1fr; }
  .mobile-menu a:not(.btn) { display: block; padding: 14px 0; font-family: var(--display); font-stretch: 85%; font-size: 24px; border-bottom: 1px solid var(--border); }
  .mobile-menu .btn { width: 100%; margin: 20px 0 10px; }
}

/* ---------- fundo de anéis (usado na página de contato) ---------- */
.hero-field {
  position: absolute; inset: -10%; pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.2), transparent 34%),
    repeating-radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, #050505 15%, #151515 50%, #050505 85%);
  -webkit-mask-image: radial-gradient(#000 5%, transparent 72%); mask-image: radial-gradient(#000 5%, transparent 72%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .8; } }

/* ---------- hero (partículas) ---------- */
.hero { --hero-accent: #60a5fa; background: #030509; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.hero-surface { position: relative; display: flex; min-height: 100vh; min-height: 100svh; overflow: hidden; background: #030509; }
@media (min-width: 768px) { .hero-surface { min-height: max(640px, 100svh); } }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 2s ease; }
.hero-canvas.on { opacity: 1; }
.hero-noise {
  position: absolute; inset: 0; z-index: 1; opacity: .05; pointer-events: none; /* sem mix-blend-mode: fica bem mais leve sobre o canvas animado */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-copy {
  position: relative; z-index: 2; flex: none; width: 40%; display: flex; flex-direction: column; justify-content: space-between;
  padding: 128px clamp(32px, 5vw, 96px) 56px; border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.hero-copy .corner { position: absolute; width: 12px; height: 12px; border-color: rgba(255, 255, 255, 0.2); border-style: solid; border-width: 0; }
.hero-copy .corner.tl { top: 104px; left: 24px; border-top-width: 1px; border-left-width: 1px; }
.hero-copy .corner.tr { top: 104px; right: 24px; border-top-width: 1px; border-right-width: 1px; }
.hero-copy .corner.bl { bottom: 24px; left: 24px; border-bottom-width: 1px; border-left-width: 1px; }
.hero-copy .corner.br { bottom: 24px; right: 24px; border-bottom-width: 1px; border-right-width: 1px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; width: max-content; margin-bottom: 56px; padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px; background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px); color: var(--hero-accent); font-size: 12px; font-weight: 300; letter-spacing: 0.16em; text-transform: uppercase;
}
.hero-title { font-family: var(--display); font-stretch: 85%; font-weight: 500; font-size: clamp(40px, 4.8vw, 84px); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 24px; }
.hero-title .muted-italic { color: #8b93a1; }
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .word > span { display: inline-block; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease; transition-delay: var(--wd, 0s); }
.js .hero-title:not(.revealed) .word > span { transform: translateY(100%); opacity: 0; }
.hero-text { max-width: 340px; margin-bottom: 32px; color: #9ca3af; font-size: 17px; line-height: 1.7; font-weight: 300; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px; width: max-content; padding: 14px 30px; border-radius: 999px;
  background: var(--hero-accent); color: #030509; font-size: 15px; font-weight: 400; transition: background-color .25s, transform .4s var(--ease);
}
.hero-cta:hover { background: #93c5fd; transform: translateY(-1px); }
.hero-cta svg { transition: transform .4s var(--ease); }
.hero-cta:hover svg { transform: translateX(3px); }

.hero-steps { position: relative; margin-top: 56px; padding-top: 32px; }
.hero-steps .track { position: relative; height: 1px; background: rgba(255, 255, 255, 0.1); }
.hero-steps .thumb {
  position: absolute; top: 50%; left: var(--pos, 12.5%); width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--hero-accent); box-shadow: 0 0 12px rgba(96, 165, 250, 0.6); transition: left .6s var(--ease);
}
.hero-steps .labels { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; }
.hero-steps button {
  padding: 4px 0; text-align: center; font-size: 11px; font-weight: 300; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3); transition: color .25s;
}
.hero-steps button:hover, .hero-steps button[aria-pressed="true"] { color: var(--hero-accent); }

.hero-media { position: relative; z-index: 2; flex: 1; min-width: 0; overflow: hidden; pointer-events: none; perspective: 900px; }
.hero-media::before, .hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero-media::before { background: linear-gradient(to right, #030509, transparent 45%); opacity: .9; }
.hero-media::after { background: linear-gradient(to top, #030509, rgba(3, 5, 9, 0.3) 40%, transparent); opacity: .8; }
.hero-card {
  position: absolute; z-index: 3; top: 25%; right: 12%; width: 240px; padding: 20px; border-radius: 16px; pointer-events: auto;
  background: rgba(10, 14, 22, 0.8); /* sem backdrop-filter: o desfoque sobre o canvas animado custava muito */
  border: 1px solid rgba(96, 165, 250, 0.2); box-shadow: 0 22px 40px rgba(0, 0, 0, 0.4); color: var(--hero-accent);
  animation: float 8s ease-in-out infinite alternate;
}
@keyframes float { from { transform: translateY(0) rotateX(0) rotateY(0); } to { transform: translateY(-12px) rotateX(4deg) rotateY(-4deg); } }
.hero-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 12px; font-weight: 300; letter-spacing: 0.16em; text-transform: uppercase; }
.hero-card-head .ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(96, 165, 250, 0.1); border: 1px solid rgba(96, 165, 250, 0.2); }
.hero-card-title { font-family: var(--display); font-stretch: 85%; font-weight: 500; font-size: 32px; line-height: 1.1; letter-spacing: -0.01em; color: #fff; margin-bottom: 8px; transition: opacity .3s; }
.hero-card-desc { font-size: 13px; line-height: 1.5; color: rgba(147, 197, 253, 0.7); transition: opacity .3s; }
.hero-card.swap .hero-card-title, .hero-card.swap .hero-card-desc { opacity: 0; }

.hero .fade-in { transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .hero:not(.ready) .fade-in { opacity: 0; transform: translateY(12px); }

@media (max-width: 1023px) {
  .hero-copy { width: 50%; }
  .hero-card { right: 8%; }
}
@media (max-width: 767px) {
  .hero-surface { flex-direction: column; }
  .hero-copy { width: 100%; padding: 120px 24px 40px; border-right: 0; }
  .hero-copy .corner.tl, .hero-copy .corner.tr { top: 96px; }
  .hero-badge { margin-bottom: 40px; }
  .hero-title { font-size: clamp(42px, 12vw, 56px); }
  .hero-media { min-height: 300px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
  .hero-media::before { background: linear-gradient(to bottom, #030509, transparent 40%); }
  .hero-card { top: 50%; left: 50%; right: auto; margin: -70px 0 0 -120px; }
  .hero-steps { margin-top: 40px; }
  .hero-steps button { font-size: 10px; letter-spacing: 0.1em; }
}
@media (prefers-reduced-motion: reduce) { .hero-card { animation: none; } }

/* ---------- manifesto ---------- */
.manifesto { text-align: center; }
.manifesto .eyebrow { display: block; margin-bottom: 48px; }
.manifesto-text { max-width: 1040px; margin: 0 auto; font-weight: 400; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.25; }
.manifesto-text .w { transition: color .5s, opacity .5s; }
.js .manifesto-text .w { color: #2a2a2a; }
.js .manifesto-text .w.on { color: #fff; }
.manifesto-note { max-width: 640px; margin: 56px auto 0; color: var(--text-2); font-weight: 300; font-size: 18px; }

/* ---------- faixa de tecnologias ---------- */
.marquee { padding-block: 72px; border-top: 1px solid var(--border); overflow: hidden; }
.marquee .eyebrow { display: block; text-align: center; margin-bottom: 40px; }
.marquee-track {
  display: flex; width: max-content; gap: 72px; padding-right: 72px; animation: marquee 40s linear infinite;
}
.marquee-viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track span { font-family: var(--display); font-stretch: 85%; font-size: clamp(22px, 2.5vw, 32px); color: #5a5a5a; white-space: nowrap; transition: color .3s; }
.marquee-track span:hover { color: #fff; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cabeçalho de seção ---------- */
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 32px 64px; align-items: end; margin-bottom: 72px; }
.section-head h2 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1; }
.section-head h2 .muted-italic { display: block; }
.section-head p { color: var(--text-2); font-weight: 300; font-size: 17px; }
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: -8px; }
@media (max-width: 767px) { .section-head { grid-template-columns: 1fr; margin-bottom: 48px; } }

/* ---------- serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  position: relative; display: flex; flex-direction: column; min-height: 680px; padding: 32px;
  border: 1px solid var(--border); border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #0c0d10, #000);
  transition: border-color .4s, transform .6s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 130, 246, 0.14), transparent 40%);
}
.service:hover { border-color: rgba(255, 255, 255, 0.2); }
.service:hover::before { opacity: 1; }
.service-top { display: flex; }
.service-icon {
  width: 52px; height: 52px; padding: 13px; border-radius: 14px; color: #8a8a8a;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); transition: color .4s, border-color .4s, background-color .4s;
}
.service:hover .service-icon { color: var(--accent); border-color: rgba(59, 130, 246, 0.35); background: var(--accent-soft); }
.service-body { margin-top: auto; }
.service h3 { font-family: var(--display); font-stretch: 85%; font-weight: 400; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.1; }
.service-details { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.service-details > div { overflow: hidden; }
.service-details ul { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.service-details li { position: relative; padding-left: 18px; color: var(--text-2); font-size: 14.5px; line-height: 1.55; font-weight: 300; }
.service-details li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 1px; background: var(--accent); }
.service:hover .service-details, .service:focus-within .service-details { grid-template-rows: 1fr; }
@media (hover: none), (max-width: 1023px) {
  .service { min-height: 0; }
  .service-body { margin-top: 64px; }
  .service-details { grid-template-rows: 1fr; }
}
@media (max-width: 1023px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- processo (lista) ---------- */
.process-head, .process-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 120px; gap: 24px; align-items: center; padding-inline: 16px;
}
.process-head { padding-block: 16px; border-bottom: 1px solid var(--border); }
.process-head span:last-child, .process-row .tag { text-align: right; }
.process-row {
  position: relative; padding-block: 40px; border-bottom: 1px solid var(--border);
  transition: background-color .4s;
}
.process-row::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
}
.process-row:hover { background: rgba(255, 255, 255, 0.025); }
.process-row:hover::before { opacity: 1; }
.process-row h3 { font-family: var(--display); font-stretch: 85%; font-weight: 400; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; color: #bdbdbd; transition: color .4s, transform .6s var(--ease); }
.process-row p { color: var(--text-2); font-weight: 300; transition: color .4s; }
.process-row .tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); transition: color .3s; }
.process-row:hover h3 { color: #fff; transform: translateX(16px); }
.process-row:hover .tag { color: var(--accent); }
.process-row:hover p { color: #d4d4d4; }
@media (max-width: 767px) {
  .process-head { display: none; }
  .process-row { grid-template-columns: 1fr; gap: 8px; padding-block: 32px; padding-inline: 0; }
  .process-row .tag { text-align: left; }
  .process-row:hover h3 { transform: none; }
}

/* ---------- princípios (carrossel) ---------- */
.principles { text-align: center; overflow: hidden; }
.principles::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.07), transparent 60%);
}
.principles .eyebrow { display: block; margin-bottom: 56px; }
.slides { position: relative; display: grid; max-width: 960px; margin: 0 auto; }
.slide {
  grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); visibility: hidden;
}
.slide.active { opacity: 1; transform: none; visibility: visible; }
.slide blockquote { margin: 0; font-family: var(--display); font-stretch: 85%; font-size: clamp(28px, 3.8vw, 50px); line-height: 1.2; color: #ececec; }
.slide p { margin-top: 36px; color: var(--text-2); font-weight: 300; max-width: 560px; margin-inline: auto; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.dots button { width: 32px; height: 32px; display: grid; place-items: center; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3a3a3a; transition: background-color .3s, transform .3s; }
.dots button[aria-selected="true"]::before { background: #fff; transform: scale(1.2); }

/* ---------- números ---------- */
.edges-label { display: block; margin-bottom: 32px; }
.edges { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 20px; background: rgba(255, 255, 255, 0.015); overflow: hidden; }
.edge { position: relative; padding: 32px 28px 36px; border-left: 1px solid var(--border); transition: background-color .4s; }
.edge:first-child { border-left: 0; }
.edge::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity .4s; }
.edge:hover { background: rgba(59, 130, 246, 0.05); }
.edge:hover::before { opacity: 1; }
.edge svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 28px; }
.edge strong { display: block; font-family: var(--display); font-stretch: 85%; font-weight: 500; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.15; margin-bottom: 12px; }
.edge span { display: block; color: var(--text-2); font-size: 14.5px; font-weight: 300; line-height: 1.55; }
@media (max-width: 1023px) {
  .edges { grid-template-columns: repeat(2, 1fr); }
  .edge:nth-child(3) { border-left: 0; }
  .edge:nth-child(n + 3) { border-top: 1px solid var(--border); }
}
@media (max-width: 580px) {
  .edges { grid-template-columns: 1fr; }
  .edge { border-left: 0; padding: 28px 24px; }
  .edge + .edge { border-top: 1px solid var(--border); }
  .edge svg { margin-bottom: 20px; }
}

/* ---------- missão / visão / valores ---------- */
.mv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 80px; margin-top: 96px; padding-top: 72px; border-top: 1px solid var(--border); }
.mv h3 { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.mv p { font-family: var(--display); font-stretch: 85%; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 72px; }
.value { padding-top: 20px; border-top: 1px solid var(--border); transition: border-color .4s; }
.value:hover { border-color: var(--accent); }
.value strong { display: block; font-family: var(--display); font-stretch: 85%; font-weight: 400; font-size: 24px; margin-bottom: 8px; }
.value span { color: var(--text-2); font-size: 14.5px; font-weight: 300; line-height: 1.55; }
@media (max-width: 1023px) { .values { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .mv { grid-template-columns: 1fr; margin-top: 72px; } .values { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 48px 96px; }
.faq-intro h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1; margin: 20px 0 28px; }
.faq-intro h2 .muted-italic { display: block; }
.faq-intro p { color: var(--text-2); font-weight: 300; }
.faq-intro a { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.faq-intro a::after { content: ""; width: 32px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.faq-intro a:hover::after { width: 56px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-stretch: 85%; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.3; color: #e5e5e5; transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #fff; }
.faq-item summary i {
  flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%; background: #151515; transition: background-color .3s, transform .5s var(--ease);
}
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i { background: var(--accent); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 64px 32px 0; color: var(--text-2); font-weight: 300; font-size: 17px; line-height: 1.75; }
.faq-item[open] .faq-answer { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-answer { padding-right: 0; } }

/* ---------- CTA + rodapé ---------- */
.cta { overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(59, 130, 246, 0.12), transparent 100%);
}
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(44px, 7vw, 104px); line-height: 0.98; }
.cta h2 .muted-italic { display: block; }
.cta-circle {
  flex: none; width: clamp(160px, 16vw, 208px); aspect-ratio: 1; border-radius: 50%; background: #fff; color: #000;
  display: grid; place-items: center; text-align: center; font-size: 17px; font-weight: 500; line-height: 1.3;
  transition: transform .6s var(--ease), box-shadow .6s; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
}
.cta-circle:hover { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.06); }

.footer { padding-block: 80px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px 32px; }
.footer p { color: var(--text-2); font-weight: 300; font-size: 15px; margin-top: 20px; max-width: 300px; }
.footer h4 { margin: 0 0 20px; font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.footer li + li { margin-top: 12px; }
.footer li, .footer dd { color: #d4d4d4; font-size: 15px; }
.footer li a { transition: color .2s; }
.footer li a:hover { color: var(--accent); }
.footer dl div + div { margin-top: 14px; }
.footer dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 12px; color: var(--text-3);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- animações de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 100; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s, background-color .3s, border .3s;
}
.cursor.on { opacity: 1; }
.cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.7); mix-blend-mode: normal; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

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

/* ---------- página de contato (formulário no padrão shadcn/ui) ---------- */
.contact-page { position: relative; min-height: 100svh; padding: 148px var(--gutter) 120px; overflow: hidden; }
.contact-page .hero-field { inset: -45% -10% auto; height: 900px; opacity: .22; }
.contact-wrap { position: relative; width: 100%; max-width: 576px; margin: 0 auto; }

.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); transition: color .2s; }
.back-link:hover { color: #fff; }
.back-link svg { transition: transform .3s var(--ease); }
.back-link:hover svg { transform: translateX(-3px); }

.form-head { margin: 28px 0 32px; scroll-margin-top: 120px; }
.form-head h1 { font-family: var(--display); font-stretch: 85%; font-size: clamp(34px, 4vw, 44px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; }
.form-head p { margin-top: 6px; font-size: 15px; color: var(--text-2); line-height: 1.55; }

.form-card { scroll-margin-top: 110px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .input { font-size: 16px; } }

.field > label { font-size: 14px; font-weight: 500; line-height: 1; color: #fafafa; }
.field > label .req { color: #ef4444; margin-left: 6px; }
.input {
  width: 100%; height: 40px; padding: 0 12px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.14); color: #fafafa;
  font: inherit; font-size: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #737373; }
.input:hover { border-color: rgba(255, 255, 255, 0.22); }
.input:focus { outline: none; border-color: rgba(255, 255, 255, 0.45); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }
textarea.input { height: auto; min-height: 128px; padding: 10px 12px; resize: vertical; line-height: 1.55; }
select.input {
  padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
select.input:invalid { color: #737373; }
select.input option { background: #171717; color: #fafafa; }

.field-meta { display: flex; justify-content: space-between; gap: 12px; }
.field-error { color: #f87171; font-size: 13px; line-height: 1.4; }
.field-error:empty { display: none; }
.counter { margin-left: auto; font-size: 12px; color: #737373; font-variant-numeric: tabular-nums; }
.field.has-error .input { border-color: rgba(248, 113, 113, 0.7); }
.field.has-error .input:focus { box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2); }

.field > label.check { font-weight: 400; line-height: 1.45; color: var(--text-2); }
.check { position: relative; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.check input { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; margin: 0; opacity: 0; z-index: 1; cursor: pointer; }
.check .box {
  flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.045); transition: background-color .15s, border-color .15s;
}
.check .box svg { opacity: 0; }
.check input:checked + .box { background: #fafafa; border-color: #fafafa; }
.check input:checked + .box svg { opacity: 1; }
.check input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2); }
.field.has-error .check .box { border-color: rgba(248, 113, 113, 0.8); }

.form-divider { grid-column: 1 / -1; height: 1px; margin: 8px 0 0; border: 0; background: rgba(255, 255, 255, 0.1); }
.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 12px; }
.btn-ui {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 8px;
  font-size: 14px; font-weight: 500; transition: background-color .15s, border-color .15s, color .15s, opacity .15s;
}
.btn-ui-primary { background: #fafafa; color: #0a0a0a; }
.btn-ui-primary:hover { background: #e5e5e5; }
.btn-ui-outline { border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.03); color: #fafafa; }
.btn-ui-outline:hover { background: rgba(255, 255, 255, 0.08); }
@media (max-width: 560px) { .form-actions .btn-ui { flex: 1; } }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-footnote { margin-top: 28px; font-size: 13px; color: #737373; }
.form-footnote a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.form-footnote a:hover { color: #fff; }

.form-success { display: none; padding: 32px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.form-card.sent .form-grid, .form-card.sent + .form-footnote { display: none; }
.form-card.sent .form-success { display: block; animation: fadeUp .4s var(--ease); }
.form-success:focus { outline: none; }
.form-success .icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 197, 94, 0.12); color: #4ade80; margin-bottom: 20px; }
.form-success h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.form-success p { margin-top: 8px; font-size: 14px; color: var(--text-2); line-height: 1.6; }
.form-success .dev-note { display: block; margin-top: 16px; padding: 10px 12px; border-radius: 8px; background: rgba(234, 179, 8, 0.08); border: 1px solid rgba(234, 179, 8, 0.25); color: #fde68a; font-size: 13px; }
.form-success .btn-ui { margin-top: 24px; }

/* preferência de contato (checkboxes em formato de pílula) */
.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 500; line-height: 1; color: #fafafa; }
.choice-group legend .req { color: #ef4444; margin-left: 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 8px; cursor: pointer;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--text-2);
  font-size: 14px; transition: border-color .15s, background-color .15s, color .15s, box-shadow .15s;
}
.choice:hover { border-color: rgba(255, 255, 255, 0.25); color: #fafafa; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice:has(input:checked) { background: rgba(96, 165, 250, 0.12); border-color: rgba(96, 165, 250, 0.6); color: #fafafa; }
.choice:has(input:checked) svg { color: #60a5fa; }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15); }
.field.has-error .choice { border-color: rgba(248, 113, 113, 0.6); }
.choice-group .field-error { display: block; margin-top: 8px; }
.choice-group .field-error:empty { display: none; }
@media (max-width: 560px) { .choice { flex: 1 1 auto; justify-content: center; } }

/* erro geral de envio */
.form-alert { grid-column: 1 / -1; padding: 12px 14px; border-radius: 8px; font-size: 14px; line-height: 1.5; background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.35); color: #fecaca; }
.form-alert[hidden] { display: none; }
.btn-ui[disabled] { opacity: .6; cursor: progress; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- página de política de privacidade ---------- */
.legal { max-width: 720px; }
.legal h2 { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 12px; color: #fafafa; }
.legal p, .legal li { color: #c4c4c4; font-size: 15px; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { margin-top: 8px; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 18px; }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 6px; height: 1px; background: var(--accent); }
.legal strong { color: #fafafa; font-weight: 500; }
.legal a { color: #93c5fd; text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: #fff; }
.legal .back-link { color: var(--text-2); text-decoration: none; }
.check a { color: #93c5fd; text-decoration: underline; text-underline-offset: 3px; position: relative; z-index: 2; }
.footer-legal a { color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: #fff; }
.legal ul + p { margin-top: 16px; }
