/* Vídeos com motion de exemplo: três cenas de 4 s em laço, cada marca com cor, ritmo e transição próprios. */
.mv { position: relative; width: min(320px, 82vw); aspect-ratio: 9/16; border-radius: 28px; overflow: hidden; container-type: inline-size; justify-self: center; box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .75); isolation: isolate; background: #000; }
.mv .cn { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; overflow: hidden; animation: 12s infinite both; animation-delay: calc(var(--i) * 4s); }
.mv .cn > *, .mv .an { animation: 12s infinite both; animation-delay: calc(var(--i) * 4s + var(--d, 0s)); }
.mv video, .mv .ft-f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mv .bar { position: absolute; z-index: 20; left: 4cqw; right: 4cqw; top: 4cqw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; } .mv .bar i { height: .9cqw; border-radius: 9px; background: rgba(255, 255, 255, .3); overflow: hidden; } .mv .bar b { display: block; height: 100%; background: #fff; transform-origin: left; animation: mv-prog 12s linear infinite both; animation-delay: calc(var(--i) * 4s); }
@keyframes mv-prog { 0% { transform: scaleX(0); } 33.3%, 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
/* entradas de cena (cada marca usa uma) */
@keyframes cn-circulo { 0% { clip-path: circle(0% at 50% 100%); z-index: 6; } 7% { clip-path: circle(150% at 50% 100%); z-index: 6; } 8%, 41% { clip-path: circle(150% at 50% 100%); z-index: 2; } 41.1%, 100% { clip-path: circle(0% at 50% 100%); z-index: 1; } }
@keyframes cn-cortina { 0% { clip-path: inset(0 100% 0 0); z-index: 6; } 7% { clip-path: inset(0); z-index: 6; } 8%, 41% { clip-path: inset(0); z-index: 2; } 41.1%, 100% { clip-path: inset(0 100% 0 0); z-index: 1; } }
@keyframes cn-bolha { 0% { clip-path: circle(0% at 50% 50%); z-index: 6; } 5% { clip-path: circle(46% at 50% 50%); z-index: 6; } 9% { clip-path: circle(120% at 50% 50%); z-index: 6; } 10%, 41% { clip-path: circle(120% at 50% 50%); z-index: 2; } 41.1%, 100% { clip-path: circle(0% at 50% 50%); z-index: 1; } }
@keyframes cn-nevoa { 0% { opacity: 0; z-index: 6; transform: scale(1.08); } 8% { opacity: 1; z-index: 6; transform: none; } 9%, 41% { opacity: 1; z-index: 2; } 41.1%, 100% { opacity: 0; z-index: 1; } }
/* movimentos dos elementos (janela ativa: 0 a 33% do laço) */
@keyframes mv-sobe { 0%, 2% { opacity: 0; transform: translateY(60%); } 8%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-30%); } }
@keyframes mv-pop { 0%, 3% { opacity: 0; transform: scale(.2) rotate(-25deg); } 9% { opacity: 1; transform: scale(1.12) rotate(4deg); } 12%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: scale(.6); } }
@keyframes mv-esq { 0% { transform: translateX(0); } 33%, 100% { transform: translateX(-40%); } } @keyframes mv-dir { 0% { transform: translateX(-40%); } 33%, 100% { transform: translateX(0); } }
@keyframes mv-zoom { 0% { transform: scale(1.25); } 34%, 100% { transform: scale(1); } } @keyframes mv-gira { 0% { transform: rotate(0); } 34%, 100% { transform: rotate(200deg); } }
@keyframes mv-barra { 0%, 4% { transform: scaleX(0); } 12%, 30% { transform: scaleX(1); } 34%, 100% { transform: scaleX(0); } } @keyframes mv-barra-y { 0%, 4% { transform: scaleY(0); } 12%, 30% { transform: scaleY(1); } 34%, 100% { transform: scaleY(0); } }
@keyframes mv-traco { 0%, 3% { stroke-dashoffset: 1; } 16%, 100% { stroke-dashoffset: 0; } } @keyframes mv-pulsa { 0%, 100% { transform: scale(1); } 8%, 24% { transform: scale(1.25); } 16% { transform: scale(.95); } }
@keyframes mv-letras { 0%, 3% { letter-spacing: 1.2em; opacity: 0; } 12%, 30% { letter-spacing: .28em; opacity: 1; } 34%, 100% { opacity: 0; } }

/* Grão Alto: laranja, vídeo real, palavras gigantes que correm */
.r-grao { font-family: 'Outfit', sans-serif; font-weight: 700; } .r-grao .cn { animation-name: cn-circulo; }
.r-grao .c1 { background: #D9772B; color: #3B2418; align-content: center; gap: 0; } .r-grao .fx { white-space: nowrap; font-size: 31cqw; line-height: .86; letter-spacing: -.06em; width: max-content; } .r-grao .fx.a { animation-name: mv-esq; } .r-grao .fx.b { animation-name: mv-dir; color: #F2E6D3; -webkit-text-stroke: 0; }
.r-grao .selo { position: absolute; right: 7cqw; bottom: 12cqw; width: 30cqw; height: 30cqw; border-radius: 50%; background: #3B2418; color: #F2E6D3; display: grid; place-content: center; font-size: 4.6cqw; line-height: 1.05; animation-name: mv-pop; --d: .5s; }
.r-grao .c2 { color: #F2E6D3; } .r-grao .c2::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(30, 16, 9, .25), rgba(30, 16, 9, .78)); } .r-grao .c2 > :not(video) { z-index: 2; position: relative; }
.r-grao .num { font-size: 58cqw; line-height: .8; letter-spacing: -.08em; color: #D9772B; animation-name: mv-pop; } .r-grao .leg { font-size: 9cqw; letter-spacing: -.04em; animation-name: mv-sobe; --d: .5s; }
.r-grao .c3 { background: #F2E6D3; color: #3B2418; gap: 4cqw; } .r-grao .bola { width: 46cqw; height: 46cqw; border-radius: 50%; overflow: hidden; position: relative; box-shadow: 0 0 0 2cqw #D9772B; animation-name: mv-pop; } .r-grao .nome { font-size: 13cqw; letter-spacing: -.05em; animation-name: mv-sobe; --d: .4s; } .r-grao .sub { font: 600 4.4cqw 'Manrope', sans-serif; animation-name: mv-sobe; --d: .7s; } .r-grao .fita { position: absolute; bottom: 9cqw; left: -10%; right: -10%; height: 9cqw; background: #D9772B; rotate: -4deg; transform-origin: left; animation-name: mv-barra; --d: .6s; }

/* NORTE: seco, grade que se desenha, corte lateral */
.r-norte { font-family: 'Space Grotesk', sans-serif; font-weight: 500; } .r-norte .cn { animation-name: cn-cortina; }
.r-norte .c1 { background: #fff; color: #1F2326; } .r-norte .lin { position: absolute; background: #1F2326; animation-name: mv-barra; transform-origin: left; } .r-norte .lin.v { animation-name: mv-barra-y; transform-origin: top; }
.r-norte .tit { font-size: 6cqw; text-transform: uppercase; animation-name: mv-letras; white-space: nowrap; } .r-norte .qd { position: absolute; left: 12cqw; top: 26cqw; width: 14cqw; height: 14cqw; background: #2747D9; animation-name: mv-pop; --d: .6s; }
.r-norte .c2 { color: #fff; align-content: end; justify-content: start; justify-items: start; padding: 0 6cqw 14cqw 12cqw; text-align: left; } .r-norte .c2 .ft-f { animation-name: mv-zoom; } .r-norte .c2::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(31, 35, 38, .85)); } .r-norte .c2 > :not(.ft-f) { position: relative; z-index: 2; }
.r-norte .faixa { position: absolute !important; left: 8cqw; top: 0; bottom: 0; width: 1.6cqw; background: #2747D9; transform-origin: top; animation-name: mv-barra-y; } .r-norte .m2 { font-size: 19cqw; line-height: .9; letter-spacing: -.05em; animation-name: mv-sobe; --d: .3s; white-space: nowrap; } .r-norte .obra { font-size: 4.4cqw; letter-spacing: .28em; text-transform: uppercase; animation-name: mv-sobe; --d: .6s; margin-top: 3cqw; }
.r-norte .c3 { background: #1F2326; color: #E6E4DF; gap: 5cqw; } .r-norte .c3 svg { width: 34cqw; } .r-norte .c3 path { stroke-dasharray: 1; animation: mv-traco 12s infinite both; animation-delay: calc(var(--i) * 4s); } .r-norte .mar { font-size: 9cqw; text-transform: uppercase; animation-name: mv-letras; --d: .9s; white-space: nowrap; } .r-norte .rg { width: 40cqw; height: 1px; background: #2747D9; animation-name: mv-barra; --d: 1.2s; }

/* Pata Amiga: pula, estoura, patinhas andando */
.r-pata { font-family: 'Baloo 2', sans-serif; font-weight: 700; } .r-pata .cn { animation-name: cn-bolha; }
.r-pata .c1 { background: #F2B33D; color: #1B2A4A; align-content: start; padding-top: 34cqw; } .r-pata .pt { position: absolute; width: 16cqw; height: 16cqw; color: #1B2A4A; animation-name: mv-pop; } .r-pata .gr { font-size: 17cqw; line-height: .92; animation-name: mv-pop; --d: 1.3s; rotate: -5deg; }
.r-pata .c2 { background: #FBF6EC; color: #1B2A4A; gap: 3cqw; } .r-pata .cao { width: 62cqw; height: 62cqw; border-radius: 50%; overflow: hidden; position: relative; box-shadow: 0 0 0 2.4cqw #F2B33D, 0 0 0 4.6cqw #1B2A4A; animation-name: mv-pop; } .r-pata .ads { position: absolute; right: 6cqw; top: 30cqw; background: #1B2A4A; color: #F2B33D; padding: 2cqw 5cqw; border-radius: 99px; font-size: 6cqw; rotate: 9deg; animation-name: mv-pop; --d: .8s; } .r-pata .pg { font-size: 12cqw; line-height: 1; animation-name: mv-sobe; --d: .5s; }
.r-pata .c3 { background: #1B2A4A; color: #FBF6EC; gap: 3cqw; } .r-pata .c3 svg { width: 30cqw; color: #F2B33D; animation-name: mv-pop; } .r-pata .nm { font-size: 14cqw; line-height: 1; animation-name: mv-pop; --d: .3s; } .r-pata .ba { font: 600 4.6cqw 'Manrope', sans-serif; animation-name: mv-sobe; --d: .7s; } .r-pata .onda { position: absolute; left: -10%; right: -10%; bottom: -6cqw; height: 26cqw; background: #F2B33D; border-radius: 50% 50% 0 0; animation-name: mv-sobe; --d: .2s; }

/* Aurora: névoa, arcos que nascem, serifa calma */
.r-aurora { font-family: 'Fraunces', serif; font-weight: 600; } .r-aurora .cn { animation-name: cn-nevoa; }
.r-aurora .c1 { background: #4A2433; color: #F3EBE1; gap: 6cqw; } .r-aurora .arcos { width: 66cqw; color: #B5654A; } .r-aurora .arcos path { stroke-dasharray: 1; animation: mv-traco 12s infinite both; animation-delay: calc(var(--i) * 4s + var(--d, 0s)); } .r-aurora .f1 { font-size: 11cqw; line-height: 1.05; animation-name: mv-sobe; --d: 1s; }
.r-aurora .c2 { background: #F3EBE1; color: #4A2433; gap: 1cqw; } .r-aurora .sol { position: absolute; left: 50%; bottom: -30cqw; width: 80cqw; height: 80cqw; margin-left: -40cqw; border-radius: 50%; background: radial-gradient(closest-side, #B5654A, rgba(181, 101, 74, 0)); animation-name: mv-sobe; } .r-aurora .pl { font-size: 13cqw; line-height: 1.05; font-style: italic; animation-name: mv-sobe; position: relative; }
.r-aurora .c3 { background: #B5654A; color: #F3EBE1; gap: 4cqw; } .r-aurora .c3 svg { width: 30cqw; animation-name: mv-pop; } .r-aurora .nm { font-size: 15cqw; animation-name: mv-sobe; --d: .4s; } .r-aurora .sb { font: 700 3.6cqw 'Manrope', sans-serif; letter-spacing: .3em; text-transform: uppercase; animation-name: mv-sobe; --d: .7s; }
@media (prefers-reduced-motion: reduce) { .mv .cn, .mv .cn *, .mv .bar b { animation: none !important; } .mv .cn:not(.c3) { display: none; } }
