:root {
  --bg: #1f1d1e;
  --bg-2: #2b292a;
  --bg-3: #3a3a3a;
  --line: rgba(255, 255, 255, .12);
  --text: #f4f4f2;
  --muted: #b9b6b4;
  --lime: #a4cc39;
  --lime-ink: #16210a;
  --cyan: #00aeef;
  --magenta: #ec008c;
  --yellow: #fff200;
  --cmyk: linear-gradient(90deg, #00aeef 0%, #8c7fc0 22%, #ec008c 40%, #f7976a 58%, #fff200 75%, #231f20 100%);
  --radius: 14px;
  --head: "Josefin Sans", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  --gutter: 16px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.eyebrow {
  font: 600 .8rem/1 var(--head);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.1rem;
}
@media (max-width: 480px) { .eyebrow { letter-spacing: .16em; font-size: .72rem; } }
.eyebrow::before { content: ""; width: 34px; height: 4px; background: var(--cmyk); }

.cmyk-bar { height: 6px; background: var(--cmyk); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: 0 1.6rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 .95rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn--lime { background: var(--lime); color: var(--lime-ink); }
.btn--lime:hover { background: #b6dd4a; }
.btn--ghost { border-color: rgba(255,255,255,.4); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--small { min-height: 42px; padding: 0 1.1rem; font-size: .82rem; }

/* Logo */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo__img { display: block; height: 60px; width: auto; }
@media (min-width: 1024px) { :root { --header-h: 96px; } .logo__img { height: 80px; } }
@media (max-width: 400px) { .logo__img { height: 54px; } }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.header.is-scrolled { background: rgba(31, 29, 30, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) {
  font: 600 .85rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); transition: color .2s;
}
.nav a:not(.btn):hover { color: var(--text); }

.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { height: 2px; background: var(--text); transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: .5rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin-top: 1.25rem; min-height: 50px; }
  .header:has(.nav.is-open) { background: var(--bg); }
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 0;
  background:
    radial-gradient(60% 60% at 85% 30%, rgba(236, 0, 140, .16), transparent 70%),
    radial-gradient(50% 50% at 70% 85%, rgba(0, 174, 239, .14), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero__grid { display: grid; gap: 48px; align-items: center; padding-bottom: 72px; }
.hero > .cmyk-bar { position: absolute; left: 0; right: 0; bottom: 0; }
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
}
.hl {
  background: var(--cmyk); background-size: 140% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__collage { position: relative; aspect-ratio: 1 / .82; }
.hero__collage img {
  position: absolute; height: auto; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .5); border: 4px solid #fff;
}
.hero__collage .c1 { width: 64%; aspect-ratio: 3 / 2; left: 0; top: 10%; z-index: 2; transform: rotate(-3deg); }
.hero__collage .c2 { width: 46%; aspect-ratio: 3 / 2; right: 0; top: 0; z-index: 1; transform: rotate(4deg); }
.hero__collage .c3 { width: 54%; aspect-ratio: 2 / 1; right: 0; bottom: 10%; z-index: 3; transform: rotate(-2deg); }
.hero__collage .c4 { width: 40%; aspect-ratio: 3 / 2; left: 8%; bottom: 0; z-index: 2; transform: rotate(3deg); }

@media (min-width: 960px) {
  .hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; }
}

/* Seções */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 46rem; margin-bottom: 48px; }
.section__head--center { margin-inline: auto; text-align: center; }

/* Sobre */
.about { display: grid; gap: 48px; }
.about__text h2 { margin-bottom: 1.5rem; }
.about__text p { color: var(--muted); }
.features { display: grid; gap: 16px; }
.feature {
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.3); }
.feature__n { font: 700 .85rem/1 var(--head); letter-spacing: .15em; color: var(--lime); }
.feature h3 { margin: .9rem 0 .5rem; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .about { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; } }

/* Missão / visão / valores */
.mvv { display: grid; gap: 40px; }
.mvv__item h3 {
  font-size: 1rem; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 1rem;
  padding-bottom: 1rem; position: relative;
}
.mvv__item h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; background: var(--cmyk); }
.mvv__item p { font-size: 1.15rem; margin: 0; }
.ticks li { padding-left: 1.5rem; position: relative; margin-bottom: .45rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--lime); transform: rotate(45deg); }
@media (min-width: 860px) { .mvv { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 56px; } }

/* Serviços */
.services { display: grid; gap: 12px; }
@media (min-width: 560px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  display: flex; align-items: center; gap: 1rem;
  padding: 20px 22px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line);
  font: 600 1.02rem/1.2 var(--head); letter-spacing: .03em;
  transition: border-color .25s, background .25s;
}
.service svg { width: 34px; height: 34px; flex: none; color: var(--cyan); transition: color .25s; }
.service:nth-child(3n+2) svg { color: var(--magenta); }
.service:nth-child(3n) svg { color: var(--yellow); }
.service:hover { border-color: rgba(255,255,255,.3); background: var(--bg-3); }

.solutions {
  margin-top: 40px; padding: 32px; border-radius: var(--radius);
  background: var(--lime); color: var(--lime-ink);
  display: grid; gap: 20px; align-items: center;
}
.solutions h3 { font-size: 1.5rem; }
.solutions ul { display: flex; flex-wrap: wrap; gap: 10px; }
.solutions li {
  padding: .6rem 1.1rem; border-radius: 999px; border: 2px solid var(--lime-ink);
  font: 700 .85rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase;
}
@media (min-width: 900px) { .solutions { grid-template-columns: auto 1fr; gap: 40px; } .solutions ul { justify-content: flex-end; } }

/* Portfólio */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; min-height: 44px; padding: .7rem 1.15rem; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted); border: 1px solid var(--line);
  font: 600 .8rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { color: var(--text); border-color: rgba(255,255,255,.35); }
.filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter-caption { min-height: 1.6em; color: var(--muted); font-style: italic; margin-bottom: 24px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 260px), 1fr)); gap: 10px; }
.gallery li.is-hidden { display: none; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 10px; overflow: hidden; background: var(--bg-3); aspect-ratio: 3 / 2;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s, filter .3s; }
.gallery button:hover img { transform: scale(1.06); }
.gallery li { animation: pop .35s ease both; }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }

/* Promessa de cor */
.color-promise { background: #141313; text-align: center; }
.color-promise__inner { max-width: 820px; display: grid; gap: 28px; }
.color-promise__q { font: 700 clamp(1.7rem, 4.6vw, 2.8rem)/1.15 var(--head); color: var(--lime); margin: 12px auto 0; max-width: 15em; text-wrap: balance; }
.color-promise__q strong { display: block; font-size: 2.1em; letter-spacing: .02em; }
.color-promise__a {
  justify-self: center; margin: 0; padding: .9rem 1.6rem;
  background: var(--lime); color: var(--lime-ink);
  font: 700 clamp(1.05rem, 2.6vw, 1.45rem)/1.2 var(--head); text-transform: uppercase; letter-spacing: .04em;
}
.color-promise__sub { color: var(--muted); font-size: 1.1rem; margin: 0 0 12px; }

/* Contato */
.contact { overflow: hidden; }
.contact__band {
  position: absolute; inset: 0 0 auto; height: 220px;
  background: url("../img/textura-letras.webp") center / cover;
  opacity: .14; mask-image: linear-gradient(#000, transparent);
}
.contact .section__head { position: relative; }
.contact__grid { display: grid; gap: 32px; position: relative; }
.contact__phone {
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
  padding: 22px 24px; border-radius: var(--radius); background: var(--lime); color: var(--lime-ink);
  font: 700 clamp(1.7rem, 5vw, 2.3rem)/1 var(--head); transition: transform .2s;
}
.contact__phone:hover { transform: translateY(-3px); }
.contact__phone svg { width: 44px; height: 44px; flex: none; }
.contact__phone small { display: block; font: 600 .75rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem; }
.contact__list { margin-top: 20px; }
.contact__list li { display: flex; align-items: flex-start; gap: 1rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__list svg { width: 22px; height: 22px; flex: none; color: var(--muted); margin-top: 2px; }
.contact__list a { text-decoration: none; display: inline-block; padding: 8px 0; margin: -8px 0; }
.contact__list a:hover { color: var(--lime); }
.contact__map { border-radius: var(--radius); overflow: hidden; min-height: 340px; border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.2fr; gap: 48px; } }

/* Footer */
.footer { background: #141313; padding: 0 0 40px; color: var(--muted); }
.footer__line { display: block; width: 100%; height: 60px; color: rgba(255,255,255,.25); margin-bottom: 32px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer p { margin: 0; font-size: .9rem; }
.footer .logo__img { height: 84px; }
@media (max-width: 719px) { .footer { padding-bottom: 96px; } }

/* WhatsApp flutuante */
.whats-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.45);
  transition: transform .2s;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 32px; height: 32px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 10, 10, .94);
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; min-width: min(640px, 100%); margin: 0 auto; border-radius: 8px; object-fit: contain; }
.lightbox figcaption { color: var(--muted); margin-top: 12px; font-size: .95rem; }
.lightbox button { background: none; border: 0; color: #fff; cursor: pointer; font: 300 2.6rem/1 var(--head); }
.lightbox__close { position: absolute; top: 12px; right: 18px; padding: 8px; }
.lightbox__nav { padding: 12px; opacity: .7; }
.lightbox__nav:hover { opacity: 1; }
@media (max-width: 640px) {
  .lightbox__nav { position: absolute; bottom: 16px; }
  .lightbox__prev { left: 24%; }
  .lightbox__next { right: 24%; }
}

/* Reveal ao rolar */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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