/* ==========================================================
   HIGOR REC — estilos do site
   Cores da marca: amarelo #FEC400 e vermelho #B00000
   ========================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f2efe9;
  --muted: #a39f97;
  --yellow: #fec400;
  --red: #c40000;
  --red-deep: #b00000;
  --radius: 14px;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
body.modal-open { overflow: hidden; }

/* grão de filme sutil */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.05;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
em { font-style: normal; color: var(--yellow); }
::selection { background: var(--yellow); color: #000; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* ---------- utilitários ---------- */
.eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 10px;
}
.rec-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  display: inline-block;
  animation: blink 1.4s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0.15; } }

.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--h); padding: 0 28px;
  border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: #000; }
.btn--yellow:hover { background: #ffd43d; }
.btn--ghost { border-color: rgba(255,255,255,.3); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 12px; }
.btn--full { width: 100%; }

/* ---------- abertura ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200;
  background: #000;
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.intro video { width: min(70vmin, 520px); height: auto; }
.intro__skip {
  position: absolute; right: 24px; bottom: 24px;
  background: none; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.7);
  font: 600 12px var(--display); letter-spacing: .15em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
}
.intro__skip:hover { color: #fff; border-color: #fff; }
.intro.is-done { opacity: 0; visibility: hidden; }

/* ---------- menu ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,10,10,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: 12px; padding-bottom: 12px;
  border-color: var(--line);
}
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 14px;
  color: rgba(255,255,255,.75); transition: color .2s;
}
.nav__links a:not(.btn):hover { color: var(--yellow); }
.nav__burger { display: none; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  max-width: var(--max); margin: 0 auto;
  padding: 130px var(--pad) 70px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.hero__title {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 520px; margin: 0 0 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.viewfinder {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  max-height: 78vh;
  margin-left: auto;
}
.viewfinder img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.viewfinder::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 25%, transparent 70%, rgba(0,0,0,.55));
}
.vf-corner { position: absolute; width: 34px; height: 34px; border: 3px solid #fff; z-index: 2; }
.vf-corner--tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.vf-corner--tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.vf-corner--bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.vf-corner--br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.vf-hud {
  position: absolute; left: 66px; right: 66px; z-index: 2;
  display: flex; justify-content: space-between; gap: 12px;
  font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em;
  color: #fff;
}
.vf-hud--top { top: 30px; }
.vf-hud--bottom { bottom: 30px; justify-content: center; gap: 22px; opacity: .8; }
.vf-rec { display: flex; align-items: center; gap: 8px; font-weight: 700; }

/* ---------- faixa ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 22px 0;
  background: var(--bg-2);
}
.marquee__track {
  display: flex; gap: 34px; width: max-content; align-items: center;
  animation: marquee 40s linear infinite;
  font-family: var(--display); font-weight: 800; font-size: clamp(18px, 2.2vw, 26px);
  text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
}
.marquee__track i { font-style: normal; color: var(--yellow); font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.section { padding: clamp(80px, 11vw, 140px) var(--pad); max-width: var(--max); margin: 0 auto; }
.section--alt { max-width: none; background: var(--bg-2); }
.section--alt > * { max-width: calc(var(--max) - 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: 48px; }
.section__title { font-size: clamp(36px, 5vw, 64px); font-weight: 900; text-transform: uppercase; }
.section__lead { color: var(--muted); max-width: 560px; margin: 20px 0 0; }

/* ---------- portfólio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; cursor: pointer;
  font: 600 13px var(--display); letter-spacing: .03em;
  transition: all .2s ease;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.35); }
.chip[aria-selected="true"] { background: var(--yellow); color: #000; border-color: var(--yellow); }
.chip small { opacity: .6; margin-left: 4px; font-weight: 500; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; cursor: pointer;
  background: none; border: 0; padding: 0; text-align: left; color: inherit; font: inherit;
  animation: cardIn .5s ease both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.card__thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 10px; background: var(--bg-3);
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s ease; }
.card__thumb::before, .card__thumb::after {
  content: ""; position: absolute; width: 22px; height: 22px; z-index: 3;
  border: 2.5px solid var(--yellow); opacity: 0; transition: all .3s ease;
}
.card__thumb::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; transform: translate(6px, 6px); }
.card__thumb::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; transform: translate(-6px, -6px); }
.card:hover .card__thumb::before, .card:hover .card__thumb::after,
.card:focus-visible .card__thumb::before, .card:focus-visible .card__thumb::after { opacity: 1; transform: none; }
.card:hover .card__thumb img { transform: scale(1.05); filter: brightness(.75); }

/* vídeos verticais: miniatura central com fundo desfocado */
.card--v .card__bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(18px) brightness(.45); transform: scale(1.2); }
.card--v .card__thumb img.card__fg { position: relative; z-index: 1; width: auto; height: 100%; margin: 0 auto; object-fit: cover; aspect-ratio: 9 / 16; }
.card--v:hover .card__thumb img.card__fg { transform: scale(1.04); }

.card__play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  opacity: 0; transition: opacity .3s ease;
}
.card__play span {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--yellow); color: #000;
  display: grid; place-items: center;
  transform: scale(.8); transition: transform .3s ease;
}
.card:hover .card__play, .card:focus-visible .card__play { opacity: 1; }
.card:hover .card__play span { transform: scale(1); }
.card__badge {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  font: 700 10px var(--display); letter-spacing: .12em; text-transform: uppercase;
  background: rgba(0,0,0,.65); padding: 5px 9px; border-radius: 999px;
}
.card__meta { padding: 14px 2px 0; }
.card__title { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.25; margin: 0; }
.card__sub { color: var(--muted); font-size: 14px; margin: 2px 0 0; }
.grid__more { text-align: center; margin-top: 44px; }
.grid__more[hidden] { display: none; }

/* ---------- serviços ---------- */
.services { list-style: none; padding: 0; margin: 0 auto; border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center;
  padding: 30px 8px; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background .3s ease, padding .3s ease;
}
.service:hover { background: rgba(254,196,0,.05); padding-left: 20px; }
.service__num { font: 900 clamp(28px, 3vw, 40px) var(--display); color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.35); transition: all .3s; }
.service:hover .service__num { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
.service h3 { font-size: clamp(21px, 2.3vw, 30px); font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.service p { margin: 0; color: var(--muted); max-width: 640px; }
.service__arrow { font: 700 13px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); opacity: 0; transform: translateX(-10px); transition: all .3s ease; white-space: nowrap; }
.service:hover .service__arrow { opacity: 1; transform: none; }

/* ---------- processo ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 36px 30px 34px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  counter-increment: step; overflow: hidden;
}
.step::before {
  content: "0" counter(step);
  position: absolute; right: 18px; top: 4px;
  font: 900 92px var(--display); color: rgba(255,255,255,.04);
}
.step__tag { display: inline-block; font: 700 11px var(--display); letter-spacing: .16em; text-transform: uppercase; color: #000; background: var(--yellow); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
.step h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- clientes ---------- */
.clients { padding: 40px var(--pad) 100px; text-align: center; max-width: var(--max); margin: 0 auto; }
.clients .eyebrow { justify-content: center; }
.clients__list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 42px; }
.clients__list li { font: 800 clamp(18px, 2vw, 24px) var(--display); text-transform: uppercase; color: rgba(255,255,255,.35); transition: color .2s; }
.clients__list li:hover { color: var(--text); }

/* ---------- sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.section--alt.about { padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); padding-right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.section--alt.about > * { max-width: none; margin: 0; }
.about__photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.about__photos figure { margin: 0; overflow: hidden; border-radius: 10px; }
.about__photos img { width: 100%; height: 100%; object-fit: cover; }
.about__main { grid-column: 1 / 3; aspect-ratio: 1 / 1; max-height: 520px; }
.about__main img { object-position: center 30%; }
.about__side { aspect-ratio: 4 / 3; }
.about__side--a img { object-position: center 70%; }
.about__text p { color: var(--muted); margin: 22px 0; }
.about__text p:first-of-type { color: var(--text); font-size: 19px; }
.about__text .btn { margin-top: 12px; }

/* ---------- contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.contact__list a, .contact__list span { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; }
.contact__list a:hover { color: var(--yellow); }
.contact__list svg { flex: none; color: var(--yellow); }
.form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.form__row { display: grid; gap: 8px; }
.form label { font: 600 13px var(--display); letter-spacing: .04em; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  font: 16px var(--body); transition: border-color .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%), linear-gradient(135deg, var(--yellow) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--yellow); }
.form textarea { resize: vertical; }
.form__error { margin: 0; color: #ff6b6b; font-size: 14px; min-height: 1em; }

/* ---------- rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding: 50px var(--pad) 40px; display: grid; justify-items: center; gap: 22px; text-align: center; }
.footer__logo { height: 46px; width: auto; }
.footer__social { display: flex; gap: 14px; }
.footer__social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .2s; }
.footer__social a:hover { border-color: var(--yellow); color: var(--yellow); }
.footer__copy { color: var(--muted); font-size: 13px; margin: 0; }

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

/* ---------- player ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.92); animation: fade .3s ease; }
.modal__box { position: relative; width: min(1100px, 100%); animation: pop .35s ease; }
.modal__box.is-vertical { width: min(420px, 100%, calc((100vh - 140px) * 9 / 16)); }
.modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.modal__box.is-vertical .modal__frame { aspect-ratio: 9 / 16; }
.modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__title { font-family: var(--display); font-weight: 700; margin: 14px 0 0; text-align: center; }
.modal__close {
  position: absolute; top: -50px; right: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 0; color: #fff; font-size: 18px; cursor: pointer;
}
.modal__close:hover { background: var(--yellow); color: #000; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* ---------- animação ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .service { grid-template-columns: 64px 1fr; }
  .service__arrow { display: none; }
}

@media (max-width: 860px) {
  .nav__burger {
    display: grid; gap: 7px; place-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,.08); border: 0; cursor: pointer; z-index: 2;
  }
  .nav__burger span { display: block; width: 20px; height: 2px; background: #fff; transition: transform .3s; }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(10,10,10,.97);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { font-size: 26px; font-weight: 800; color: var(--text); }
  .nav__logo { position: relative; z-index: 2; }
  .nav__logo img { height: 34px; }

  .hero { grid-template-columns: 1fr; padding-top: 110px; min-height: auto; gap: 44px; }
  .hero__media { order: -1; }
  .viewfinder { aspect-ratio: 4 / 5; max-height: none; width: 100%; max-width: 460px; margin: 0 auto; }
  .about, .contact { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .vf-hud { left: 54px; right: 54px; font-size: 11px; }
  .service { grid-template-columns: 1fr; gap: 6px; padding: 26px 4px; }
  .service:hover { padding-left: 4px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding: 0 var(--pad) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .modal__close { top: -52px; }
}

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

/* ==========================================================
   VERSÃO CELULAR
   ========================================================== */
html { -webkit-tap-highlight-color: transparent; }
.mbar { display: none; }
.service__toggle { display: none; }

@media (max-width: 860px) {
  /* abertura em tela cheia: foto ao fundo, texto por cima */
  .hero {
    position: relative; display: block;
    min-height: 100svh; padding: 0; max-width: none;
  }
  .hero__media { position: absolute; inset: 0; order: 0; }
  .viewfinder { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; aspect-ratio: auto; border-radius: 0; margin: 0; }
  .viewfinder img { object-position: center 22%; }
  .viewfinder::after {
    background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 22%, rgba(10,10,10,.15) 42%, rgba(10,10,10,.82) 62%, #0a0a0a 100%);
  }
  .vf-corner--tl, .vf-corner--tr { top: 84px; }
  .vf-corner--bl, .vf-corner--br, .vf-hud--bottom { display: none; }
  .vf-hud--top { top: 96px; }
  .hero__text {
    position: relative; z-index: 2;
    min-height: 100svh;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 110px var(--pad) 36px;
  }
  .hero__title { font-size: clamp(38px, 10.5vw, 64px); margin-bottom: 18px; }
  .hero__lead { color: rgba(242,239,233,.8); margin-bottom: 26px; }

  /* "como trabalhamos" desliza para o lado */
  .steps {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 8px;
    scrollbar-width: none;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 82%; scroll-snap-align: start; scroll-margin-left: var(--pad); }

  /* barra fixa de contato */
  .wa-float { display: none; }
  .mbar {
    display: flex; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 95;
    transform: translateY(140%); transition: transform .35s ease;
  }
  .mbar.is-visible { transform: none; }
  .mbar a {
    height: 54px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.5);
  }
  .mbar__wa { flex: 1; background: #25d366; color: #fff; font: 700 14px var(--display); letter-spacing: .03em; }
  .mbar__ig { width: 54px; flex: none; background: var(--bg-3); color: var(--text); border: 1px solid var(--line); }
  .footer { padding-bottom: 100px; }

  /* player em tela cheia */
  .modal { padding: 0; }
  .modal__box, .modal__box.is-vertical { width: 100%; }
  .modal__box.is-vertical .modal__frame { aspect-ratio: auto; height: calc(100svh - 140px); border-radius: 0; }
  .modal__frame { border-radius: 0; }
  .modal__close { position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 14px; width: 46px; height: 46px; z-index: 2; background: rgba(255,255,255,.15); }
  .modal__title { padding: 0 20px; }
}

@media (max-width: 560px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section__head { margin-bottom: 30px; }
  .section__title { font-size: clamp(32px, 9vw, 44px); }

  /* portfólio em 2 colunas */
  .grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .card__thumb { border-radius: 8px; }
  .card__play { opacity: 1; place-items: end start; padding: 8px; }
  .card__play span { width: 30px; height: 30px; transform: none; background: rgba(254,196,0,.95); }
  .card__play svg { width: 14px; height: 14px; }
  .card__badge { top: 6px; right: 6px; font-size: 8px; padding: 3px 6px; }
  .card__thumb::before, .card__thumb::after { display: none; }
  .card:hover .card__thumb img { transform: none; filter: none; }
  .card__meta { padding-top: 8px; }
  .card__title { font-size: 14px; }
  .card__sub { font-size: 12px; }
  .grid__more { margin-top: 30px; }

  /* serviços em sanfona */
  .service {
    grid-template-columns: 44px 1fr 28px; gap: 4px 12px; align-items: center;
    padding: 20px 2px;
  }
  .service:hover { background: none; padding-left: 2px; }
  .service__num { font-size: 22px; }
  .service h3 { font-size: 17px; margin: 0; }
  .service__body p, .service__arrow { display: none; }
  .service__toggle {
    display: grid; place-items: center;
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--line); color: var(--yellow);
    font: 400 20px/1 var(--display);
    transition: transform .3s ease, background .3s ease;
  }
  .service.is-open { background: rgba(254,196,0,.04); }
  .service.is-open .service__num { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
  .service.is-open .service__toggle { transform: rotate(45deg); background: var(--yellow); color: #000; border-color: var(--yellow); }
  .service.is-open .service__body p { display: block; margin-top: 8px; font-size: 15px; }
  .service.is-open .service__arrow {
    display: inline-flex; grid-column: 2 / 4;
    opacity: 1; transform: none; margin-top: 10px;
    padding: 10px 16px; border-radius: 999px; border: 1px solid var(--yellow);
    justify-self: start;
  }

  /* sobre e contato mais enxutos */
  .about__main { aspect-ratio: 4 / 5; max-height: 460px; }
  .about__text p:first-of-type { font-size: 17px; }
  .contact__list a { font-size: 17px; }
  .form { padding: 22px 18px; }
  .clients { padding-bottom: 70px; }
  .clients__list { gap: 10px 24px; }
  .clients__list li { font-size: 16px; }
}
@media (max-width: 560px) {
  .service__num { grid-column: 1; grid-row: 1; }
  .service__body { grid-column: 2; grid-row: 1; }
  .service__toggle { grid-column: 3; grid-row: 1; }
  .service.is-open .service__arrow { grid-row: 2; }
  .service.is-open { align-items: start; }
  .service.is-open .service__num, .service.is-open .service__toggle { margin-top: 2px; }
}

/* ==========================================================
   SERVIÇOS COMPACTOS (grade no computador)
   ========================================================== */
#servicos .section__head { margin-bottom: 32px; }
@media (min-width: 561px) {
  .services {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    border-top: 0;
  }
  .service {
    grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; gap: 6px;
    align-items: start;
    padding: 20px 20px 18px;
    border: 1px solid var(--line); border-radius: 12px;
    background: var(--bg);
  }
  .service:hover { padding-left: 20px; background: rgba(254,196,0,.05); border-color: rgba(254,196,0,.4); }
  .service__num { font-size: 22px; line-height: 1; }
  .service__body h3 { font-size: 17px; margin-bottom: 6px; }
  .service__body p { font-size: 14px; line-height: 1.5; }
  .service__arrow { display: inline-block; font-size: 11px; margin-top: 8px; opacity: .55; transform: none; }
  .service:hover .service__arrow { opacity: 1; }
  .service__toggle { display: none; }
  /* 10 serviços em 3 colunas: o último ocupa a linha inteira */
  .service:last-child { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; grid-template-rows: auto; align-items: center; gap: 18px; }
  .service:last-child .service__arrow { margin-top: 0; }
}
@media (min-width: 561px) and (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:last-child { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; align-items: start; gap: 6px; }
  .service:last-child .service__arrow { margin-top: 8px; }
}
@media (max-width: 560px) {
  #servicos.section { padding-bottom: 56px; }
  .service { padding: 13px 2px; }
  .service h3 { font-size: 15px; }
  .service__num { font-size: 18px; }
  .service__toggle { width: 26px; height: 26px; font-size: 18px; }
}

/* ---------- 04: texto da produtora ---------- */
.about__text p { margin: 0 0 18px; }
.about__text .about__lead { color: var(--text); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; margin-top: 22px; }
.about__sign {
  margin-top: 26px !important; padding-left: 16px; border-left: 3px solid var(--yellow);
  font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.5vw, 20px); color: var(--text) !important;
}
.about__text p.eyebrow { font-size: 12px; color: var(--muted); margin: 0 0 18px; }

/* ---------- logos dos clientes ---------- */
.clients__logos { gap: 34px 56px; align-items: center; max-width: 1100px; margin-left: auto; margin-right: auto; margin-top: 26px; }
.clients__logos li { display: flex; align-items: center; justify-content: center; }
.clients__logos img { height: var(--h); width: auto; max-width: 200px; opacity: .55; transition: opacity .25s ease; }
.clients__logos img:hover { opacity: 1; }
.clients__logos .clients__text { font: 800 26px var(--display); letter-spacing: .04em; color: rgba(255,255,255,.55); }
@media (max-width: 560px) {
  .clients__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
  .clients__logos img { height: calc(var(--h) * .58); max-width: 100%; opacity: .7; }
  .clients__logos .clients__text { font-size: 15px; }
}
@media (min-width: 561px) {
  .clients__logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px 36px; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .clients__logos { grid-template-columns: repeat(3, 1fr); }
}
