/* v3: palco quase preto com grade, bento, um acento laranja-vermelho. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--fundo); color: var(--texto);
  font-family: var(--fonte-corpo); font-size: var(--t-3); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* grade de fundo que esmaece para baixo */
body::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1100px; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grade) 1px, transparent 1px),
    linear-gradient(90deg, var(--grade) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}
svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fonte-display); font-weight: 800; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; }
[hidden] { display: none !important; }

.pular { position: absolute; left: var(--gutter); top: -4rem; z-index: 100; background: var(--acento); color: var(--acento-texto); padding: .6rem 1rem; }
.pular:focus { top: .75rem; }
.dest { color: var(--acento); }
.etiqueta { font-family: var(--fonte-etiqueta); font-size: var(--t-1); letter-spacing: .14em; text-transform: uppercase; color: var(--texto-suave); }

/* ---------- topo ---------- */
.topo {
  position: relative; z-index: 5; max-width: var(--max); margin: 0 auto;
  padding: var(--e-3) var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--e-2);
}
.marca { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 800; font-size: var(--t-3); color: var(--acento); }
.marca span { color: var(--texto); }
.marca svg { width: 30px; height: 30px; }
.topo nav { display: flex; align-items: center; gap: var(--e-3); }
.topo nav a { text-decoration: none; font-size: var(--t-2); color: var(--texto-suave); padding: .5rem 0; }
.topo nav a:hover { color: var(--texto); }
.topo nav .topo__cta {
  color: var(--texto); padding: .55rem 1.1rem; border: 1px solid var(--linha); border-radius: var(--r-3);
  transition: border-color .15s ease, background .15s ease;
}
.topo nav .topo__cta:hover { border-color: var(--acento); background: var(--superficie); }

/* ---------- botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.9rem;
  background: var(--acento); color: var(--acento-texto); text-decoration: none; font-weight: 800; font-size: var(--t-3);
  border-radius: var(--r-3);
  transition: transform .15s ease, box-shadow .2s ease;
}
.botao:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(255, 75, 31, .55); }
.botao:active { transform: translateY(1px); box-shadow: none; }
.link {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 .35rem;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: var(--linha);
}
.link:hover { text-decoration-color: var(--acento); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: var(--e-5) var(--gutter) var(--e-6);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero h1 { font-size: var(--t-6); line-height: 1.02; letter-spacing: -.02em; max-width: 20ch; }
.hero__sub { margin-top: var(--e-3); max-width: 56ch; font-size: var(--t-4); line-height: 1.4; color: var(--texto-suave); }
.hero__cta { margin-top: var(--e-4); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--e-3); }

.player { margin: var(--e-5) 0 0; width: 100%; max-width: 980px; }
.player__tela {
  position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--r-2);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(255, 75, 31, .3), 0 0 0 1px var(--linha);
}
.player__play {
  position: relative; z-index: 2; width: clamp(64px, 9vw, 92px); aspect-ratio: 1; border-radius: var(--r-3);
  border: 2px solid var(--texto); background: rgba(9, 9, 11, .55); color: var(--texto);
  display: grid; place-items: center; cursor: not-allowed;
}
.player__play svg { width: 42%; fill: currentColor; margin-left: 6%; }
.player__tag {
  position: absolute; z-index: 2; left: var(--e-3); bottom: var(--e-3);
  font-family: var(--fonte-etiqueta); font-size: var(--t-1); letter-spacing: .14em; text-transform: uppercase;
  background: var(--acento); color: var(--acento-texto); padding: .35rem .75rem; border-radius: var(--r-1);
}

/* números reais, só se existirem no config */
.numeros {
  list-style: none; margin: var(--e-5) 0 0; padding: 0; width: 100%; max-width: 980px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--e-3);
}
.numeros li { text-align: center; }
.numeros strong { display: block; font-family: var(--fonte-display); font-size: var(--t-5); line-height: 1; }
.numeros span { color: var(--texto-suave); font-size: var(--t-2); }

/* fotogramas stand-in até chegarem os vídeos */
.quadro { position: relative; aspect-ratio: 16 / 9; width: 100%; background-color: var(--superficie); overflow: hidden; }
.quadro::after { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(0, 0, 0, .6) 1.1px, transparent 1.6px); background-size: 6px 6px; }
.quadro--1 { background-image: radial-gradient(circle at 72% 38%, #d9c9a0 0 7%, transparent 8%), linear-gradient(160deg, #1b211c 0%, #3b4536 62%, #8f836a 100%); }
.quadro--2 { background-image: linear-gradient(170deg, #c9b58c 0%, #9a8660 55%, #3b342a 100%); }
.quadro--3 { background-image: linear-gradient(0deg, #3d5230 0 26%, transparent 26%), linear-gradient(180deg, #e0a96b 0%, #b8564a 60%, #5a2f2f 100%); }
.quadro--4 { background-image: linear-gradient(110deg, #1c1813 0%, #5a4a35 55%, #b79d6a 100%); }

/* ---------- seções ---------- */
.jeito, .trabalhos, .contato { max-width: var(--max); margin: 0 auto; padding: var(--e-6) var(--gutter) 0; }
.secao-cab { text-align: center; margin-bottom: var(--e-4); }
.secao-cab h2 { font-size: var(--t-5); line-height: 1.05; letter-spacing: -.015em; }
.secao-cab p { margin: var(--e-2) auto 0; max-width: 52ch; color: var(--texto-suave); font-size: var(--t-3); }

/* bento: larguras desiguais, linhas de 3 e 2 */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--e-2); }
.bento__c {
  background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--r-2);
  padding: var(--e-3); transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.bento__c--l { grid-column: span 3; }
.bento__c--m { grid-column: span 2; }
.bento__c:hover { border-color: var(--acento); background: var(--superficie-alta); transform: translateY(-3px); }
.ico { width: 26px; height: 26px; fill: none; stroke: var(--acento); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--e-3); }
.bento__c h3 { font-size: var(--t-4); line-height: 1.1; margin-bottom: .55rem; }
.bento__c p { color: var(--texto-suave); font-size: var(--t-2); line-height: 1.6; }

/* casos */
.casos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3); }
.caso {
  background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--r-2); overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.caso:hover { border-color: var(--acento); transform: translateY(-3px); }
.caso__corpo { padding: var(--e-3); }
.caso h3 { font-size: var(--t-4); line-height: 1.1; margin: .4rem 0 .5rem; }
.caso__corpo > p:last-child { color: var(--texto-suave); font-size: var(--t-2); line-height: 1.6; }

.depoimento {
  margin: var(--e-4) auto 0; max-width: 62ch; text-align: center;
}
.depoimento p { font-size: var(--t-4); line-height: 1.4; }
.depoimento footer { margin-top: var(--e-2); color: var(--texto-suave); font-size: var(--t-2); }

/* contato */
.contato { padding-bottom: var(--e-6); text-align: center; display: flex; flex-direction: column; align-items: center; }
.contato h2 { font-size: var(--t-5); line-height: 1.05; letter-spacing: -.015em; max-width: 20ch; }
.contato__apoio { margin-top: var(--e-3); max-width: 52ch; color: var(--texto-suave); }
.contato__links { margin-top: var(--e-4); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--e-3); }
.contato__vazio { font-family: var(--fonte-etiqueta); font-size: var(--t-1); letter-spacing: .08em; color: var(--texto-suave); }

.rodape {
  max-width: var(--max); margin: 0 auto; padding: var(--e-3) var(--gutter) var(--e-4);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--e-2);
  border-top: 1px solid var(--linha); font-size: var(--t-2); color: var(--texto-suave);
}

/* revelar */
.rev { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease, border-color .2s ease, background .2s ease; }
.rev.rev--on { opacity: 1; transform: none; }
.rev.rev--on.bento__c:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .rev { opacity: 1; transform: none; transition: none; } .botao, .bento__c, .caso { transition: none; } }

/* ---------- mobile ---------- */
@media (max-width: 820px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento__c--l, .bento__c--m { grid-column: auto; }
  .casos { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .topo nav a:nth-child(2) { display: none; }
  .hero__sub { font-size: var(--t-3); }
  .marca span { display: none; }
}

/* ---------- vídeos reais ---------- */
.secao-cab--curtos { margin-top: var(--e-6); }
.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-3) var(--e-2); }
.video {
  background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--r-2); overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.video:hover { border-color: var(--acento); }
.video__thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--superficie-alta); overflow: hidden; }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.video:hover .video__thumb img, .player__tela:hover img { transform: scale(1.04); }
.video__thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 52px; aspect-ratio: 1; margin: -26px 0 0 -26px;
  border-radius: var(--r-3); background: var(--acento); color: var(--acento-texto);
  display: grid; place-items: center; transition: transform .2s ease;
}
.video__play svg { width: 44%; fill: currentColor; margin-left: 6%; }
.video__play--grande { width: clamp(64px, 9vw, 92px); margin: calc(clamp(64px, 9vw, 92px) / -2) 0 0 calc(clamp(64px, 9vw, 92px) / -2); }
.video__thumb:hover .video__play { transform: scale(1.1); }
.video__corpo { padding: var(--e-2) var(--e-2) var(--e-3); }
.video h3 {
  font-size: var(--t-3); line-height: 1.2; margin-top: .45rem; letter-spacing: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.reels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--e-2); }
.reel a {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--e-3);
  aspect-ratio: 9 / 14; padding: var(--e-2); text-decoration: none;
  background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--r-2);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.reel a:hover { border-color: var(--acento); background: var(--superficie-alta); transform: translateY(-3px); }
.reel__n { font-family: var(--fonte-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--texto-suave); }
.reel a:hover .reel__n { -webkit-text-stroke-color: var(--acento); }
.reel__txt { font-size: var(--t-2); color: var(--texto-suave); line-height: 1.3; }
.reel__seta { width: 22px; height: 22px; fill: none; stroke: var(--acento); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 960px) {
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .videos { grid-template-columns: minmax(0, 1fr); }
  .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
