/* Criação de sites: velocidade (28/11/2026). Sem JS ou com movimento reduzido mostra o resultado final. */
.spd__pin { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) { .spd__pin { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } html.js:not(.reduce) .spd__pin { min-height: 100svh; padding-block: 130px 24px; } }
.spd__copy { display: grid; gap: 18px; align-content: center; }
.spd__copy .h2 { font-size: clamp(2.6rem, min(6vw, 9vh), 6rem); }
.spd__lead { margin: 0; max-width: 52ch; font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.55; color: rgba(242,241,234,.9); }

/* busca do Google (ilustrativa) */
.spd__serp { margin-top: 8px; padding: 16px; border-radius: 20px; background: var(--graphite-2); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.35); max-width: 520px; }
.spd__q { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 14px; border-radius: 999px; background: #0d0f12; border: 1px solid rgba(242,241,234,.16); font-weight: 600; font-size: .92rem; color: var(--paper); }
.spd__q svg { width: 16px; height: 16px; flex: none; color: var(--cobalt); }
.spd__rank { grid-auto-rows: 1fr; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.spd__r { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(242,241,234,.05); border: 1px solid transparent; }
.spd__r > i { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(242,241,234,.1); font: 800 .85rem/1 var(--display); font-style: normal; color: var(--paper); }
.spd__r div { display: grid; min-width: 0; flex: 1; } .spd__r b { font-size: .98rem; color: var(--paper); } .spd__r small { font-size: .8rem; color: rgba(242,241,234,.72); }
.spd__r em { font-family: var(--body); font-style: normal; font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.spd__r--fast { border-color: rgba(212,255,58,.5); background: rgba(212,255,58,.08); box-shadow: 0 0 0 4px rgba(212,255,58,.06); }
.spd__r--fast > i { background: var(--cobalt); color: var(--on-lime); } .spd__r--fast em { background: var(--cobalt); color: var(--on-lime); }
.spd__r--mid em { background: rgba(255,190,70,.16); color: #ffcf73; }
.spd__r--slow em { background: rgba(255,95,87,.16); color: #ff8f88; }
.spd__note { display: flex; align-items: center; gap: 10px; margin: 12px 4px 0; font-weight: 700; font-size: .88rem; color: var(--cobalt); }
.spd__note span { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px rgba(212,255,58,.2); }

/* celulares */
.spd__race { display: flex; justify-content: center; align-items: start; gap: clamp(18px, 4vw, 56px); }
.spd__ph { display: grid; justify-items: center; gap: 12px; margin: 0; }
.spd__ph figcaption { font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(242,241,234,.85); }
.spd__ph--fast figcaption { color: var(--cobalt); }
.spd__scr { position: relative; width: clamp(130px, min(17vw, 29vh), 250px); aspect-ratio: 9 / 19; border-radius: 34px; border: 7px solid #2a2d34; background: #fff; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(242,241,234,.08); color: #16181d; }
.spd__status { position: absolute; left: 0; right: 0; top: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding: 8px 16px 0; font-size: .62rem; }
.spd__status span { width: 30%; height: 14px; border-radius: 99px; background: #111; margin: 0 auto 0 14%; }
.spd__bar { position: absolute; left: 0; right: 0; top: 28px; height: 3px; z-index: 4; background: rgba(0,0,0,.06); }
.spd__bar i { display: block; height: 100%; background: #e8574d; transform-origin: 0 50%; transform: scaleX(.45); }
.spd__ph--fast .spd__bar i { background: #3fae2a; transform: scaleX(1); }
.spd__blank { position: absolute; inset: 31px 0 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: #fff; color: #8a8d94; font-size: .7rem; }
.spd__spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #e4e2dc; border-top-color: #6b6e76; animation: spdSpin .9s linear infinite; }
@keyframes spdSpin { to { transform: rotate(360deg); } }
.spd__sk { position: absolute; left: 12px; right: 12px; top: 44px; display: grid; gap: 8px; }
.spd__sk i { height: 9px; border-radius: 5px; background: #ebe8e1; } .spd__sk i:nth-child(odd) { width: 72%; }
.spd__sk .spd__sk-img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 12px; background: linear-gradient(100deg, #ebe8e1 40%, #f6f4ef 50%, #ebe8e1 60%) 0 0 / 300% 100%; animation: spdShimmer 1.4s linear infinite; }
.spd__sk .spd__sk-btn { width: 60%; height: 26px; border-radius: 99px; margin-top: 6px; }
@keyframes spdShimmer { to { background-position: -150% 0; } }
.spd__back { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 22px; text-align: center; background: rgba(13,15,18,.94); color: #fff; }
.spd__back b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e8574d; font-size: 1.3rem; }
.spd__back p { margin: 0; font-weight: 700; font-size: .86rem; line-height: 1.35; }
.spd__back small { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #ff8f88; }
.spd__page { position: absolute; inset: 31px 0 0; display: grid; align-content: start; gap: 7px; background: #f6f4ee; }
.spd__nav { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #fff; font-family: var(--display); font-size: .74rem; }
.spd__nav i { width: 16px; height: 10px; border-top: 2px solid #16181d; border-bottom: 2px solid #16181d; position: relative; } .spd__nav i::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: #16181d; }
.spd__page img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; display: block; }
.spd__ttl { padding: 0 12px; font-family: var(--display); font-size: clamp(.85rem, 1.3vw, 1.1rem); line-height: 1.1; }
.spd__page small { padding: 0 12px; font-size: .64rem; color: #5b5e66; }
.spd__btn { position: relative; justify-self: start; margin: 4px 12px; padding: 8px 12px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 800; font-size: .62rem; box-shadow: 0 8px 18px rgba(37,211,102,.35); }
.spd__tap { position: absolute; right: 18%; top: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; background: rgba(22,24,29,.35); border: 2px solid rgba(255,255,255,.9); opacity: 0; }
.spd__msg { position: absolute; left: 8px; right: 8px; top: 36px; z-index: 6; display: flex; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 14px; background: rgba(255,255,255,.97); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.spd__msg > span { flex: none; width: 22px; height: 22px; border-radius: 6px; background: #25d366; }
.spd__msg div { display: grid; min-width: 0; } .spd__msg b { font-size: .64rem; } .spd__msg small { font-size: .58rem; color: #3b3d42; line-height: 1.3; }
.spd__t { margin: 0; display: flex; align-items: baseline; gap: 6px; font-weight: 700; color: rgba(242,241,234,.8); }
.spd__t b { font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2.3rem); color: #ff8f88; font-variant-numeric: tabular-nums; }
.spd__ph--fast .spd__t b { color: var(--cobalt); }
.spd__ok { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: var(--cobalt); color: var(--on-lime); align-self: center; }
html:not(.js) .spd__t b, html.reduce .spd__t b { visibility: hidden; }
html.reduce .spd__spin, html.reduce .spd__sk .spd__sk-img { animation: none; }
.speed__pts { display: grid; gap: 22px; list-style: none; padding: 0; margin: clamp(50px, 8vh, 90px) 0 0; }
@media (min-width: 900px) { .spd ~ * .speed__pts, .spd .speed__pts { grid-template-columns: repeat(4, 1fr); } }
.spd .speed__pts span { color: rgba(242,241,234,.82); }
@media (max-width: 560px) {
  .spd__scr { width: min(42vw, 30vh); border-width: 5px; border-radius: 24px; }
  .spd__serp { padding: 12px; } .spd__q { font-size: .8rem; } .spd__r { padding: 8px 10px; } .spd__r b { font-size: .88rem; } .spd__r small { font-size: .72rem; }
}
@media (max-width: 999px) { .spd__copy { display: contents; } .spd__pin > .spd__race, .spd__copy > .spd__serp { order: 2; } .spd__copy > .spd__serp { order: 3; } }


/* Primeiro quadro da corrida, inclusive enquanto o script inicia. */
html.js:not(.reduce) :is(.spd__sk, .spd__back, .spd__page > *, .spd__msg, .spd__ok) { opacity: 0; visibility: hidden; }
html.js:not(.reduce) .spd__bar i { transform: scaleX(0); }
html:not(.js) :is(.spd__msg, .spd__sk), html.reduce :is(.spd__msg, .spd__sk) { display: none; }
