/* =========================================================
   DNA Criativo — estilos
   Paleta: azul-noite da marca + creme do logo (#efddca)
   ========================================================= */
:root {
  --bg: #060d1c;
  --bg-2: #0a1630;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --line: rgba(239, 221, 202, 0.14);
  --cream: #efddca;
  --cream-dim: #c9b9a8;
  --text: #f5f1ec;
  --muted: #9aa6bd;
  --rec: #ff4b3e;
  --wa: #25d366;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;

  --radius: 22px;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: .95; letter-spacing: -.02em; }
em { font-style: normal; color: var(--cream); }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--cream); color: var(--bg); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 16px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  background: var(--cream); color: var(--bg);
  font-weight: 600; font-size: 15px;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
  cursor: pointer;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(239, 221, 202, .5); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--surface-hover); box-shadow: none; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  padding-top: max(18px, env(safe-area-inset-top));
  transition: background .3s, backdrop-filter .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 13, 28, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.nav__logo img { width: 132px; height: auto; }
.nav__links { display: flex; gap: 32px; font-size: 15px; color: var(--muted); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--cream); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__toggle {
  display: none; position: relative;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  cursor: pointer;
}
.nav__toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 130px var(--gutter) 80px;
}
.hero__glow {
  position: absolute; inset: -20% -30% auto auto; width: 70vw; height: 70vw; z-index: -1;
  background:
    radial-gradient(closest-side, rgba(239, 221, 202, .16), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(50, 90, 190, .35), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero__grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-dim);
}
.rec {
  width: 8px; height: 8px; border-radius: 50%; background: var(--rec);
  box-shadow: 0 0 0 0 rgba(255, 75, 62, .6);
  animation: rec 1.8s infinite;
}
@keyframes rec {
  0% { box-shadow: 0 0 0 0 rgba(255, 75, 62, .55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 75, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 75, 62, 0); }
}

.hero__title {
  font-size: clamp(48px, 8.4vw, 124px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .9;
}
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cream);
}
.hero__lead {
  max-width: 46ch;
  margin: 28px 0 36px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.reel { margin: 0; justify-self: center; width: min(100%, 360px); }
.reel__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, .8),
    0 0 0 8px rgba(255, 255, 255, .03);
  transform: rotate(2deg);
  transition: transform .6s var(--ease);
}
.reel:hover .reel__frame { transform: rotate(0deg) scale(1.01); }
.reel__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel figcaption {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--cream);
  color: var(--bg);
  transform: rotate(-1.5deg);
  margin: 20px -2vw 0;
}
.marquee__track {
  display: flex; align-items: center; gap: 32px; width: max-content;
  padding: 18px 0;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.6vw, 34px);
  text-transform: uppercase; white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee__track i { font-style: normal; font-size: .6em; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Seções ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) var(--gutter) 0;
}
.section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.section__head h2 {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 900; text-transform: uppercase;
}

/* ---------- Trabalhos ---------- */
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.work__card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(320px, 38vw, 480px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  cursor: pointer;
}
.work__bg {
  position: absolute; inset: 0; z-index: -1;
  transition: transform .8s var(--ease), opacity .4s;
}
.work__card--video .work__bg {
  background:
    radial-gradient(circle at 80% 20%, rgba(60, 110, 230, .55), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(239, 221, 202, .18), transparent 50%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px);
}
.work__card--photo .work__bg {
  background:
    radial-gradient(circle at 20% 20%, rgba(239, 221, 202, .4), transparent 55%),
    radial-gradient(circle at 90% 90%, rgba(150, 70, 60, .4), transparent 50%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px);
}
.work__card:hover .work__bg { transform: scale(1.08); }
.work__card { transition: border-color .3s; }
.work__card:hover { border-color: rgba(239, 221, 202, .35); }
.work__num {
  position: absolute; top: clamp(20px, 3vw, 36px); left: clamp(24px, 3vw, 40px);
  font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: .2em; color: var(--cream-dim);
}
.work__body h3 { font-size: clamp(48px, 6vw, 84px); font-weight: 900; text-transform: uppercase; }
.work__body p { margin: 12px 0 0; max-width: 34ch; color: var(--muted); }
.work__arrow {
  position: absolute; top: clamp(20px, 3vw, 32px); right: clamp(20px, 3vw, 32px);
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); color: var(--bg);
  transition: transform .4s var(--ease);
}
.work__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.work__card:hover .work__arrow { transform: rotate(45deg) scale(1.08); }

/* ---------- Serviços ---------- */
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.services li {
  padding: 32px 28px 32px 0;
  border-bottom: 1px solid var(--line);
}
.services li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.services span { font-size: 13px; letter-spacing: .14em; color: var(--cream-dim); }
.services h3 { margin: 40px 0 12px; font-size: 24px; font-weight: 800; line-height: 1.1; }
.services p { margin: 0; color: var(--muted); font-size: 15px; }
.services li { transition: background .3s; }
.services li:hover h3 { color: var(--cream); }
.services h3 { transition: color .3s; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(60, 110, 230, .28), transparent 60%),
    var(--bg-2);
}
.cta-band p {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.1;
}
.cta-band p span { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 400; font-size: 16px; color: var(--muted); }

/* ---------- Contato ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact__item {
  display: flex; align-items: center; gap: 18px;
  min-height: 92px; padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: background .25s, transform .25s var(--ease), border-color .25s;
  cursor: pointer;
}
.contact__item:hover { background: var(--surface-hover); border-color: rgba(239, 221, 202, .3); transform: translateY(-2px); }
.contact__item > svg {
  flex: none; width: 48px; height: 48px; padding: 12px;
  border-radius: 14px; background: rgba(239, 221, 202, .1);
  fill: none; stroke: var(--cream); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.contact__item > svg.fill { fill: var(--cream); stroke: none; }
.contact__item > svg .dot { fill: var(--cream); }
.contact__item div { display: flex; flex-direction: column; min-width: 0; }
.contact__item small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__item strong { font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; overflow-wrap: anywhere; }
.contact__item strong.nobreak { overflow-wrap: normal; }
.contact__go { margin-left: auto; font-size: 22px; color: var(--cream-dim); transition: transform .25s var(--ease); }
.contact__item:hover .contact__go { transform: translateX(4px); color: var(--cream); }

.contact__item--main { grid-column: 1 / -1; min-height: 120px; background: var(--cream); color: var(--bg); border-color: transparent; }
.contact__item--main small { color: rgba(6, 13, 28, .65); }
.contact__item--main strong { white-space: nowrap; overflow-wrap: normal; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3.4vw, 40px); }
.contact__item--main > svg.fill { background: var(--wa); fill: #fff; }
.contact__item--main .contact__go { color: var(--bg); }
.contact__item--main:hover { background: #f6e8da; }
.contact__item--main:hover .contact__go { color: var(--bg); }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--max);
  margin: clamp(80px, 12vw, 140px) auto 0;
  padding: 32px var(--gutter) max(32px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
.footer p { margin: 0; }
.footer__nap { font-style: normal; line-height: 1.7; }
.footer__nap strong { color: var(--text); font-weight: 600; }
.footer__nap a:hover { color: var(--text); }
.footer__top:hover { color: var(--text); }

/* ---------- FAB WhatsApp ---------- */
.fab {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  opacity: 0; transform: translateY(20px) scale(.9);
  transition: opacity .3s, transform .3s var(--ease);
}
.fab svg { width: 28px; height: 28px; fill: currentColor; }
.fab.is-visible { opacity: 1; transform: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 120px; min-height: auto; }
  .reel { width: min(100%, 320px); }
  .services { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .contact__grid > :last-child { grid-column: 1 / -1; }
  .services li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 8px;
    padding: 96px var(--gutter) 40px;
    background: rgba(6, 13, 28, .97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
    font-size: clamp(40px, 12vw, 56px); color: var(--text);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav__links a { padding: 6px 0; }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; }
  .cta-band .btn { flex: 1 1 100%; justify-content: center; }
  .nav__logo img { width: 112px; }
  .work, .contact__grid { grid-template-columns: 1fr; }
  .contact__item--main { min-height: 100px; gap: 14px; padding-inline: 18px; }
  .contact__item--main strong { font-size: 22px; }
  .services { grid-template-columns: 1fr; }
  .services li, .services li + li { padding: 28px 0; border-left: 0; }
  .services h3 { margin-top: 16px; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .fab { display: grid; }
  .footer { flex-direction: column; text-align: center; padding-bottom: 96px; }
}

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