/* Paleta: grafite, off-white, prata acetinada e azul-claro translúcido (#A8DFFF). */
:root {
  color-scheme: dark;
  --paper: #f3f1eb;
  --ink: #f3f1eb;
  --muted: #b2b7be;
  --pink: #c2e2f5;
  --blue: #a8dfff;
  --blue-deep: #5aa7d6;
  --line: #ffffff1f;
  --green: #c2e2f5;
  --surface: #ffffff08;
  --graphite: #23272d;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}
html { overflow-x: clip; }
body {
  background: radial-gradient(ellipse 65% 650px at 88% 8%, #a8dfff12, transparent 72%),
    radial-gradient(ellipse 55% 700px at 0% 48%, #a8dfff0b, transparent 75%),
    radial-gradient(ellipse 60% 600px at 90% 88%, #a8dfff0d, transparent 72%),
    linear-gradient(145deg, #101318 0%, #090c10 50%, #0d1015 100%);
  min-height: 100vh;
  overflow-x: clip;
}
/* ——— Barra de navegação (mantida) ——— */
.header { background: #292d33df; border-color: #ffffff24; box-shadow: 0 10px 35px #00000012, inset 0 1px #ffffff0d; }
.brand-symbol { background: linear-gradient(140deg, #fbfcfa, #bad8eb); color: #292d33; }
.header-cta, .dialog-done { background: linear-gradient(120deg, #f3f9fc, #c5e3f5 42%, #eaf6fe 64%, #9dbfd6); color: #252c33; box-shadow: inset 0 1px #ffffff, 0 2px 6px #00000020; }
.status-dot { background: var(--blue); box-shadow: 0 0 9px #b9ddf555; }
.pink-text {
  color: var(--blue);
  background: linear-gradient(115deg, #f2f8fc 0%, #bbdff5 35%, #e7f5ff 55%, #93b6d0 100%);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.eyebrow { color: #aab1ba; }
@media (max-width: 700px) { .header nav { background: #292f37; } }

/* ——— Botão de texto (CTAs editoriais) ——— */
.text-link { font: inherit; font-weight: 600; font-size: 13px; color: var(--ink); background: none; border: 0; border-bottom: 1px solid #f3f1eb80; border-radius: 0; cursor: pointer; transition: gap .35s var(--ease-out), border-color .3s; }
.text-link:hover { gap: 60px; border-color: var(--blue); }
.text-link span { transition: transform .35s var(--ease-out); }
.text-link:hover span { transform: translate(3px, -3px) rotate(8deg); }

/* ——— 01 · VÍDEOS / HERO ——— */
.hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 100px); min-height: min(860px, calc(100svh - 90px)); padding-top: 40px; padding-bottom: 40px; }
.hero-copy { animation: rise .8s var(--ease-out) both; }
.hero h1 { font-size: clamp(42px, 4.9vw, 74px); line-height: 1.04; letter-spacing: -.055em; max-width: 720px; margin: 26px 0 26px; text-wrap: balance; }
.hero-copy > p { max-width: 430px; font-size: 16px; line-height: 1.8; color: #bac0c7; }
.hero-cta { margin-top: 22px; }
.hero-hint { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 42px; font-size: 11px; color: #8f97a1; }
.hero-hint kbd { font: 600 10px/1 'DM Sans', Arial, sans-serif; color: #d8dde2; padding: 6px 8px; border-radius: 6px; background: linear-gradient(#ffffff14, #ffffff06); border: 1px solid #ffffff1c; box-shadow: 0 2px 0 #0004; }
@media (hover: none), (max-width: 700px) { .hero-hint { display: none; } }

/* Largura limitada pela altura da tela: vídeo + teclado sempre cabem na primeira dobra. */
.showcase { width: min(clamp(250px, 24vw, 330px), calc((100svh - 180px) / 2.2)); justify-self: center; scroll-margin-top: 110px; animation: rise 1s .1s var(--ease-out) both; outline: none; }
.screen-wrap { position: relative; margin-bottom: 42%; }
.screen-wrap::after { /* reflexo azul suave sob o teclado, como o brilho difuso da referência */
  content: ''; position: absolute; left: 50%; bottom: -2%; width: 120%; height: 34%; transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 50% 50%, #a8dfff1f, transparent 68%);
}
.screen { aspect-ratio: 9 / 16; position: relative; overflow: hidden; border-radius: 20px; border: 1px solid #ffffff26; background: #14181d; box-shadow: 0 30px 70px #05080d66, 0 0 0 6px #ffffff05, inset 0 1px #ffffff18; isolation: isolate; z-index: 1; }
.screen video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #101419; cursor: pointer; }
.video-poster { position: absolute; inset: 0; height: auto; padding: 22px; color: #f3f1eb; overflow: hidden;
  background: radial-gradient(ellipse at 75% 20%, #849bad50, transparent 55%), linear-gradient(155deg, #454c56, #262c34 58%, #1b2129); }
.video-poster[data-variant="1"] { background: radial-gradient(ellipse at 20% 75%, #a8dfff45, transparent 55%), linear-gradient(200deg, #3d4650, #20262e 60%, #161a20); }
.video-poster[data-variant="2"] { background: radial-gradient(ellipse at 60% 45%, #c9d2da40, transparent 50%), linear-gradient(120deg, #2c323a, #4a535e 55%, #1d2228); }
.video-poster[data-variant="1"] .poster-art { transform: rotate(-14deg) scale(.92); }
.video-poster[data-variant="2"] .poster-art { transform: rotate(10deg) translateY(-6%); }
.poster-label { position: absolute; top: 56px; left: 18px; font-size: 9px; letter-spacing: 2px; color: #d6dde3b0; }
.poster-art { position: absolute; inset: 26% 8% 30%; transition: transform .6s var(--ease-out); }
.art-orbit { position: absolute; width: 230px; max-width: 100%; aspect-ratio: 1; border: 1px solid #c5e3f56b; border-radius: 50%; top: 40%; left: 0; animation: spin 18s linear infinite; }
.art-flower { position: absolute; font-size: clamp(150px, 15vw, 210px); line-height: 1; color: var(--blue); text-shadow: 2px 5px 0 #728fa7, 8px 12px 22px #00000033; top: 0; left: -3%; animation: spin 26s linear infinite reverse; }
.art-ball { position: absolute; right: 4%; top: 6%; width: 86px; height: 86px; border-radius: 50%; background: radial-gradient(circle at 28% 22%, #ffffff, #d7eafa 25%, #a1bdcf 57%, #526a7f 83%, #bad9ef); box-shadow: 12px 20px 25px #00000035; animation: float 5s ease-in-out infinite; }
.art-ticket { position: absolute; right: 5%; bottom: 0; background: #f3f1eb; color: #2c333c; padding: 12px 14px; border-radius: 6px; font-size: 10px; letter-spacing: 1.5px; line-height: 1.4; transform: rotate(6deg); box-shadow: 5px 12px 22px #00000040; }
.art-ticket i { font: italic 26px/1 Georgia, serif; letter-spacing: 0; }
.art-ticket span { margin-left: 18px; }

.screen-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; pointer-events: none; }
.screen-chip { display: inline-flex; align-items: center; padding: 6px 9px; border-radius: 30px; font-size: 9px; font-weight: 600; letter-spacing: 1.4px; color: #e9eef2; background: #161a1f8c; border: 1px solid #ffffff1c; backdrop-filter: blur(10px); font-variant-numeric: tabular-nums; }
.screen-chip .status-dot { margin-right: 6px; }
.is-playing .screen-chip .status-dot { animation: pulse 1.4s ease-in-out infinite; }
.screen-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 16px 15%; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; z-index: 2; pointer-events: none; background: linear-gradient(transparent, #0a0d11c4); }
.screen-bottom h2 { margin: 0; font: 500 14px/1.35 Manrope, Arial, sans-serif; letter-spacing: -.2px; max-width: 75%; text-wrap: balance; }
.video-time { font-size: 10px; color: #c4cad0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.showcase:not(.has-video) .video-time { visibility: hidden; }
.video-progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #ffffff14; z-index: 3; }
.video-progress span { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 8px #a8dfff88; }
.is-switching .screen > video, .is-switching .video-poster { animation: swap .5s var(--ease-out); }
.is-switching .screen-bottom h2 { animation: rise .5s var(--ease-out); }
.player-message { min-height: 18px; margin: 4px 0 0; font-size: 11px; line-height: 1.5; color: #aeb6bf; text-align: center; position: relative; z-index: 3; }

/* Teclado: canvas 3D sobrepondo levemente a borda inferior do preview. */
.player-keys { position: absolute; left: 50%; bottom: 0; width: min(126%, calc(100vw - 20px)); aspect-ratio: 2 / 1; transform: translate(-50%, 64%); z-index: 2; pointer-events: none; }
.keys-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s var(--ease-out); pointer-events: none; }
.player-keys.is-ready .keys-canvas { opacity: 1; }
.keys-hover, .keys-hover * { cursor: pointer !important; }
/* Com o 3D ativo, os botões HTML continuam no DOM para teclado e leitores de tela. */
.player-keys.is-3d .key { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Fallback sem WebGL: teclas em CSS. */
.player-keys:not(.is-3d) { display: flex; justify-content: center; align-items: center; gap: 8px; pointer-events: auto; aspect-ratio: auto; width: auto; padding: 12px 14px 17px; border-radius: 16px; transform: translate(-50%, 55%);
  background: linear-gradient(145deg, #606974, #3b434d 50%, #505963); border: 1px solid #8996a06b; box-shadow: inset 0 1px #ffffff30, 0 5px 0 #252c34, 0 7px 0 #151c23, 0 18px 28px #00000040; }
.player-keys:not(.is-3d):not(.is-fallback) { opacity: 0; }
.player-keys.is-fallback { transition: opacity .3s; }
.player-keys:not(.is-3d) .key { min-width: 46px; height: 46px; display: grid; place-items: center; font-size: 16px; color: #303a44; border: 1px solid #d8dfe4; border-bottom: 0; border-radius: 9px; background: linear-gradient(135deg, #fffefa, #ecece7 50%, #c9d0d4); box-shadow: inset 0 1px 2px #fff, 0 5px 0 #949da5, 0 6px 0 #68737f, 0 9px 8px #00000040; transition: transform .08s, box-shadow .08s; }
.player-keys:not(.is-3d) .key-play { min-width: 74px; color: #263e51; background: linear-gradient(125deg, #f0faff, #badcf2 35%, #e5f5ff 60%, #93bad5); box-shadow: inset 0 1px 2px #fff, 0 5px 0 #7b9bb4, 0 6px 0 #526d83, 0 9px 8px #00000040; }
.player-keys:not(.is-3d) .key span { font-size: 16px; line-height: 1; }
.player-keys:not(.is-3d) .key:active { transform: translateY(4px); box-shadow: inset 0 1px 2px #fff8, 0 1px 0 #687d8e, 0 3px 4px #00000040; }

/* ——— Cabeçalho das seções ——— */
.section-heading { display: block; max-width: 760px; }
.section-heading h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.08; letter-spacing: -.045em; margin: 16px 0 0; text-wrap: balance; }
.section-heading h2 i { color: var(--blue); }
.section-description { max-width: 600px; color: var(--muted); font-size: 15px; line-height: 1.8; margin: 22px 0 0; }
.section-heading .text-link { margin-top: 26px; }
.collection, .services { padding: 90px 0 100px; border-top: 1px solid var(--line); }

/* ——— 02 · BIBLIOTECA ——— */
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 52px 0 26px; scroll-margin-top: 110px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 40px; background: #ffffff07; border: 1px solid var(--line); }
.filters button { border: 0; border-radius: 30px; padding: 10px 16px; font-size: 12px; color: #c2c8d0; background: transparent; transition: background .25s, color .25s; }
.filters button:hover { color: #fff; background: #ffffff0d; }
.filters button.active { background: #e8f2f9; color: #22303b; box-shadow: inset 0 1px #fff, 0 3px 10px #0003; }
.filters button span { margin-left: 4px; font-size: 10px; opacity: .65; }
.filters .filter-free { color: var(--blue); }
.collection-count { font-size: 10px; letter-spacing: 1.6px; color: #8f97a1; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; min-width: 0; padding: 10px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, #ffffff0b, #ffffff03 60%); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease-out), border-color .3s, box-shadow .45s; }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx) var(--my), #a8dfff1c, transparent 70%); }
.card:hover { transform: translateY(-5px); border-color: #a8dfff55; box-shadow: 0 24px 50px #05080d55; }
.card:hover::before { opacity: 1; }
.card[hidden] { display: none; }
.is-filtering .card { animation: card-in .55s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms); }
.card-media { position: relative; height: 168px; border-radius: 15px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 30% 20%, #ffffff20, transparent 55%), linear-gradient(150deg, #48515c, #2a3038); }
.card-media.card-ferramenta { background: radial-gradient(ellipse at 70% 15%, #a8dfff40, transparent 55%), linear-gradient(150deg, #43505d, #232a32); }
.card-media.card-link { background: radial-gradient(ellipse at 20% 80%, #d8e2ea30, transparent 55%), linear-gradient(200deg, #4b535d, #262b31); }
.card-media.card-template { background: radial-gradient(ellipse at 50% 0%, #f3f1eb30, transparent 60%), linear-gradient(160deg, #5a6068, #2f343b); }
.card-media.card-sistema { background: radial-gradient(ellipse at 80% 90%, #a8dfff33, transparent 60%), linear-gradient(130deg, #2b333c, #3f4a56); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.04); }
.card-icon { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 22px; color: #26333e;
  background: linear-gradient(140deg, #ffffff, #dfe8ee 45%, #b9c7d1); box-shadow: inset 0 1px #fff, inset 0 -3px 0 #9fb0bd, 0 14px 26px #0006, 0 3px 0 #7d8d99;
  transform: rotate(-6deg); transition: transform .55s var(--ease-spring), box-shadow .4s; }
.card-sistema .card-icon, .card-ferramenta .card-icon { background: linear-gradient(140deg, #f2fbff, #bfe6fb 45%, #8fc7e8); box-shadow: inset 0 1px #fff, inset 0 -3px 0 #6ea8cc, 0 14px 26px #0006, 0 3px 0 #4f8ab0; }
.card-icon svg { width: 34px; height: 34px; }
.card:hover .card-icon { transform: rotate(4deg) translateY(-6px) scale(1.05); box-shadow: inset 0 1px #fff, inset 0 -3px 0 #9fb0bd, 0 22px 30px #0007, 0 3px 0 #7d8d99; }
.card-badge { position: absolute; top: 12px; left: 12px; padding: 5px 9px; border-radius: 20px; font-size: 9px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.card-badge.is-free { color: #1f3646; background: var(--blue); box-shadow: 0 0 14px #a8dfff55; }
.card-badge.is-paid { color: #e4e9ed; background: #14181d9c; border: 1px solid #ffffff2a; backdrop-filter: blur(6px); }
.card-demo { position: absolute; right: 12px; top: 12px; font-size: 9px; letter-spacing: 1px; color: #dfe5ea99; }
.card-body { padding: 18px 10px 8px; }
.card-cat { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: #9ba3ad; }
.card h3 { font: 500 21px/1.2 Manrope, Arial, sans-serif; letter-spacing: -.5px; margin: 9px 0 8px; }
.card p { max-width: none; font-size: 13.5px; line-height: 1.65; color: var(--muted); margin: 0; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 10px 8px; }
.card-price { font-size: 12px; font-weight: 600; color: #dfe5ea; font-variant-numeric: tabular-nums; }
.card .card-action { width: auto; border: 1px solid #ffffff2a; border-radius: 30px; padding: 9px 12px 9px 15px; gap: 10px; font-size: 12px; font-weight: 600; background: #ffffff08; transition: background .25s, color .25s, border-color .25s; }
.card .card-action span:last-child { font-size: 15px; transition: transform .3s var(--ease-out); }
.card:hover .card-action { background: #eef6fb; color: #22303b; border-color: transparent; }
.card:hover .card-action span:last-child { transform: translate(2px, -2px); }

/* ——— 03 · SERVIÇOS ——— */
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 52px; }
.service-card { display: flex; flex-direction: column; min-width: 0; padding: 12px 12px 18px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(160deg, #ffffff0b, #ffffff02 60%); transition: transform .45s var(--ease-out), border-color .3s, box-shadow .45s; }
.service-card:hover { transform: translateY(-6px); border-color: #a8dfff55; box-shadow: 0 26px 55px #05080d55; }
.service-card > .eyebrow, .service-card h3, .service-card p, .service-card .card-action { margin-left: 10px; margin-right: 10px; }
.service-card > .eyebrow { margin-top: 24px; color: #9ba3ad; }
.service-card h3 { font: 500 clamp(21px, 1.9vw, 26px)/1.18 Manrope, Arial, sans-serif; letter-spacing: -.7px; margin-top: 12px; margin-bottom: 0; text-wrap: balance; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 14px; margin-bottom: 26px; }
.service-card .card-action { margin-top: auto; width: auto; padding: 14px 0 6px; font-size: 13px; font-weight: 600; border-bottom: 1px solid #ffffff30; transition: border-color .3s, color .3s; }
.service-card .card-action span:last-child { font-size: 19px; transition: transform .35s var(--ease-out); }
.service-card:hover .card-action { border-color: var(--blue); }
.service-card:hover .card-action span:last-child { transform: translate(3px, -3px) rotate(8deg); }
.service-art { position: relative; height: 250px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 85%, #a8dfff26, transparent 65%), linear-gradient(160deg, #2b3139, #1a1e24); }

/* Card 01 — interface de site com cursor, hover e reveal */
.mock-browser { position: relative; width: 82%; border-radius: 12px; background: #f1f2ee; color: #232a31; box-shadow: 0 20px 40px #0007; transform: perspective(700px) rotateX(10deg) rotateY(-12deg) rotate(-2deg); transition: transform .6s var(--ease-out); }
.service-card:hover .mock-browser { transform: perspective(700px) rotateX(4deg) rotateY(-4deg); }
.mock-bar { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-bottom: 1px solid #d9dcd8; }
.mock-bar i { width: 6px; height: 6px; border-radius: 50%; background: #c5cbd0; }
.mock-bar span { margin-left: 10px; padding: 2px 10px; border-radius: 10px; background: #e2e5e2; font-size: 8px; color: #7b848c; }
.mock-page { padding: 12px 14px 14px; }
.mock-nav { display: flex; gap: 8px; align-items: center; }
.mock-nav b { width: 14px; height: 14px; border-radius: 4px; background: #2a333c; margin-right: auto; }
.mock-nav span { width: 18px; height: 3px; border-radius: 2px; background: #c4cacf; }
.mock-hero { margin-top: 14px; display: flex; justify-content: space-between; align-items: flex-end; gap: 6px; }
.mock-hero strong { font: 500 17px/1.05 Manrope, Arial, sans-serif; letter-spacing: -.6px; clip-path: inset(0 0 0 0); animation: reveal 5s var(--ease-out) infinite; }
.mock-hero em { font-family: Georgia, serif; color: #4a8fbc; }
.mock-button { padding: 5px 8px; border-radius: 12px; font-size: 7.5px; font-weight: 700; color: #22303b; background: var(--blue); white-space: nowrap; animation: btn-press 5s infinite; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.mock-tiles span { height: 30px; border-radius: 6px; background: linear-gradient(110deg, #dfe3e2 30%, #f5f6f4 50%, #dfe3e2 70%); background-size: 250% 100%; animation: shimmer 2.6s linear infinite; }
.mock-tiles span:nth-child(2) { animation-delay: .25s; background-color: #cfe9f8; }
.mock-tiles span:nth-child(3) { animation-delay: .5s; }
.mock-cursor { position: absolute; left: 30%; top: 85%; width: 13px; height: 13px; background: #1d242b; clip-path: polygon(0 0, 100% 62%, 52% 62%, 30% 100%); filter: drop-shadow(0 2px 2px #0005); animation: cursor 5s var(--ease-out) infinite; }

/* Card 02 — composição de motion com ritmo e timeline */
.motion-stage { position: relative; width: 74%; aspect-ratio: 1.55; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 70% 30%, #a8dfff30, transparent 60%), #10141a; border: 1px solid #ffffff18; margin-bottom: 38px; }
.m-ring { position: absolute; left: 14%; top: 18%; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--blue); border-right-color: transparent; animation: spin 2.4s cubic-bezier(.7, 0, .3, 1) infinite; }
.m-disc { position: absolute; left: 24%; top: 30%; width: 14%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, #c9d6df 45%, #6c8293); animation: bounce 1.2s cubic-bezier(.5, 0, .5, 1) infinite alternate; }
.m-bar { position: absolute; left: 0; bottom: 18%; height: 14%; width: 100%; background: linear-gradient(90deg, var(--blue), #e9f6ff); transform-origin: left; animation: wipe 2.4s cubic-bezier(.8, 0, .2, 1) infinite; }
.m-word { position: absolute; right: 9%; top: 22%; font: 600 clamp(26px, 2.6vw, 34px)/1 Manrope, Arial, sans-serif; letter-spacing: -1.5px; color: #f3f1eb; animation: punch 2.4s var(--ease-spring) infinite; }
.m-word i { color: var(--blue); font-style: normal; }
.motion-timeline { position: absolute; left: 13%; right: 13%; bottom: 20px; display: grid; gap: 5px; }
.m-track { position: relative; height: 9px; border-radius: 3px; background: #ffffff10; }
.m-track i { position: absolute; top: 1px; width: 7px; height: 7px; background: var(--blue); transform: rotate(45deg); border-radius: 1px; }
.m-track i:nth-child(1) { left: 8%; } .m-track i:nth-child(2) { left: 46%; } .m-track i:nth-child(3) { left: 80%; }
.m-track:nth-child(2) i { background: #e9eef2; } .m-track:nth-child(2) i:nth-child(1) { left: 24%; } .m-track:nth-child(2) i:nth-child(2) { left: 64%; }
.m-playhead { position: absolute; top: -5px; bottom: -5px; left: 0; width: 1.5px; background: #fff; box-shadow: 0 0 8px var(--blue); animation: playhead 2.4s linear infinite; }

/* Card 03 — mini sistema interativo */
.mock-app { width: 80%; padding: 14px; border-radius: 14px; background: #f1f2ee; color: #232a31; box-shadow: 0 20px 40px #0007; transform: rotate(-2deg); transition: transform .5s var(--ease-out); }
.service-card:hover .mock-app { transform: rotate(0deg) translateY(-3px); }
.app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font: 700 13px Manrope, Arial, sans-serif; }
.app-pill { padding: 4px 8px; border-radius: 10px; font: 700 8.5px 'DM Sans', Arial, sans-serif; letter-spacing: .3px; color: #2f5a78; background: #dff1fb; transition: background .3s, color .3s; }
.mock-app.is-done .app-pill { background: var(--blue); color: #183244; }
.app-row { display: flex; align-items: center; gap: 8px; padding: 8px 6px; border-radius: 8px; font-size: 11px; cursor: pointer; transition: background .2s; }
.app-row:hover { background: #e3e7e8; }
.app-row input { appearance: none; margin: 0; width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid #9aa6b0; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.app-row input::after { content: ''; width: 7px; height: 4px; border: 2px solid #1d3646; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); transition: transform .3s var(--ease-spring); margin-top: -2px; }
.app-row input:checked { background: var(--blue); border-color: #7fbfe2; }
.app-row input:checked::after { transform: rotate(-45deg) scale(1); }
.app-row input:focus-visible { outline: 2px solid #4a8fbc; outline-offset: 2px; }
.app-row span { flex: 1; transition: color .2s; }
.app-row input:checked + span { color: #8a949c; text-decoration: line-through; }
.app-row i { font-style: normal; font-size: 9px; color: #8a949c; }
.app-meter { height: 4px; margin-top: 10px; border-radius: 3px; background: #dde2e4; overflow: hidden; }
.app-meter span { display: block; height: 100%; background: linear-gradient(90deg, #7fbfe2, var(--blue)); transform-origin: left; transition: transform .5s var(--ease-out); }

/* ——— Rodapé e diálogo ——— */
footer { color: var(--muted); }
dialog { background: linear-gradient(145deg, #373e47, #252c34); color: #f3f1eb; }
dialog::backdrop { background: #0d1116a0; }

/* ——— Animações ——— */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes swap { from { opacity: 0; transform: scale(1.04); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -150% 0; } }
@keyframes reveal { 0%, 8% { clip-path: inset(0 100% 0 0); } 24%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes cursor { 0%, 10% { left: 22%; top: 92%; } 38%, 62% { left: 84%; top: 52%; } 64% { transform: scale(.85); } 68% { transform: none; } 88%, 100% { left: 22%; top: 92%; } }
@keyframes btn-press { 0%, 38% { transform: none; box-shadow: none; } 44% { transform: translateY(-2px); box-shadow: 0 4px 10px #4a8fbc66; } 64% { transform: scale(.92); } 70%, 100% { transform: none; box-shadow: none; } }
@keyframes bounce { from { transform: translateY(-30%); } to { transform: translateY(70%) scaleY(.92); } }
@keyframes wipe { 0% { transform: scaleX(0); } 45%, 60% { transform: scaleX(1); transform-origin: left; } 61% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes punch { 0%, 20% { transform: scale(.6); opacity: 0; } 34%, 80% { transform: none; opacity: 1; } 100% { transform: translateY(-20%); opacity: 0; } }
@keyframes playhead { to { left: 100%; } }

/* ——— Responsivo ——— */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-cards { grid-template-columns: 1fr; max-width: 640px; }
  .service-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 18px; align-content: start; }
  .service-card .service-art { grid-row: 1 / span 5; height: 100%; min-height: 260px; }
  .service-card > .eyebrow { margin-top: 14px; }
}
@media (max-width: 950px) { .hero h1 { letter-spacing: -.05em; } .hero-copy > p { font-size: 15px; } }
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 40px 0 24px; min-height: auto; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 58px); margin: 20px 0; }
  .hero-copy > p { font-size: 15px; }
  .showcase { width: min(72vw, 310px); }
  .collection, .services { padding: 60px 0 70px; }
  .collection-toolbar { margin-top: 36px; }
  .filters { border-radius: 18px; }
  .filters button { padding: 9px 12px; }
  .cards { grid-template-columns: 1fr; }
  .service-cards { margin-top: 36px; }
  .service-card { display: flex; }
  .service-card .service-art { height: 230px; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .service-card, .card-icon, .mock-browser { transition: none; }
}
/* Composição compacta e centralizada. */
.header { width: min(790px, calc(100% - 32px)); margin: 16px auto 0; top: 16px; padding: 8px 10px 8px 18px; border-radius: 999px; background: #090d11ed; border: 1px solid #a8dfff33; box-shadow: 0 8px 35px #0005, inset 0 1px #a8dfff08; gap: 22px; }
.header .brand { font-size: 21px; gap: 7px; }
.brand-symbol { background: transparent; transform: none; width: 32px; height: 32px; display: block; border-radius: 50%; }
.brand-symbol img { display: block; width: 100%; height: 100%; filter: url(#brand-blue); }
.header nav { gap: 24px; font-size: 12px; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #cdeeff; border-radius: 999px; padding: 12px 17px; font-size: 11px; font-weight: 700; white-space: nowrap; background: linear-gradient(125deg, #daf1ff, #a8dfff); color: #111c25; box-shadow: 0 3px 12px #a8dfff16; }
.header-cta span { margin-left: 9px; }
.hero { max-width: 1000px; margin: 0 auto; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 65px; min-height: min(780px, calc(100svh - 82px)); padding: 50px 0 35px; }
.hero-copy { text-align: center; }
.hero h1 { font-size: clamp(38px, 4.3vw, 61px); margin-left: auto; margin-right: auto; }
.hero-copy > p { margin-left: auto; margin-right: auto; }
.showcase { position: relative; isolation: isolate; }
.showcase::before { content: ''; position: absolute; z-index: -1; pointer-events: none; width: 210px; height: 280px; left: -90px; top: 25%; background: radial-gradient(ellipse, #a8dfff55 0%, #81cfff26 24%, #a8dfff09 45%, transparent 70%); filter: blur(20px); }
.screen-wrap::before { content: ''; position: absolute; pointer-events: none; z-index: 0; width: 160px; height: 2px; top: 46%; left: -65px; background: linear-gradient(90deg, transparent, #a8dfffaa, transparent); box-shadow: 0 0 18px 3px #a8dfff30; transform: rotate(-20deg); }
.section-heading { text-align: center; margin: 0 auto; max-width: 800px; }
.section-heading h2 { max-width: 800px; margin-left: auto; margin-right: auto; font-size: clamp(30px, 3.4vw, 47px); }
.section-description { margin-left: auto; margin-right: auto; }
#collection-title strong { font-family: inherit; font-weight: 700; color: var(--blue); }
.collection, .services { padding: 52px 0 60px; }
.collection-toolbar { justify-content: center; gap: 15px; margin: 28px 0 20px; }
.collection-count { text-align: center; }
.cards { max-width: 1060px; margin: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card { padding: 8px; border-radius: 17px; }
.card-media { height: 112px; border-radius: 11px; }
.card-icon { width: 53px; height: 53px; border-radius: 15px; }
.card-icon svg { width: 26px; height: 26px; }
.card-body { padding: 13px 5px 3px; }
.card h3 { font-size: 17px; }
.card p { font-size: 12px; line-height: 1.5; }
.card-foot { padding: 12px 5px 5px; gap: 6px; }
.card .card-action { font-size: 10px; padding: 8px 10px; gap: 5px; }
.card-price { font-size: 10px; }
.service-cards { max-width: 1040px; margin: 30px auto 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { display: flex; padding: 9px 9px 15px; border-radius: 19px; }
.service-card .service-art { height: 175px; min-height: 0; }
.service-card > .eyebrow { margin-top: 18px; font-size: 9px; }
.service-card h3 { font-size: 21px; }
.service-card p { font-size: 12px; line-height: 1.6; margin-bottom: 18px; }
.service-card .card-action { font-size: 11px; }
@media(max-width: 950px) { .hero { gap: 35px; } .header { gap: 14px; } .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .service-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .service-card h3 { font-size: 18px; } .service-card .service-art { height: 150px; } .mock-app { width: 95%; padding: 8px; } .app-row { font-size: 9px; gap: 4px; } }
@media(max-width: 700px) { .header { flex-wrap: wrap; gap: 8px; padding: 8px 12px; border-radius: 25px; margin: 10px auto 0; top: 10px; } .header .brand { font-size: 18px; } .menu-toggle { margin-left: auto; gap: 6px; } .header-cta { font-size: 10px; padding: 10px 12px; } .header-cta span { display: none; } .header nav { border-radius: 20px; background: #090d11f5; } .hero { grid-template-columns: 1fr; gap: 35px; min-height: auto; padding: 44px 0 30px; } .hero h1 { font-size: clamp(36px, 9.5vw, 53px); } .hero-copy .eyebrow { font-size: 9px; } .section-heading h2 { max-width: none; } .service-cards { grid-template-columns: 1fr; max-width: 400px; } .service-card .service-art { height: 190px; } .service-card h3 { font-size: 22px; } .service-card p { font-size: 13px; } .cards { grid-template-columns: 1fr; max-width: 380px; } .card-media { height: 125px; } .filters { justify-content: center; } }
@media(max-width: 370px) { .header-cta { flex-basis: 100%; } }


.hero-cta.whatsapp-cta { display:inline-flex; align-items:center; justify-content:center; gap:18px; padding:16px 23px; border:1px solid #cdeeff; border-radius:999px; background:linear-gradient(125deg,#daf1ff,#a8dfff); color:#111c25; font-size:13px; font-weight:700; box-shadow:0 8px 25px #a8dfff16; }

/* Ajustes da primeira dobra e contato por tamanho de tela. */
.hero-copy { text-align: left; }
.hero h1, .hero-copy > p { margin-left: 0; margin-right: 0; }
.hero h1 .pink-text { font-weight: 800; }
.player-keys { width: min(150%, calc(100vw - 36px)); }
.screen-wrap { margin-bottom: 52%; }
.player-keys:not(.is-3d) .key { min-width: 54px; height: 56px; }
.player-keys:not(.is-3d) .key-play { min-width: 104px; }
.player-keys:not(.is-3d) .key-play span { font-size: 22px; }
@media(max-width: 700px) {
  .header .header-cta { display: none; }
  .player-keys:not(.is-3d) { gap: 7px; padding: 12px 10px 17px; }
  .player-keys:not(.is-3d) .key { min-width: 44px; height: 52px; }
  .player-keys:not(.is-3d) .key-play { min-width: 88px; }
}

@media (min-width:701px) and (max-width:950px) { .player-keys { width:124%; } .player-keys:not(.is-3d) .key { min-width:46px; } .player-keys:not(.is-3d) .key-play { min-width:88px; } }

/* Três cards por fila, preservando a largura anterior dos cards. */
@media (min-width: 951px) { .cards { width: calc(75% - 3.5px); max-width: 791.5px; grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ——— Biblioteca em linhas (2 colunas) ——— */
#cards.cards { width: 100%; max-width: 1060px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#cards .card-row { flex-direction: row; align-items: center; gap: 16px; padding: 14px 20px 14px 14px; border-radius: 20px; cursor: pointer; }
#cards .card-row:hover { transform: translateY(-2px); }
#cards .card-row .card-media { flex: none; width: 56px; height: 56px; border-radius: 16px; }
#cards .card-row .card-icon { width: 56px; height: 56px; border-radius: 16px; box-shadow: none; }
#cards .card-row .card-icon svg { width: 26px; height: 26px; }
#cards .card-row:hover .card-icon { transform: none; }
#cards .card-row .card-media img { width: 100%; height: 100%; object-fit: cover; }
#cards .card-row .card-body { flex: 1; min-width: 0; padding: 0; }
#cards .card-row h3 { margin: 0 0 3px; font-size: 16px; font-weight: 600; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cards .card-row p { font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#cards .card-tag { flex: none; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 5px 9px; border-radius: 20px; }
#cards .card-tag.is-free { color: #1f3646; background: var(--blue); }
#cards .card-tag.is-paid { color: #e4e9ed; border: 1px solid #ffffff2a; }
#cards .card-row .card-action { position: static; flex: none; width: auto; padding: 0; border: 0; background: none; font-size: 20px; color: var(--blue); transition: transform .3s var(--ease-out); }
#cards .card-row .card-action::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
#cards .card-row:hover .card-action { background: none; color: var(--blue); transform: translateX(4px); }
#cards .card-row .card-action:focus-visible::after { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 20px; }
@media (max-width: 760px) { #cards.cards { grid-template-columns: 1fr; } }
/* Poucos itens (até 5): uma coluna, centralizada. 6 ou mais: 2 colunas. */
#cards.cards[data-layout="stack"] { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.collection-toolbar[hidden] { display: none; }
.collection-count { display: none; }
#cards.cards { margin-top: clamp(32px, 4vw, 52px); }
