/* Páginas de produto/SEO (Fase 3): mesma linguagem da home — Archivo, laranja, seções escuras com textura,
   mockups de celular, card de Special e cenas que reagem ao scroll. Usa as variáveis e componentes de
   revision.css (.button, .eyebrow, .section-shell, .site-header, .site-footer). Prefixo lp- para não colidir. */

.lp-page{background:var(--cream)}
.lp-page .site-header{background:rgb(16 16 16/.82)}
.lp-section{padding:96px 0}
.lp-dark{color:#f9f7f3;background:#171717 url("/assets/images/background-dark.webp") center/cover no-repeat}
.lp-light{background:#f6f3ed url("/assets/images/background-light.webp") center/cover no-repeat}
.lp-plain{background:#f4f2ed}
.lp-light .eyebrow,.lp-plain .eyebrow{color:#b54300}
.lp-head{max-width:760px;margin:0 auto 52px;text-align:center}
.lp-head h2{margin-inline:auto;max-width:20ch}
.lp-head h2 em,.lp-split h2 em,.lp-say h2 em{color:var(--orange-dark);font-style:normal}
.lp-dark .lp-head h2 em,.lp-dark h2 em{color:var(--orange)}
.lp-head>p:last-child{max-width:60ch;margin:18px auto 0;color:var(--muted)}
.lp-dark .lp-head>p:last-child{color:#cbc6c0}

/* ---------- Hero ---------- */
.lp-hero{position:relative;min-height:max(100svh,700px);display:grid;align-items:center;overflow:hidden;color:#fff;background:#15110f}
.lp-hero-photo,.lp-hero-shade{position:absolute;inset:0}
.lp-hero-photo{background:url("/assets/images/restaurant-guests-qr-photo-menu.webp") center/cover no-repeat;transform:scale(calc(1.06 - var(--lp-hero,0)*.06))}
.lp-hero-shade{background:linear-gradient(90deg,rgba(13,7,5,.92) 0%,rgba(13,7,5,.7) 48%,rgba(13,7,5,.35) 100%),linear-gradient(0deg,rgba(10,7,5,.7),transparent 50%)}
.lp-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center;padding-top:96px;padding-bottom:64px}
.lp-hero .lp-crumbs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px;color:rgba(255,255,255,.7);font-size:14px}
.lp-hero .lp-crumbs a{color:rgba(255,255,255,.7);text-decoration:none}
.lp-hero .lp-crumbs a:hover{color:#fff}
.lp-hero h1{margin:0;font-size:clamp(40px,5.2vw,68px);line-height:.96;letter-spacing:-.045em}
.lp-hero h1 .brand-note{display:block;margin:0 0 26px;line-height:1.55}
.lp-hero h1 em{color:var(--orange);font-style:normal}
.lp-hero-lead{max-width:56ch;margin:28px 0 0;font-size:clamp(17px,1.4vw,19px);line-height:1.6;color:#e4dfd8}
.lp-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:40px}
.lp-hero-actions small{flex-basis:100%;color:rgba(255,255,255,.75);font-size:13px}
.lp-hero-device{position:relative;justify-self:center;width:min(100%,330px)}

/* ---------- Celular (mesmo mockup da home) ---------- */
.lp-phone{position:relative;aspect-ratio:9/16;padding:10px;border-radius:46px;background:#090909;box-shadow:0 30px 80px rgba(0,0,0,.55)}
.lp-phone-screen{position:relative;width:100%;height:100%;overflow:hidden;border-radius:37px;background:#f5f1e8}
.lp-phone-screen img,.lp-phone-screen video{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.lp-phone .phone-status{position:absolute;z-index:4;inset:0 0 auto;height:31px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;color:#fff;background:#050505;font-size:11px}
.lp-phone .phone-status i{position:absolute;top:5px;left:50%;width:78px;height:21px;transform:translateX(-50%);border-radius:20px;background:#000}
.lp-phone .lp-screen-media{position:absolute;inset:31px 0 9px}
.lp-phone .phone-home{position:absolute;z-index:4;bottom:6px;left:50%;width:100px;height:4px;transform:translateX(-50%);border-radius:5px;background:#fff}
.lp-device-caption{margin:12px 0 0;color:rgba(255,255,255,.75);font-size:13px;text-align:center}

/* Card de Special flutuante (mesmo visual do hero da home) */
.lp-special{position:absolute;z-index:5;left:-46%;bottom:12%;width:250px;padding:18px;border:1px solid rgb(255 255 255/.28);border-radius:20px;background:rgb(22 18 16/.82);box-shadow:0 24px 65px rgba(0,0,0,.4);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:#fff}
.lp-special p{display:flex;justify-content:space-between;margin:0;font-size:14px}
.lp-special p>span{color:var(--orange);font-weight:800}
.lp-special small{font-size:12px;color:rgba(255,255,255,.65)}
.lp-special h3{margin:12px 0 6px;font-size:19px}
.lp-special .price-change strong{font-size:26px}
.lp-special .card-meta{margin:12px 0 7px}
.lp-special .time-bar i{width:calc(var(--lp-timer,.63)*100%);transition:width 1.4s cubic-bezier(.2,.7,.2,1)}

/* ---------- Cena Before → With pictures (sticky, progresso 0-1 em --ba) ---------- */
.lp-scene{position:relative;height:260vh;min-height:1700px}
.lp-scene-sticky{position:sticky;top:0;height:100svh;min-height:640px;overflow:hidden;display:grid;place-items:center}
.lp-scene-stage{position:relative;width:min(calc(100% - 48px),var(--shell));height:min(78svh,640px)}
.lp-scene-copy{position:absolute;z-index:3;left:0;top:50%;width:min(44%,520px);transform:translateY(-50%)}
.lp-scene-copy .lp-say{position:absolute;inset:auto 0 auto 0;top:50%;transform:translateY(-50%)}
.lp-say-before{opacity:calc(1 - var(--ba-text,0))}
.lp-say-after{opacity:var(--ba-text,0)}
.lp-say h2{margin:0 0 18px;font-size:clamp(34px,3.8vw,52px)}
.lp-say p{margin:0;max-width:44ch;color:var(--muted)}
.lp-say .eyebrow{margin-bottom:14px}
.lp-paper,.lp-scene .lp-phone-wrap{position:absolute;top:50%}
.lp-paper{right:31%;width:min(25vw,300px);aspect-ratio:3/4;margin:0;transform:translateY(-50%) rotate(-4deg) scale(calc(1 - var(--ba,0)*.12));filter:grayscale(var(--ba,0));opacity:calc(1 - var(--ba,0)*.55)}
.lp-paper img{display:block;width:100%;height:100%;object-fit:cover;border:10px solid #fff;background:#e7e3db;box-shadow:0 25px 60px rgba(46,38,27,.3)}
.lp-scene .lp-phone-wrap{right:2%;width:min(23vw,290px);transform:translateY(-50%) translateX(calc((1 - var(--ba,0))*60px)) scale(calc(.86 + var(--ba,0)*.14));opacity:calc(.15 + var(--ba,0)*.85)}
.lp-tag{position:absolute;z-index:6;top:-34px;left:0;padding:6px 12px;border-radius:999px;font-size:13px;font-weight:750;white-space:nowrap}
.lp-tag--before{color:#fff;background:#3b3834}
.lp-tag--after{left:50%;transform:translateX(-50%);color:#171717;background:var(--orange)}
.lp-scene-progress{position:absolute;left:50%;bottom:28px;width:160px;height:4px;transform:translateX(-50%);border-radius:4px;background:rgb(24 24 23/.12)}
.lp-scene-progress i{display:block;width:calc(var(--ba,0)*100%);height:100%;border-radius:inherit;background:var(--orange)}

/* ---------- Cards de motivo ---------- */
.lp-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.lp-card{position:relative;padding:30px 28px 26px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 18px 44px rgba(46,38,27,.08)}
.lp-card-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:22px;border-radius:16px;color:#171717;background:var(--orange)}
.lp-card-icon svg{width:26px;height:26px}
.lp-card h3{margin:0 0 10px;font-size:22px}
.lp-card p{margin:0;color:var(--muted);font-size:17px}

/* ---------- Duas colunas (texto + mídia) ---------- */
.lp-split{display:grid;grid-template-columns:1fr .85fr;gap:72px;align-items:center}
.lp-split--reverse{grid-template-columns:.95fr 1.05fr}
.lp-split h2{margin-bottom:22px;max-width:16ch}
.lp-split>div>p:not(.eyebrow){max-width:54ch;color:var(--muted)}
.lp-dark .lp-split>div>p:not(.eyebrow){color:#cbc6c0}
.lp-checks{display:grid;gap:14px;margin:28px 0 34px;padding:0;list-style:none}
.lp-checks li{display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:start}
.lp-checks li::before{content:"";width:28px;height:28px;border-radius:50%;background:var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23171717' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.lp-checks strong{display:block;font-size:18px}
.lp-checks span{display:block;color:var(--muted);font-size:16px}
.lp-dark .lp-checks span{color:#bdb7b0}
.lp-device-col{position:relative;justify-self:center;width:min(100%,330px)}
.lp-dashboard{position:relative;margin:0}
.lp-dashboard>img{display:block;width:100%;height:auto;padding:10px;border-radius:18px;background:#fff;box-shadow:0 24px 60px rgba(46,38,27,.2)}
.lp-dashboard figcaption{margin-top:10px;color:var(--muted);font-size:13px}
.lp-dashboard .lp-special{left:auto;right:-26px;bottom:-34px}

/* ---------- Passos ---------- */
.lp-steps{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:0;padding:0;list-style:none;counter-reset:lp-step}
.lp-steps::before{content:"";position:absolute;top:31px;left:16%;right:16%;height:2px;background:linear-gradient(90deg,var(--orange) calc(var(--lp-steps,0)*100%),rgb(255 255 255/.16) 0)}
.lp-steps li{position:relative;padding:0 18px;text-align:center;counter-increment:lp-step}
.lp-steps li::before{content:counter(lp-step);position:relative;z-index:1;display:grid;place-items:center;width:64px;height:64px;margin:0 auto 22px;border:2px solid var(--orange);border-radius:50%;color:#171717;background:var(--orange);font-size:24px;font-weight:850}
.lp-steps h3{margin:0 0 10px;font-size:22px}
.lp-steps p{margin:0 auto;max-width:30ch;color:#cbc6c0;font-size:16px}
.lp-steps-cta{margin-top:52px;text-align:center}
.lp-steps-cta small{display:block;margin-top:12px;color:#bdb7b0;font-size:13px}

/* ---------- Comparação PDF x fotos ---------- */
.lp-vs{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:980px;margin:0 auto}
.lp-vs article{padding:30px;border:1px solid var(--line);border-radius:24px;background:#fff}
.lp-vs article.lp-vs-win{border:2px solid var(--orange);box-shadow:0 22px 50px rgb(255 118 24/.16)}
.lp-vs h3{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 18px;font-size:22px}
.lp-vs h3 span{padding:5px 10px;border-radius:999px;color:#171717;background:var(--orange);font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.lp-vs ul{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.lp-vs li{display:grid;grid-template-columns:22px 1fr;gap:10px;font-size:16px;line-height:1.5}
.lp-vs li::before{content:"";width:22px;height:22px;margin-top:1px;border-radius:50%}
.lp-vs-lose li::before{background:#e8e2d8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l8 8M16 8l-8 8' stroke='%2366645f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat}
.lp-vs-win li::before{background:var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23171717' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.lp-vs-note{max-width:62ch;margin:30px auto 0;color:var(--muted);text-align:center;font-size:16px}
.lp-vs-note a,.lp-faq a{color:#b54300;font-weight:700}

/* ---------- FAQ ---------- */
.lp-faq{display:grid;grid-template-columns:.72fr 1.28fr;gap:70px}
.lp-faq details{border-top:1px solid var(--line)}
.lp-faq details:last-child{border-bottom:1px solid var(--line)}
.lp-faq summary{padding:18px 2px;font-size:18px;font-weight:750;cursor:pointer}
.lp-faq details p{margin:0;padding:0 28px 18px 2px;color:var(--muted)}

/* ---------- CTA final ---------- */
.lp-cta{text-align:center}
.lp-cta h2{max-width:18ch;margin:0 auto 16px}
.lp-cta p{max-width:52ch;margin:0 auto 30px;color:#ded9d3}
.lp-cta .button{min-height:54px;padding:0 30px}
.lp-cta small{display:block;margin-top:14px;color:rgba(255,255,255,.75);font-size:13px}

/* ---------- Revelação ao rolar (só com JS; sem JS tudo fica visível) ---------- */
.lp-js .lp-reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.lp-js .lp-reveal.is-in{opacity:1;transform:none}
.lp-js .lp-cards .lp-reveal:nth-child(2),.lp-js .lp-steps .lp-reveal:nth-child(2){transition-delay:.08s}
.lp-js .lp-cards .lp-reveal:nth-child(3),.lp-js .lp-steps .lp-reveal:nth-child(3){transition-delay:.16s}

.lp-page .video-toggle{position:absolute;z-index:6;right:12px;bottom:16px}
.lp-page :focus-visible{outline:3px solid var(--orange);outline-offset:3px}

/* ---------- Telas grandes ---------- */
@media (min-width:1441px){.lp-section{padding:clamp(96px,6vw,120px) 0}}

/* ---------- Celular ---------- */
@media (max-width:900px){
  .lp-hero-grid,.lp-split,.lp-split--reverse,.lp-faq{grid-template-columns:1fr;gap:44px}
  .lp-cards,.lp-steps{grid-template-columns:1fr}
  .lp-steps::before{top:0;bottom:0;left:31px;right:auto;width:2px;height:auto;background:linear-gradient(180deg,var(--orange) calc(var(--lp-steps,0)*100%),rgb(255 255 255/.16) 0)}
  .lp-steps li{display:grid;grid-template-columns:64px 1fr;gap:4px 18px;padding:0 0 28px;text-align:left}
  .lp-steps li::before{grid-row:span 2;margin:0}
  .lp-steps p{margin:0}
  .lp-vs{grid-template-columns:1fr}
}
@media (max-width:760px){
  .lp-section{padding:64px 0}
  .lp-head{margin-bottom:36px}
  .lp-hero{min-height:auto}
  .lp-hero-grid{padding-top:104px;padding-bottom:56px}
  .lp-hero h1 .brand-note{margin-bottom:18px}
  .lp-hero-actions .button{width:100%}
  .lp-hero-device{width:min(72vw,280px)}
  .lp-hero .lp-special,.lp-device-col .lp-special{left:auto;right:-14%;bottom:8%;width:210px;padding:14px}
  .lp-special h3{font-size:17px}
  .lp-special .price-change strong{font-size:22px}
  .lp-dashboard .lp-special{right:-6px;bottom:-56px}
  .lp-dashboard{margin-bottom:56px}
  /* Cena: uma coisa de cada vez — papel some, celular entra, textos trocam acima */
  .lp-scene{height:220vh;min-height:1500px}
  .lp-scene-stage{height:calc(100svh - 120px);margin-top:60px}
  .lp-scene-copy{top:0;width:100%;height:150px;transform:none}
  .lp-scene-copy .lp-say{top:0;transform:none}
  .lp-say h2{margin-bottom:10px;font-size:30px}
  .lp-say p{font-size:15px}
  .lp-paper{right:auto;left:50%;top:auto;bottom:40px;width:min(58vw,calc((100svh - 330px)*.75));transform:translateX(-50%) rotate(-4deg);opacity:calc(1 - var(--ba,0)*1.6)}
  .lp-scene .lp-phone-wrap{right:auto;left:50%;top:auto;bottom:40px;width:min(52vw,calc((100svh - 330px)*.5625));transform:translateX(-50%) scale(calc(.9 + var(--ba,0)*.1));opacity:calc(var(--ba,0)*1.6 - .6)}
  .lp-faq summary{font-size:17px}
}

/* ---------- Movimento reduzido / sem JS: estado final, parado e legível ---------- */
@media (prefers-reduced-motion:reduce){
  .lp-js .lp-reveal{opacity:1;transform:none;transition:none}
  .lp-hero-photo{transform:none}
  .lp-scene{height:auto;min-height:0}
  .lp-scene-sticky{position:relative;height:auto;min-height:0;padding:80px 0}
  .lp-scene-stage{height:auto;display:grid;grid-template-columns:1fr auto auto;gap:40px;align-items:center}
  .lp-scene-copy,.lp-scene-copy .lp-say,.lp-paper,.lp-scene .lp-phone-wrap{position:relative;inset:auto;top:auto;width:auto;transform:none;opacity:1;filter:none}
  .lp-say-before{display:none}
  .lp-paper{width:220px;filter:grayscale(1)}
  .lp-scene .lp-phone-wrap{width:220px}
  .lp-scene-progress{display:none}
}
@media (scripting:none){
  .lp-scene{height:auto;min-height:0}
  .lp-scene-sticky{position:relative;height:auto;min-height:0;padding:80px 0}
  .lp-say-before{display:none}
  .lp-say-after,.lp-scene .lp-phone-wrap{opacity:1}
  .lp-scene-progress{display:none}
}
@media (prefers-reduced-motion:reduce) and (max-width:760px){
  .lp-scene-stage{grid-template-columns:1fr 1fr}
  .lp-scene-copy{grid-column:1/-1;height:auto}
  .lp-paper,.lp-scene .lp-phone-wrap{width:100%;left:auto;bottom:auto}
}

@media (max-width:760px){.lp-dashboard .lp-special{display:none}.lp-dashboard{margin-bottom:0}}
