/* ===========================================================
   ORIGEM COMUNICAÇÃO VISUAL — Landing Page
   Paleta baseada no logo: gradiente verde→amarelo→laranja→rosa→roxo
   =========================================================== */

:root {
  /* Marca */
  --green:  #5ec26a;
  --lime:   #a8d24a;
  --yellow: #fcb900;
  --orange: #ff6a00;
  --pink:   #e0398a;
  --purple: #913bce;
  --purple-deep: #6a1f9e;

  /* Degradê preto -> roxo (botões, ícones, faixas) */
  --brand-gradient: linear-gradient(120deg, #140d20 0%, #2c1248 38%, #5a1fa0 72%, #8b35d6 100%);
  --brand-gradient-soft: linear-gradient(120deg, #1d1030, #4a1d8a, #8b35d6);
  /* Versão legível para textos com destaque (lê bem em fundo claro e escuro) */
  --text-gradient: linear-gradient(100deg, #9b3fe0 0%, #c77dff 100%);

  /* Neutros */
  --ink:    #1a1424;
  --ink-2:  #4a4358;
  --muted:  #7a7486;
  --line:   #ece8f1;
  --bg:     #ffffff;
  --bg-soft:#faf8fc;
  --dark:   #140d20;
  --dark-2: #1e1430;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow:    0 10px 40px rgba(26,20,36,.08);
  --shadow-lg: 0 24px 70px rgba(26,20,36,.16);
  --container: 1200px;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}
.eyebrow--center { display: block; }

/* ---------- Botões ---------- */
.btn {
  --b: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  padding: 13px 24px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .3s ease;
  white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: .86rem; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }

.btn--gradient {
  color: #fff;
  background: var(--brand-gradient);
  background-size: 180% auto;
  box-shadow: 0 8px 24px rgba(145,59,206,.32);
}
.btn--gradient:hover { background-position: right center; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(90,31,160,.45); }

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }

/* Ghost sobre fundo escuro (hero): texto branco + borda visível + vidro */
.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(4px);
}
.hero .btn--ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, .16);
  transform: translateY(-2px);
}

.btn--light {
  background: #fff; color: var(--purple-deep);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.26); }

.ico-wa { width: 17px; height: 17px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 16px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 4px 24px rgba(26,20,36,.07);
  padding: 10px 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand__logo { height: 38px; width: auto; }
/* logo é branco; numa header transparente sobre hero escuro fica visível.
   Quando rolar (fundo claro), aplicamos um filtro p/ escurecer o texto branco. */
.site-header.scrolled .brand__logo { filter: brightness(.35) saturate(1.1); }

.nav { display: flex; gap: 30px; }
.nav__link {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: #fff;
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--brand-gradient); transition: width .25s ease;
}
.nav__link:hover::after { width: 100%; }
.site-header.scrolled .nav__link { color: var(--ink-2); }
.site-header.scrolled .nav__link:hover { color: var(--purple); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 150px 0 120px; overflow: hidden;
  background: radial-gradient(120% 130% at 80% 0%, #2a1745 0%, var(--dark) 55%);
  color: #fff;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(40% 50% at 12% 18%, rgba(145,59,206,.55), transparent 70%),
    radial-gradient(35% 45% at 88% 75%, rgba(255,106,0,.4), transparent 70%),
    radial-gradient(35% 40% at 60% 30%, rgba(224,57,138,.35), transparent 70%);
  filter: blur(8px);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.hero .eyebrow { color: #d9b8f5; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 22px; }
.hero__subtitle { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #d3cce0; max-width: 540px; margin-bottom: 34px; }
.hero__subtitle strong { color: #fff; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; }
.hero__stats span { font-size: .82rem; color: #b6aecb; }

/* Hero media */
.hero__media { position: relative; min-height: 440px; }
.hero__card {
  position: absolute; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,.08);
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card--1 { width: 64%; aspect-ratio: 1; top: 0; right: 4%; z-index: 2; animation: float 6s ease-in-out infinite; }
.hero__card--2 { width: 52%; aspect-ratio: 1; bottom: 0; left: 0; z-index: 1; animation: float 6s ease-in-out infinite 1.5s; }
.hero__badge {
  position: absolute; bottom: 8%; right: 0; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); padding: 12px 18px 12px 12px; border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.hero__badge img { width: 42px; height: 42px; object-fit: contain; }
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.hero__badge span { font-size: .76rem; color: var(--muted); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero__wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 6px;
  background: var(--brand-gradient); z-index: 3;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .section__lead { color: #b6aecb; }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.section__lead { font-size: 1.08rem; color: var(--muted); }
.section__note {
  margin-top: 40px; text-align: center; color: var(--muted);
  max-width: 760px; margin-inline: auto; font-size: 1rem;
}
.section__note strong { color: var(--ink); font-weight: 600; }

.grid { display: grid; gap: 26px; }
.grid--services { grid-template-columns: repeat(4, 1fr); }
.grid--diff { grid-template-columns: repeat(4, 1fr); }

/* Cards de serviço */
.card-service {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.card-service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.icon-mask {
  display: block; width: 52px; height: 52px; margin-bottom: 20px;
  background: var(--brand-gradient);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
/* Caminhos relativos a este CSS (assets/css/ -> ../icons/) */
.icon-mask--acm   { --icon: url('../icons/acm-vetor.svg'); }
.icon-mask--ilu   { --icon: url('../icons/iluminado.svg'); }
.icon-mask--totem { --icon: url('../icons/totem.svg'); }
.icon-mask--letra { --icon: url('../icons/letra.svg'); }
.card-service h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card-service p { color: var(--muted); font-size: .96rem; }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__item {
  position: relative; border: 0; padding: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--radius-sm); aspect-ratio: 1; background: #0000;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item::after {
  content: "🔍"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 1.4rem; background: rgba(20,13,32,.45); opacity: 0; transition: opacity .3s;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }

/* ---------- Diferenciais ---------- */
.card-diff {
  text-align: center; padding: 30px 22px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-diff:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-diff__img {
  width: 70px; height: 70px; object-fit: contain; margin: 0 auto 18px;
}
.card-diff h3 { font-size: 1.08rem; margin-bottom: 10px; }
.card-diff p { color: var(--muted); font-size: .93rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-gradient); background-size: 160% auto; padding: 64px 0; }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  color: #fff;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); font-size: 1.08rem; margin-top: 6px; }

/* ---------- Contato ---------- */
.contato { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contato .eyebrow { color: #d9b8f5; }
.contato__list { margin: 28px 0 32px; display: flex; flex-direction: column; gap: 20px; }
.contato__list li { display: flex; gap: 14px; align-items: flex-start; }
.contato__ico { font-size: 1.3rem; line-height: 1.4; }
.contato__list strong { font-family: var(--font-display); }
.contato__list a { color: #e9c8ff; }
.contato__list a:hover { color: #fff; }
.contato__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.contato__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: #0d0817; color: #cabfdc; padding: 64px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 40px; margin-bottom: 16px; }
.footer__brand p { font-size: .92rem; color: #9c90b8; max-width: 340px; }
.footer h4 { font-size: .95rem; color: #fff; margin-bottom: 16px; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a, .footer__contact a { font-size: .92rem; color: #cabfdc; transition: color .2s; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--yellow); }
.footer__contact p { font-size: .92rem; margin-bottom: 10px; }
.footer__bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer__bottom span { font-size: .82rem; color: #8478a0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.5);
  animation: pulse 2.4s infinite;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 10px 30px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 10px 30px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; background: rgba(10,6,18,.94);
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 22px; right: 28px; font-size: 2.4rem; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 2.6rem; color: #fff; background: rgba(255,255,255,.1); border: 0; cursor: pointer;
  width: 56px; height: 56px; border-radius: 50%; transition: background .2s;
}
.lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* ---------- Reveal ----------
   Só escondemos quando há JS (.js). Sem JS, conteúdo sempre visível. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ===========================================================
   RESPONSIVO
   =========================================================== */
@media (max-width: 980px) {
  .grid--services, .grid--diff { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__media { max-width: 460px; }
  .contato { grid-template-columns: 1fr; gap: 36px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; gap: 8px; background: #fff; padding: 100px 28px 40px;
    transform: translateX(100%); transition: transform .35s ease; box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: none; }
  .nav__link { color: var(--ink) !important; font-size: 1.1rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; z-index: 101; }
  .header__actions .btn--sm { display: none; }

  .hero { padding: 120px 0 90px; }
  .section { padding: 70px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
}

@media (max-width: 420px) {
  .grid--services, .grid--diff { grid-template-columns: 1fr; }
  .container { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__card { animation: none; }
  .wa-float { animation: none; }
  html { scroll-behavior: auto; }
}
