/* ==========================================================
   MONDIER — onepage
   ========================================================== */
:root {
  --bg: #0b0714;
  --bg-2: #120b20;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --text: #f4f0fb;
  --muted: #a99fbd;
  --violet: #a63ff7;
  --indigo: #6c4dff;
  --pink: #e04fd6;
  --wa: #25d366;
  --grad: linear-gradient(100deg, #b443f5 0%, #8d48fb 45%, #6c4dff 100%);
  --radius: 22px;
  --shadow: 0 20px 60px -20px rgba(110, 60, 255, .45);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 76px;
}

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

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

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--font-display);
  letter-spacing: .18em; text-transform: uppercase;
  color: #c9a8ff;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad);
}
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad);
  border-radius: 999px;
  font: 600 16px/1 var(--font-display);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { --pad: 11px 18px; font-size: 14px; }
.btn--lg { --pad: 18px 30px; font-size: 17px; }
.btn--grad {
  background: var(--grad); background-size: 160% 100%; color: #fff;
  box-shadow: var(--shadow);
}
.btn--grad:hover { background-position: 100% 0; box-shadow: 0 24px 60px -16px rgba(140, 70, 255, .7); }
.btn--ghost { border-color: var(--line); background: var(--surface); color: var(--text); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .25); background: var(--surface-2); }
.btn--white { background: #fff; color: #3b1d86; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .45); }
.ico { width: 22px; height: 22px; flex: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11, 7, 20, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.header__logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font: 500 15px/1 var(--font-body); color: var(--muted); position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
  animation: float 16s ease-in-out infinite;
}
.blob--1 { width: 560px; height: 560px; background: #8a2cf0; top: -160px; left: -140px; }
.blob--2 { width: 480px; height: 480px; background: #5b3dff; bottom: -160px; right: -80px; animation-delay: -5s; }
.blob--3 { width: 340px; height: 340px; background: #e04fd6; top: 30%; left: 55%; opacity: .3; animation-delay: -9s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(.95); }
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 40% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 40% 45%, #000 20%, transparent 75%);
}
.hero__inner { max-width: 1180px; }
.hero__title {
  font-size: clamp(40px, 6.6vw, 84px);
  font-weight: 800;
  max-width: 15ch;
  margin-bottom: 26px;
}
.rotator { display: inline-block; }
.rotator__word { display: inline-block; transition: opacity .45s ease, transform .45s ease, filter .45s; }
.rotator__word.is-out { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 54ch; margin-bottom: 38px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips li {
  padding: 10px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
  backdrop-filter: blur(6px);
}
.hero__chips b { color: #fff; font-weight: 600; }

/* floating cards */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.floater {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 18px;
  background: rgba(24, 15, 42, .65);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  animation: bob 6s ease-in-out infinite;
}
.floater small { display: block; font-size: 12px; color: var(--muted); }
.floater strong { font: 600 14px/1.3 var(--font-display); }
.floater__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 6px rgba(37, 211, 102, .18); }
.floater__emoji { font-size: 22px; }
.floater--a { top: 26%; right: 6%; }
.floater--b { top: 50%; right: 16%; animation-delay: -2s; }
.floater--c { bottom: 14%; right: 5%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Marquee ---------- */
.marquee { padding: 46px 0 52px; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.marquee__label { text-align: center; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.marquee__track {
  display: flex; width: max-content;
  animation: scroll 55s linear infinite;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row { display: flex; gap: 20px; padding-right: 20px; }
.marquee__row img {
  height: 92px; width: 140px; object-fit: contain;
  background: #fff; border-radius: 16px; padding: 8px 14px;
  filter: grayscale(1) contrast(1.1);
  transition: filter .3s, transform .3s;
}
.marquee__row img:hover { filter: none; transform: translateY(-3px); }
.marquee__row img.is-dark { background: #1c1029; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__title { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; margin-bottom: 18px; }
.section__lead { color: var(--muted); font-size: 18px; max-width: 60ch; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  position: relative; padding: 34px 30px 32px;
  border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s ease, border-color .35s, background .35s;
}
.svc::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.svc:hover { transform: translateY(-6px); background: var(--surface-2); }
.svc:hover::before { opacity: 1; }
.svc__icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  font-size: 26px; border-radius: 16px; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(166, 63, 247, .25), rgba(108, 77, 255, .25));
  border: 1px solid rgba(166, 63, 247, .35);
}
.svc h3 { font-size: 21px; margin-bottom: 16px; }
.svc li { position: relative; padding-left: 24px; color: var(--muted); margin-bottom: 8px; font-size: 16px; }
.svc li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; border-radius: 2px; background: var(--grad);
}
.svc--cta {
  background: var(--grad); border-color: transparent;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  box-shadow: var(--shadow);
}
.svc--cta:hover { background: var(--grad); }
.svc--cta p { color: rgba(255, 255, 255, .85); }
.svc--cta h3 { margin: 0; font-size: 24px; }
.svc__link { font: 600 16px/1 var(--font-display); margin-top: 6px; display: inline-flex; gap: 8px; }
.svc__link span { transition: transform .25s; }
.svc--cta:hover .svc__link span { transform: translateX(5px); }

/* method */
.method { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.checks { margin-top: 32px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; color: var(--muted); }
.checks li b { color: #fff; font-weight: 600; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff; background: var(--grad);
}
.flow { position: relative; display: grid; gap: 16px; counter-reset: flow; }
.flow::before {
  content: ""; position: absolute; left: 35px; top: 30px; bottom: 30px; width: 2px;
  background: linear-gradient(var(--violet), var(--indigo), var(--wa));
  opacity: .6;
}
.flow__step {
  position: relative; display: flex; gap: 20px; align-items: center;
  padding: 20px 24px 20px 14px; border-radius: 20px;
  background: rgba(20, 12, 36, .85); border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: transform .3s, border-color .3s;
}
.flow__step:hover { transform: translateX(8px); border-color: rgba(166, 63, 247, .5); }
.flow__n {
  flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font: 700 15px/1 var(--font-display); background: var(--grad); position: relative; z-index: 1;
}
.flow__step h4 { font-size: 18px; margin-bottom: 4px; }
.flow__step p { color: var(--muted); font-size: 15px; }
.flow__step--wa { border-color: rgba(37, 211, 102, .45); background: linear-gradient(90deg, rgba(37, 211, 102, .14), rgba(20, 12, 36, .85)); }
.flow__step--wa .flow__n { background: var(--wa); color: #06331a; }

/* featured clients */
.featured { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 26px; }
.fcard {
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s ease-out, border-color .3s, box-shadow .3s;
  transform-style: preserve-3d; will-change: transform;
}
.fcard:hover { border-color: rgba(166, 63, 247, .5); box-shadow: var(--shadow); }
.fcard__logo { aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; padding: 22px; }
.fcard__logo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s; }
.fcard:hover .fcard__logo img { transform: scale(1.06); }
.fcard__logo--dark { background: radial-gradient(circle at 50% 40%, #2a1640, #140b1f); }
.fcard__logo--dark img { mix-blend-mode: normal; }
.fcard__body { padding: 20px 22px 24px; }
.fcard__body h3 { font-size: 19px; margin: 12px 0 4px; }
.fcard__body p { color: var(--muted); font-size: 15px; }
.tag {
  display: inline-block; font: 600 11px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 999px; color: #d6bcff;
  background: rgba(166, 63, 247, .14); border: 1px solid rgba(166, 63, 247, .3);
}
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logos img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: contain;
  background: #fff; border-radius: 14px; padding: 6px 12px;
  transition: transform .3s, box-shadow .3s;
}
.logos img:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logos__note { text-align: center; color: var(--muted); margin-top: 24px; font-size: 15px; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step {
  padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s, background .3s;
}
.step:hover { transform: translateY(-6px); background: var(--surface-2); }
.step__n {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font: 700 18px/1 var(--font-display); margin-bottom: 20px;
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.metrics {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden;
}
.metric { padding: 34px 30px; display: flex; flex-direction: column; gap: 8px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric__big {
  font: 800 clamp(44px, 5vw, 64px)/1 var(--font-display);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric span:last-child { color: var(--muted); font-size: 15px; }

/* CTA */
.cta { padding: 40px 0 clamp(80px, 10vw, 130px); }
.cta__box {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(48px, 7vw, 90px) clamp(26px, 6vw, 80px);
  border-radius: 32px; text-align: center;
  background: var(--grad);
  box-shadow: 0 40px 100px -30px rgba(120, 60, 255, .7);
}
.cta__box h2 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 800; margin-bottom: 18px; }
.cta__box > p { color: rgba(255, 255, 255, .88); font-size: 18px; max-width: 52ch; margin: 0 auto 34px; }
.cta__box .eyebrow { justify-content: center; }
.blob--cta { width: 520px; height: 520px; background: #e04fd6; top: -260px; right: -160px; opacity: .45; z-index: -1; }
.cta__phone { margin-top: 20px !important; font-size: 15px !important; }
.cta__phone a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 110px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; color: var(--muted); font-size: 14px; }
.footer__logo { height: 26px; width: auto; }
.footer__copy { margin-left: auto; }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .65);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.wa-float__pulse {
  position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .floaters { display: none; }
  .featured { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .header__logo img { height: 26px; }
  .burger {
    display: grid; gap: 6px; margin-left: 4px;
    width: 44px; height: 44px; place-content: center;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  }
  .burger span { width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    flex-direction: column; gap: 0; padding: 10px 20px 24px;
    background: rgba(11, 7, 20, .96); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .header__cta { margin-left: auto; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(1180px, 100% - 32px); }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__ctas .btn { width: 100%; }
  .hero__chips li { font-size: 13px; }
  .blob--1 { width: 360px; height: 360px; }
  .blob--2 { width: 320px; height: 320px; }
  .services, .steps { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fcard__logo { padding: 12px; }
  .fcard__body { padding: 14px 14px 18px; }
  .fcard__body h3 { font-size: 16px; }
  .fcard__body p { font-size: 13px; }
  .tag { font-size: 9px; padding: 6px 8px; }
  .logos { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .metrics { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); }
  .marquee__row img { height: 72px; width: 110px; }
  .cta__box .btn { width: 100%; }
  .footer__copy { margin-left: 0; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
