/* M4 Criativa — landing v2
   Base escura/clara alternada, cores CMY da logo como luz, vidro líquido nos elementos flutuantes. */

:root {
  --night: #08080C;
  --night-2: #111118;
  --snow: #F5F5F7;
  --text: #1D1D1F;
  --text-2: #6E6E73;
  --on-dark: #F5F5F7;
  --on-dark-2: #A1A1A6;

  --c: #3BA4E6;
  --m: #E5276A;
  --y: #FFD21A;
  --m-deep: #C8174F;
  --grad: linear-gradient(100deg, #5CC3FF 0%, #FF3D82 48%, #FFC21A 100%);

  --display: "Inter Tight", "SF Pro Display", system-ui, sans-serif;
  --body: "Inter", "SF Pro Text", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 28px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--on-dark);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
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, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
::selection { background: var(--m); color: #fff; }
:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; z-index: 200; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; top: 12px; }

.ico { width: 18px; height: 18px; flex: none; }
.flip { transform: scaleX(-1); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--on-dark-2); }
.light .muted { color: var(--text-2); }

/* ---------- Vidro líquido ---------- */
.glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)) padding-box;
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -1px 0 rgba(255, 255, 255, .06),
    0 12px 40px rgba(0, 0, 0, .28);
}
.light .glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .55));
  border-color: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 #fff, 0 12px 40px rgba(20, 20, 40, .12);
}

/* ---------- Botões ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #FF3D82, var(--m) 55%, var(--m-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 30px rgba(229, 39, 106, .45), 0 2px 6px rgba(229, 39, 106, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 44px rgba(229, 39, 106, .55), 0 2px 6px rgba(229, 39, 106, .3); }
.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 64px; padding: 0 38px; font-size: 18px; }
.btn-lg .ico { width: 22px; height: 22px; }

/* ---------- Navegação ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; padding-inline: 14px; pointer-events: none; }
.nav {
  pointer-events: auto;
  max-width: 980px; margin-inline: auto;
  height: 60px; padding: 0 10px 0 22px; border-radius: 999px;
  display: flex; align-items: center; gap: 24px;
  background: rgba(20, 20, 28, .45);
  transition: background-color .4s, transform .5s var(--ease), opacity .4s var(--ease);
  will-change: transform;
}
.nav-wrap.is-hidden .nav { transform: translateY(-120%); opacity: 0; }
.brand img { width: 132px; height: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .78); transition: color .2s; }
.nav-links a:hover { color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Aurora (luz CMY) ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: .55; background: radial-gradient(circle, var(--glow) 0%, transparent 68%) !important; animation: drift 18s ease-in-out infinite alternate; will-change: transform; }
.aurora i:nth-child(1) { --glow: rgba(59, 164, 230, .9); left: -20vmax; top: -25vmax; }
.aurora i:nth-child(2) { --glow: rgba(229, 39, 106, .9); right: -22vmax; top: -10vmax; animation-delay: -6s; }
.aurora i:nth-child(3) { --glow: rgba(255, 210, 26, .8); left: 20%; bottom: -45vmax; opacity: .28; animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }

/* ---------- Hero ---------- */
.hero { --p: 0; --t: 1; --ty: 80vh; position: relative; height: 240vh; height: 240svh; background: var(--night); }
.hero-sticky { --mx: 0; --my: 0; --sx: 50%; --sy: 30%; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.spot { position: absolute; left: 0; top: 0; z-index: 1; width: 1040px; height: 1040px; margin: -520px 0 0 -520px; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .09), transparent 65%); transform: translate3d(var(--spx, 50vw), var(--spy, 30vh), 0); will-change: transform; }
.grain {
  position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

.hero-copy {
  position: relative; z-index: 4; will-change: transform, opacity;
  padding: calc(116px + 2vh) var(--gutter) 0;
  text-align: center;
  opacity: calc(1 - var(--p) * 2.6);
  transform: translateY(calc(var(--p) * var(--ty) * -1));
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--on-dark-2); margin-bottom: 24px; }
.rating { padding: 5px 12px; border-radius: 999px; background: rgba(255, 210, 26, .12); color: var(--y); font-weight: 600; border: 1px solid rgba(255, 210, 26, .28); box-shadow: 0 0 24px rgba(255, 210, 26, .18); }
.hero h1 { font-size: clamp(44px, 7.8vw, 112px); font-weight: 800; letter-spacing: -0.05em; line-height: .96; }
.hero h1 .line { display: block; }
.hero h1 .w { display: inline-block; }
.shimmer { background-image: linear-gradient(100deg, #5CC3FF 0%, #FF3D82 30%, #FFC21A 50%, #FF3D82 70%, #5CC3FF 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear 2; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero-sub { margin: 26px auto 0; max-width: 40ch; font-size: clamp(17px, 1.6vw, 21px); color: var(--on-dark-2); }
.hero-ctas { margin-top: 34px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* entrada */
.intro, .hero h1 .w { opacity: 0; transform: translateY(28px); filter: blur(12px); animation: intro 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero h1 .w.shimmer { animation: intro 1.1s var(--ease) forwards, shimmer 7s linear 1.6s 2; animation-delay: var(--d, 0s), 1.6s; }
.intro-up { opacity: 0; animation: introUp 1.6s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes intro { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes introUp { from { opacity: 0; transform: translateY(18vh); } to { opacity: 1; transform: none; } }

/* brilho no botão */
.btn-shine { overflow: hidden; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: translateX(-160%) skewX(-20deg); animation: shine 4.5s var(--ease) 2.2s infinite; will-change: transform;
}
@keyframes shine { 0% { transform: translateX(-160%) skewX(-20deg); } 30%, 100% { transform: translateX(330%) skewX(-20deg); } }

/* palco 3D */
.hero-scene { position: absolute; inset: 0; z-index: 3; perspective: 1600px; pointer-events: none; }
.hero-stage {
  --s0: .56; --tilt: 30deg;
  position: absolute; inset: 0;
  transform:
    translateY(calc((1 - var(--p)) * var(--ty)))
    rotateX(calc(var(--tilt) * var(--t)))
    scale(calc(var(--s0) + (1 - var(--s0)) * var(--p)));
  transform-origin: 50% 0%;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 -20px 120px rgba(0, 0, 0, .7), 0 30px 120px rgba(229, 39, 106, .22), 0 0 0 1px rgba(255, 255, 255, .1);
  will-change: transform;
  pointer-events: auto;
}
.hero-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.hero-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 8, 12, 0) 45%, rgba(8, 8, 12, .85));
  opacity: calc((var(--p) - .5) * 2);
}
.hero-reveal {
  position: absolute; left: 0; right: 0; bottom: 9vh; z-index: 2;
  display: grid; justify-items: center; gap: 16px; text-align: center; padding-inline: var(--gutter);
  opacity: calc((var(--p) - .68) * 3.2);
  transform: translateY(calc((1 - var(--p)) * 50px));
}
.hero-reveal strong { font-family: var(--display); font-size: clamp(32px, 4.8vw, 68px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; text-shadow: 0 6px 40px rgba(0, 0, 0, .5); }
.chip { display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; }

.scroll-hint {
  position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); white-space: nowrap;
  padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(8, 8, 12, .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: calc(1 - var(--p) * 5);
}
.scroll-hint span { width: 18px; height: 28px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 10px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(9px); } }

/* ---------- Prova ---------- */
.proof { background: var(--night); padding: 56px 0 64px; text-align: center; border-top: 1px solid rgba(255, 255, 255, .06); }
.proof p { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 26px; }
.marquee { overflow: hidden; -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 { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.brand-item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.02em; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.brand-item img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 8px 24px rgba(0, 0, 0, .45); }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------- Seções base ---------- */
.light { background: var(--snow); color: var(--text); }
.dark { background: var(--night); color: var(--on-dark); position: relative; }
.compare, .why, .services, .steps, .about { padding-block: clamp(96px, 13vw, 168px); }
.head { margin-bottom: clamp(44px, 6vw, 72px); }
.head.center { text-align: center; }
.head.center h2 { margin-inline: auto; }
.kicker {
  display: inline-block; font-size: 15px; font-weight: 600; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { font-size: clamp(36px, 5.4vw, 72px); max-width: 18ch; }
.sub { margin-top: 18px; font-size: clamp(17px, 1.5vw, 21px); color: var(--text-2); }

/* ---------- Comparação ---------- */
.ba {
  --pos: 50%;
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 5 / 3; background: #ccc;
  box-shadow: 0 30px 80px rgba(20, 20, 40, .18), 0 2px 8px rgba(20, 20, 40, .08);
  user-select: none; touch-action: pan-y;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.ba-photo { aspect-ratio: 4 / 5; margin: 0; }
.light .ba-tag-r { background: linear-gradient(180deg, #FF3D82, var(--m-deep)); color: #fff; border-color: rgba(255, 255, 255, .35); box-shadow: 0 8px 24px rgba(229, 39, 106, .4); }
.compare-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; max-width: 1040px; margin-inline: auto; }
.compare-grid .vs { margin-top: 0; grid-template-columns: 1fr; }
.ba-caption { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: #fff; background: rgba(8, 8, 12, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); white-space: nowrap; pointer-events: none; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-tag { position: absolute; top: 18px; z-index: 3; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.ba-tag-l { left: 18px; color: var(--text); }
.ba-tag-r { right: 18px; color: #fff; background: rgba(20, 20, 28, .72); border-color: rgba(255, 255, 255, .2); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 3; box-shadow: 0 0 20px rgba(255, 255, 255, .7); }
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .22);
}
.ba-handle .ico { width: 22px; height: 22px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible ~ .ba-handle span { outline: 2px solid var(--c); outline-offset: 3px; }

.vs { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs-col { padding: 30px 32px; border-radius: var(--radius); display: grid; gap: 14px; align-content: start; }
.vs-no { background: #EBEBEF; color: var(--text-2); }
.vs-yes { background: #fff; color: var(--text); box-shadow: 0 20px 50px rgba(229, 39, 106, .12), 0 0 0 1px rgba(229, 39, 106, .12); position: relative; overflow: hidden; }
.vs-yes::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.vs-title { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.vs-no .vs-title { color: var(--text); opacity: .55; }
.vs li:not(.vs-title) { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.mk { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.vs-no .mk { color: #A1A1A6; }

/* ---------- Por que ---------- */
.why { overflow: hidden; }
.glow-bg { position: absolute; inset: 0; background:
  radial-gradient(40% 50% at 15% 20%, rgba(59, 164, 230, .22), transparent 70%),
  radial-gradient(40% 50% at 85% 30%, rgba(229, 39, 106, .22), transparent 70%),
  radial-gradient(50% 50% at 50% 110%, rgba(255, 210, 26, .14), transparent 70%); }
.why .wrap { position: relative; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-card {
  padding: 30px 26px 32px; border-radius: var(--radius);
  /* vidro "pintado": sem backdrop-filter, que piscava sob o menu fixo ao rolar */
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 20px 50px rgba(0, 0, 0, .35);
  transition: opacity 1s var(--ease), transform 1s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.why-card:hover { border-color: rgba(255, 255, 255, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 61, 130, .25); }
.icon { width: 56px; height: 56px; color: #fff; margin-bottom: 30px; display: block; }
.why-card h3 { font-size: 22px; letter-spacing: -0.025em; }
.why-card p { margin-top: 10px; color: var(--on-dark-2); font-size: 16px; }
.why-card { display: flex; flex-direction: column; }
.why-tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 8px; }
.why-feature { background: linear-gradient(160deg, rgba(229, 39, 106, .3), rgba(59, 164, 230, .12) 60%, rgba(255, 255, 255, .04)); border-color: rgba(255, 255, 255, .24); }
.why-stat {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px;
  font-family: var(--display); font-weight: 800; font-size: 76px; line-height: .9; letter-spacing: -0.05em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.why-stat small { font-size: 22px; letter-spacing: -0.02em; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); background: #000; color: #fff;
  box-shadow: 0 20px 50px rgba(20, 20, 40, .12);
  isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -1; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .75)); }
.tile:hover img { transform: scale(1.06); }
.tile-xl { grid-column: span 2; grid-row: span 2; }
.tile-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; }
.tile h3 { font-size: 24px; letter-spacing: -0.025em; }
.tile-xl h3 { font-size: clamp(28px, 3vw, 40px); }
.tile p { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .8); max-width: 34ch; }
.tile-print { background: linear-gradient(160deg, #fff, #ECECF1); color: var(--text); grid-column: span 2; }
.tile-print::after { display: none; }
.tile-print p { color: var(--text-2); }
.print-art { position: absolute; right: 6%; top: 50%; width: min(46%, 300px); transform: translateY(-50%) rotate(-4deg); filter: drop-shadow(0 20px 30px rgba(20, 20, 40, .18)); transition: transform .8s var(--ease); }
.tile-print:hover .print-art { transform: translateY(-52%) rotate(0); }
.tile-print .tile-txt { right: 50%; }

/* ---------- Trabalhos (scroll horizontal) ---------- */
.works { --wp: 0; }
.works-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.works-head { width: 100%; margin-bottom: 40px; }
.works-track {
  display: flex; gap: 20px; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  width: max-content; will-change: transform;
}
.work {
  position: relative; flex: none; width: clamp(260px, 30vw, 400px); aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden; background: #1a1a22; text-align: left;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}
.work img, .work video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); display: block; }
.work-video::before { content: ""; position: absolute; top: 16px; right: 16px; z-index: 2; width: 10px; height: 10px; border-radius: 50%; background: #FF3D82; box-shadow: 0 0 0 4px rgba(255, 61, 130, .25); animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .35; } }
.work:hover img, .work:hover video { transform: scale(1.05); }
.work-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 18px; border-radius: 18px; display: grid; gap: 2px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.work-cap b { font-family: var(--display); font-size: 18px; color: #fff; letter-spacing: -0.02em; }
.work-end { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 32px; background: var(--grad); color: #0b0b10; }
.work-end span { font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.work-end b { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }

/* ---------- Passos ---------- */
.steps .wrap { position: relative; }
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; z-index: 1; }
.steps-row li { background: #fff; border-radius: var(--radius); padding: 32px 30px 36px; box-shadow: 0 20px 50px rgba(20, 20, 40, .08); }
.step-n {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font-family: var(--display); font-weight: 700; font-size: 20px; color: #fff; margin-bottom: 26px;
}
.steps-row li:nth-child(1) .step-n { background: var(--c); box-shadow: 0 10px 24px rgba(59, 164, 230, .4); }
.steps-row li:nth-child(2) .step-n { background: var(--m); box-shadow: 0 10px 24px rgba(229, 39, 106, .4); }
.steps-row li:nth-child(3) .step-n { background: var(--y); color: #1d1d1f; box-shadow: 0 10px 24px rgba(255, 210, 26, .5); }
.steps-row h3 { font-size: 24px; letter-spacing: -0.025em; }
.steps-row p { margin-top: 8px; color: var(--text-2); }
.steps-line { --sp: 0; height: 4px; border-radius: 4px; background: #E3E3E8; margin-top: 28px; overflow: hidden; }
.steps-line i { display: block; height: 100%; width: 100%; background: var(--grad); border-radius: 4px; transform: scaleX(var(--sp)); transform-origin: 0 50%; will-change: transform; }

/* ---------- Sobre ---------- */
.about { padding-top: 0; overflow-x: clip; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-visual { position: relative; aspect-ratio: 1; border-radius: 40px; overflow: hidden; background: #0E0E14; box-shadow: 0 40px 100px rgba(20, 20, 40, .25); }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); }
.o1 { width: 60%; height: 60%; left: -10%; top: -5%; background: var(--c); opacity: .7; }
.o2 { width: 55%; height: 55%; right: -12%; top: 20%; background: var(--m); opacity: .75; }
.o3 { width: 50%; height: 50%; left: 20%; bottom: -18%; background: var(--y); opacity: .55; }
.about-visual { overflow: visible; background: none; box-shadow: none; aspect-ratio: 4 / 5; }
.about-visual .orb { opacity: .45; filter: blur(70px); }
.about-photo { position: absolute; inset: 0; border-radius: 40px; overflow: hidden; box-shadow: 0 40px 100px rgba(20, 20, 40, .28); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; left: 18px; right: auto; bottom: 18px;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, .72) !important; color: var(--text);
}
.about-badge img { width: 36px; height: 36px; object-fit: contain; padding: 4px; }
.about-badge span { display: grid; font-size: 13px; color: var(--text-2); line-height: 1.3; }
.about-badge b { font-family: var(--display); font-size: 15px; color: var(--text); }
.about-copy h2 { font-size: clamp(34px, 4.4vw, 58px); }
.about-copy > p:not(.kicker) { margin-top: 20px; font-size: 18px; color: var(--text-2); max-width: 46ch; }
.about-facts { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid #DCDCE1; padding-top: 26px; }
.about-facts dt { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-facts dd { margin-top: 8px; font-size: 14px; color: var(--text-2); line-height: 1.35; }

/* ---------- CTA final ---------- */
.final { position: relative; overflow: hidden; background: var(--night); padding-block: clamp(110px, 15vw, 190px); text-align: center; }
.final .aurora i { opacity: .38; }
.final-inner { position: relative; display: grid; justify-items: center; }
.final h2 { font-size: clamp(42px, 7vw, 96px); font-weight: 800; letter-spacing: -0.045em; max-width: none; line-height: .98; }
.final-inner > p { margin-top: 22px; font-size: clamp(17px, 1.6vw, 21px); color: var(--on-dark-2); max-width: 38ch; }
.final .btn-lg { margin-top: 38px; }
.contact { margin-top: 64px; width: 100%; max-width: 920px; border-radius: var(--radius); padding: 26px 30px; display: grid; grid-template-columns: .8fr 1.6fr .9fr; gap: 24px; text-align: left; }
.contact span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-2); margin-bottom: 6px; }
.contact a, .contact p { font-size: 15px; font-weight: 500; }
.contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--on-dark-2); font-size: 14px; }
.footer-inner { display: flex; align-items: center; gap: 28px; padding-block: 30px; border-top: 1px solid rgba(255, 255, 255, .08); flex-wrap: wrap; }
.footer-inner p { margin-left: auto; }
.footer-inner a:hover { color: #fff; }
.cmyk { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; }
.cmyk i:nth-child(1) { background: var(--c); } .cmyk i:nth-child(2) { background: var(--m); } .cmyk i:nth-child(3) { background: var(--y); } .cmyk i:nth-child(4) { background: #000; }

/* ---------- WhatsApp flutuante ---------- */
.wa-fab {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 70;
  display: block; border-radius: 50%;
  animation: fabIn .8s var(--ease) 1.4s both;
}
.wa-icon {
  position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  color: #fff; background: linear-gradient(180deg, #3BE37A, #1FB457);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 32px rgba(31, 180, 87, .45), 0 2px 8px rgba(0, 0, 0, .25);
  transition: transform .35s var(--ease);
}
.wa-icon svg { width: 30px; height: 30px; }
.wa-icon::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #3BE37A;
  animation: fabPulse 2.6s ease-out infinite;
}
.wa-label {
  position: absolute; right: calc(100% + 12px); top: 50%; translate: 0 -50%; padding: 10px 16px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--text); white-space: nowrap;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  opacity: 0; transform: translateX(10px); transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.wa-fab:hover .wa-icon { transform: scale(1.07); }
.wa-fab:hover .wa-label, .wa-fab:focus-visible .wa-label { opacity: 1; transform: none; }
@keyframes fabIn { from { opacity: 0; transform: translateY(30px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 8, 12, .92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lightbox img { max-height: calc(100svh - 130px); max-width: 100%; width: auto; border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox figcaption { display: flex; gap: 14px; align-items: baseline; color: #fff; }
.lightbox figcaption span { font-size: 13px; color: var(--on-dark-2); }
.lb-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; color: #fff; }
.lb-nav { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; justify-self: center; }

/* ---------- Revelação ---------- */
.reveal { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.why-grid .reveal:nth-child(2), .bento .reveal:nth-child(2), .steps-row .reveal:nth-child(2) { transition-delay: .08s; }
.why-grid .reveal:nth-child(3), .bento .reveal:nth-child(3), .steps-row .reveal:nth-child(3) { transition-delay: .16s; }
.why-grid .reveal:nth-child(4), .bento .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .intro, .intro-up, .hero h1 .w { opacity: 1; transform: none; filter: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
  .tile-xl { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 820px) {
  .nav { gap: 12px; padding-left: 18px; }
  .nav-links {
    position: fixed; top: 84px; left: 14px; right: 14px; margin: 0;
    flex-direction: column; gap: 0; padding: 10px 22px; border-radius: 26px;
    background: rgba(20, 20, 28, .82); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .14);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav > .btn { margin-left: auto; }
  .menu-btn { display: block; }

  .hero { height: 210vh; height: 210svh; }
  .hero-stage { --s0: .84; --tilt: 22deg; }
  .hero-stage img { object-position: 66% 30%; }
  .hero-copy { padding-top: 112px; }
  .eyebrow { flex-direction: column; gap: 8px; }

  .vs { grid-template-columns: 1fr; }
  .ba { aspect-ratio: 4 / 3.4; }
  .ba-photo { aspect-ratio: 4 / 5; }
  .compare-grid { grid-template-columns: 1fr; }
  .ba-caption { white-space: normal; text-align: center; width: calc(100% - 32px); }
  .ba-img { object-fit: cover; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { aspect-ratio: 4 / 3; width: 100%; }
  .contact { grid-template-columns: 1fr; gap: 16px; }
  .wa-icon { width: 56px; height: 56px; }
  .scroll-hint { display: none; }
  .wa-icon svg { width: 28px; height: 28px; }
}

@media (max-width: 760px) {
  /* trabalhos: rolagem horizontal nativa no celular */
  .works { height: auto !important; padding-block: 96px; }
  .works-sticky { position: static; height: auto; }
  .works-track { width: auto; transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: none; }
  .works-track::-webkit-scrollbar { display: none; }
  .work { width: 78vw; scroll-snap-align: center; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .btn { height: 52px; }
  .hero-ctas { flex-direction: column; align-items: stretch; padding-inline: 8px; }
  .why-grid, .steps-row { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .tile-xl, .tile-print { grid-column: auto; }
  .tile-print .tile-txt { right: 0; }
  .print-art { top: 34%; right: 50%; transform: translate(50%, -50%) rotate(-4deg); width: 52%; }
  .tile-print:hover .print-art { transform: translate(50%, -52%); }
  .vs-col { padding: 24px; }
  .about-facts dt { font-size: 32px; }
  .final .btn-lg { width: 100%; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 100px; }
  .lb-nav { position: absolute; bottom: 28px; }
  .lb-prev { left: calc(50% - 70px); } .lb-next { right: calc(50% - 70px); }
}

.why h2 { max-width: 22ch; }

/* telas baixas: topo mais compacto para caber título, botões e o início da foto */
@media (max-height: 820px) and (min-width: 821px) {
  .hero-copy { padding-top: 96px; }
  .hero h1 { font-size: clamp(40px, 6.2vw, 84px); }
  .eyebrow { margin-bottom: 16px; }
  .hero-sub { margin-top: 16px; font-size: 17px; }
  .hero-ctas { margin-top: 22px; }
}
@media (max-height: 620px) and (min-width: 821px) {
  .hero-copy { padding-top: 84px; }
  .hero h1 { font-size: clamp(36px, 5vw, 64px); }
  .hero-sub { display: none; }
  .scroll-hint { display: none; }
}

/* entrada + hover dos cards de "Por que a M4" sem conflito */
.why-card.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }

/* mesmo cuidado nos outros vidros que passam sob o menu fixo */
.work-cap.glass {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: linear-gradient(180deg, rgba(20, 20, 28, .62), rgba(12, 12, 18, .78));
  border-color: rgba(255, 255, 255, .16);
}
.contact.glass {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
}

/* animações contínuas param quando a seção sai da tela */
.is-paused .aurora i, .is-paused .shimmer, .is-paused .marquee-track, .is-paused .btn-shine::after { animation-play-state: paused !important; }

/* ---------- Celular: animações mais leves e suaves ---------- */
@media (max-width: 820px), (pointer: coarse) {
  /* menos desfoque e sombras mais baratas */
  .nav, .btn-glass, .nav-links, .ba-tag, .chip, .about-badge { -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); }
  .hero-stage { box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); }
  .grain, .spot { display: none; }
  .aurora i { width: 90vmax; height: 90vmax; animation-duration: 26s; }
  .aurora i:nth-child(3) { display: none; }
  .tile, .work, .vs-yes, .steps-row li { box-shadow: 0 12px 30px rgba(20, 20, 40, .14); }
  .work { box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }

  /* entradas curtas, sem escala, com curva suave */
  .reveal { transform: translateY(22px); transition: opacity .7s cubic-bezier(.25, .8, .25, 1), transform .7s cubic-bezier(.25, .8, .25, 1); }
  .why-card.reveal { transition: opacity .7s cubic-bezier(.25, .8, .25, 1), transform .7s cubic-bezier(.25, .8, .25, 1); }
  .why-grid .reveal:nth-child(n), .bento .reveal:nth-child(n), .steps-row .reveal:nth-child(n) { transition-delay: 0s; }
  .intro, .hero h1 .w { transform: translateY(16px); filter: none; animation-duration: .8s; }
  .hero h1 .w.shimmer { animation-duration: .8s, 7s; }

  /* hover não existe no toque: evita "zoom" preso ao tocar */
  .tile:hover img, .work:hover img, .work:hover video { transform: none; }
}

/* ---------- Menu compacto e equilibrado no celular ---------- */
.cta-short { display: none; }
@media (max-width: 820px) {
  .nav-wrap { top: 10px; padding-inline: 10px; }
  .nav { height: 54px; padding: 0 6px 0 16px; gap: 8px; }
  .brand img { width: 116px; }
  .nav > .btn-sm { height: 36px; padding: 0 14px; font-size: 13px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 16px rgba(229, 39, 106, .35); }
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .menu-btn { width: 40px; height: 40px; }
  .menu-btn span { left: 11px; right: 11px; }
  .menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 23px; }
  .menu-btn[aria-expanded="true"] span:first-child, .menu-btn[aria-expanded="true"] span:last-child { top: 19.5px; }
  .nav-links { top: 74px; left: 10px; right: 10px; background: #121219; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
}

/* rolagem suave (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* vidros dentro do hero em movimento: pintados, sem recalcular desfoque a cada quadro */
.hero .btn-glass, .hero-reveal .chip {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .07));
}
.hero-reveal .chip { background: rgba(12, 12, 18, .55); border: 1px solid rgba(255, 255, 255, .18); }

/* ---------- Dica de deslizar na galeria (celular) ---------- */
.swipe-hint { display: none; }
@media (max-width: 760px) {
  .swipe-hint {
    display: inline-flex; align-items: center; gap: 8px; align-self: center;
    margin: 6px auto 0; padding: 8px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
  }
  .works-sticky { align-items: stretch; }
  .swipe-hint .ico { width: 16px; height: 16px; animation: nudge 1.4s ease-in-out infinite; }
  .swipe-hint.is-done { opacity: 0; transform: translateY(6px); pointer-events: none; }
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
