/* Projetista.IA LP3 (Edit IA, 01/11/2026). Regras novas sobre styles.css (cópia da LP2). */
::selection { background: var(--amarelo); color: var(--tinta); }
body { padding-bottom: 0; }



/* Topo: H1 + vídeo */
.video-first-section { padding-block: clamp(22px, 3vw, 40px) clamp(26px, 3vw, 44px); background: var(--creme); background-image: linear-gradient(rgba(35,17,20,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(35,17,20,.035) 1px, transparent 1px); background-size: 22px 22px; }
.lead-block { width: min(100%, 980px); margin: 0 auto clamp(16px, 2.4vw, 26px); text-align: center; }
.lead-block h1 { max-width: 920px; margin-inline: auto; font-size: clamp(2.05rem, 4.6vw, 4.1rem); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.lead-block .hero-lead { max-width: 680px; margin: 14px auto 0; text-wrap: pretty; }
.lead-block .hero-seals { justify-content: center; margin-top: 12px; }
.lead-down { margin-top: 14px; }
.button-ghost { border-color: rgba(35,17,20,.28); background: transparent; color: var(--tinta); }
.button-ghost:hover { border-color: var(--tinta); }

/* Demonstrações */
.demos-section { background: #fff; }
.demos-heading { max-width: 860px; }
.demos-heading h2 { text-wrap: balance; }
.lead { max-width: 640px; margin-top: 10px; color: #514a45; font-size: 16px; line-height: 1.5; }
.demo { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; gap: clamp(18px, 3.5vw, 48px); padding-block: clamp(26px, 3.6vw, 44px); border-top: 1px solid var(--linha); }
.demo:first-of-type { border-top: 0; padding-top: 6px; }
.demo-ask h3 { font-size: clamp(20px, 2vw, 25px); line-height: 1.18; letter-spacing: -.02em; font-weight: 720; text-wrap: balance; }
.ask-card { margin-top: 14px; padding: 13px 15px 14px; border: 1px solid rgba(35,17,20,.14); border-radius: 12px 12px 12px 3px; background: var(--creme); box-shadow: 0 6px 18px rgba(35,17,20,.06); }
.ask-head { color: var(--aux); font-size: 12px; line-height: 1.3; font-weight: 750; }
.ask-text { margin-top: 5px; font-size: 15px; line-height: 1.45; font-weight: 600; }
.demo-facts { display: grid; gap: 0; margin: 14px 0 0; }
.demo-facts > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--linha); }
.demo-facts dt { display: flex; align-items: flex-start; gap: 5px; color: var(--aux); font-size: 12px; line-height: 1.35; font-weight: 750; }
.demo-facts dt svg { width: 15px; height: 15px; flex: none; }
.demo-facts dd { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 600; }
.fact-time dd { font-weight: 800; }
.fact-time dd::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; border-radius: 2px; background: var(--amarelo); }
.demo-result { min-width: 0; display: grid; gap: 12px; }
.cad-clip { overflow: hidden; border: 1px solid var(--linha); border-radius: 12px; background: #1d1f24; box-shadow: var(--sombra); }
.cad-clip-video { width: 100%; aspect-ratio: 1.6; object-fit: cover; background: #1d1f24; }
.cad-clip figcaption { padding: 7px 11px; color: #f1ece0; font-size: 12px; line-height: 1.35; font-weight: 600; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.pair-arrow { grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); align-items: center; }
.pair figure { min-width: 0; overflow: hidden; border: 1px solid var(--linha); border-radius: 10px; background: #fff; }
.pair figcaption { padding: 6px 9px; border-top: 1px solid var(--linha); font-size: 12px; line-height: 1.3; font-weight: 700; }
.pair-sep { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--amarelo); }
.pair-sep svg { width: 15px; height: 15px; }
.image-button:hover img { opacity: .94; }
.quantity-proof { overflow: hidden; border: 1px solid var(--linha); border-radius: 12px; background: var(--creme); }
.quantity-proof figcaption { padding: 10px 13px; border-bottom: 1px solid var(--linha); font-size: 13px; font-weight: 750; }
.quantity-proof table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.quantity-proof th, .quantity-proof td { padding: 8px 13px; border-bottom: 1px solid var(--linha); text-align: left; }
.quantity-proof thead th { color: var(--aux); font-size: 12px; font-weight: 750; }
.quantity-proof tbody th { font-weight: 600; }
.quantity-proof td:last-child, .quantity-proof thead th:last-child { text-align: right; font-weight: 750; }
.quantity-proof tr:last-child th, .quantity-proof tr:last-child td { border-bottom: 0; }

/* Faixa de prova */
.proof-band { background: var(--tinta); color: var(--creme); }
.proof-inner { padding-block: clamp(26px, 3.4vw, 40px); text-align: center; }
.proof-count { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.02em; font-weight: 650; text-wrap: balance; }
.proof-count strong { color: var(--amarelo); font-size: 1.5em; font-weight: 800; font-variant-numeric: tabular-nums; }
.proof-sub { max-width: 560px; margin: 8px auto 0; color: rgba(247,242,230,.8); font-size: 14px; line-height: 1.45; }

/* Incluso */
.included-section { background: var(--creme); }
.included-wrap { max-width: 1120px; }
.included-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.included-side .formats-block { margin-top: 0; }
.offer-list > li { font-size: 15px; }

/* Oferta */
.offer-section { background: #ebe6da; }
.offer-wrap { display: grid; justify-items: center; }
.offer-card { width: min(100%, 520px); padding: clamp(20px, 3vw, 30px); border: 1px solid var(--linha); border-top: 4px solid var(--amarelo); border-radius: 16px; background: var(--branco); box-shadow: var(--sombra); }
.offer-card .offer-mascot { height: 90px; margin-top: -6px; }
.offer-card h2 { margin-top: 6px; font-size: clamp(1.55rem, 2.6vw, 2rem); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.offer-card .launch-price-label { margin-top: 16px; }
.offer-card .price-values strong { font-size: clamp(2.5rem, 4.4vw, 3.2rem); }
.pay-ways { margin-top: 6px; color: #514a45; font-size: 14px; line-height: 1.4; font-weight: 600; }
.req-strip { width: 100%; display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 11px 13px; border: 1px solid rgba(35,17,20,.22); border-left: 5px solid var(--amarelo); border-radius: 9px; background: var(--creme); color: var(--tinta); font-size: 14px; line-height: 1.4; font-weight: 600; }
.req-strip > svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.req-strip strong { font-weight: 800; }
.req-strip small { display: block; margin-top: 4px; color: #514a45; font-size: 12px; line-height: 1.35; font-weight: 600; }
.nb { white-space: nowrap; }
.offer-card .offer-button { width: 100%; margin-top: 12px; min-height: 52px; font-size: 15px; }
.offer-receipt { display: grid; gap: 7px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--linha); list-style: none; }
.offer-receipt li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.4; }
.offer-receipt svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: #53614a; }
.offer-count { display: inline-block; margin-top: 14px; padding: 6px 10px; border-radius: 8px; background: var(--creme); font-size: 14px; font-weight: 650; }
.offer-count strong { font-weight: 800; font-variant-numeric: tabular-nums; }
.offer-card .safety-note { margin-top: 16px; }

.faq-section .section-heading { text-align: center; }
.footer-inner p + p { font-weight: 600; }

/* Barra fixa: só celular */
.buybar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .buybar { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; min-height: calc(64px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(35,17,20,.15); background: rgba(255,254,250,.97); box-shadow: 0 -7px 22px rgba(35,17,20,.1); transform: translateY(110%); transition: transform .32s cubic-bezier(.16,1,.3,1); }
  .buybar.is-on { transform: translateY(0); }
  body.viewer-open .buybar { display: none; }
  .buybar-info { min-width: 0; display: flex; flex-direction: column; gap: 1px; font-size: 12px; line-height: 1.2; }
  .buybar-info strong { font-size: 15px; font-weight: 800; }
  .buybar-info span { color: var(--aux); font-weight: 650; }
  .buybar-info del { color: #766f68; font-size: 12px; font-weight: 600; }
  .buybar-action { min-height: 46px; padding: 9px 14px; font-size: 14px; white-space: nowrap; }
}

.button-ghost:focus-visible { outline: 3px solid #6f5a00; outline-offset: 3px; }

@media (min-width: 1001px) {
  .demo-ask { position: sticky; top: 24px; }
}
@media (max-width: 1000px) {
  .demo { grid-template-columns: minmax(0, 1fr); }
  .included-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .lead-block { text-align: left; }
  .lead-block h1 { font-size: clamp(1.9rem, 8.4vw, 2.2rem); line-height: 1.04; }
  .lead-block .hero-lead { margin-top: 9px; font-size: 14px; }
  .lead-block .hero-seals { justify-content: flex-start; }
  .lead-down { width: 100%; }
  .demo { gap: 14px; padding-block: 26px; }
  .demo-ask h3 { font-size: 20px; }
  .ask-text { font-size: 14px; }
  .demo-facts > div { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
  .demo-facts dd { font-size: 13px; }
  .pair { gap: 7px; }
  .pair-arrow { grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); }
  .pair-sep { width: 22px; height: 22px; }
  .pair-sep svg { width: 13px; height: 13px; }
  .pair .zoom-hint { right: 4px; bottom: 4px; min-height: 30px; padding: 5px 7px; }
  .pair .zoom-hint-label { display: none; }
  .quantity-proof table { font-size: 13px; }
  .quantity-proof th, .quantity-proof td { padding: 7px 11px; }
  .proof-count { font-size: 21px; }
  .offer-card { padding: 18px 15px 20px; }
  .req-strip { font-size: 13px; }
  .offer-receipt li { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .buybar { transition: none; }
}

/* ============ v3 (01/11): menos texto, mídia protagonista, entra com a rolagem ============ */
.demos-heading { margin-bottom: clamp(14px, 2.4vw, 26px); }
.demos-heading .lead { margin-top: 6px; font-size: 16px; }
.demo {
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  grid-template-areas: "title media" "chips media" ". extra";
  grid-template-rows: auto 1fr auto;
  align-items: start; column-gap: clamp(22px, 4vw, 56px); row-gap: 14px;
}
.demo-title { grid-area: title; align-self: end; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.12; letter-spacing: -.025em; font-weight: 720; text-wrap: balance; }
.demo-media { grid-area: media; position: relative; min-width: 0; }
.demo-chips { grid-area: chips; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.demo-chips li { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid rgba(35,17,20,.16); border-radius: 999px; background: var(--creme); font-size: 13px; line-height: 1.2; font-weight: 700; }
.demo-chips svg { width: 15px; height: 15px; flex: none; }
.demo-chips .chip-time { border-color: var(--tinta); background: var(--tinta); color: var(--amarelo); font-variant-numeric: tabular-nums; }
.demo-chips .chip-arrow { width: 34px; min-height: 34px; justify-content: center; padding: 0; border: 0; background: var(--amarelo); }
.demo-chips .chip-arrow svg { width: 17px; height: 17px; }
.thumbs { grid-area: extra; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* pedido em balão, preso na borda de cima da mídia */
.ask-bubble { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 24px); margin: 0 0 -14px 12px; padding: 8px 13px 8px 10px; border-radius: 12px 12px 12px 3px; background: var(--amarelo); color: var(--tinta); box-shadow: 0 6px 16px rgba(35,17,20,.18); font-size: 14px; line-height: 1.25; font-weight: 750; }
.ask-bubble svg { width: 18px; height: 18px; flex: none; }

/* vídeo do CAD */
.cad-clip { position: relative; border: 0; border-radius: 14px; background: #1d222b; box-shadow: 0 18px 44px rgba(35,17,20,.22); }
.cad-clip-video { aspect-ratio: 720 / 588; object-fit: cover; background: #1d222b; }
.live-tag { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px; background: rgba(17,19,24,.82); color: #f1ece0; font-size: 12px; line-height: 1.2; font-weight: 750; letter-spacing: .06em; }
.live-tag i { width: 7px; height: 7px; border-radius: 50%; background: #ff5a4a; animation: rec 1.4s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .25; } }

/* miniaturas das pranchas (secundárias) */
.thumb { overflow: hidden; border: 1px solid var(--linha); border-radius: 10px; }
.thumb-tag { position: absolute; left: 6px; top: 6px; padding: 3px 7px; border-radius: 5px; background: rgba(35,17,20,.86); color: #fff; font-size: 12px; line-height: 1.2; font-weight: 700; }
.thumb .zoom-hint { right: 5px; bottom: 5px; width: 34px; height: 34px; min-height: 34px; justify-content: center; padding: 0; border-radius: 50%; }

/* comparação arrastável (antes -> depois) */
.wipe { --p: 50%; position: relative; touch-action: pan-y; cursor: ew-resize; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--linha); border-radius: 14px; background: #fff; box-shadow: 0 18px 44px rgba(35,17,20,.14); user-select: none; -webkit-user-select: none; }
.wipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.wipe-before { position: absolute; inset: 0; background: #fff; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.wipe-line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: var(--amarelo); box-shadow: 0 0 0 1px rgba(35,17,20,.25); pointer-events: none; }
.wipe-knob { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; display: grid; place-items: center; transform: translate(-50%, -50%); border: 2px solid var(--tinta); border-radius: 50%; background: var(--amarelo); color: var(--tinta); box-shadow: 0 6px 16px rgba(35,17,20,.25); }
.wipe-knob svg { width: 20px; height: 20px; }
.wipe-tag { position: absolute; z-index: 2; top: 10px; padding: 4px 9px; border-radius: 6px; font-size: 12px; line-height: 1.2; font-weight: 750; pointer-events: none; }
.wipe-tag-a { left: 10px; background: var(--creme); border: 1px solid rgba(35,17,20,.18); }
.wipe-tag-b { right: 10px; background: var(--tinta); color: var(--amarelo); }
.wipe-range { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; } /* só teclado e leitor de tela; o arrasto é do quadro (lp3.js) */
.wipe:has(.wipe-range:focus-visible) { outline: 3px solid #6f5a00; outline-offset: 3px; }
.wipe-zoom { position: absolute; z-index: 4; right: 8px; bottom: 8px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(35,17,20,.15); border-radius: 50%; background: rgba(255,255,255,.96); color: var(--tinta); box-shadow: 0 2px 10px rgba(35,17,20,.18); }
.wipe-zoom svg { width: 18px; height: 18px; }
.wipe-zoom:focus-visible { outline: 3px solid #6f5a00; outline-offset: 2px; }

/* quantitativo em números */
.qty-board { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border-radius: 14px; background: rgba(247,242,230,.14); box-shadow: 0 18px 44px rgba(35,17,20,.22); }
.qty { display: grid; align-content: end; gap: 4px; min-height: 128px; padding: 26px 16px 16px; background: var(--tinta); color: var(--creme); }
.qty-n { font-size: clamp(26px, 3.2vw, 40px); line-height: 1; letter-spacing: -.03em; font-weight: 780; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qty-n b { color: var(--amarelo); font-weight: 800; }
.qty-l { color: rgba(247,242,230,.82); font-size: 13px; line-height: 1.25; font-weight: 650; }

/* faixa de prova */
.proof-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 12px; }
.proof-sub { margin: 0; font-size: 14px; }

/* incluso */
.included-main { min-width: 0; }
.module-head { display: flex; align-items: center; gap: 14px; }
.module-num { min-width: 1.2em; font-size: clamp(64px, 7vw, 88px); line-height: .9; letter-spacing: -.04em; font-weight: 800; font-variant-numeric: tabular-nums; }
.module-head span { font-size: 17px; line-height: 1.25; font-weight: 720; }
.included-main .module-tags { margin: 16px 0 20px; }
.included-main .offer-list { grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 22px; }
.included-side h3 { margin-bottom: 9px; font-size: 15px; }

/* entra com a rolagem (só quando o JS liga; padrão é visível) */
.js-motion .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.js-motion .rv.in { opacity: 1; transform: none; }
.js-motion .rv-media { transform: none; clip-path: inset(6% 5% 6% 5% round 18px); transition: opacity .6s cubic-bezier(.16,1,.3,1), clip-path .9s cubic-bezier(.16,1,.3,1); }
.js-motion .rv-media.in { clip-path: inset(-40px -40px -60px -40px); }
.js-motion .demo-chips li { opacity: 0; transform: translateX(-10px); transition: opacity .45s ease-out, transform .45s cubic-bezier(.16,1,.3,1); }
.js-motion .demo-chips.in li { opacity: 1; transform: none; }
.js-motion .demo-chips.in li:nth-child(2) { transition-delay: .12s; }
.js-motion .demo-chips.in li:nth-child(3) { transition-delay: .22s; }
.js-motion .demo-chips.in li:nth-child(4) { transition-delay: .32s; }

@media (max-width: 1000px) {
  .demo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "media" "chips" "extra"; grid-template-rows: auto; row-gap: 12px; }
  .demo-title { align-self: start; }
  .included-main .offer-list { grid-template-columns: 1fr; }
}

/* celular: mídia na largura toda, nada espremido */
@media (max-width: 600px) {
  .demos-section.section-space { padding-top: 38px; }
  .demo { padding-block: 26px 30px; row-gap: 12px; }
  .demo:first-of-type { padding-top: 4px; }
  .demo-title { font-size: 22px; line-height: 1.14; }
  .demo-media { margin-inline: calc(-1 * var(--gut)); }
  .ask-bubble { margin: 0 0 -14px var(--gut); font-size: 13px; }
  .cad-clip, .wipe, .qty-board { border-radius: 0; border-inline: 0; }
  .wipe { aspect-ratio: 1 / 1; }
  .wipe img { padding: 3%; }
  .wipe-knob { width: 44px; height: 44px; }
  .qty { min-height: 112px; padding: 24px var(--gut) 14px; }
  .qty-n { font-size: 28px; }
  .thumbs { display: flex; gap: 10px; margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumb { flex: 0 0 74%; scroll-snap-align: start; }
  .proof-count { font-size: 22px; }
  .module-num { font-size: 72px; }
  .module-head span { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-tag i { animation: none; }
  .js-motion .rv, .js-motion .rv-media, .js-motion .demo-chips li { opacity: 1; transform: none; clip-path: none; transition: none; }
}

@media (min-width: 1001px) {
  .wipe { aspect-ratio: 16 / 10; }
}

/* Prancheta livre (06/11): croqui e prancha no mesmo quadro 4:5, casa sobre casa; imagens preenchem o quadro sem folga */
.wipe.wipe-flush { aspect-ratio: 4 / 5; }
.wipe.wipe-flush img { padding: 0; object-fit: cover; }
@media (min-width: 700px) { .wipe.wipe-flush { max-width: 520px; margin-inline: auto; } }
