/* =========================================================
   LIVSON TECNOLOGIA — Dark Tech Futurista
   Palette: base #05070d · cyan #22d3ee · violet #8b5cf6
   Signature easing (Corporate/Premium): cubic-bezier(.2,0,0,1)
   ========================================================= */

:root {
  --bg:        #05070d;
  --bg-soft:   #0a0e1a;
  --bg-alt:    #080b14;
  --surface:   rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border:    rgba(255, 255, 255, 0.08);
  --border-2:  rgba(255, 255, 255, 0.14);

  --text:      #e8ecf6;
  --muted:     #93a0b8;
  --muted-2:   #5f6c85;

  --cyan:      #22d3ee;
  --violet:    #8b5cf6;
  --pink:      #e879f9;

  --grad:      linear-gradient(100deg, #22d3ee 0%, #818cf8 45%, #e879f9 100%);
  --grad-soft: linear-gradient(100deg, rgba(34,211,238,.16), rgba(139,92,246,.16));

  --ease:      cubic-bezier(.2, 0, 0, 1);
  --ease-out:  cubic-bezier(.05, .7, .1, 1);

  --radius:    18px;
  --radius-sm: 12px;
  --container: 1180px;

  --shadow-glow: 0 0 40px rgba(34, 211, 238, 0.25);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand__text, .eyebrow, .stat__num, .plan__name {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 3D Canvas ---------- */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
}
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(34,211,238,.10), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(139,92,246,.10), transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(5,7,13,.55) 65%, var(--bg) 100%);
}

main, .nav, .footer { position: relative; z-index: 2; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.4rem; letter-spacing: .25em;
  color: var(--text);
}
.preloader__mark {
  display: block;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--grad); object-fit: cover;
  box-shadow: var(--shadow-glow);
  animation: spinMark 1.6s var(--ease) infinite;
}
@keyframes spinMark { 0%,100%{ transform: rotate(0) scale(1);} 50%{ transform: rotate(180deg) scale(.7);} }
.preloader__bar {
  width: 180px; height: 3px; border-radius: 3px;
  background: var(--surface-2); overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--grad);
  transition: width .3s var(--ease);
}

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1px solid var(--border-2);
  background: var(--bg-btn);
  color: var(--text);
  transition: transform .18s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary {
  background: var(--grad);
  border-color: transparent;
  color: #05070d;
  font-weight: 700;
}
.btn--primary:hover { box-shadow: 0 10px 40px rgba(34,211,238,.35); }

.btn--glow { position: relative; }
.btn--glow::after {
  content: ''; position: absolute; inset: -2px; border-radius: inherit;
  background: var(--grad); filter: blur(16px); opacity: .5; z-index: -1;
  transition: opacity .3s var(--ease);
}
.btn--glow:hover::after { opacity: .9; }

.btn--ghost { background: transparent; border-color: var(--border-2); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--cyan); }

.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--lg { padding: 18px 38px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 20;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  display: block;
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--grad); object-fit: cover;
  box-shadow: 0 0 20px rgba(34,211,238,.5);
  flex: none;
}
.brand__text {
  font-weight: 700; font-size: 1.05rem; letter-spacing: .12em;
}
.brand__text em { font-style: normal; color: var(--muted-2); font-weight: 500; margin-left: 2px; }

.nav__links { display: flex; gap: 30px; }
.nav__links a {
  color: var(--muted); font-size: .92rem; font-weight: 500;
  position: relative; transition: color .25s var(--ease);
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--grad);
  transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 90px;
  position: relative;
}
.hero__inner { max-width: 860px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid var(--border-2);
  font-size: .82rem; color: var(--text); font-weight: 500;
  margin-bottom: 26px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34,211,238,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,211,238,.6); }
  70% { box-shadow: 0 0 0 10px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}

.hero__title {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  font-weight: 700;
  margin-bottom: 26px;
}
.hero__title .reveal-line { display: block; }

.hero__sub {
  font-size: clamp(1.02rem, 2.2vw, 1.22rem);
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero__sub strong { color: var(--text); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }

.hero__trust {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted-2); font-size: .88rem;
}
.stars { color: #fbbf24; letter-spacing: 2px; }

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--border-2); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span {
  width: 4px; height: 8px; border-radius: 4px; background: var(--cyan);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0%{transform: translateY(0); opacity:1;} 70%{transform: translateY(14px); opacity:0;} 100%{opacity:0;} }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  padding: 18px 0;
}
.marquee__track {
  display: flex; align-items: center; gap: 28px;
  width: max-content;
  animation: marquee 34s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem; color: var(--muted);
}
.marquee__track i { color: var(--cyan); font-style: normal; font-size: .7rem; }
.marquee__track span { white-space: nowrap; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 11vw, 130px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.015), transparent); }
.section--tight-top { padding-top: 0; }

.section__head { max-width: 680px; margin-bottom: 60px; }
.eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  font-weight: 700; margin-bottom: 18px;
}
.section__lead { color: var(--muted); font-size: 1.08rem; }

/* ---------- Grid + Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--solutions { grid-template-columns: repeat(3, 1fr); }
.grid--services  { grid-template-columns: repeat(3, 1fr); }
.grid--portfolio { grid-template-columns: repeat(3, 1fr); }
.grid--plans     { grid-template-columns: repeat(3, 1fr); align-items: start; }
.grid--mvv       { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(34,211,238,.10), transparent 45%);
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-2); background: var(--surface-2); }
.card:hover::before { opacity: 1; }

.card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--grad-soft); border: 1px solid var(--border);
  margin-bottom: 20px;
}
.card__problem {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--pink); font-weight: 600; margin-bottom: 8px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }

.card--cta {
  background: var(--grad-soft);
  border-color: var(--border-2);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.card--cta h3 { font-size: 1.3rem; }

/* ---------- Services ---------- */
.service {
  padding: 30px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  position: relative;
}
.service:hover { transform: translateY(-6px); border-color: var(--cyan); background: var(--surface-2); }
.service__num {
  font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; display: block; margin-bottom: 14px;
}
.service h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .95rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: step;
}
.step {
  padding: 32px 26px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.step:hover { transform: translateY(-6px); border-color: var(--border-2); }
.step__num {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem;
  color: #05070d; background: var(--grad);
  box-shadow: 0 0 20px rgba(34,211,238,.4);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Stats ---------- */
.stats { padding: 60px 0 20px; }
.stats__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  padding: 44px 30px;
}
.stat { text-align: center; }
.stat__num {
  display: block; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__label { color: var(--muted); font-size: .92rem; }
.stats__note { text-align: center; color: var(--muted-2); font-size: .8rem; margin-top: 16px; }

/* ---------- Portfolio ---------- */
.project {
  padding: 30px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  display: flex; flex-direction: column;
}
.project:hover { transform: translateY(-6px); border-color: var(--border-2); background: var(--surface-2); }
.project__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.project__tag {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--cyan); font-weight: 600;
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--grad-soft);
}
.project h3 { font-size: 1.2rem; margin-bottom: 12px; }
.project h3 a { color: inherit; transition: color .25s var(--ease); }
.project h3 a:hover { color: var(--cyan); }
.project__quote { color: var(--muted); font-style: italic; margin-bottom: 18px; flex: 1; }
.project__client { font-size: .88rem; font-weight: 600; }
.project__client a { color: var(--muted-2); font-weight: 400; transition: color .25s var(--ease); }
.project__client a:hover { color: var(--cyan); }

/* ---------- Plans ---------- */
.plan {
  padding: 34px 30px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--border-2); }
.plan--featured {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 20px 60px rgba(34,211,238,.12);
}
.plan--featured:hover { transform: translateY(-10px); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #05070d; font-weight: 700; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.plan__name { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.plan__focus { color: var(--cyan); font-weight: 600; font-size: .92rem; margin-bottom: 22px; }
.plan__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.plan__list li {
  color: var(--muted); font-size: .95rem; padding-left: 26px; position: relative;
}
.plan__list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--cyan); font-weight: 700;
}

/* ---------- MVV ---------- */
.mvv {
  padding: 34px 30px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.mvv:hover { transform: translateY(-6px); border-color: var(--border-2); }
.mvv__icon { font-size: 2rem; margin-bottom: 16px; }
.mvv h3 { font-size: 1.3rem; margin-bottom: 10px; }
.mvv p { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(70px, 10vw, 120px) 0; position: relative; }
.cta-band__inner {
  text-align: center; max-width: 760px; margin-inline: auto;
  padding: clamp(40px, 6vw, 70px);
  border-radius: 28px;
  border: 1px solid var(--border-2);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(139,92,246,.18), transparent 70%),
    var(--surface);
  position: relative; overflow: hidden;
}
.cta-band__inner h2 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); font-weight: 700; margin-bottom: 18px; }
.cta-band__inner p { color: var(--muted); font-size: 1.1rem; margin-bottom: 32px; }
.cta-band__inner strong { color: var(--text); }

/* ---------- Icons (WhatsApp / Instagram inline) ---------- */
.icon, .contact__ic { display: inline-flex; flex: none; }
.icon svg, .contact__ic svg { display: block; width: 100%; height: 100%; }

/* ---------- Contact ---------- */
.contact__list { display: flex; flex-direction: column; gap: 16px; margin: 30px 0; }
.contact__list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.contact__list a { color: var(--text); transition: color .25s var(--ease); }
.contact__list a:hover { color: var(--cyan); }
.contact__ic { display: inline-flex; width: 20px; height: 20px; color: var(--cyan); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-top: 56px; background: rgba(0,0,0,.25); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer__brand { max-width: 320px; }
.footer__brand .brand__text { display: inline-block; margin: 14px 0 10px; }
.footer__brand p { color: var(--muted); font-size: .92rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 18px 30px; align-content: flex-start; }
.footer__nav a { color: var(--muted); font-size: .92rem; transition: color .25s var(--ease); }
.footer__nav a:hover { color: var(--cyan); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 24px 0 100px; border-top: 1px solid var(--border);
  color: var(--muted-2); font-size: .84rem;
}

/* ---------- Reveal animations (JS-driven fallback) ---------- */
.reveal, .reveal-line { will-change: transform, opacity; }
.reveal { opacity: 0; transform: translateY(30px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }

/* If JS/GSAP fails, ensure content is visible */
.no-js .reveal, .no-js .reveal-line { opacity: 1 !important; transform: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--solutions, .grid--services, .grid--portfolio { grid-template-columns: repeat(2, 1fr); }
  .grid--plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .grid--mvv { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }

  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(5,7,13,.96); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .4s var(--ease), opacity .4s var(--ease);
  }
  .nav.is-open .nav__links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 15px 40px; width: 100%; }
  .nav__links a::after { display: none; }
}

@media (max-width: 560px) {
  .grid--solutions, .grid--services, .grid--portfolio { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr 1fr; gap: 30px 12px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Nav highlight link ---------- */
.nav__hot { color: var(--text) !important; font-weight: 600; }
.nav__hot::before {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad); margin-right: 7px; vertical-align: middle;
  box-shadow: 0 0 8px rgba(34,211,238,.7);
}

/* ---------- Livson Conecta section ---------- */
.conecta { position: relative; }
.section__head--center { max-width: 760px; margin-inline: auto; text-align: center; }
.conecta__tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.conecta__flow {
  display: flex; align-items: stretch; justify-content: center;
  gap: 0; margin: 56px auto 60px; max-width: 1080px;
}
.module {
  flex: 1 1 0; min-width: 0;
  padding: 30px 24px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.module:hover { transform: translateY(-6px); border-color: var(--cyan); background: var(--surface-2); }
.module__step {
  position: absolute; top: 16px; right: 18px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--muted-2);
}
.module__icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--grad-soft); border: 1px solid var(--border);
  margin-bottom: 18px;
}
.module h3 { font-size: 1.2rem; margin-bottom: 4px; }
.module__role {
  display: inline-block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--cyan); font-weight: 600; margin-bottom: 10px;
}
.module p { color: var(--muted); font-size: .92rem; }
.module__link {
  flex: 0 0 42px; align-self: center; text-align: center;
}
.module__link::before {
  content: '→'; font-size: 1.4rem; color: var(--cyan); opacity: .65;
}

/* Comparison table */
.compare {
  max-width: 760px; margin: 0 auto 44px;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
}
.compare__row {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 10px;
  padding: 15px 22px; border-bottom: 1px solid var(--border);
  align-items: center; font-size: .93rem;
}
.compare__row:last-child { border-bottom: 0; }
.compare__row--head {
  background: var(--surface-2);
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: .82rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted);
}
.compare__row span:first-child { color: var(--text); font-weight: 500; }
.compare .no  { color: var(--muted-2); }
.compare .yes { color: #34d399; font-weight: 600; }

.conecta__cta {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}

.plans__note {
  text-align: center; color: var(--muted); font-size: .9rem; margin-top: 28px;
}

@media (max-width: 860px) {
  .conecta__flow { flex-direction: column; align-items: stretch; max-width: 440px; }
  .module { width: 100%; }
  .module__link { flex: 0 0 auto; padding: 8px 0; }
  .module__link::before { content: '↓'; }
}
@media (max-width: 560px) {
  .compare__row { grid-template-columns: 1.3fr .8fr 1fr; gap: 6px; padding: 12px 14px; font-size: .82rem; }
  .conecta__cta { flex-direction: column; align-items: stretch; }
  .conecta__cta .btn { width: 100%; }
}

/* ---------- Hero company strip (subpáginas de produto) ---------- */
.hero__company {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 22px 12px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-size: .88rem; line-height: 1.4;
  max-width: 100%;
}
.hero__company .brand__mark { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.hero__company strong { color: var(--text); }

/* ---------- Hero trust badge ---------- */
.hero__trust { flex-wrap: wrap; row-gap: 8px; }
.hero__trust-badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid var(--border-2);
  font-size: .78rem; font-weight: 600; color: var(--text);
  white-space: nowrap;
}

/* ---------- Livson Conecta teaser (home) ---------- */
.conecta-teaser__inner { max-width: 820px; }
.conecta-teaser__list {
  display: grid; gap: 12px; margin: 28px 0 34px;
}
.conecta-teaser__list li {
  color: var(--muted); font-size: .96rem;
  padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
}
.conecta-teaser__list li strong { color: var(--text); font-family: 'Space Grotesk', sans-serif; }
.conecta-teaser__copy .conecta__cta { justify-content: flex-start; }

/* ---------- Impacto Real ---------- */
.grid--impact { grid-template-columns: repeat(4, 1fr); }
.impact__card {
  padding: 30px 26px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.impact__card:hover { transform: translateY(-6px); border-color: var(--cyan); background: var(--surface-2); }
.impact__icon { font-size: 1.7rem; display: block; margin-bottom: 14px; }
.impact__num {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 700; margin-bottom: 8px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.impact__label { color: var(--text); font-size: .92rem; font-weight: 600; margin-bottom: 10px; }
.impact__desc { color: var(--muted); font-size: .88rem; }
.impact__note { text-align: center; color: var(--muted-2); font-size: .78rem; margin-top: 26px; max-width: 720px; margin-inline: auto; }

/* ---------- Fundador ---------- */
.founder__inner {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center;
}
.founder__media { position: relative; }
.founder__media::before {
  content: ''; position: absolute; inset: -14px;
  border-radius: calc(var(--radius) + 14px);
  background: var(--grad); opacity: .18; filter: blur(30px); z-index: -1;
}
.founder__photo {
  width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: top center;
  border-radius: var(--radius);
  border: 1px solid var(--border-2);
}
.founder__name { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; margin-top: 6px; }
.founder__role { color: var(--cyan); font-weight: 600; font-size: .92rem; margin-bottom: 18px; }
.founder__desc { color: var(--muted); margin-top: 14px; }
.founder__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.founder__badge {
  font-size: .82rem; font-weight: 500; color: var(--text);
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-2); background: var(--surface);
}

/* ---------- Contato (simplificado, sem formulário) ---------- */
.contact--simple { max-width: 640px; margin-inline: auto; text-align: center; }
.contact__list--center { align-items: center; margin: 0 0 36px; }
.contact__list--center li { justify-content: center; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Footer (extras) ---------- */
.footer__contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__contact a { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .92rem; transition: color .25s var(--ease); }
.footer__contact a:hover { color: var(--cyan); }
.footer__contact .icon { width: 17px; height: 17px; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { color: var(--muted-2); font-size: .84rem; transition: color .25s var(--ease); }
.footer__legal a:hover { color: var(--cyan); }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 15;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 34px rgba(37, 211, 102, .55); }
.whatsapp-float svg { display: block; }

/* ---------- FAQ (accordion) ---------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq__item.is-open { border-color: var(--border-2); }
.faq__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  color: var(--text); font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 600;
  text-align: left;
}
.faq__question::after {
  content: '+'; font-size: 1.4rem; color: var(--cyan); flex: none; line-height: 1;
  transition: transform .3s var(--ease);
}
.faq__item.is-open .faq__question::after { transform: rotate(45deg); }
.faq__answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
  color: var(--muted); font-size: .95rem;
  padding: 0 24px;
}
.faq__item.is-open .faq__answer { max-height: 260px; padding: 0 24px 22px; }

/* ---------- Diagnóstico (formulário multi-etapas) ---------- */
.diag__exit { color: var(--muted); font-size: .9rem; transition: color .25s var(--ease); }
.diag__exit:hover { color: var(--cyan); }

.diag__progress-track {
  position: fixed; top: 74px; left: 0; right: 0; height: 3px;
  background: var(--surface-2); z-index: 15;
}
.diag__progress-bar { height: 100%; width: 4%; background: var(--grad); transition: width .4s var(--ease); }

.diag { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 60px; }
.diag__counter {
  text-align: center; color: var(--muted-2); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 34px;
}
.diag__form { max-width: 620px; margin-inline: auto; width: 100%; padding-inline: clamp(20px, 5vw, 40px); }

.diag__step { display: none; }
.diag__step.is-active { display: block; animation: diagIn .45s var(--ease); }
@keyframes diagIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.diag__question {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 700;
  font-family: 'Space Grotesk', sans-serif; margin-bottom: 10px;
}
.diag__hint { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.diag__step .diag__input { margin-top: 6px; }

.diag__input {
  width: 100%; padding: 17px 18px; font-size: 1.1rem;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-family: inherit;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.diag__input::placeholder { color: var(--muted-2); }
.diag__input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); }

.diag__options { display: flex; flex-direction: column; gap: 12px; }
.diag__option { position: relative; }
.diag__option input {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; padding: 0;
}
.diag__option label {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
  font-size: 1rem; cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.diag__option label::after {
  content: ''; margin-left: auto; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border-2); flex: none; transition: border-color .25s var(--ease), background .25s var(--ease);
}
.diag__option label:hover { border-color: var(--border-2); background: var(--surface-2); }
.diag__option input:checked + label { border-color: var(--cyan); background: var(--grad-soft); }
.diag__option input:checked + label::after {
  border-color: var(--cyan); background: var(--cyan); box-shadow: inset 0 0 0 4px var(--bg-soft);
}
.diag__option input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 2px; }

.diag__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; gap: 14px; }
.diag__error { color: #f87171; font-size: .85rem; margin-top: 10px; min-height: 1.2em; }

.diag__done { text-align: center; max-width: 560px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.diag__done-icon { font-size: 2.6rem; display: block; margin-bottom: 18px; }
.diag__done .section__lead { margin: 14px 0 30px; }

@media (max-width: 560px) {
  .diag { padding: 100px 0 50px; }
  .diag__nav { flex-direction: column-reverse; align-items: stretch; }
  .diag__nav .btn { width: 100%; }
}

.diag__footer {
  text-align: center; padding: 0 20px 34px; color: var(--muted-2); font-size: .8rem;
}
.diag__footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.diag__footer a:hover { color: var(--cyan); }

/* ---------- Breadcrumb (subpáginas) ---------- */
.breadcrumb { display: block; font-size: .82rem; color: var(--muted-2); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted-2); transition: color .25s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }

/* ---------- Páginas legais (política / termos) ---------- */
.legal-hero { padding: clamp(120px, 16vw, 160px) 0 40px; }
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 10px; }
.legal-hero p { color: var(--muted-2); font-size: .9rem; }

.prose { max-width: 780px; margin: 0 auto; padding-bottom: 60px; }
.prose h2 { font-size: 1.3rem; font-weight: 700; margin: 42px 0 14px; font-family: 'Space Grotesk', sans-serif; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.prose li { color: var(--muted); margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .grid--impact { grid-template-columns: repeat(2, 1fr); }
  .founder__inner { grid-template-columns: 1fr; gap: 34px; }
  .founder__media { max-width: 320px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .grid--impact { grid-template-columns: 1fr; }
  .contact__cta { flex-direction: column; align-items: stretch; }
  .contact__cta .btn { width: 100%; }
  .founder__badges { flex-direction: column; align-items: flex-start; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-line { opacity: 1 !important; transform: none !important; }
}
