/* TransitarMG · cores e regras do manual de marca v1.0: cor chapada, sem degradê, sem sombra, sem canto arredondado */
:root {
  --preto: #0E0E10; --grafite: #26262A; --papel: #F3EFE6; --cinza: #8B877E; --ouro: #C9A24A; --ouro-escuro: #8A6A24; --alerta: #C0392B;
  --linha: rgba(243,239,230,.14); --linha-escura: rgba(14,14,16,.16);
  --titulo: "Anton", Impact, sans-serif; --texto: "Montserrat", Arial, sans-serif;
  --wrap: min(1200px, 100% - 48px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--preto); color: var(--papel); font: 400 17px/1.65 var(--texto); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 400; text-transform: uppercase; line-height: .98; letter-spacing: .005em; }
h1 em, h2 em { font-style: normal; color: var(--ouro); }
h2 { font-size: clamp(44px, 6vw, 92px); max-width: 16ch; }
.wrap { width: var(--wrap); margin-inline: auto; }

/* elementos do manual */
.etiqueta { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--preto); background: var(--ouro); padding: 6px 10px; margin-bottom: 22px; }
.etiqueta--escura { background: var(--preto); color: var(--ouro); }
.etiqueta--alerta { background: var(--alerta); color: var(--papel); }
.filete { display: block; width: 56px; height: 3px; background: var(--ouro); margin: 26px 0; }
.botao { display: inline-flex; align-items: center; gap: 10px; background: var(--ouro); color: var(--preto); font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; padding: 18px 26px; transition: background .2s ease, transform .2s ease; }
.botao::after { content: "→"; transition: transform .2s ease; }
.botao:hover { background: var(--papel); transform: translateY(-2px); }
.botao:hover::after { transform: translateX(3px); }
.botao:active { transform: translateY(0); }
.botao--pequeno { padding: 11px 16px; font-size: 13px; }

/* topo */
.topo { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px max(24px, (100% - 1200px) / 2); transition: background .3s ease, padding .3s ease; }
.topo.is-solida { background: var(--preto); padding-block: 10px; border-bottom: 1px solid var(--linha); }
.marca { display: flex; align-items: center; gap: 12px; }
.marca img { width: auto; height: 44px; }
.marca span { display: flex; flex-direction: column; line-height: 1.1; }
.marca b { font-weight: 800; font-size: 16px; letter-spacing: .16em; }
.marca small { font-weight: 600; font-size: 10px; letter-spacing: .2em; color: var(--ouro); }
.topo__links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.topo__links a:not(.botao) { position: relative; }
.topo__links a:not(.botao)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--ouro); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.topo__links a:not(.botao):hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .topo__links a:not(.botao) { display: none; } .marca small { display: none; } .marca img { height: 36px; } .marca b { font-size: 14px; } }

/* filme */
.filme { position: relative; height: 480vh; }
.filme__palco { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.filme__tela, .filme__capa { position: absolute; inset: 0; width: 100%; height: 100%; }
.filme__capa { object-fit: cover; transition: opacity .5s ease; }
.filme.is-pronto .filme__capa { opacity: 0; }
.filme__camada { position: absolute; inset: 0; background: #000; opacity: var(--camada, .58); }
.filme__abre { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(calc(-50% - var(--sai, 0) * 40px)); opacity: calc(1 - var(--sai, 0)); }
.filme__abre h1 { font-size: clamp(50px, 6.6vw, 104px); max-width: 11ch; }
.filme__lead { max-width: 46ch; font-size: clamp(17px, 1.4vw, 20px); }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.acoes__nota { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cinza); }
.cena { position: absolute; left: max(24px, (100% - 1200px) / 2); right: 24px; bottom: 19svh; font-family: var(--titulo); text-transform: uppercase; font-size: clamp(46px, 7vw, 112px); line-height: .98; opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 20px)); }
.cena em { font-style: normal; color: var(--ouro); }
.cena span { display: block; font-family: var(--texto); font-weight: 800; font-size: 14px; letter-spacing: .2em; color: var(--ouro); margin-bottom: 14px; }
.trilho { position: absolute; left: max(24px, (100% - 1200px) / 2); right: max(24px, (100% - 1200px) / 2); bottom: 6svh; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); opacity: calc(var(--sai, 0)); }
.trilho li { position: relative; padding-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cinza); transition: color .3s ease; }
.trilho li::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--grafite); }
.trilho li::after { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border: 2px solid var(--cinza); background: var(--preto); border-radius: 50%; transition: background .3s ease, border-color .3s ease; }
.trilho li.is-feito { color: var(--papel); }
.trilho li.is-feito::before { background: var(--ouro); }
.trilho li.is-feito::after { background: var(--ouro); border-color: var(--ouro); }
@media (max-width: 760px) {
  .filme { height: 440vh; }
  .trilho li { font-size: 0; }
  .cena { bottom: 16svh; }
}
@media (prefers-reduced-motion: reduce) { .filme { height: auto; } .filme__palco { position: relative; } .cena, .trilho { display: none; } }

/* seções */
.sec { padding: clamp(96px, 12vw, 160px) 0; }
.sec--papel { background: var(--papel); color: var(--preto); }
.sec--papel h2 em { color: var(--ouro-escuro); }

/* dores: cartões que se empilham */
.pilha { margin-top: 56px; display: grid; gap: 24px; }
.dor { position: sticky; top: calc(96px + var(--i, 0) * 24px); display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--preto); color: var(--papel); padding: clamp(20px, 3vw, 36px); border-top: 3px solid var(--ouro); min-height: 420px; }
.dor:nth-child(2) { --i: 1; background: var(--grafite); }
.dor:nth-child(3) { --i: 2; }
.dor figure { aspect-ratio: 3 / 4; overflow: hidden; max-height: 460px; }
.dor img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.dor:hover img { transform: scale(1.03); }
.dor__frase { font-family: var(--titulo); text-transform: uppercase; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.02; margin-bottom: 20px; }
.dor p:last-child { color: rgba(243,239,230,.75); max-width: 44ch; }
@media (max-width: 760px) { .dor { grid-template-columns: 1fr; top: calc(76px + var(--i, 0) * 14px); min-height: 0; } .dor figure { aspect-ratio: 16 / 10; } }

/* casos */
.casos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--linha); border: 1px solid var(--linha); margin-top: 56px; }
.caso { background: var(--preto); padding: 28px 24px 32px; min-height: 220px; display: flex; flex-direction: column; transition: background .25s ease; }
.caso:hover { background: var(--grafite); }
.caso h3 { font-size: 30px; margin-bottom: 12px; }
.caso p { color: rgba(243,239,230,.7); font-size: 15px; margin-top: auto; }
.caso__tag { align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--ouro); color: var(--preto); padding: 4px 8px; margin-bottom: 18px; }
.caso--destaque h3 { color: var(--ouro); }
@media (max-width: 960px) { .casos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .casos { grid-template-columns: 1fr; } .caso { min-height: 0; } }

/* como funciona: os passos acendem e a linha de etapas se preenche com a rolagem */
.como { position: relative; height: 320vh; background: var(--grafite); }
.como__palco { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 110px 0 48px; }
.como__grade { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.passos { list-style: none; margin-top: 36px; counter-reset: p; }
.passo { counter-increment: p; display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--linha); opacity: .35; transition: opacity .4s ease; }
.passo::before { content: "0" counter(p); grid-row: span 2; font-family: var(--titulo); font-size: 34px; line-height: 1; color: var(--ouro); }
.passo b { font-weight: 700; font-size: 19px; }
.passo p { color: rgba(243,239,230,.75); font-size: 15px; }
.passo.is-ativo { opacity: 1; }
.como__foto { overflow: hidden; aspect-ratio: 4 / 3; }
.como__foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.12 - var(--pc, 0) * .12)); }
.etapas { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.etapas li { position: relative; padding-top: 22px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cinza); transition: color .3s ease; }
.etapas li::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--preto); }
.etapas li::after { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border: 2px solid var(--cinza); background: var(--grafite); border-radius: 50%; transition: background .3s ease, border-color .3s ease; }
.etapas li.is-feito { color: var(--papel); }
.etapas li.is-feito::before { background: var(--ouro); }
.etapas li.is-feito::after { background: var(--ouro); border-color: var(--ouro); }
@media (max-width: 860px) {
  .como { height: auto; }
  .como__palco { position: relative; padding: 96px 0; }
  .como__grade { grid-template-columns: 1fr; }
  .passo { opacity: 1; }
  .etapas li { font-size: 11px; letter-spacing: .06em; }
}

/* números grandes */
.numeros { background: var(--preto); padding: clamp(80px, 10vw, 130px) 0; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.numeros__grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.numero b { display: block; font-family: var(--titulo); font-weight: 400; font-size: clamp(72px, 10vw, 150px); line-height: .9; color: var(--ouro); }
.numero span { display: block; margin-top: 14px; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 760px) { .numeros__grade { grid-template-columns: 1fr; gap: 48px; } }

/* vantagens */
.vant { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.vantagens { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.vantagens li { padding: 22px 0; border-top: 2px solid var(--preto); }
.vantagens b { display: block; font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .03em; }
.vantagens span { display: block; margin-top: 6px; color: #4a4843; font-size: 15px; }
@media (max-width: 860px) { .vant { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .vantagens { grid-template-columns: 1fr; } }

/* quem somos */
.quem { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.quem__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translate3d(0, var(--py, 0px), 0); }
.quem__camada { position: absolute; inset: 0; background: #000; opacity: .6; }
.quem__texto { position: relative; padding: 120px 0; }
.quem__texto p:not(.etiqueta) { max-width: 52ch; margin-top: 22px; font-size: clamp(17px, 1.4vw, 20px); }
.quem__texto h2 { max-width: 14ch; }

/* condições */
.cond { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.tabela { border-top: 2px solid var(--papel); }
.tabela div { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--linha); }
.tabela dt { font-weight: 600; }
.tabela dd { text-align: right; color: rgba(243,239,230,.75); }
.tabela dd.ouro { font-family: var(--titulo); font-size: 28px; line-height: 1; text-transform: uppercase; color: var(--ouro); }
@media (max-width: 860px) { .cond { grid-template-columns: 1fr; } .tabela div { flex-direction: column; gap: 4px; } .tabela dd { text-align: left; } }

/* dúvidas */
.duvidas { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 2px solid var(--preto); }
.faq details { border-bottom: 1px solid var(--linha-escura); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 700; font-size: clamp(17px, 1.5vw, 20px); position: relative; transition: color .2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--titulo); font-size: 28px; color: var(--ouro-escuro); transition: transform .3s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--ouro-escuro); }
.faq p { padding: 0 48px 24px 0; color: #4a4843; }
@media (max-width: 860px) { .duvidas { grid-template-columns: 1fr; } }

/* fechamento */
.fecho { position: relative; min-height: 90svh; display: flex; align-items: center; overflow: hidden; }
.fecho__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fecho__camada { position: absolute; inset: 0; background: #000; opacity: .62; }
.fecho__texto { position: relative; padding: 120px 0; }
.fecho__texto h2 { font-size: clamp(56px, 9vw, 140px); }
.fecho__texto p:not(.etiqueta) { margin: 24px 0 36px; font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); max-width: 40ch; }

/* rodapé */
.rodape { background: var(--preto); padding: 56px 0 40px; border-top: 1px solid var(--linha); font-size: 14px; }
.rodape__grade { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.rodape__marca { display: flex; align-items: center; gap: 12px; }
.rodape__marca img { height: 40px; width: auto; }
.rodape__marca span { display: flex; flex-direction: column; line-height: 1.2; }
.rodape__marca b { font-weight: 800; letter-spacing: .16em; }
.rodape__marca small { color: var(--cinza); }
.rodape ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; }
.rodape ul a:hover { color: var(--ouro); }
.rodape__fim { grid-column: 1 / -1; color: var(--cinza); font-size: 13px; padding-top: 24px; border-top: 1px solid var(--linha); }
@media (max-width: 760px) { .rodape__grade { grid-template-columns: 1fr; } }

/* ajustes de celular */
.marca b, .botao--pequeno { white-space: nowrap; }
@media (max-width: 520px) {
  .topo { padding-inline: 16px; }
  .marca b { font-size: 13px; letter-spacing: .1em; }
  .marca img { height: 32px; }
  .botao--pequeno { padding: 10px 12px; font-size: 12px; }
  .botao--pequeno::after { display: none; }
  .etapas li { font-size: 9px; letter-spacing: 0; padding-right: 4px; }
}
.cena { transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.filme__abre, .trilho { transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); } .filme__camada { transition: opacity .6s ease; }
