/* =========================================================================
   Hugo Amorim — Portfólio
   Paleta unificada: base roxo-escuro + laranja como único accent.
   ========================================================================= */

:root {
  --ink: #08050d;
  --ink-2: #0e0916;
  --ink-3: #150d20;
  --ink-4: #1d1229;

  --surface: rgba(255, 255, 255, .045);
  --surface-strong: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);

  --accent: #ff7a18;
  --accent-soft: #ffa552;
  --accent-glow: rgba(255, 122, 24, .28);

  --cream: #ffeccd;
  --text: #f7f2fa;
  --muted: #b3a5c0;
  --muted-soft: #8d7f9a;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;

  --header-h: 68px;
  --display: "Anton", "Archivo Black", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; }
main, section, .shell { min-width: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .005em;
  text-transform: uppercase;
  text-wrap: balance;
}

.shell { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 96px 0; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--accent);
  color: #160c04;
  font-weight: 700;
  text-decoration: none;
  transition: top 160ms ease;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------- botões */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.button-primary {
  background: var(--accent);
  color: #1a0d03;
  box-shadow: 0 10px 28px -8px var(--accent-glow);
}
.button-primary:hover, .button-primary:focus-visible {
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px var(--accent-glow);
}
.button-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}
.button-ghost:hover, .button-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.button-sm { min-height: 40px; padding: 10px 20px; font-size: .7rem; }
.button:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
.button-stack { display: flex; flex-wrap: wrap; gap: 12px; }

/* compatibilidade com classes antigas */
.button-orange { background: var(--accent); color: #1a0d03; }
.button-blue, .button-pink { border-color: var(--line-strong); background: transparent; color: var(--text); }

/* --------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(10, 6, 17, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.brand-mark {
  display: grid;
  width: 38px; height: 38px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--accent), #c74d05);
  color: #1a0d03;
  font-family: var(--display);
  font-size: .95rem;
  letter-spacing: .04em;
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
}
.brand-text small {
  color: var(--muted-soft);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  position: relative;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.nav a:hover, .nav a:focus-visible, .nav a.is-current { color: var(--text); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 200ms ease, opacity 160ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(92vh, 820px);
  padding: calc(var(--header-h) + 74px) 0 84px;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(255, 122, 24, .13), transparent 62%),
    radial-gradient(760px 520px at 12% 28%, rgba(122, 38, 148, .26), transparent 60%),
    linear-gradient(165deg, #1d1029 0%, #120a1b 52%, var(--ink) 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--ink));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 64px;
}
.hero h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  color: var(--cream);
  font-size: clamp(3rem, 6.4vw, 6rem);
  line-height: .94;
  letter-spacing: -.005em;
}
.hero h1 span { color: var(--accent); }
.hero-text {
  max-width: 46ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}
.hero-proof {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 44ch;
  color: var(--muted-soft);
  font-size: .84rem;
}
.hero-proof strong {
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .01em;
  vertical-align: -2px;
  margin-right: 6px;
}

.phone-frame {
  position: relative;
  width: min(300px, 100%);
  aspect-ratio: 9 / 16;
  justify-self: center;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 34px;
  background: linear-gradient(150deg, #2a1b39, #120b1c);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, .9),
    0 0 0 1px rgba(255, 122, 24, .18),
    0 0 70px -18px var(--accent-glow);
  cursor: pointer;
}
.phone-frame-video { cursor: default; }
.phone-screen {
  position: absolute;
  inset: 9px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: #060409;
  overflow: hidden;
}
.showreel-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%; height: 100%;
  max-width: 100%; max-height: 100%;
  border-radius: inherit;
  background: #050407;
  object-fit: cover;
  object-position: center;
}
.media-art {
  background:
    linear-gradient(180deg, rgba(255,122,24,.10) 0 45%, rgba(10, 6, 16, .82) 100%),
    linear-gradient(150deg, #35204a, #140d1f);
}
.media-art.has-cover { background-position: center; background-size: cover; }
.media-label {
  position: absolute;
  left: 18px; bottom: 20px;
  color: var(--cream);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .2em;
}
.phone-speaker {
  position: absolute;
  width: 28%; height: 5px;
  left: 36%; top: 17px;
  z-index: 4;
  border-radius: 6px;
  background: rgba(0,0,0,.6);
}
.play-icon {
  position: relative;
  z-index: 3;
  display: inline-block;
  width: 0; height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 25px solid #fff;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.5));
}

/* ---------------------------------------------------------------- stats */
.stats {
  position: relative;
  z-index: 3;
  padding: 0 0 10px;
  margin-top: -40px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(46, 26, 62, .92), rgba(17, 10, 26, .95));
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.07);
}
.stat-grid-single { grid-template-columns: 1fr; text-align: center; }
.stat { padding: 6px 14px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-grid-single .stat + .stat { border-left: 0; }
.stat strong {
  display: block;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.2vw, 3.9rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.01em;
}
.stat p {
  margin: 10px 0 4px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.stat small { color: var(--muted-soft); font-size: .78rem; line-height: 1.5; }

/* -------------------------------------------------------------- clients */
.clients { padding: 74px 0 26px; background: var(--ink); }
.section-kicker {
  margin: 0 0 26px;
  color: var(--muted-soft);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-align: center;
}

/* ------------------------------------------------------- marquee (base) */
.auto-marquee {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  touch-action: pan-y;
  outline: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.auto-marquee-track {
  display: flex;
  width: max-content;
  animation: portfolio-flow var(--marquee-duration, 54s) linear infinite;
  will-change: transform;
}
.auto-marquee-group { display: flex; align-items: stretch; }
.auto-marquee:hover .auto-marquee-track,
.auto-marquee:focus-visible .auto-marquee-track,
.auto-marquee:focus-within .auto-marquee-track,
.auto-marquee.is-paused .auto-marquee-track,
.auto-marquee.is-navigating .auto-marquee-track,
.auto-marquee.is-offscreen .auto-marquee-track,
.auto-marquee.has-playing-media .auto-marquee-track {
  animation-play-state: paused;
}
@keyframes portfolio-flow {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.marquee-arrow {
  position: absolute;
  top: 50%;
  z-index: 12;
  display: grid;
  width: 44px; height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(12, 8, 22, .82);
  backdrop-filter: blur(6px);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.44);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(.92);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}
.marquee-arrow span { display: block; margin-top: -4px; font: 400 2.1rem/1 Arial, sans-serif; }
.marquee-arrow-prev { left: clamp(18px, 6%, 60px); }
.marquee-arrow-next { right: clamp(18px, 6%, 60px); }
.auto-marquee:hover .marquee-arrow,
.auto-marquee:focus-within .marquee-arrow {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}
.marquee-arrow:hover, .marquee-arrow:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #1a0d03;
  outline: none;
}
.marquee-arrow:active { transform: translateY(-50%) scale(.94); }

/* ----------------------------------------------------------- media card */
.media-card {
  position: relative;
  isolation: isolate;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #140e1f;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 22px 50px -24px rgba(0,0,0,.9);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 24, .55);
  box-shadow: 0 30px 60px -26px rgba(0,0,0,.95), 0 0 0 1px rgba(255,122,24,.18);
}
.client-marquee { padding: 6px 0 34px; }
.client-group { gap: 16px; padding-right: 16px; }
.client-card {
  flex: 0 0 216px;
  aspect-ratio: 2 / 3;
  background: linear-gradient(155deg, #2b1c3d, #120c1c);
}
.media-card-file {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%; height: 100%;
  object-position: center;
}
.client-card .media-card-file { object-fit: cover; }
.media-card-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.24);
  font-family: var(--display);
  font-size: 2.8rem;
  letter-spacing: .06em;
}
.media-card-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 5, 16, .18) 48%, rgba(9, 5, 15, .82) 74%, rgba(7, 4, 12, .97) 100%);
  pointer-events: none;
  transition: opacity 220ms ease;
}
.media-card-copy {
  position: absolute;
  right: 18px; bottom: 18px; left: 18px;
  z-index: 3;
  display: block;
  text-align: center;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.media-card-copy strong, .media-card-copy small { display: block; }
.media-card-copy strong {
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.media-card-copy small { margin-top: 6px; color: var(--muted); font-size: .68rem; line-height: 1.4; }
.media-card-play, .media-card-external-play {
  position: absolute;
  top: 46%; left: 50%;
  z-index: 4;
  display: grid;
  width: 64px; height: 64px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  background: rgba(9, 5, 14, .42);
  backdrop-filter: blur(4px);
  color: #fff;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.media-card:hover .media-card-play,
.media-card:hover .media-card-external-play { background: var(--accent); border-color: var(--accent); }
.media-card:hover .media-card-play .play-icon,
.media-card:hover .media-card-external-play .play-icon { border-left-color: #1a0d03; }
.media-card-play:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
.media-card-play .play-icon, .media-card-external-play .play-icon {
  border-top-width: 11px;
  border-bottom-width: 11px;
  border-left-width: 18px;
  transform: translateX(2px);
}
.media-card-link { position: absolute; inset: 0; z-index: 5; }
.media-card.is-playing .media-card-shade,
.media-card.is-playing .media-card-copy,
.media-card.is-playing .media-card-play { opacity: 0; pointer-events: none; }
.media-card.is-playing .media-card-copy { transform: translateY(10px); }
.media-card video { background: #06050a; object-fit: contain; }
.avatar-1, .avatar-2, .avatar-3 { background: linear-gradient(155deg, #2b1c3d, #120c1c); }

/* ------------------------------------------------------------ portfolio */
.portfolio {
  background:
    radial-gradient(700px 420px at 100% 10%, rgba(255,122,24,.07), transparent 60%),
    linear-gradient(180deg, var(--ink), #100a19);
}
.portfolio > .shell > .eyebrow,
.services > .shell > .eyebrow,
.process > .shell > .eyebrow,
.testimonials > .shell > .eyebrow { text-align: center; }
.portfolio h2, .services h2, .process h2, .testimonials > .shell > h2 {
  margin-bottom: 34px;
  text-align: center;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}
.portfolio h2 span { display: block; color: var(--accent); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
}
.filter-chip {
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.filter-chip:hover { color: var(--text); border-color: var(--accent); }
.filter-chip.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #1a0d03;
}
.filter-chip:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }

.project-groups { display: grid; gap: 34px; }
.project-group {
  padding: 30px 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(40, 23, 55, .72), rgba(16, 10, 24, .82));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.project-group[hidden] { display: none; }
.project-group h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
}
.group-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,122,24,.16);
}
.project-marquee { padding: 4px 0 6px; }
.project-card-group { gap: 16px; padding-right: 16px; }
.project-card {
  flex: 0 0 214px;
  aspect-ratio: 9 / 16;
  background: linear-gradient(155deg, #2b1c3d, #120c1c);
}
.project-card .media-card-file { object-fit: cover; }
.project-card video.media-card-file { object-fit: contain; }

/* --------------------------------------------------------------- services */
.services {
  position: relative;
  background: linear-gradient(180deg, #100a19, #160e21);
  overflow: hidden;
}
.services-art {
  position: absolute;
  inset: 22% auto auto -4%;
  color: rgba(255,255,255,.022);
  font-family: var(--display);
  font-size: 15rem;
  line-height: 1;
  transform: rotate(-12deg);
  pointer-events: none;
  user-select: none;
}
.service-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(45, 26, 62, .7), rgba(18, 11, 27, .8));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform 200ms ease, border-color 200ms ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(255,122,24,.45); }
.service-number {
  display: grid;
  width: 46px; height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(255, 122, 24, .55);
  border-radius: 13px;
  background: rgba(255, 122, 24, .1);
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.05rem;
}
.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: .02em;
}
.service-card > p { margin-bottom: 18px; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.service-card ul {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.service-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted-soft);
  font-size: .84rem;
  line-height: 1.5;
}
.service-card li + li { margin-top: 9px; }
.service-card li::before {
  content: "";
  position: absolute;
  top: .55em; left: 2px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------------------------------------------------------------- processo */
.process { background: linear-gradient(180deg, #160e21, #100a19); }
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step::after {
  content: "";
  position: absolute;
  top: 44px; right: -11px;
  width: 14px; height: 1px;
  background: var(--line-strong);
}
.step:last-child::after { display: none; }
.step-number {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 122, 24, .5);
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1;
}
.step h3 { margin-bottom: 8px; font-size: 1.02rem; letter-spacing: .03em; }
.step p { margin: 0; color: var(--muted-soft); font-size: .85rem; line-height: 1.55; }

/* ------------------------------------------------------------------ sobre */
.about {
  background:
    radial-gradient(620px 420px at 8% 50%, rgba(122, 38, 148, .2), transparent 62%),
    linear-gradient(180deg, #100a19, #140c1f);
}
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: 58px;
  max-width: 980px;
}
.portrait-placeholder {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #2d1d3f, #16101f);
  box-shadow: 0 34px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,122,24,.14);
  overflow: hidden;
}
.portrait-placeholder span { color: rgba(255,255,255,.2); font-family: var(--display); font-size: 4.6rem; line-height: 1; }
.portrait-placeholder small {
  margin-top: 14px;
  color: var(--muted-soft);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.portrait-placeholder.has-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%; height: 100%;
  max-width: 100%; max-height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.about h2 { margin-bottom: 20px; font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.about-lead { color: var(--text); font-size: 1.1rem; line-height: 1.6; }
.about-copy p:not(.eyebrow):not(.about-lead) { color: var(--muted); font-size: .96rem; line-height: 1.72; }
.about-copy .button-stack { margin-top: 26px; }

/* ------------------------------------------------------------ depoimentos */
.testimonials { background: linear-gradient(180deg, #140c1f, #100a19); }
.testimonial-grid {
  display: flex;
  gap: 16px;
  padding: 4px 0 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testimonial-grid::-webkit-scrollbar { display: none; }
.testimonial-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.testimonial-card {
  position: relative;
  flex: 0 0 min(88vw, 320px);
  display: flex;
  flex-direction: column;
  padding: 28px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(45, 26, 62, .66), rgba(18, 11, 27, .8));
  scroll-snap-align: start;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.quote-mark {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 122, 24, .5);
  font-family: var(--display);
  font-size: 3rem;
  line-height: .6;
}
.testimonial-card > p {
  flex: 1;
  margin: 0 0 20px;
  color: var(--text);
  font-size: .92rem;
  line-height: 1.62;
}
.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 42px; height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  overflow: hidden;
}
.testimonial-avatar img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  max-width: 100%; max-height: 100%;
  object-fit: cover;
}
.testimonial-card h3 {
  margin: 0;
  font-family: var(--body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
}

/* -------------------------------------------------------------------- faq */
.faq { background: linear-gradient(180deg, #100a19, var(--ink)); }
.faq-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 56px;
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro h2 { margin-bottom: 16px; font-size: clamp(2rem, 3.6vw, 3rem); }
.faq-intro p { margin: 0; color: var(--muted); font-size: .93rem; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease;
}
.faq-item[open] { border-color: rgba(255,122,24,.4); background: var(--surface-strong); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  font-size: .95rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: -3px; }
.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px; height: 16px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: transform 200ms ease;
}
.faq-icon::after { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translateY(-50%) rotate(0deg); }
.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

/* -------------------------------------------------------------- cta final */
.final-cta {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  background:
    radial-gradient(760px 420px at 50% 100%, rgba(255,122,24,.16), transparent 66%),
    linear-gradient(180deg, var(--ink), #0d0715);
  text-align: center;
}
.final-cta .eyebrow { margin-bottom: 18px; }
.final-cta h2 {
  max-width: 16ch;
  margin: 0 auto 20px;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  line-height: 1;
}
.final-text { max-width: 46ch; margin: 0 auto 32px; color: var(--muted); font-size: 1rem; }
.final-buttons { justify-content: center; }

/* ----------------------------------------------------------------- footer */
.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: #0d0715; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-inner .brand { margin-right: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a {
  color: var(--muted-soft);
  font-size: .82rem;
  text-decoration: none;
  transition: color 160ms ease;
}
.footer-nav a:hover { color: var(--accent); }
.footer-note { width: 100%; margin: 0; color: #6a5d75; font-size: .74rem; }

/* ------------------------------------------------------ botão flutuante */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 80;
  display: grid;
  width: 56px; height: 56px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #08320f;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .7);
  transition: transform 200ms ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
.wa-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* --------------------------------------------------------------- reveal */
/* A classe .will-reveal só é aplicada pelo JS — sem JS nada fica escondido. */
.will-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease-out, transform .6s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
}
.will-reveal.is-visible { opacity: 1; transform: none; }

.reveal { animation: rise-in .8s both ease-out; }
.delay-1 { animation-delay: .14s; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------- responsivo */
@media (max-width: 1040px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 34px; }
  .faq-intro { position: static; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: rgba(10, 6, 17, .97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 280ms ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 52px) 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; text-align: center; }
  .hero h1 { max-width: 100%; margin-inline: auto; }
  .hero-text { margin-inline: auto; }
  .hero-proof { margin-inline: auto; }
  .button-stack { justify-content: center; }
  .phone-frame { grid-row: 1; width: min(250px, 66vw); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; max-width: 560px; }
  .portrait-placeholder { justify-self: center; }
  .about-copy .button-stack { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .section-pad { padding: 68px 0; }
  .services-art { font-size: 8rem; }
  .service-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .stats { margin-top: -26px; }
  .stat-grid { grid-template-columns: 1fr; gap: 0; padding: 20px; text-align: center; }
  .stat { padding: 18px 8px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .client-card { flex-basis: 178px; }
  .project-card { flex-basis: min(62vw, 200px); }
  .client-group, .project-card-group { gap: 12px; padding-right: 12px; }
  .project-group { padding: 24px 0 18px; }
  .media-card-play, .media-card-external-play { width: 54px; height: 54px; }
  .media-card-play .play-icon, .media-card-external-play .play-icon {
    border-top-width: 9px; border-bottom-width: 9px; border-left-width: 15px;
  }
  .marquee-arrow {
    width: 38px; height: 38px;
    opacity: .95;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
  }
  .marquee-arrow span { font-size: 1.8rem; }
  .button { width: 100%; }
  .button-stack { display: grid; width: min(100%, 340px); margin-inline: auto; }
  .about-copy .button-stack { margin-inline: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
}

@media (hover: none), (pointer: coarse) {
  .marquee-arrow { opacity: .95; pointer-events: auto; transform: translateY(-50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .auto-marquee-track { animation: none !important; }
  .auto-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .auto-marquee-group[aria-hidden="true"] { display: none; }
  .will-reveal { opacity: 1 !important; transform: none !important; }
}
