/* Martim Visuals: estilo "Keynote" escuro (direção H) */
:root {
  --bg: #000000;
  --band: #0a0a0b;
  --tile: #161617;
  --line: #2c2c2e;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #86868b;
  --accent: #2a62f5;
  --link: #5b9bff;
  --radius: 30px;
  --radius-sm: 24px;
  --max: 1240px;
  --pad: clamp(16px, 4vw, 22px);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-optical-sizing: auto;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 14px; background: var(--text); color: #000; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Botões e links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 17px; font-weight: 500;
  cursor: pointer; transition: transform 100ms ease-out, background-color 150ms ease-out;
}
.btn:hover { background: #3a6ff7; }
.btn:active { transform: scale(0.97); }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 18px; }
.btn--ghost { background: transparent; border: 1px solid #3a3a3c; }
.btn--ghost:hover { background: #1c1c1e; }
.link { color: var(--link); font-size: 17px; }
.link:hover { text-decoration: underline; }

/* Navegação translúcida */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 12px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav__brand { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.nav__links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--text-2); }
.nav__links a:not(.btn):hover { color: var(--text); }

/* Topo */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--pad) 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero--404 { min-height: 80vh; justify-content: center; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--link); }
.hero__title { font-weight: 700; font-size: clamp(46px, 7.6vw, 104px); line-height: 1.02; letter-spacing: -0.045em; max-width: 12ch; }
.hero__sub { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; letter-spacing: -0.01em; color: var(--text-2); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; margin-top: 6px; }
.proof { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; font-size: 15px; color: var(--text-2); }
.proof strong { color: var(--text); font-weight: 600; }

/* Trabalhos */
.work { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad) 140px; display: flex; flex-direction: column; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.label { margin: 56px 0 4px; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-2); }
/* Trabalhos separados por formato, cada bloco com link próprio (/#talking-head, /#explainers, /#shorts) */
.formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.formats a { padding: 8px 16px; border-radius: 999px; background: var(--tile); font-size: 14px; color: var(--text-2); transition: color 150ms ease-out, background 150ms ease-out; }
.formats a:hover { color: var(--text); background: #232325; }
.group { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 64px; }
.group .label { margin-top: 40px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.group__more { aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; transition: border-color 150ms ease-out, background 150ms ease-out; }
.group__more:hover { border-color: #3a3a3c; background: #0b0b0c; }
.group__more-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.group__more-text { font-size: 16px; line-height: 1.45; color: var(--text-2); max-width: 32ch; }
.group__more-link { font-size: 16px; color: var(--link); }
.shorts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.card {
  position: relative; display: block; width: 100%;
  border-radius: var(--radius); overflow: hidden; background: var(--tile);
  aspect-ratio: 16 / 9;
  transition: transform 300ms var(--ease);
}
.card--short { aspect-ratio: 9 / 16; border-radius: var(--radius-sm); }
.card:not(.is-playing):hover { transform: scale(1.01); }
.card__cover { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.card__cover:active { transform: scale(0.99); }
.card__cover > img, .card__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__preview { opacity: 0; transition: opacity 250ms ease-out; pointer-events: none; }
.card.is-previewing .card__preview { opacity: 1; }
.card__player { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.card.is-playing .card__cover { display: none; }
.card__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(29, 29, 31, 0.6);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transition: opacity 200ms ease-out;
}
.card__play svg { width: 22px; height: 22px; fill: currentColor; }
.card__play--lg { width: 84px; height: 84px; }
.card__play--lg svg { width: 28px; height: 28px; }
.card.is-previewing .card__play { opacity: 0; }
.card__meta {
  position: absolute; left: 18px; bottom: 18px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(29, 29, 31, 0.7);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-size: 14px; font-weight: 500; white-space: nowrap;
}
.card--feature .card__meta { left: 22px; bottom: 22px; font-size: 15px; padding: 10px 16px; }

/* Faixas e títulos de seção */
.band { background: var(--band); }
.section-title { font-weight: 700; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.04em; text-align: center; }
.section-title--left { text-align: left; }
.section-sub { margin-top: 16px; font-size: 19px; color: var(--text-2); text-align: center; }

/* Antes e depois */
.ba { padding: 140px var(--pad); display: flex; flex-direction: column; align-items: center; }
.ba__stage { --split: 50%; position: relative; width: 100%; max-width: 1080px; margin-top: 36px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; touch-action: pan-y; }
.ba__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba__handle { position: absolute; top: 50%; left: var(--split); transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #000; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; pointer-events: none; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35); }
.ba__tag { position: absolute; top: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); font-size: 13px; font-weight: 600; pointer-events: none; }
.ba__tag--l { left: 18px; }
.ba__tag--r { right: 18px; }
.ba__stage { cursor: ew-resize; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.ba__stage:focus-within { outline: 2px solid var(--link); outline-offset: 4px; }
.ba__controls { width: 100%; max-width: 1080px; margin-top: 14px; display: flex; align-items: center; gap: 14px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--tile); }
.ba__btn { flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ba__btn:hover { background: #2c2c2e; }
.ba__btn svg { width: 20px; height: 20px; fill: currentColor; }
.ba__btn svg .stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ba__play .i-play, .ba__play.is-paused .i-pause { display: none; }
.ba__play.is-paused .i-play { display: block; }
.ba__mute .i-on, .ba__mute.is-on .i-off { display: none; }
.ba__mute.is-on .i-on { display: block; }
.ba__seek, .ba__vol { accent-color: #f5f5f7; cursor: pointer; }
.ba__seek { flex: 1 1 auto; min-width: 60px; }
.ba__vol { flex: 0 0 90px; }
.ba__time { flex: 0 0 auto; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.ba__audio { flex: 0 0 auto; min-width: 88px; font-size: 13px; color: var(--text-3); }
.ba__full { margin-top: 14px; font-size: 14px; color: var(--text-2); }
.ba__full:hover { color: var(--link); }

/* Como vamos trabalhar juntos: processo + o que todo vídeo leva + respostas rápidas */
.together { max-width: 1120px; margin: 0 auto; padding: 140px var(--pad); }
.together__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius); background: var(--tile); }
.panel__label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.panel h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.panel li p { margin-top: 2px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.timeline, .checks { list-style: none; margin: 0; padding: 0; }
.timeline li, .checks li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline li:first-child, .checks li:first-child { border-top: 0; }
.panel { display: flex; flex-direction: column; }
.timeline { flex: 1; display: flex; flex-direction: column; }
.timeline li { flex: 1; align-items: center; }
.timeline__n { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: rgba(42, 98, 245, 0.16); color: var(--link); font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.checks li { padding: 13px 0; }
.checks svg { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--link); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.facts { margin: 40px 0 0; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.facts > div { padding: 22px 0; display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; }

/* Sobre */
.about { padding: 72px var(--pad); }
.about__inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; justify-content: center; }
.about__photo { flex: 0 0 auto; width: min(100%, 420px); height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.about__text { flex: 1 1 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.about__lead { font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; color: var(--text-2); max-width: 34ch; }
.about__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.about__points li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.45; color: var(--text-2); }
.about__points li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(-45deg); }
.about__points strong { color: var(--text); font-weight: 600; }
.about__meta { font-size: 15px; line-height: 1.5; color: var(--text-3); max-width: 40ch; }

/* Perguntas */
.faq { padding: 140px var(--pad); }
.faq__inner { max-width: 760px; margin: 0 auto; }
.faq .section-title { margin-bottom: 40px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-3); font-weight: 400; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.faq details p a { color: var(--link); white-space: nowrap; }
.faq details p a:hover { text-decoration: underline; }

/* Contato */
.contact { border-top: 1px solid #1c1c1e; max-width: 1080px; margin: 0 auto; padding: 140px var(--pad) 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.contact__title { font-weight: 700; font-size: clamp(46px, 7vw, 96px); line-height: 1.02; letter-spacing: -0.045em; }
.contact__sub { font-size: 21px; line-height: 1.45; color: var(--text-2); max-width: 36ch; }
.contact__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.contact__links { font-size: 16px; color: var(--text-2); }
.contact__links a, .contact__note a { color: var(--link); }
.contact__note { font-size: 15px; color: var(--text-3); }
.contact__legal { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 96px; font-size: 12px; color: var(--text-3); }


/* Celular e tablet */
@media (max-width: 900px) {
  .together__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav__links a:not(.btn) { display: none; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
  .group__more { aspect-ratio: auto; border-radius: 20px; }
  .facts dd { font-size: 15px; }
  .shorts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 8px; }
  .shorts .card { flex: 0 0 68%; scroll-snap-align: start; }
  .card { border-radius: 20px; }
  .card__play, .card__play--lg { width: 52px; height: 52px; }
  .card__play svg, .card__play--lg svg { width: 18px; height: 18px; }
  .card__meta, .card--feature .card__meta { left: 12px; bottom: 12px; padding: 6px 12px; font-size: 13px; }
  .ba, .together, .faq { padding-top: 96px; padding-bottom: 96px; }
  .about { padding-top: 56px; padding-bottom: 56px; }
  .ba__vol, .ba__audio { display: none; }
  .work { padding-bottom: 96px; }
  .contact { padding-top: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .card__meta, .card__play { background: #1d1d1f; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Botão pequeno de copiar */
.copy-mini { margin-left: 6px; padding: 3px 10px; border: 1px solid #3a3a3c; border-radius: 999px; background: transparent; font-size: 12px; color: var(--text-2); cursor: pointer; vertical-align: 1px; }
.copy-mini:hover { color: var(--text); background: #1c1c1e; }

/* Página de contato */
.form-page { max-width: 640px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--pad) 96px; }
.form-page__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 40px; }
.form-page__title { font-weight: 700; font-size: clamp(42px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.04em; }
.form-page__sub { font-size: 19px; line-height: 1.45; color: var(--text-2); max-width: 34ch; }
.lead-form { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 4vw, 32px); border-radius: var(--radius); background: var(--tile); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-row .field { flex: 1 1 220px; }
.field-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field label { font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #3a3a3c; border-radius: 12px;
  background: #0b0b0c; color: var(--text); font: inherit; font-size: 16px;
  transition: border-color 150ms ease-out;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #6e6e73; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--link); }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #a1a1a6 50%), linear-gradient(135deg, #a1a1a6 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form__submit { align-self: stretch; margin-top: 6px; }
.lead-form__submit:disabled { opacity: 0.6; cursor: default; }
.lead-form__status { min-height: 1.5em; font-size: 15px; text-align: center; color: var(--text-2); }
.lead-form__status.is-ok { color: #3ccb7f; }
.lead-form__status.is-error { color: #ff6b5e; }
.channels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.channel { position: relative; border-radius: var(--radius-sm); background: var(--tile); transition: background 150ms ease-out; }
.channel:hover { background: #1c1c1e; }
.channel__main { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; min-width: 0; }
.channel__name { font-size: 17px; font-weight: 600; }
.channel__handle { font-size: 14px; color: var(--link); overflow-wrap: anywhere; }
.channel .copy-mini { position: absolute; top: 18px; right: 16px; margin: 0; }
.form-page__or { margin: 48px 0 16px; text-align: center; font-size: 17px; font-weight: 600; color: var(--text-2); }
.field__hint { margin: 2px 0 0; font-size: 14px; color: var(--text-2); }
@media (max-width: 520px) { .channels { grid-template-columns: 1fr; } }
.nowrap { white-space: nowrap; }
