/* MOVVA 360 - Proposta A Festança | prefixo: af- */
.af-proposal {
    --af-night: #1c110c;
    --af-night-2: #2d1b12;
    --af-orange: #ff3a00;
    --af-straw: #e9c377;
    --af-sage: #7ba67b;
    --af-leather: #8c4a28;
    --af-paper: #eee6d8;
    --af-ink: #1c110c;
    --af-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
    position: relative;
    width: 100%;
    overflow: clip;
    background: var(--af-night);
    color: #fff;
    font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
}
.af-proposal *, .af-proposal *::before, .af-proposal *::after { box-sizing: border-box; }
.af-proposal :where(h1, h2, h3, p, ul, ol) { margin: 0; padding: 0; }
.af-proposal :where(ul, ol) { list-style: none; }
.af-proposal a, .af-proposal button { font: inherit; text-decoration: none !important; }
.af-proposal h2 { font-family: var(--af-display); font-weight: 800; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.02em; max-width: 18ch; }
.af-proposal h3 { font-family: var(--af-display); font-weight: 800; font-size: 24px; line-height: 1.1; }
.af-wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.af-proposal :focus-visible { outline: 3px solid var(--af-sage); outline-offset: 3px; }

/* ---------- topo ---------- */
.af-topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 10px clamp(18px, 4vw, 56px); background: rgba(28, 17, 12, .88); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.af-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 15px; }
.af-brand__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--af-orange); animation: af-beat 1.2s ease-in-out infinite; }
.af-topbar__cta { padding: 9px 18px; border-radius: 999px; background: var(--af-straw); color: var(--af-ink); font-weight: 800; font-size: 14px; }

/* ---------- hero ---------- */
.af-hero { position: relative; display: grid; place-items: center; min-height: calc(100svh - 64px); padding: 72px 20px 88px; overflow: hidden; text-align: center; background: radial-gradient(60% 60% at 15% 20%, rgba(255, 58, 0, .5), transparent 70%), radial-gradient(55% 55% at 85% 30%, rgba(140, 74, 40, .7), transparent 70%), radial-gradient(50% 50% at 50% 100%, rgba(123, 166, 123, .35), transparent 70%), var(--af-night); background-size: 140% 140%; animation: af-aurora 14s ease-in-out infinite alternate; }
.af-hero__inner { position: relative; z-index: 2; max-width: 980px; }
.af-kicker { display: inline-block; margin-bottom: 22px; padding: 8px 16px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 999px; font-size: 14px; font-weight: 600; }
.af-title { display: flex; flex-direction: column; font-family: var(--af-display); font-weight: 800; font-size: clamp(54px, 12.5vw, 168px); line-height: .92; letter-spacing: -.035em; }
.af-title__line--alt { color: var(--af-straw); transform: rotate(-2deg); }
.af-ch { display: inline-block; white-space: pre; }
.af-js .af-ch { opacity: 0; transform: translateY(60%) rotate(8deg) scale(.6); animation: af-pop .7s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: calc(var(--i) * 45ms + 150ms); }
.af-lead { max-width: 46ch; margin: 28px auto 0; font-size: clamp(18px, 2vw, 22px); font-weight: 600; }
.af-countdown { display: flex; justify-content: center; gap: clamp(8px, 2vw, 16px); margin-top: 36px; }
.af-countdown div { min-width: clamp(64px, 14vw, 96px); padding: 12px 8px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.af-countdown b { display: block; font-family: var(--af-display); font-size: clamp(30px, 6vw, 50px); line-height: 1; font-variant-numeric: tabular-nums; }
.af-countdown span { font-size: 13px; font-weight: 600; opacity: .8; }
.af-hero__date { margin-top: 14px; font-size: 14px; font-weight: 600; opacity: .8; }

/* confete */
.af-confetti { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.af-confetti i { position: absolute; top: -6vh; left: var(--x); width: var(--s); height: calc(var(--s) * 1.7); background: var(--c); border-radius: var(--r); opacity: .9; animation: af-fall var(--d) linear var(--dl) infinite; }
.af-confetti--soft i { opacity: .55; }

/* franja de couro pendurada no topo do hero e do bloco final */
.af-hero::after, .af-final::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 40px; z-index: 3; pointer-events: none; background: linear-gradient(var(--af-straw), var(--af-straw)) top / 100% 8px no-repeat, repeating-linear-gradient(90deg, var(--af-straw) 0 6px, transparent 6px 11px); -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }

/* estrelas de rodeio no meio do confete */
.af-confetti i:nth-child(3n) { width: calc(var(--s) * 2.2); height: calc(var(--s) * 2.2); border-radius: 0; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* ---------- faixa ---------- */
.af-ticker { position: relative; z-index: 3; margin: -22px 0; padding: 14px 0; overflow: hidden; background: var(--af-straw); color: var(--af-ink); transform: rotate(-1.6deg) scale(1.03); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.af-ticker__track { display: flex; gap: 28px; width: max-content; font-family: var(--af-display); font-weight: 800; font-size: 26px; white-space: nowrap; animation: af-marquee 28s linear infinite; }
.af-ticker__track i { font-style: normal; color: var(--af-orange); }
.af-ticker__track { font-size: 24px; }

/* ---------- blocos ---------- */
.af-intro, .af-goals, .af-scope, .af-plan, .af-traffic, .af-flow, .af-invest, .af-limits { padding: clamp(72px, 10vw, 128px) 0; }
.af-intro { padding-top: clamp(100px, 13vw, 160px); background: var(--af-paper); color: var(--af-ink); }
.af-intro p { max-width: 58ch; margin-top: 20px; font-size: 19px; }
.af-intro h2 { max-width: 22ch; }
.af-intro strong { background: linear-gradient(transparent 60%, var(--af-straw) 60%); }
.af-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.af-stats div { padding: 22px; border-radius: 22px; background: var(--af-ink); color: #fff; }
.af-stats b { display: block; font-family: var(--af-display); font-size: clamp(44px, 7vw, 84px); line-height: 1; color: var(--af-straw); font-variant-numeric: tabular-nums; }
.af-stats span { font-weight: 600; }

.af-goals__list { margin-top: 40px; display: grid; gap: 14px; counter-reset: g; }
.af-goals__list li { counter-increment: g; display: flex; gap: 18px; align-items: center; padding: 20px 24px; border-radius: 20px; background: var(--af-night-2); font-size: 19px; font-weight: 600; }
.af-goals__list li::before { content: counter(g); flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--af-orange); color: var(--af-ink); font-family: var(--af-display); font-weight: 800; }

.af-scope { background: var(--af-night-2); }
.af-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; }
.af-card { position: relative; padding: 28px; border-radius: 28px; color: var(--af-ink); }
/* pesponto de couro */
.af-card::after { content: ""; position: absolute; inset: 9px; border: 2px dashed currentColor; border-radius: 20px; opacity: .25; pointer-events: none; }
.af-card p { margin-top: 12px; }
.af-card p b { font-family: var(--af-display); font-size: 1.25em; }
.af-card small { display: block; margin-top: 14px; font-size: 14px; opacity: .85; }
.af-card ul { margin-top: 12px; display: grid; gap: 8px; }
.af-card li { padding-left: 18px; position: relative; }
.af-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.af-card--orange { grid-column: span 2; background: var(--af-orange); color: var(--af-ink); }
.af-card--straw { grid-column: span 4; background: var(--af-straw); }
.af-card--sage { grid-column: span 3; background: var(--af-sage); }
.af-card--leather { grid-column: span 3; background: var(--af-leather); color: #fff; }
.af-card--paper { grid-column: span 6; background: var(--af-paper); }

/* ---------- cronograma ---------- */
.af-plan__lead { max-width: 52ch; margin-top: 18px; font-size: 19px; opacity: .9; }
.af-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; }
.af-tabs button { display: flex; flex-direction: column; align-items: flex-start; padding: 16px 20px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 20px; background: transparent; color: #fff; cursor: pointer; text-align: left; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.af-tabs button strong { font-family: var(--af-display); font-size: 24px; }
.af-tabs button span { font-size: 14px; opacity: .8; }
.af-tabs button:hover { transform: translateY(-3px); }
.af-tabs button.is-active { background: var(--af-straw); border-color: var(--af-straw); color: var(--af-ink); }
.af-panel { margin-top: 20px; padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: var(--af-night-2); }
.af-panel[hidden] { display: none; }
.af-panel__focus { font-size: 20px; font-weight: 600; max-width: 56ch; }
.af-bars { margin-top: 26px; display: grid; gap: 14px; }
.af-bars li { display: grid; grid-template-columns: minmax(150px, 260px) 1fr 40px; align-items: center; gap: 16px; }
.af-bars li span { font-weight: 600; }
.af-bars li b { font-family: var(--af-display); font-size: 24px; text-align: right; }
.af-bar { height: 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.af-bar i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, var(--af-orange), var(--af-straw)); }
.af-panel.is-active .af-bar i { animation: af-grow .9s cubic-bezier(.2, .8, .2, 1) both; }
.af-panel__total { margin-top: 24px; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, .3); font-size: 18px; }
.af-panel__total b { color: var(--af-straw); }

/* ---------- tráfego / fluxo ---------- */
.af-traffic { background: var(--af-orange); color: var(--af-ink); }
.af-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.af-traffic p { margin-top: 18px; font-size: 19px; }
.af-note { padding: 28px; border-radius: 28px; background: var(--af-night); color: #fff; transform: rotate(1.5deg); }
.af-note p { font-size: 17px; }

.af-flow__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 48px; counter-reset: f; position: relative; }
.af-flow__list li { counter-increment: f; position: relative; padding-top: 58px; }
.af-flow__list li::before { content: counter(f); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--af-sage); color: var(--af-ink); font-family: var(--af-display); font-weight: 800; z-index: 1; }
.af-flow__list li::after { content: ""; position: absolute; top: 20px; left: 42px; right: -14px; height: 3px; background: repeating-linear-gradient(90deg, var(--af-sage) 0 8px, transparent 8px 16px); }
.af-flow__list li:last-child::after { display: none; }
.af-flow__list strong { display: block; font-family: var(--af-display); font-size: 20px; line-height: 1.15; }
.af-flow__list p { margin-top: 8px; font-size: 15px; opacity: .85; }
.af-flow__foot { margin-top: 36px; font-weight: 600; color: var(--af-straw); }

/* ---------- investimento ---------- */
.af-invest { background: var(--af-paper); color: var(--af-ink); }
.af-invest__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.af-invest p { margin-top: 16px; }
.af-invest__pay { font-weight: 800; }
.af-ticket { display: flex; border-radius: 26px; background: var(--af-ink); color: #fff; box-shadow: 0 24px 50px rgba(28, 17, 12, .35); transition: transform .15s ease-out; transform-style: preserve-3d; will-change: transform; }
.af-ticket__main { position: relative; flex: 1; min-width: 0; padding: 34px 24px; }
.af-ticket__main span, .af-ticket__stub span { display: block; font-size: 14px; font-weight: 600; opacity: .8; }
.af-ticket__main strong { display: block; font-family: var(--af-display); font-size: clamp(44px, 5.2vw, 64px); line-height: 1; color: var(--af-straw); }
.af-ticket__main small { font-size: .4em; }
.af-ticket__main::after { content: "\2605"; position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--af-straw); color: var(--af-ink); font-size: 22px; transform: rotate(14deg); }
.af-ticket__main em { display: inline-block; margin-top: 10px; padding: 6px 14px; border-radius: 999px; background: var(--af-orange); color: var(--af-ink); font-style: normal; font-weight: 800; }
.af-ticket__stub { position: relative; display: flex; flex-direction: column; justify-content: center; width: 30%; padding: 20px 14px; border-left: 3px dashed var(--af-paper); text-align: center; background: var(--af-leather); border-radius: 0 26px 26px 0; }
.af-ticket__stub b { font-family: var(--af-display); font-size: 18px; line-height: 1.15; }
.af-ticket__stub::before, .af-ticket__stub::after { content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--af-paper); }
.af-ticket__stub::before { top: -14px; }
.af-ticket__stub::after { bottom: -14px; }

/* ---------- limites ---------- */
.af-limits li { position: relative; margin-top: 14px; padding-left: 26px; }
.af-limits li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 4px; background: var(--af-orange); }
.af-limits h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 8px; }

/* ---------- final ---------- */
.af-final { position: relative; overflow: hidden; padding: clamp(96px, 14vw, 176px) 20px; text-align: center; background: radial-gradient(70% 90% at 50% 115%, rgba(255, 58, 0, .8), transparent 70%), radial-gradient(40% 50% at 10% 0%, rgba(140, 74, 40, .6), transparent 70%), var(--af-night); }
.af-final__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.af-final h2 { max-width: none; font-size: clamp(44px, 9vw, 112px); }
.af-final p { margin-top: 20px; font-size: 20px; font-weight: 600; }
.af-button { display: inline-block; margin-top: 36px; padding: 20px 40px; border-radius: 999px; background: var(--af-straw); color: var(--af-ink) !important; font-weight: 800; font-size: 19px; box-shadow: 0 0 0 0 rgba(233, 195, 119, .6); animation: af-pulse 2s ease-out infinite; transition: transform .2s ease; }
.af-button:hover { transform: scale(1.06) rotate(-1deg); }
.af-final footer { margin-top: 56px; font-size: 14px; opacity: .85; }

/* ---------- reveal e contadores ---------- */
.af-js .af-pre > * { transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--k, 0) * 90ms); }
.af-js .af-pre > * { opacity: 0; transform: translateY(28px); }
.af-js .af-pre.is-visible > * { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes af-pop { to { opacity: 1; transform: none; } }
@keyframes af-fall { to { transform: translate3d(var(--dx), 112vh, 0) rotate(720deg); } }
@keyframes af-marquee { to { transform: translateX(-50%); } }
@keyframes af-aurora { to { background-position: 100% 60%; } }
@keyframes af-beat { 50% { transform: scale(1.5); } }
@keyframes af-grow { from { width: 0; } }
@keyframes af-pulse { 70% { box-shadow: 0 0 0 22px rgba(233, 195, 119, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 195, 119, 0); } }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
    .af-split, .af-invest__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .af-bento { grid-template-columns: 1fr; }
    .af-bento .af-card { grid-column: auto; }
    .af-flow__list { grid-template-columns: 1fr; gap: 0; }
    .af-flow__list li { padding: 0 0 26px 62px; min-height: 64px; }
    .af-flow__list li::after { top: 42px; bottom: 0; left: 20px; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--af-sage) 0 8px, transparent 8px 16px); }
    .af-bars li { grid-template-columns: 1fr 36px; gap: 6px 12px; }
    .af-bars li .af-bar { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 560px) {
    .af-stats { grid-template-columns: 1fr; }
    .af-tabs { gap: 6px; }
    .af-tabs button { padding: 12px; }
    .af-tabs button strong { font-size: 17px; }
    .af-brand { font-size: 13px; }
    .af-ticket { flex-direction: column; }
    .af-ticket__stub { width: 100%; border-left: 0; border-top: 3px dashed var(--af-paper); border-radius: 0 0 26px 26px; }
    .af-ticket__stub::before, .af-ticket__stub::after { top: -14px; bottom: auto; }
    .af-ticket__stub::before { left: -14px; }
    .af-ticket__stub::after { left: auto; right: -14px; }
}
@media (prefers-reduced-motion: reduce) {
    .af-proposal *, .af-proposal *::before, .af-proposal *::after { animation: none !important; transition: none !important; }
    .af-js .af-ch, .af-js .af-pre > * { opacity: 1 !important; transform: none !important; }
    .af-confetti { display: none; }
}
