/* Trio Comunicação — site institucional
   Layout: bandas de cor da marca (preto, amarelo, branco) em sequência; o quadrado amarelo do "i" é o único ornamento e marca direção. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/montserrat-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }
:root {
  --preto: #000000;
  --branco: #ffffff;
  --amarelo: #ffd600;
  --cinza: #9a9890;        /* texto secundário sobre preto, levemente quente */
  --cinza-escuro: #55534d; /* texto secundário sobre branco/amarelo */
  --linha-escura: #2a2926;
  --linha-clara: #e4e2da;

  --f-display: "Montserrat", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-texto: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --t-hero: clamp(2.6rem, 10.2vw, 9.6rem);
  --t-h2: clamp(2.2rem, 5.2vw, 4.6rem);
  --t-h3: clamp(1.3rem, 2vw, 1.75rem);
  --t-lead: clamp(1.15rem, 1.6vw, 1.4rem);
  --t-body: 1.0625rem;
  --t-small: 0.9rem;

  --max: 1320px;
  --gutter: max(20px, 4vw);
  --sec: clamp(72px, 10vw, 152px);
  --header-h: 72px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--preto); color: var(--branco);
  font-family: var(--f-texto); font-size: var(--t-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; }
.band-amarelo :focus-visible, .band-branco :focus-visible { outline-color: var(--preto); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amarelo); color: var(--preto); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap {
  max-width: var(--max); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
section.band { padding-block: var(--sec); }
.band-preto { background: var(--preto); color: var(--branco); }
.band-branco { background: var(--branco); color: var(--preto); }
.band-amarelo { background: var(--amarelo); color: var(--preto); }

/* quadrado da marca */
.sq { display: inline-block; width: 0.62em; height: 0.62em; background: var(--amarelo); border-radius: 0.06em; flex: none; }
.band-amarelo .sq { background: var(--preto); }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--preto); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--preto); border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--linha-escura); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; width: 84px; color: var(--branco); }
.logo svg { width: 100%; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.97rem; position: relative; padding-block: 6px; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.nav .btn { font-size: .92rem; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--amarelo); transition: width .2s; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.menu-btn { display: none; background: none; border: 0; color: var(--branco); padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .2s, opacity .2s; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 2px; border: 2px solid var(--amarelo);
  background: var(--amarelo); color: var(--preto); font-family: var(--f-texto); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--branco); border-color: var(--branco); }
.btn--sobre-claro:hover { background: var(--preto); border-color: var(--preto); color: var(--amarelo); }
.btn--ghost { background: transparent; color: var(--branco); border-color: var(--branco); }
.btn--ghost:hover { background: var(--branco); color: var(--preto); }
.btn--preto { background: var(--preto); border-color: var(--preto); color: var(--branco); }
.btn--preto:hover { background: transparent; color: var(--preto); }
.btn--ghost-preto { background: transparent; border-color: var(--preto); color: var(--preto); }
.btn--ghost-preto:hover { background: var(--preto); color: var(--branco); }
.nav .btn { min-height: 44px; padding: 0 18px; }

.link {
  font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  text-decoration-color: var(--amarelo);
}
.band-branco .link, .band-amarelo .link { text-decoration-color: currentColor; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 120px) clamp(64px, 9vw, 128px); overflow: hidden; }
.hero h1 {
  font-weight: 900; text-transform: uppercase; font-size: var(--t-hero);
  line-height: 0.88; letter-spacing: -0.035em; text-wrap: initial;
}
.hero h1 .ln { display: block; white-space: nowrap; }
.hero h1 .dot { width: 0.2em; height: 0.2em; margin-left: 0.04em; border-radius: 0.018em; vertical-align: baseline; position: relative; }
.hero-foot { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; }
.hero-foot p { max-width: 34em; font-size: var(--t-lead); color: #d9d7cf; line-height: 1.5; }
.hero-foot p strong { color: var(--amarelo); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .hero h1 .dot { animation: chega 1.15s cubic-bezier(.2,.8,.15,1) .35s both; }
  .hero h1 .dot::before {
    content: ""; position: absolute; right: 100%; top: 50%; height: 0.035em; width: 60vw; margin-top: -0.0175em;
    background: linear-gradient(90deg, transparent, var(--amarelo)); transform-origin: right;
    animation: rastro 1.6s cubic-bezier(.2,.8,.15,1) .35s both;
  }
}
@keyframes chega { from { transform: translateX(-70vw); } to { transform: none; } }
@keyframes rastro { 0% { transform: scaleX(1); opacity: 1; } 60% { opacity: .9; } 100% { transform: scaleX(0); opacity: 0; } }

/* ---------- títulos de seção ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head h2 { font-size: var(--t-h2); }
.sec-head p { font-size: var(--t-lead); line-height: 1.5; max-width: 30em; }
.band-preto .sec-head p { color: #d0cec6; }
.band-branco .sec-head p, .band-amarelo .sec-head p { color: var(--cinza-escuro); }
.band-amarelo .sec-head p { color: #3b3a35; }

h2 .am { color: var(--amarelo); }
.nw { white-space: nowrap; }
.sec-head h2.titulo-clientes { font-size: min(var(--t-h2), 9.6vw); }
.grifo { padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
  background-repeat: no-repeat; background-position: 0 0; background-size: 100% 100%; }
.grifo--amarelo { background-image: linear-gradient(var(--amarelo), var(--amarelo)); color: var(--preto); }
.grifo--preto { background-image: linear-gradient(var(--preto), var(--preto)); color: var(--amarelo); }
.premios-lista span { line-height: 1.5; }

/* ---------- A Trio (vídeo) ---------- */
.trio { position: relative; isolation: isolate; padding-block: clamp(96px, 14vw, 200px); background: var(--preto); }
.trio video, .trio .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.trio::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.35) 100%); }
.trio h2 { font-size: var(--t-h2); max-width: 11em; }
.trio-text { margin-top: 36px; display: grid; gap: 20px; max-width: 36em; font-size: var(--t-lead); line-height: 1.55; color: #e7e5dd; }
.trio-facts { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 0; list-style: none; font-weight: 600; }
.trio-facts li { display: flex; align-items: center; gap: 12px; }
.trio-facts .sq { width: 10px; height: 10px; }
.video-toggle {
  position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 24px;
  display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.55); color: var(--branco);
  border: 1px solid rgba(255,255,255,.4); border-radius: 2px; padding: 8px 12px; font: 600 .85rem var(--f-texto); cursor: pointer;
}
.video-toggle:hover { background: var(--preto); }

/* ---------- cases ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.case { grid-column: span 4; display: flex; flex-direction: column; gap: 18px; text-decoration: none; }
.case--wide { grid-column: span 8; }
.case--tall { grid-column: span 4; grid-row: span 2; }
.case-media { position: relative; overflow: hidden; background: #161614; aspect-ratio: 16 / 9; }
.case--tall .case-media { aspect-ratio: auto; flex: 1; min-height: 420px; }
.case-media img, .case-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.case-media video { opacity: 0; transition: opacity .3s; }
.case.is-playing .case-media video { opacity: 1; }
.case:hover .case-media img { transform: scale(1.03); }
.case-body { display: grid; gap: 8px; }
.case h3 { font-size: var(--t-h3); }
.case p { color: #c9c7bf; max-width: 32em; }
.case .link { justify-self: start; margin-top: 4px; }

/* ---------- prêmios ---------- */
.premios-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.premios h2 { font-size: var(--t-h2); }
.premios .intro { margin-top: 24px; font-size: var(--t-lead); max-width: 26em; color: #2e2d29; line-height: 1.5; }
.premios-lista { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--preto); }
.premios-lista li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 22px 0; border-bottom: 2px solid var(--preto); }
.premios-lista strong { font-family: var(--f-display); font-size: clamp(1.25rem, 2.1vw, 1.7rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.premios-lista span { font-weight: 500; color: #3b3a35; }
.premios-lista small { font-size: .95rem; color: #3b3a35; margin-top: 4px; }
.premios figure { margin: 40px 0 0; }
.premios figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.premios figcaption { margin-top: 10px; font-size: var(--t-small); color: #3b3a35; }

/* ---------- clientes ---------- */
.clientes-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); border-top: 1px solid var(--linha-clara); border-left: 1px solid var(--linha-clara); }
.clientes-grid li { display: grid; place-items: center; min-height: 140px; padding: 22px; border-right: 1px solid var(--linha-clara); border-bottom: 1px solid var(--linha-clara); }
.clientes-grid img { width: auto; height: auto; max-width: 100%; filter: grayscale(1) contrast(1.05); opacity: var(--op, .8); transition: filter .25s, opacity .25s; mix-blend-mode: multiply; }
.clientes-grid li:hover img { filter: none; opacity: 1; }

/* ---------- o que fazemos ---------- */
.servicos { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linha-escura); }
.servicos li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 48px; padding: 28px 0; border-bottom: 1px solid var(--linha-escura); align-items: baseline; }
.servicos h3 { font-size: var(--t-h3); display: flex; align-items: center; gap: 16px; }
.servicos h3 .sq { width: 12px; height: 12px; }
.servicos p { color: #cfcdc5; font-size: 1.1rem; max-width: 34em; }

.como { margin-top: clamp(72px, 10vw, 136px); }
.como h3.como-title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.como-intro { margin-top: 16px; font-size: var(--t-lead); color: #d0cec6; max-width: 32em; }
.etapas { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; counter-reset: etapa; }
.etapas::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: linear-gradient(90deg, var(--amarelo), var(--amarelo) 92%, transparent); }
.etapas li { position: relative; display: grid; gap: 12px; align-content: start; counter-increment: etapa; }
.etapas .marca { width: 28px; height: 28px; background: var(--amarelo); border-radius: 3px; position: relative; z-index: 1; }
.etapas .num { font-family: var(--f-display); font-weight: 800; color: var(--amarelo); font-size: .95rem; margin-top: 8px; font-variant-numeric: tabular-nums; }
.etapas h4 { margin: 0; font-family: var(--f-display); font-size: 1.35rem; font-weight: 800; line-height: 1.15; }
.etapas p { color: #cfcdc5; }

/* ---------- portfólio teaser ---------- */
.mosaico { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mosaico figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #eee; }
.mosaico figure:nth-child(1) { grid-column: span 3; grid-row: span 2; aspect-ratio: auto; }
.mosaico figure:nth-child(2), .mosaico figure:nth-child(3) { grid-column: span 3; }
.mosaico figure:nth-child(n+4) { grid-column: span 2; }
.mosaico img { width: 100%; height: 100%; object-fit: cover; }
.mosaico figcaption { position: absolute; left: 0; bottom: 0; background: var(--preto); color: var(--branco); font-size: .82rem; font-weight: 600; padding: 6px 10px; }
.portfolio-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.portfolio-cta p { color: var(--cinza-escuro); }

/* ---------- time ---------- */
.time-intro { max-width: 34em; font-size: var(--t-lead); color: #d0cec6; line-height: 1.5; }
.time-grid { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 32px 16px; }
.time-grid li { display: grid; gap: 10px; align-content: start; }
.time-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #fff; filter: grayscale(1); }
.time-grid strong { font-family: var(--f-display); font-weight: 800; font-size: .98rem; line-height: 1.2; }
.time-grid span { color: var(--cinza); font-size: .95rem; line-height: 1.35; }
.time-foto { margin: 0 0 clamp(40px, 5vw, 64px); }
.slideshow { position: relative; }
.slides { list-style: none; margin: 0; padding: 0; position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: #161614; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.slide.is-ativo { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.slide-dots { display: flex; gap: 8px; }
.slide-dot { width: 12px; height: 12px; padding: 0; border: 1px solid var(--cinza); background: transparent; border-radius: 2px; cursor: pointer; }
.slide-dot[aria-current="true"] { background: var(--amarelo); border-color: var(--amarelo); }
.slide-nav { width: 40px; height: 40px; display: grid; place-items: center; background: transparent; border: 1px solid #45443f; border-radius: 2px; color: var(--branco); cursor: pointer; }
.slide-nav:hover { border-color: var(--amarelo); }
.slide-nav span { width: 10px; height: 10px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateX(2px) rotate(45deg); }
.slide-nav--prox span { transform: translateX(-2px) rotate(-135deg); }

/* ---------- contato ---------- */
.contato-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contato .kicker { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; gap: 12px; }
.contato .kicker .sq { width: 14px; height: 14px; }
.contato h2 { font-size: var(--t-h2); margin-top: 20px; }
.contato .intro { margin-top: 24px; font-size: var(--t-lead); line-height: 1.5; color: #2e2d29; max-width: 26em; }
.contato .actions { margin-top: 36px; }
.contato-dados { margin-top: 36px; display: grid; gap: 6px; font-weight: 500; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; background: var(--preto); color: var(--branco); padding: clamp(24px, 3.4vw, 44px); }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field label small { font-weight: 400; color: var(--cinza); }
.field input, .field textarea {
  width: 100%; font: 400 1rem var(--f-texto); color: var(--branco); background: transparent;
  border: 0; border-bottom: 2px solid #4a4944; border-radius: 0; padding: 10px 0; transition: border-color .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--amarelo); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-bottom-color: #ff7a59; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .92rem; color: #d0cec6; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--amarelo); }
.check a { color: var(--branco); }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.form-status { font-size: .95rem; min-height: 1.5em; }
.form-status.ok { color: var(--amarelo); }
.form-status.erro { color: #ff9a80; }

/* ---------- rodapé ---------- */
.site-footer { background: var(--preto); color: var(--branco); padding-block: clamp(64px, 8vw, 112px) 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 48px; }
.assinatura { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: .95; letter-spacing: -0.02em; }
.assinatura .am { color: var(--amarelo); }
.footer-logo { width: 96px; margin-top: 28px; color: var(--branco); }
.footer-id { margin-top: 14px; color: var(--cinza); }
.footer-col h2 { font-family: var(--f-texto); font-size: .95rem; font-weight: 700; letter-spacing: 0; color: var(--cinza); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; font-weight: 500; }
.wa-link { display: inline-flex; align-items: center; gap: 10px; }
.wa-ico { width: 22px; height: 22px; color: #25D366; flex: none; }
.footer-col a:hover { text-decoration: underline; text-decoration-color: var(--amarelo); text-underline-offset: 4px; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #3a3934; border-radius: 2px; }
.social a:hover { border-color: var(--amarelo); color: var(--amarelo); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--linha-escura); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--cinza); font-size: .9rem; }
.footer-bottom a { color: var(--cinza); }


/* ---------- página de case ---------- */
.selo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; color: var(--amarelo); }
.selo .sq { width: 10px; height: 10px; }
.case-premios { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.case-premios li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; }
.case-premios .sq { width: 12px; height: 12px; grid-row: span 2; align-self: start; margin-top: 6px; }
.case-premios strong { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; color: var(--amarelo); }
.case-premios span:not(.sq) { color: #d0cec6; font-size: .95rem; }
.case-hero { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 48px); }
.voltar { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--cinza); margin-bottom: clamp(28px, 4vw, 48px); }
.voltar::before { content: ""; width: 10px; height: 10px; background: var(--amarelo); border-radius: 1px; }
.voltar:hover { color: var(--branco); }
.case-hero h1 { font-size: clamp(2.4rem, 6.4vw, 5.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: .98; max-width: 14em; }
.case-frase { margin-top: 20px; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 500; color: #d9d7cf; max-width: 30em; }
.case-tags { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags li { border: 1px solid #45443f; padding: 6px 12px; font-size: .92rem; font-weight: 600; border-radius: 2px; }
.case-media-sec { padding-bottom: 8px; }
.case-video video { width: 100%; background: #111; display: block; }
.case-video--h video { aspect-ratio: 16 / 9; }
.case-video--v { max-width: 460px; margin-inline: auto; }
.case-video--v video { aspect-ratio: 9 / 16; }
.case-texto { padding-top: clamp(56px, 7vw, 104px); }
.case-texto-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.blocos { display: grid; gap: clamp(40px, 5vw, 64px); }
.bloco { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 12px 32px; padding-top: 20px; border-top: 1px solid var(--linha-escura); }
.bloco h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--amarelo); }
.bloco-txt { display: grid; gap: 16px; font-size: 1.15rem; line-height: 1.65; color: #e2e0d8; max-width: 38em; }
.assinatura-case { margin-top: 8px; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; color: var(--amarelo); max-width: 14em; }
.ficha { position: sticky; top: calc(var(--header-h) + 32px); padding: 28px; border: 1px solid var(--linha-escura); }
.ficha h2 { font-size: 1.15rem; margin-bottom: 18px; }
.ficha dl { margin: 0; display: grid; gap: 16px; }
.ficha dt { font-size: .85rem; color: var(--cinza); font-weight: 600; }
.ficha dd { margin: 2px 0 0; font-weight: 500; line-height: 1.45; }
.pecas-title { font-size: var(--t-h2); margin-bottom: clamp(32px, 4vw, 56px); }
.pecas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.peca { margin: 0; display: grid; gap: 10px; min-width: 0; }
.peca.wide { grid-column: 1 / -1; }
.peca figcaption { font-size: .92rem; color: var(--cinza-escuro); font-weight: 500; }
.peca img, .peca video { width: 100%; height: auto; background: #f1f0eb; }
.zoom { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.peca--video video { aspect-ratio: auto; }
.pecas:has(.peca--v) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pecas:has(.peca--v) .peca:not(.peca--v):not(.peca--audio) { grid-column: span 2; }
.pecas:has(.peca--v) .peca--audio { grid-column: 1 / -1; }
.peca--audio { grid-column: span 1; background: var(--preto); color: var(--branco); padding: 22px; gap: 16px; }
.audio-head { display: flex; gap: 14px; align-items: center; }
.audio-head .sq { width: 16px; height: 16px; }
.audio-head strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; line-height: 1.2; }
.audio-head span:not(.sq) { color: var(--cinza); font-size: .9rem; }
.peca--audio audio { width: 100%; color-scheme: dark; }
.proximo { padding-block: clamp(48px, 6vw, 80px); }
.proximo-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; }
.proximo-link { text-decoration: none; display: grid; gap: 8px; }
.proximo-link span { font-weight: 700; }
.proximo-link strong { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 1.12; letter-spacing: -0.03em; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.proximo-link:hover strong { text-decoration-thickness: 6px; }
.proximo-cta { display: grid; gap: 14px; justify-items: start; }
.proximo-cta p { font-weight: 600; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1800px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; height: auto; display: block; }
.lightbox-close { position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); background: var(--amarelo); color: var(--preto); border: 0; padding: 10px 16px; font: 700 .95rem var(--f-texto); cursor: pointer; border-radius: 2px; }
@media (max-width: 900px) {
  .case-texto-grid { grid-template-columns: minmax(0, 1fr); }
  .ficha { position: static; }
  .bloco { grid-template-columns: minmax(0, 1fr); }
  .proximo-grid { grid-template-columns: minmax(0, 1fr); }
  .pecas:has(.peca--v) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pecas { grid-template-columns: minmax(0, 1fr); }
  .pecas:has(.peca--v) .peca:not(.peca--v):not(.peca--audio) { grid-column: 1 / -1; }
}


/* ---------- portfólio ---------- */
.portfolio-hero { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px); }
.portfolio-hero h1 { font-size: clamp(2.4rem, 6.4vw, 5.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: .98; max-width: 12em; }
.filtros-bar { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 40; background: var(--preto); border-block: 1px solid var(--linha-escura); }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 14px; }
@media (max-width: 900px) { .filtros { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .filtros::-webkit-scrollbar { display: none; } }
.filtro { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid #45443f; border-radius: 2px; background: transparent; color: var(--branco); font: 600 .95rem var(--f-texto); cursor: pointer; white-space: nowrap; }
.filtro span { color: var(--cinza); font-variant-numeric: tabular-nums; font-weight: 500; }
.filtro:hover { border-color: var(--branco); }
.filtro[aria-pressed="true"] { background: var(--amarelo); border-color: var(--amarelo); color: var(--preto); }
.filtro[aria-pressed="true"] span { color: var(--preto); }
section.portfolio-lista { padding-top: clamp(32px, 4vw, 48px); }
.pf-contagem { color: var(--cinza); margin-bottom: 24px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.card { display: grid; gap: 14px; align-content: start; }
.card-btn { display: block; padding: 0; border: 0; background: none; cursor: pointer; width: 100%; color: inherit; }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #161614; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.card-media--galeria img { object-position: 50% 30%; }
.card-media--audio { background: #121210; }
.card-media--audio img.onda { object-fit: contain; padding: 18% 8%; }
.card-btn:hover .card-media img { transform: scale(1.03); }
.dur { position: absolute; right: 10px; bottom: 10px; background: var(--preto); color: var(--branco); font-size: .8rem; font-weight: 600; padding: 3px 8px; font-variant-numeric: tabular-nums; }
.play { position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; background: var(--amarelo); border-radius: 2px; }
.play::after { content: ""; position: absolute; left: 15px; top: 12px; border-left: 13px solid var(--preto); border-block: 8px solid transparent; }
.card-body { display: grid; gap: 4px; }
.card-cat { font-size: .85rem; color: var(--amarelo); font-weight: 600; }
.card h3 { font-size: 1.2rem; line-height: 1.2; }
.card p { color: var(--cinza); }
.card-case { justify-self: start; margin-top: 4px; font-size: .95rem; }
.pf-cta { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.player { border: 0; padding: 0; width: min(1200px, 94vw); max-height: 92vh; background: var(--preto); color: var(--branco); }
.player::backdrop { background: rgba(0,0,0,.88); }
.player-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--linha-escura); }
.player-head h2 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.player-cliente { color: var(--amarelo); font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.player-close { position: static; flex: none; }
.player-body { padding: 24px; overflow: auto; max-height: calc(92vh - 90px); display: grid; gap: 16px; }
.player-body video { width: 100%; max-height: calc(92vh - 140px); background: #000; }
.player-body video.v { width: auto; max-width: 100%; margin-inline: auto; }
.player-body img { width: 100%; height: auto; }
.player-body .onda { background: #121210; padding: 24px; }
.player-body audio { width: 100%; color-scheme: dark; }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cards { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .player-head, .player-body { padding: 16px; }
}

/* ---------- 404 ---------- */
.nf-title { font-size: clamp(2.4rem, 6.4vw, 5.6rem); font-weight: 900; letter-spacing: -0.03em; max-width: 12em; }
.nf-title .sq { width: .2em; height: .2em; margin-left: .05em; }

/* ---------- política ---------- */
.pol-texto { max-width: 46em; display: grid; gap: 40px; }
.pol-sec { display: grid; gap: 12px; }
.pol-sec h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.pol-sec p { color: #2e2d29; font-size: 1.08rem; line-height: 1.7; }


/* ---------- artigos ---------- */
.art-capa { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eee; margin-bottom: 6px; }
.art-capa img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.art-card > a:hover .art-capa img { transform: scale(1.03); }
.artigo-midia { max-width: 60rem; margin: 0 auto clamp(40px, 5vw, 64px); display: grid; gap: 10px; }
.artigo-midia img, .artigo-midia video { width: 100%; height: auto; background: #111; }
.artigo-midia figcaption { font-size: .92rem; color: var(--cinza-escuro); }
.art-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.art-card { display: grid; grid-template-rows: 1fr auto; gap: 24px; border-top: 4px solid var(--preto); padding-top: 20px; }
.art-card > a { text-decoration: none; display: grid; gap: 12px; align-content: start; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; color: var(--cinza-escuro); font-weight: 500; }
.art-meta .sq { width: 10px; height: 10px; }
.art-exemplo { background: var(--preto); color: var(--amarelo); font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 2px; }
.art-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; letter-spacing: -0.02em; }
.art-card > a:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--amarelo); text-underline-offset: 5px; }
.art-card p { color: #3b3a35; }
.autor { display: flex; align-items: center; gap: 12px; }
.autor img, .autor .autor-sq { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #eee; flex: none; }
.autor img { filter: grayscale(1); }
.autor .autor-sq { border-radius: 4px; background: var(--preto); position: relative; }
.autor .autor-sq::after { content: ""; position: absolute; inset: 14px; background: var(--amarelo); border-radius: 2px; }
.autor strong { display: block; font-weight: 700; line-height: 1.2; }
.autor span:not(.autor-sq) { font-size: .88rem; color: var(--cinza-escuro); }
.autor--g img, .autor--g .autor-sq { width: 56px; height: 56px; }
.autor--g .autor-sq { background: #1c1c1a; }
.autor--g .autor-sq::after { inset: 18px; }
.artigo-hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.artigo-hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; max-width: 16em; }
.artigo-info { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; color: var(--cinza); }
.artigo-info .autor span:not(.autor-sq) { color: var(--cinza); }
.art-aviso { max-width: 42rem; margin: 0 auto 32px; background: var(--amarelo); color: var(--preto); padding: 12px 16px; font-weight: 600; }
.artigo-texto { max-width: 42rem; margin-inline: auto; font-size: 1.18rem; line-height: 1.75; color: #1d1c19; }
.artigo-texto > * + * { margin-top: 1.1em; }
.artigo-texto h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; line-height: 1.15; }
.artigo-texto a { text-decoration-color: var(--amarelo); text-decoration-thickness: 2px; }
.artigo-texto blockquote { margin-inline: 0; border-left: 6px solid var(--amarelo); padding-left: 20px; font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; line-height: 1.3; }
.compartilhar { max-width: 42rem; margin: 48px auto 0; padding-top: 20px; border-top: 1px solid var(--linha-clara); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.compartilhar span { font-weight: 700; }
.compartilhar a { font-weight: 600; text-decoration-color: var(--amarelo); text-decoration-thickness: 2px; text-underline-offset: 4px; }
section.artigos-mais { padding-top: 0; }
@media (max-width: 1080px) { .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .art-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .time-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case, .case--wide { grid-column: span 6; }
  .case--tall { grid-column: span 6; grid-row: span 2; }
  .etapas { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .etapas::before { display: none; }
}
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0; background: var(--preto);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; padding: 14px 0; border-bottom: 1px solid var(--linha-escura); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 24px; font-family: var(--f-texto); font-size: 1.05rem; min-height: 56px; border-bottom: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .sec-head, .premios-grid, .contato-grid, .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .servicos li { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .case, .case--wide, .case--tall { grid-column: 1 / -1; grid-row: auto; }
  .case--tall .case-media { aspect-ratio: 4 / 5; min-height: 0; flex: none; }
  .mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaico figure:nth-child(n) { grid-column: span 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .mosaico figure:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .mosaico figure:nth-child(6) { display: none; }
  .etapas { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .clientes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clientes-grid li { min-height: 110px; padding: 16px; }
  .time-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.card .selo { justify-self: start; background: var(--amarelo); color: var(--preto); padding: 3px 8px; font-size: .8rem; border-radius: 2px; margin-bottom: 4px; }
.card .selo .sq { display: none; }
h2:has(.grifo) { line-height: 1.12; }
.artigo-texto .artigo-midia--meio { margin: 2em 0; max-width: none; }
.artigo-texto .artigo-midia--meio figcaption { font-size: .92rem; }
.artigo-texto .artigo-midia--vertical { max-width: 22rem; margin-inline: auto; }
.sobre-autor { margin-top: 3em; padding-top: 2em; border-top: 2px solid #000; display: grid; grid-template-columns: 9rem 1fr; gap: 24px; align-items: start; }
.sobre-autor img { width: 100%; height: auto; display: block; }
.sobre-autor p { font-size: 1rem; line-height: 1.6; margin: 0; }
.sobre-autor .sobre-autor-rot { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
@media (max-width: 560px) { .sobre-autor { grid-template-columns: 6.5rem 1fr; gap: 16px; } }
