/* Tema escuro único: fundo grafite, cards escuros com borda sutil, títulos brancos, textos cinza, destaques vermelhos */
:root{--t-bg:#0b0b0d;--t-bg2:#0e0e11;--t-card:#141417;--t-line:#ffffff14;--t-line2:#ffffff24;--t-fg:#f4f4f6;--t-muted:#a2a2ac;--t-red:#ff1738;--editorial-paper:#0b0b0d;--editorial-ink:#f4f4f6}

#projetos,#video,#compromissos{background:var(--t-bg)!important;color:var(--t-fg)!important;border-top:1px solid var(--t-line)}
#video,#compromissos{background:var(--t-bg2)!important}
#projetos h2,#video h2,#compromissos h2,#projetos h3,#compromissos h3,#projetos .editorial-label,#video .editorial-label,#compromissos .editorial-label{color:var(--t-fg)}
#projetos h2 em{color:var(--t-red)}
#projetos p,#video p,#compromissos p,#projetos small,#projetos .editorial-project-row span,#projetos .editorial-project-meta,.editorial-section-note{color:var(--t-muted)!important}
#projetos .editorial-project-meta span:first-child{color:var(--t-red)!important}

/* Projetos em cards como o da referência */
#projetos .editorial-project-list .editorial-project-row{background:var(--t-card);border:1px solid var(--t-line);border-radius:14px;padding:14px 14px 18px;transition:border-color .25s,transform .25s}
#projetos .editorial-project-list .editorial-project-row:hover{border-color:var(--t-red);transform:translateY(-3px)}
#projetos .editorial-project-row:hover h3{color:var(--t-red)}
#projetos .editorial-project-thumb,#projetos video.gkf-pvid{background:#1a1a1f;border:1px solid var(--t-line);border-radius:10px;box-shadow:none}
#projetos .editorial-project-image{background:#16161a}
#projetos .editorial-project-zoom>span,#projetos .editorial-project-image>span{background:var(--t-red);color:#fff}
#projetos .editorial-project-row{border-bottom-color:var(--t-line)}

/* Vídeo */
#video .editorial-film-player video{border:1px solid var(--t-line);border-radius:14px}

/* Compromissos */
#compromissos .gkf-promise{background:var(--t-card)!important;border:1px solid var(--t-line)!important;border-radius:14px;color:var(--t-fg);box-shadow:none}
#compromissos .gkf-promise:hover{border-color:var(--t-red)!important;box-shadow:0 24px 50px #0008,0 0 0 1px var(--t-red)}
#compromissos .gkf-promise p{color:var(--t-muted)!important}
#compromissos .gkf-promises-cta{border-top-color:var(--t-line)}
#compromissos .gkf-promises-cta p b{color:var(--t-fg)}

/* Botões claros que estavam sobre fundo branco */
#projetos .button-secondary,#video .button-secondary,#compromissos .button-secondary{color:var(--t-fg);border-color:var(--t-line2);background:#ffffff09}
#projetos .button-secondary:hover,#video .button-secondary:hover,#compromissos .button-secondary:hover{border-color:var(--t-red);background:#ff173814}

/* Ordem: seção "Nosso ponto de partida" logo após o topo */
main.gkm-editorial{display:flex;flex-direction:column}
main.gkm-editorial > section,main.gkm-editorial > footer,main.gkm-editorial > header{width:100%;box-sizing:border-box}
main.gkm-editorial > #sobre{order:1}
main.gkm-editorial > #projetos,main.gkm-editorial > #servicos,main.gkm-editorial > #video,main.gkm-editorial > #assistente,main.gkm-editorial > #compromissos,main.gkm-editorial > #contato,main.gkm-editorial > footer{order:2}
#video h2 em,#video h2 br ~ *{color:var(--t-red);font-style:normal}

/* Topo cinematográfico: leão em tela cheia (mesma posição do touro da GKM) */
.gkf-cine-hero{isolation:isolate;background:#07080a}
.gkf-cine-hero .editorial-bull{display:none!important}
.gkf-cine{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:#07080a}
.gkf-cine__media{position:absolute;inset:0}
.gkf-cine__poster,.gkf-cine__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 35%;display:block}
.gkf-cine__video{opacity:0;transition:opacity .6s}
.gkf-cine.is-live .gkf-cine__video{opacity:1}
.gkf-cine__shade{position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,#07080a40 0%,#07080a26 34%,#0000 54%),linear-gradient(#07080a66 0%,#0000 14% 65%,#07080acc 92%,#07080a 100%)}
.gkf-cine-hero .gkf-embers{z-index:1}
.gkf-cine-hero > :not(.gkf-cine):not(.gkf-embers){position:relative;z-index:2}
.gkf-cine-sig{position:absolute!important;z-index:3!important;bottom:119px;right:max(32px,50vw - 696px);display:flex;flex-direction:column;gap:8px;text-align:right;color:#fff}
.gkf-cine-sig span{letter-spacing:.42em;font-size:11px}
.gkf-cine-sig small{letter-spacing:.12em;color:#beb4bc;font-size:9px}
@media (min-width:761px){.gkf-cine-hero .editorial-hero-main{grid-template-columns:minmax(0,1fr)}.gkf-cine-hero .editorial-hero-main > h1{max-width:52%}}
@media (min-width:761px) and (max-width:1100px){.gkf-cine__shade{background:linear-gradient(90deg,#07080ad9,#07080a80 34%,#0000 68%),linear-gradient(#0000 68%,#07080a)}}
@media (max-width:760px){
  .gkf-cine__media{height:500px;inset:0 0 auto}
  .gkf-cine__poster,.gkf-cine__video{object-position:50% top}
  .gkf-cine__shade{background:linear-gradient(#0000 0 230px,#07080a4d 310px,#07080aeb 400px,#07080a 470px),linear-gradient(90deg,#07080a3d,#0000 25% 84%,#07080a2e)}
  .gkf-cine-hero{padding-top:330px!important}
  .gkf-cine-sig{top:27px;bottom:auto;right:24px}
  .gkf-cine-sig small{display:none}
}
.gkf-cine-hero{max-width:none!important;width:100%;padding-left:max(5vw,50vw - 720px)!important;padding-right:max(5vw,50vw - 720px)!important}
.gkf-cine-sig{right:max(5vw,50vw - 720px)}
@media (max-width:760px){.gkf-cine-hero{padding-left:24px!important;padding-right:24px!important}.gkf-cine-sig{display:none!important}}

/* Projetos conceito no formato "Trabalho em prática" da GKM */
.gkf-work-sec{background:#0b0c0f!important}
.gkf-work-sec > .editorial-featured-project,.gkf-work-sec > .editorial-project-list{display:none!important}
.gkf-work{margin-top:12px}
.gkf-work-nav{border-top:1px solid #343238;border-bottom:1px solid #343238;display:grid;grid-template-columns:180px 1fr;align-items:center;gap:36px}
.gkf-work-count{display:flex;align-items:baseline;gap:14px;color:#efedef;font-size:90px;font-weight:350;letter-spacing:-.075em;line-height:1.25}
.gkf-work-count b{font-weight:350}
.gkf-work-count small{font-family:ui-monospace,monospace;letter-spacing:0;color:#93909a;font-size:12px}
.gkf-work-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.gkf-work-tabs button{position:relative;display:flex;flex-wrap:wrap;align-content:center;align-items:center;gap:6px 10px;min-height:86px;padding:18px 16px;background:none;border:0;border-bottom:1px solid transparent;color:#9999a4;font:inherit;font-size:16px;text-align:left;cursor:pointer;transition:background .2s,color .2s}
.gkf-work-tabs button small{flex-basis:100%;font-family:ui-monospace,monospace;color:#74747f;font-size:11px}
.gkf-work-tabs button span{margin-left:auto;color:#707078}
.gkf-work-tabs button:hover{background:#ffffff06;color:#fff}
.gkf-work-tabs button[aria-pressed=true]{background:#191417;color:#fff;border-bottom-color:#ff294b}
.gkf-work-tabs button[aria-pressed=true] small,.gkf-work-tabs button[aria-pressed=true] span{color:#ff3657}
.gkf-work-feature{display:grid;grid-template-columns:1fr;gap:25px;padding:38px 0 32px}
.gkf-work-feature.is-swap .gkf-work-screen,.gkf-work-feature.is-swap .gkf-work-copy{animation:gkfWorkIn .5s ease both}
@keyframes gkfWorkIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.gkf-work-film{width:100%;max-width:1120px;margin:0 auto}
.gkf-work-screen{position:relative;aspect-ratio:9/5;background:#090a0c;overflow:hidden}
.gkf-work-screen img,.gkf-work-screen video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.gkf-work-film figcaption{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;color:#aaaab5;font-size:12px}
.gkf-work-film figcaption small{color:#858591;font-size:11px}
.gkf-work-copy{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:12px 44px;padding:15px 0 26px}
.gkf-work-status{grid-area:1/1;justify-self:start;margin:0!important;display:inline-flex;align-items:center;gap:7px;padding:6px 10px;font-size:12px;color:#e7c99f!important;background:#c6893310;border:1px solid #b8863940;border-radius:2px}
.gkf-work-status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.gkf-work-cat{grid-area:1/2/auto/4;margin:0;color:#9898a3!important;font-size:12px}
.gkf-work-copy h3{grid-area:2/1;margin:0;color:#fff;font-size:clamp(36px,4vw,58px);font-weight:500;letter-spacing:-.045em;line-height:1.06}
.gkf-work-desc{grid-area:2/2;margin:0;color:#acacb6!important;font-size:15px;line-height:1.75;max-width:420px}
.gkf-work-copy > .gkf-work-link{grid-area:2/3;white-space:nowrap}
.gkf-work-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 0;color:#fff;font-size:15px;text-decoration:none;border-bottom:1px solid #65656f;transition:color .2s,border-color .2s}
.gkf-work-link:hover{color:#ff4766;border-color:currentColor}
.gkf-work-link span{color:#ff3657}
.gkf-work-end{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-top:20px;border-top:1px solid #2c2c35;color:#9696a2;font-size:13px}
@media (max-width:1100px){
  .gkf-work-nav{grid-template-columns:120px 1fr;gap:20px}
  .gkf-work-count{font-size:70px}
  .gkf-work-tabs button{padding:15px 9px;font-size:14px}
  .gkf-work-copy{grid-template-columns:1fr 1fr;gap:16px 32px}
  .gkf-work-cat{grid-column:2}
  .gkf-work-copy > .gkf-work-link{grid-area:3/1;justify-self:start}
}
@media (max-width:760px){
  .gkf-work-nav{grid-template-columns:1fr;gap:0}
  .gkf-work-count{display:none}
  .gkf-work-tabs{grid-template-columns:1fr 1fr}
  .gkf-work-tabs button{min-height:73px;padding:13px 10px}
  .gkf-work-feature{gap:24px;padding:24px 0}
  .gkf-work-copy{display:flex;flex-direction:column;align-items:flex-start;gap:15px}
  .gkf-work-copy h3{font-size:38px}
  .gkf-work-end{flex-direction:column;align-items:flex-start;gap:12px;font-size:12px}
}
