/* ===== Tokens (idênticos ao original) ===== */
:root {
  --background: oklch(97.5% .004 80);
  --foreground: oklch(18% .01 260);
  --card: oklch(100% 0 0);
  --primary: oklch(18% .012 260);
  --primary-foreground: oklch(97.5% .004 80);
  --secondary: oklch(93% .006 80);
  --muted-foreground: oklch(48% .01 260);
  --accent: oklch(60% .15 40);
  --accent-strong: oklch(54% .16 38);
  --accent-foreground: oklch(98% .005 80);
  --border: oklch(88% .006 80);
  --ink: oklch(14% .01 260);
  --ink-foreground: oklch(96% .004 80);
  --gradient-hero: linear-gradient(180deg, oklch(14% .01 260/.35) 0%, oklch(14% .01 260/.85) 100%);
  --font-sans: "Manrope", sans-serif;
  --font-display: "Archivo", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading, body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); }
::selection { background: var(--accent); color: var(--accent-foreground); }

.container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

.i { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i-sm { width: 1rem; height: 1rem; }
.i-md { width: 1.5rem; height: 1.5rem; }

/* ===== Preloader ===== */
.preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; pointer-events: none; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transition: transform 1s var(--ease-in-out); }
.preloader__panel--a { top: 0; }
.preloader__panel--b { bottom: 0; }
.preloader__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; transition: opacity .4s ease, transform .6s var(--ease); }
.preloader__brand { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 6vw, 3.5rem); letter-spacing: -.02em; color: var(--ink-foreground); overflow: hidden; display: inline-block; animation: preBrand 1s var(--ease) both; }
.preloader__bar { width: 10rem; height: 2px; background: oklch(96% .004 80 / .15); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; animation: preBar 1.1s var(--ease-in-out) .2s both; }
body.is-ready .preloader__inner { opacity: 0; transform: translateY(-20px); }
body.is-ready .preloader__panel--a { transform: translateY(-100%); transition-delay: .25s; }
body.is-ready .preloader__panel--b { transform: translateY(100%); transition-delay: .25s; }
body.is-done .preloader { display: none; }
@keyframes preBrand { from { clip-path: inset(0 100% 0 0); transform: translateY(10px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes preBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ===== Scroll progress ===== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ===== Header ===== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 1rem 0; transition: padding .5s var(--ease), background-color .5s ease, box-shadow .5s ease, transform .5s var(--ease); }
.header.is-scrolled { padding: .5rem 0; background: oklch(97.5% .004 80 / .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border); }
.header.is-hidden { transform: translateY(-110%); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header__logo { display: flex; align-items: center; background: var(--background); padding: .25rem .5rem; border-radius: .125rem; transition: transform .4s var(--ease); }
.header__logo:hover { transform: scale(1.04) rotate(-1deg); }
.header__logo img { height: 3rem; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.header__nav { display: none; gap: 2rem; font-size: .875rem; font-weight: 500; color: var(--ink-foreground); transition: color .5s ease; }
.header.is-scrolled .header__nav { color: var(--foreground); }
.header__nav a { position: relative; padding: .25rem 0; transition: color .3s ease; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.header__nav a:hover, .header__nav a.is-active { color: var(--accent); }
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header .header__cta { display: none; }
.header__burger { position: relative; width: 2rem; height: 2rem; color: var(--ink-foreground); z-index: 70; }
.header.is-scrolled .header__burger { color: var(--foreground); }
body.menu-open .header__burger { color: var(--ink-foreground); }
.header__burger span { position: absolute; left: 4px; right: 4px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s ease, top .45s var(--ease); }
.header__burger span:nth-child(1) { top: 9px; }
.header__burger span:nth-child(2) { top: 15px; }
.header__burger span:nth-child(3) { top: 21px; }
body.menu-open .header__burger span:nth-child(1) { top: 15px; transform: rotate(45deg); }
body.menu-open .header__burger span:nth-child(2) { opacity: 0; transform: translateX(10px); }
body.menu-open .header__burger span:nth-child(3) { top: 15px; transform: rotate(-45deg); }
body.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }

@media (min-width: 768px) {
  .header__logo img { height: 3.5rem; }
  .header__nav { display: flex; }
  .header .header__cta { display: inline-flex; }
  .header__burger { display: none; }
}

/* ===== Mobile menu ===== */
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--ink-foreground); display: flex; flex-direction: column; justify-content: center; padding: 6rem 1.5rem 2rem; clip-path: circle(0% at calc(100% - 2.5rem) 2.5rem); transition: clip-path .8s var(--ease-in-out); visibility: hidden; }
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 2.5rem) 2.5rem); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .5rem; }
.mobile-menu nav a { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; line-height: 1.15; display: flex; align-items: baseline; gap: 1rem; opacity: 0; transform: translateY(30px); transition: opacity .5s ease, transform .6s var(--ease), color .3s; }
.mobile-menu nav a small { font-size: .75rem; color: var(--accent); font-family: var(--font-sans); letter-spacing: .2em; }
.mobile-menu nav a:hover { color: var(--accent); }
body.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
body.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .25s; }
body.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .32s; }
body.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .39s; }
body.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .46s; }
body.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .53s; }
.mobile-menu__cta { margin-top: 2.5rem; align-self: flex-start; opacity: 0; transform: translateY(20px); transition: opacity .5s ease .6s, transform .6s var(--ease) .6s; }
body.menu-open .mobile-menu__cta { opacity: 1; transform: none; }

/* ===== Buttons ===== */
.btn { position: relative; display: inline-flex; align-items: center; gap: .75rem; font-weight: 600; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), background-color .4s ease, color .4s ease, box-shadow .4s ease; will-change: transform; }
.btn--sm { gap: .5rem; padding: .75rem 1.25rem; font-size: .875rem; }
.btn--lg { padding: 1rem 2rem; }
.btn--accent { background: var(--accent); color: var(--accent-foreground); }
.btn--accent:hover { box-shadow: 0 18px 40px -16px oklch(60% .15 40 / .7); }
.btn--ink { background: var(--ink); color: var(--ink-foreground); }
.btn--ink:hover { box-shadow: 0 18px 40px -16px oklch(14% .01 260 / .7); }
.btn--ghost { border: 1px solid oklch(96% .004 80 / .4); color: var(--ink-foreground); gap: .5rem; }
.btn--outline-light { border: 1px solid oklch(98% .005 80 / .5); color: var(--accent-foreground); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translate(4px, -4px); }
/* fill sweep */
.btn--fill::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink-foreground); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.btn--fill:hover { color: var(--ink); }
.btn--fill:hover::before { transform: scaleY(1); }
.btn--fill-light::before { background: var(--accent-foreground); }
.btn--fill-light:hover { color: var(--accent); }
/* shine */
.btn--shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, oklch(100% 0 0 / .35), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out 2.5s infinite; pointer-events: none; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--accent); position: relative; align-self: flex-start; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 1.5rem; bottom: -3px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px) rotate(45deg); }

/* ===== Typography helpers ===== */
.eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .3em; color: var(--accent); }
.eyebrow--sm { margin-bottom: .75rem; }
.eyebrow__line { width: 2.5rem; height: 1px; background: var(--accent); transform-origin: left; animation: lineGrow 1s var(--ease) both; animation-delay: inherit; }
@keyframes lineGrow { from { transform: scaleX(0); } }
.h2 { font-size: 2.25rem; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.h2--narrow { max-width: 42rem; }
.h3 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.lead { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.75; color: var(--muted-foreground); }
.lead--tight { margin-top: 1rem; }
.muted { margin-top: .75rem; max-width: 42rem; color: var(--muted-foreground); }
@media (min-width: 768px) {
  .h2 { font-size: 3rem; line-height: 1.1; }
  .h3 { font-size: 2.25rem; }
}

/* ===== Hero ===== */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--ink); color: var(--ink-foreground); }
.hero__media { position: absolute; inset: -8% 0 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
body.is-ready .hero__media img { animation: kenburns 9s var(--ease) forwards, drift 22s ease-in-out 9s infinite alternate; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06) translate(-1%, -1%); } }
.hero__overlay { position: absolute; inset: 0; background: var(--gradient-hero); }
.hero__glow { position: absolute; width: 60vmax; height: 60vmax; right: -20vmax; bottom: -30vmax; border-radius: 50%; background: radial-gradient(circle, oklch(60% .15 40 / .28), transparent 60%); filter: blur(20px); animation: glow 10s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { to { transform: translate(-10vmax, -6vmax) scale(1.15); opacity: .7; } }
.hero__content { position: relative; padding-top: 10rem; padding-bottom: 5rem; }
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero__title { max-width: 56rem; font-size: 3rem; line-height: .95; font-weight: 800; letter-spacing: -.02em; }
.hero__lead { margin-top: 2rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.75; color: oklch(96% .004 80 / .8); }
.hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
@media (min-width: 768px) { .hero__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 6rem; } }

.anim-hero { opacity: 0; transform: translateY(40px); }
body.is-ready .anim-hero { animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d, 0s) + .5s); }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* split words */
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .word > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; }
body.is-ready .hero__title .word > span { animation: wordUp 1.1s var(--ease) forwards; animation-delay: calc(.75s + var(--i) * 70ms); }
.split.is-visible .word > span { animation: wordUp 1s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms); }
@keyframes wordUp { to { transform: none; } }
.hero__title .accent-word > span { color: var(--accent); }

.hero__scroll { position: absolute; right: 1.5rem; bottom: 2rem; display: none; flex-direction: column; align-items: center; gap: .75rem; font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: oklch(96% .004 80 / .7); }
.hero__scroll-text { writing-mode: vertical-rl; }
.hero__scroll-line { width: 1px; height: 4rem; background: oklch(96% .004 80 / .2); overflow: hidden; }
.hero__scroll-line span { display: block; width: 100%; height: 40%; background: var(--accent); animation: scrollLine 2s var(--ease-in-out) infinite; }
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(250%); } }
@media (min-width: 768px) { .hero__scroll { display: flex; right: 2.5rem; } }

/* ===== Marquee ===== */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--primary); color: var(--primary-foreground); padding: 1.25rem 0; }
.marquee__track { display: flex; width: max-content; gap: 3rem; white-space: nowrap; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > span { display: flex; align-items: center; gap: 3rem; transition: color .3s; }
.marquee__track > span:hover { color: var(--accent); }
.marquee__track i { font-style: normal; color: var(--accent); display: inline-block; animation: spin 6s linear infinite; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.5rem)); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
/* clip-path vai no filho: no próprio alvo, o IntersectionObserver nunca detectaria */
.reveal--clip { opacity: 1; transform: none; }
.reveal--clip > :first-child { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.reveal--clip img { transform: scale(1.3); transition: transform 1.8s var(--ease); }
.reveal--clip.is-visible > :first-child { clip-path: inset(0 0 0 0); }
.reveal--clip.is-visible img { transform: scale(1); }

/* ===== Sobre ===== */
.about { display: grid; gap: 4rem; padding-top: 7rem; padding-bottom: 7rem; }
.about__media { position: relative; overflow: visible; }
.about__img-wrap { overflow: hidden; aspect-ratio: 4 / 5; }
.about__img-wrap img { width: 100%; height: 115%; object-fit: cover; }
.about__badge { position: absolute; right: -1rem; bottom: -2rem; width: 8rem; height: 8rem; border-radius: 50%; background: var(--accent); color: var(--accent-foreground); display: grid; place-items: center; box-shadow: 0 20px 40px -20px oklch(60% .15 40 / .8); opacity: 0; transform: scale(.4) rotate(-90deg); transition: opacity .6s ease 1s, transform 1s var(--ease) 1s; }
.about__media.is-visible .about__badge { opacity: 1; transform: none; }
.about__badge > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.about__badge text { font-family: var(--font-sans); font-size: 9.5px; font-weight: 600; letter-spacing: 2.2px; fill: currentColor; }
.about__badge-icon { width: 1.75rem; height: 1.75rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 768px) {
  .about { grid-template-columns: 1fr 1fr; align-items: center; }
  .about__badge { right: -2.5rem; width: 9rem; height: 9rem; }
}

.stat { position: relative; margin-top: 2.5rem; display: flex; align-items: center; gap: 1.5rem; border-block: 1px solid var(--border); padding: 1.5rem 0; }
.stat__num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; min-width: 5.5ch; }
.stat__label { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--muted-foreground); }
.stat__bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; overflow: hidden; }
.stat__bar span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease-in-out) .4s; }
.stat.is-visible .stat__bar span { transform: scaleX(1); }

.pillars { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar svg { margin-bottom: .5rem; color: var(--accent); transition: transform .5s var(--ease); }
.pillar p { font-weight: 600; }
.pillar:hover svg { transform: translateY(-4px) rotate(-8deg) scale(1.15); }
.pillar.is-visible svg { animation: pop .7s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 200ms); }
@keyframes pop { from { transform: scale(0) rotate(-45deg); } 60% { transform: scale(1.2); } to { transform: none; } }

/* ===== Obras ===== */
.works { border-block: 1px solid var(--border); background: oklch(93% .006 80 / .5); padding: 7rem 0; }
.section-head { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; }
.section-head--lg { margin-bottom: 4rem; }
@media (min-width: 768px) { .section-head { flex-direction: row; align-items: flex-end; } .section-head .link-arrow { align-self: auto; } }
.works__group { margin-top: 5rem; }
.works__head { display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); position: relative; }
.works__head::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-in-out) .3s; }
.works__head.is-visible::after { transform: scaleX(1); }
@media (min-width: 768px) { .works__head { flex-direction: row; align-items: flex-end; } }
.chip { flex-shrink: 0; align-self: flex-start; border: 1px solid var(--border); padding: .5rem 1rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--muted-foreground); }
@media (min-width: 768px) { .chip { align-self: auto; } }

.grid-cards { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--card); transform-style: preserve-3d; transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms), box-shadow .5s ease; }
.card:hover { box-shadow: 0 30px 60px -30px oklch(18% .01 260 / .35); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(14% .01 260 / .45), transparent 55%); opacity: 0; transition: opacity .5s ease; }
.card:hover .card__media::after { opacity: 1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.card.is-visible .card__media img { transform: scale(1); }
.card:hover .card__media img { transform: scale(1.07); transition-duration: .9s; }
.tag { position: absolute; left: 1rem; top: 1rem; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; background: oklch(14% .01 260 / .85); padding: .375rem .75rem; font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--ink-foreground); backdrop-filter: blur(4px); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: oklch(72% .17 150); }
.tag--live::before { background: var(--accent); animation: livePulse 1.6s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 oklch(60% .15 40 / .8); } 100% { box-shadow: 0 0 0 8px oklch(60% .15 40 / 0); } }
.card figcaption { flex: 1; display: flex; flex-direction: column; border: 1px solid var(--border); border-top: 0; padding: 1.25rem; position: relative; }
.card figcaption::before { content: ""; position: absolute; left: -1px; right: -1px; top: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover figcaption::before { transform: scaleX(1); }
.card h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.375; transition: color .3s; }
.card:hover h3 { color: var(--accent); }
.card figcaption p { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); }

/* ===== Serviços ===== */
.services { position: relative; overflow: hidden; background: var(--ink); color: var(--ink-foreground); padding: 7rem 0; }
.services__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(oklch(96% .004 80 / .04) 1px, transparent 1px), linear-gradient(90deg, oklch(96% .004 80 / .04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 70%); animation: gridMove 20s linear infinite; pointer-events: none; }
@keyframes gridMove { to { background-position: 64px 64px; } }
.services .container { position: relative; }
.services__grid { display: grid; gap: 1px; background: oklch(96% .004 80 / .1); }
@media (min-width: 768px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }
.service { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); padding: 2rem; min-height: 18rem; }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); clip-path: circle(0% at var(--mx, 50%) var(--my, 100%)); transition: clip-path .7s var(--ease-in-out); }
.service:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 100%)); }
.service__icon { width: 2.5rem; height: 2.5rem; margin-bottom: 2.5rem; color: var(--accent); transition: color .4s, transform .6s var(--ease); stroke-width: 1.75; }
.service.is-visible .service__icon path, .service.is-visible .service__icon line, .service.is-visible .service__icon rect { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.8s var(--ease-in-out) forwards; animation-delay: calc(var(--d, 0ms) + 300ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.service:hover .service__icon { color: var(--accent-foreground); transform: translateY(-6px) scale(1.08); }
.service h3 { margin-bottom: .75rem; font-size: 1.25rem; font-weight: 700; }
.service p { color: oklch(96% .004 80 / .7); transition: color .4s; }
.service:hover p { color: oklch(98% .005 80 / .9); }
.service__num { position: absolute; right: 1.5rem; top: 1.5rem; font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .2em; color: oklch(96% .004 80 / .25); transition: color .4s, transform .5s var(--ease); }
.service:hover .service__num { color: var(--accent-foreground); transform: translateY(-3px); }

/* ===== Processo ===== */
.process { display: grid; gap: 4rem; padding-top: 7rem; padding-bottom: 7rem; }
@media (min-width: 1024px) { .process { grid-template-columns: 1fr 1.2fr; } }
.process__media { position: relative; overflow: hidden; min-height: 24rem; }
.process__img-wrap { position: absolute; inset: -8% 0; }
.process__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.process__media:hover img { transform: scale(1.05); }
.process__title { margin-bottom: 3rem; }
.steps { position: relative; display: flex; flex-direction: column; gap: .5rem; }
.steps__line { position: absolute; left: 1.2rem; top: 1.5rem; bottom: 1.5rem; width: 1px; background: var(--border); display: none; }
.steps__line span { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(var(--sp, 0)); }
.step { position: relative; display: flex; gap: 2rem; border-bottom: 1px solid var(--border); padding: 1.5rem 0; transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms), padding-left .45s var(--ease); }
.step::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.step:hover { padding-left: 1rem; }
.step:hover::before { transform: scaleX(1); }
.step__num { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; line-height: 1.1; color: var(--accent); transition: transform .5s var(--ease); }
.step:hover .step__num { transform: scale(1.15) rotate(-6deg); }
.step h3 { font-size: 1.25rem; font-weight: 700; }
.step p { color: var(--muted-foreground); }

/* ===== Contato ===== */
.contact { position: relative; overflow: hidden; isolation: isolate; background: var(--accent); color: var(--accent-foreground); padding: 7rem 0; }
.contact__blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.contact__blob--a { width: 32rem; height: 32rem; left: -10rem; top: -12rem; background: oklch(70% .16 50 / .7); animation: blobA 14s ease-in-out infinite alternate; }
.contact__blob--b { width: 28rem; height: 28rem; right: -8rem; bottom: -14rem; background: oklch(45% .14 35 / .6); animation: blobB 16s ease-in-out infinite alternate; }
@keyframes blobA { to { transform: translate(12rem, 6rem) scale(1.2); } }
@keyframes blobB { to { transform: translate(-14rem, -4rem) scale(1.15); } }
.contact__inner { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.contact__title { font-size: 2.25rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
@media (min-width: 768px) { .contact__title { font-size: 3.75rem; line-height: 1; } }
.contact__lead { margin: 1.5rem auto 0; max-width: 36rem; font-size: 1.125rem; line-height: 1.75; color: oklch(98% .005 80 / .85); }
.contact__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: oklch(96% .004 80 / .6); padding: 2.5rem 0; }
.footer__row { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; font-size: .875rem; text-align: center; }
@media (min-width: 768px) { .footer__row { flex-direction: row; text-align: left; } }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { transition: color .3s; }
.footer__links a:hover { color: var(--accent); }

/* ===== WhatsApp FAB ===== */
.fab { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 50; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--accent); color: var(--accent-foreground); display: grid; place-items: center; box-shadow: 0 10px 25px -5px oklch(0% 0 0 / .3); transition: transform .4s var(--ease); opacity: 0; transform: scale(0); }
body.is-ready .fab { animation: fabIn .7s var(--ease) 1.8s forwards; }
@keyframes fabIn { from { opacity: 0; transform: scale(0) rotate(-90deg); } to { opacity: 1; transform: none; } }
.fab::before, .fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2.4s ease-out infinite; }
.fab::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
.fab:hover { transform: scale(1.1); }
.fab svg { animation: wiggle 5s ease-in-out 3s infinite; }
@keyframes wiggle { 0%, 88%, 100% { transform: rotate(0); } 90% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 94% { transform: rotate(-8deg); } 96% { transform: rotate(4deg); } }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .reveal, .anim-hero, .split .word > span, .reveal--clip > :first-child { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .fab { opacity: 1; transform: none; }
}
