/* =========================================================
   WelRich — Design de alta conversão
   ========================================================= */

:root {
  --bg: #05070b;
  --surface: #0a0e15;
  --surface-2: #0d121b;
  --line: rgba(160, 190, 240, .12);
  --line-strong: rgba(133, 174, 247, .28);
  --text: #f5f7fb;
  --muted: #a2a9b7;
  --muted-2: #7d8799;
  --blue: #4385ff;
  --blue-2: #70b4ff;
  --blue-deep: #2f6fe0;
  --accent: #8ea4c8;
  --radius: 22px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.035em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--blue); color: white; font-weight: 600; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Destaques de palavras ---------- */
.hl {
  background: linear-gradient(100deg, var(--blue-2) 0%, var(--blue) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1 .hl {
  display: inline;
  padding: 0 .14em .04em;
  margin-left: -.04em;
  border-radius: .14em;
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 100%);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #fff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: 0 18px 50px -18px rgba(67, 133, 255, .8);
}
.kw { color: var(--blue-2); font-weight: 600; }

/* ---------- Fundo animado ---------- */
.bg-scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid {
  position: absolute; inset: -80px;
  background-image:
    linear-gradient(rgba(120, 160, 230, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 230, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
  animation: grid-move 24s linear infinite;
}
@keyframes grid-move { to { transform: translate(64px, 64px); } }
.bg-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.blob-1 { width: 560px; height: 560px; left: -160px; top: -140px; background: radial-gradient(circle, rgba(67, 133, 255, .55), transparent 70%); animation: drift-1 18s ease-in-out infinite alternate; }
.blob-2 { width: 520px; height: 520px; right: -180px; top: 20vh; background: radial-gradient(circle, rgba(112, 180, 255, .38), transparent 70%); animation: drift-2 22s ease-in-out infinite alternate; }
.blob-3 { width: 640px; height: 640px; left: 30%; bottom: -320px; background: radial-gradient(circle, rgba(47, 111, 224, .35), transparent 70%); animation: drift-3 26s ease-in-out infinite alternate; }
@keyframes drift-1 { to { transform: translate(140px, 90px) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(-120px, 120px) scale(.9); } }
@keyframes drift-3 { to { transform: translate(-160px, -80px) scale(1.1); } }
.bg-particles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Botões ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 16px 40px -12px rgba(67, 133, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.button-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.button-primary:hover { box-shadow: 0 22px 50px -12px rgba(67, 133, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .25); }
.button-ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(13, 18, 27, .5); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--blue-2); }
.button-light { background: #fff; color: #07101f; box-shadow: 0 18px 50px -14px rgba(255, 255, 255, .45); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 11, .62);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; background: #000; border: 1px solid rgba(160, 190, 240, .18); object-fit: contain; }
.brand-copy { display: grid; gap: 1px; line-height: 1.2; }
.brand-copy strong { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.brand-copy > span { color: var(--muted-2); font-size: 12px; letter-spacing: .02em; }
.main-nav { display: flex; align-items: center; gap: 30px; color: #c2c8d3; font-size: 14px; font-weight: 500; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s ease; }
.main-nav > a:not(.nav-cta):hover { color: #fff; }
.main-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { padding: 11px 18px; border-radius: 999px; background: linear-gradient(120deg, var(--blue), var(--blue-deep)); color: #fff; font-weight: 700; box-shadow: 0 10px 30px -10px rgba(67, 133, 255, .8); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; min-height: calc(100vh - 74px); padding: 64px 0 80px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(13, 18, 27, .7); color: #c9d6ee;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 0 rgba(112, 180, 255, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(112, 180, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(112, 180, 255, 0); } }
.hero h1 { margin-top: 26px; font-size: clamp(44px, 6.4vw, 84px); font-weight: 900; line-height: 1.02; letter-spacing: -.045em; }
.hero-description { max-width: 560px; margin-top: 26px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: #c4ccda; font-size: 14px; font-weight: 500; }
.hero-points li { display: flex; align-items: center; }
.hero-points span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: rgba(67, 133, 255, .18); color: var(--blue-2); font-size: 11px; font-weight: 800; }

.hero-stack { position: relative; height: 560px; }
.float-card {
  position: absolute; margin: 0; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 18px;
  background: var(--surface-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}
.float-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.float-card figcaption { position: absolute; left: 12px; bottom: 12px; }
.float-card figcaption span { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(5, 7, 11, .82); border: 1px solid var(--line-strong); color: #e5edfb; font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); }
.card-a { width: 64%; height: 300px; right: 0; top: 10px; animation: float-a 7s ease-in-out infinite; }
.card-b { width: 58%; height: 260px; left: 0; top: 190px; z-index: 2; animation: float-b 8s ease-in-out infinite; }
.card-c { width: 52%; height: 230px; right: 6%; bottom: 0; z-index: 3; animation: float-a 9s ease-in-out infinite reverse; }
@keyframes float-a { 50% { transform: translateY(-14px); } }
@keyframes float-b { 50% { transform: translateY(12px) rotate(-.6deg); } }
.float-badge {
  position: absolute; left: 0; top: 120px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: rgba(10, 14, 21, .88); backdrop-filter: blur(10px);
  color: #dfe8f8; font-size: 13px; font-weight: 500;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9);
  animation: float-b 6s ease-in-out infinite;
}
.float-badge span { color: var(--blue-2); }

/* ---------- Faixa de nichos ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 18px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(67, 133, 255, .08), rgba(112, 180, 255, .03), rgba(67, 133, 255, .08));
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; color: #c9d4e7; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.marquee-track span::after { content: "✳"; color: var(--blue); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding: 120px 0 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  color: var(--blue-2); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.section h2, .final-cta h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; }
.lead { margin-top: 20px; color: var(--muted); font-size: 18px; line-height: 1.7; }

/* ---------- Comparação ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 14, 21, .75); }
.compare-label { margin-bottom: 22px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.compare-card li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); color: #c4ccda; font-size: 16px; }
.compare-card li span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; font-size: 12px; font-weight: 800; }
.compare-card li p { flex: 1; }
.compare-bad .compare-label { color: #9aa3b3; }
.compare-bad li span { background: rgba(255, 110, 110, .12); color: #ff8a8a; }
.compare-bad li strong { color: #fff; }
.compare-good { position: relative; border-color: rgba(67, 133, 255, .45); background: linear-gradient(160deg, rgba(67, 133, 255, .16), rgba(10, 14, 21, .85) 55%); box-shadow: 0 30px 80px -40px rgba(67, 133, 255, .7); }
.compare-good .compare-label { color: var(--blue-2); }
.compare-good li span { background: rgba(67, 133, 255, .2); color: var(--blue-2); }
.compare-good li strong { color: var(--blue-2); }

/* ---------- Projetos ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(10, 14, 21, .82);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(67, 133, 255, .45); box-shadow: 0 30px 70px -35px rgba(67, 133, 255, .65); }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 10px 0; }
.project-shot { display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 14px; background: var(--surface-2); }
.project-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.project-shot:hover img { transform: scale(1.06); }
.project-info { padding: 22px 24px 26px; }
.project-index { color: var(--blue-2); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.project-tag { margin-top: 12px; color: var(--muted-2); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.project-info h3 { margin-top: 6px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.project-info h3 + p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }

.inline-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 28px; padding: 26px 30px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(67, 133, 255, .14), rgba(10, 14, 21, .7));
}
.inline-cta p { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }

/* ---------- Benefícios ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  position: relative; padding: 30px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(10, 14, 21, .78);
  transition: border-color .3s ease, transform .3s ease;
}
.feature::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(67, 133, 255, .16), transparent 45%);
}
.feature:hover { border-color: rgba(67, 133, 255, .4); transform: translateY(-4px); }
.feature:hover::before { opacity: 1; }
.feature-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 22px; border-radius: 14px; background: linear-gradient(140deg, rgba(67, 133, 255, .3), rgba(67, 133, 255, .08)); border: 1px solid rgba(112, 180, 255, .3); }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.feature p { position: relative; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Processo ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 44px; height: 2px; background: linear-gradient(90deg, transparent, var(--blue), var(--blue-2), transparent); opacity: .5; }
.step { position: relative; padding: 0 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 14, 21, .82); }
.step-num {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 12px 0 24px;
  border-radius: 18px; background: linear-gradient(140deg, var(--blue), var(--blue-deep));
  color: #fff; font-size: 22px; font-weight: 900; letter-spacing: -.02em;
  box-shadow: 0 16px 36px -12px rgba(67, 133, 255, .85);
}
.step h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Dúvidas ---------- */
.faq-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.faq-section .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: rgba(10, 14, 21, .82); transition: border-color .25s ease, background .25s ease; }
.faq details[open] { border-color: rgba(67, 133, 255, .45); background: linear-gradient(160deg, rgba(67, 133, 255, .1), rgba(10, 14, 21, .85) 60%); }
.faq summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; border: 1px solid var(--line-strong); color: var(--blue-2);
  font-size: 20px; font-weight: 400; line-height: 1; transition: transform .25s ease, background .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- CTA final ---------- */
.final-cta { padding: 120px 0 100px; }
.cta-box {
  position: relative; overflow: hidden; padding: 80px 40px; text-align: center;
  border: 1px solid rgba(67, 133, 255, .4); border-radius: 32px;
  background: linear-gradient(160deg, rgba(67, 133, 255, .2), rgba(10, 14, 21, .9) 60%);
}
.cta-box > * { position: relative; }
.cta-glow { position: absolute !important; left: 50%; top: -40%; width: 700px; height: 500px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(67, 133, 255, .45), transparent 65%); filter: blur(40px); animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { to { opacity: .55; transform: translateX(-50%) scale(1.15); } }
.cta-box h2 { max-width: 860px; margin: 0 auto; }
.cta-box .kicker { justify-content: center; }
.cta-box .lead { max-width: 560px; margin: 22px auto 36px; }

/* ---------- Rodapé ---------- */
.site-footer { padding: 40px 0 120px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; color: #aeb7c6; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-links span { color: var(--blue-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; color: var(--muted-2); font-size: 13px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Barra fixa ---------- */
.sticky-cta {
  position: fixed; left: 50%; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 22px;
  width: min(640px, calc(100% - 24px)); padding: 10px 10px 10px 24px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(8, 12, 19, .9); backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9);
  transform: translate(-50%, 140%); transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.sticky-cta.is-visible { transform: translate(-50%, 0); }
.sticky-cta p { flex: 1; display: grid; line-height: 1.3; }
.sticky-cta strong { font-size: 15px; }
.sticky-cta p span { color: var(--muted-2); font-size: 12px; }
.sticky-cta .button { min-height: 46px; padding: 0 20px; font-size: 14px; white-space: nowrap; }

/* ---------- Animação ao rolar ---------- */
.js-enabled .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js-enabled .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; }
  .hero-stack { height: 460px; max-width: 620px; width: 100%; margin-inline: auto; }
  .project-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .project-grid .project-card:last-child { grid-column: span 2; }
  .project-grid .project-card:last-child .project-gallery { grid-template-columns: 1fr 1fr; }
  .faq-section { grid-template-columns: 1fr; gap: 0; }
  .faq-section .section-head { position: static; margin-bottom: 40px; }
}

/* ---------- Celular ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 68px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 17px; }
  .menu-toggle {
    display: grid; align-content: center; justify-items: center; gap: 6px;
    width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%;
    background: rgba(15, 22, 34, .75); cursor: pointer;
  }
  .menu-toggle span { width: 16px; height: 1.5px; background: #dce7fa; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: 74px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px; border: 1px solid var(--line-strong); border-radius: 18px;
    background: rgba(7, 11, 18, .98); box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    font-size: 16px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 14px 16px; border-radius: 12px; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 6px; text-align: center; }

  .hero { padding: 36px 0 56px; gap: 40px; }
  .pill { font-size: 10.5px; letter-spacing: .05em; padding: 7px 13px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 54px); margin-top: 22px; }
  .hero-description { font-size: 17px; margin-top: 20px; }
  .hero-actions { flex-direction: column; margin-top: 28px; }
  .hero-actions .button { width: 100%; }
  .hero-points { flex-direction: column; gap: 10px; font-size: 15px; }
  .hero-stack { height: 330px; }
  .card-a { width: 66%; height: 250px; top: 0; right: 0; }
  .card-b { width: 60%; height: 230px; top: 60px; left: 0; }
  .card-c { display: none; }
  .float-badge { top: auto; bottom: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; padding: 8px 12px; animation: none; }

  .marquee-track span { font-size: 13px; }
  .section { padding-top: 84px; }
  .section-head { margin-bottom: 36px; }
  .section h2, .final-cta h2 { font-size: clamp(32px, 9vw, 42px); }
  .lead { font-size: 17px; }

  .compare { grid-template-columns: 1fr; }
  .compare-card { padding: 26px 22px; }

  .project-grid, .feature-grid { grid-template-columns: 1fr; }
  .project-grid .project-card:last-child { grid-column: auto; }
  .inline-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 20px; }
  .inline-cta p { font-size: 19px; }

  .steps { grid-template-columns: 1fr; }
  .steps::before { left: 44px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, transparent, var(--blue), var(--blue-2), transparent); }
  .step { padding: 0 22px 26px; }

  .faq summary { padding: 18px 18px; font-size: 16px; }
  .faq details p { padding: 0 18px 20px; font-size: 15.5px; }

  .final-cta { padding: 84px 0 70px; }
  .cta-box { padding: 56px 22px; border-radius: 26px; }
  .cta-box .button { width: 100%; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 12px; font-size: 15px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .sticky-cta { padding: 8px 8px 8px 18px; gap: 12px; }
  .sticky-cta strong { font-size: 13.5px; }
  .sticky-cta p span { display: none; }
  .sticky-cta .button { padding: 0 16px; font-size: 13.5px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-enabled .reveal { opacity: 1; transform: none; }
  .bg-particles { display: none; }
}

/* ---------- Carrossel de projetos ---------- */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 2.15);
  gap: 22px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 10px; margin: -6px -2px 0;
  scrollbar-width: none; cursor: grab; outline: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel-track.is-dragging * { pointer-events: none; user-select: none; }
.carousel-track:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 4px; border-radius: var(--radius); }
.carousel-track .project-card { scroll-snap-align: start; }
.carousel-track img { -webkit-user-drag: none; user-select: none; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.carousel-btn {
  display: grid; place-items: center; width: 52px; height: 52px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: rgba(13, 18, 27, .8); color: #fff; font-size: 20px; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease;
}
.carousel-btn:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); transform: scale(1.06); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(160, 190, 240, .28); cursor: pointer; transition: width .3s ease, background .3s ease; }
.carousel-dots button[aria-selected="true"] { width: 30px; background: var(--blue); }

.project-info { display: flex; flex-direction: column; flex: 1; }
.project-link {
  position: relative; overflow: hidden; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; font-size: 14.5px; font-weight: 700;
  box-shadow: 0 12px 30px -12px rgba(67, 133, 255, .8);
  animation: link-breathe 3.2s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.project-link::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
.project-link span { display: inline-block; transition: transform .25s ease; }
.project-link:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(67, 133, 255, 1); }
.project-link:hover span { transform: translate(3px, -3px); }
@keyframes link-breathe { 50% { box-shadow: 0 12px 34px -8px rgba(67, 133, 255, .95); } }

@media (max-width: 1000px) {
  .carousel-track { grid-auto-columns: calc((100% - 22px) / 1.6); }
}
@media (max-width: 760px) {
  .carousel-track { grid-auto-columns: 86%; gap: 14px; }
  .carousel-btn { width: 46px; height: 46px; }
  .project-link { align-self: stretch; justify-content: center; }
}
