/* =========================================================
   /tape — landing do Somnus Tape no sistema editorial preto.
   Depende de chrome.css. Mantém a estrutura e os atributos
   medidos pelo funil (data-tape-*, data-button-id, .lp-*),
   só troca o visual (antes: style.css + conversion.css).
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); -webkit-text-size-adjust: 100%; }
body.tape-page { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.g { color: var(--gold); }

/* cabeçalho mínimo (sem menu, de propósito) */
.tape-brand { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(16px + env(safe-area-inset-top, 0px)) var(--gutter) 16px; }
.tape-brand .brand, .tape-footer .brand { font-family: var(--display); font-size: 24px; letter-spacing: .04em; line-height: 1; text-decoration: none; color: var(--bone); padding-block: 10px; margin-block: -10px; }
.tape-brand .brand b, .tape-footer .brand b { color: var(--gold); font-weight: 400; }
.lp-header-note { font-family: var(--label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; color: #C9C8CF; }

.lp-kicker { display: block; margin-bottom: 14px; font-family: var(--label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; color: var(--gold); }
.btn-lg { padding: 18px 26px; font-size: 16px; }

/* ---------- primeira dobra ---------- */
.lp-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(100svh, 900px); overflow: hidden; background: #000; }
.lp-hero__image { position: absolute; inset: 0; z-index: -2; }
.lp-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 35%; }
.lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.62) 40%, rgba(0,0,0,0) 66%); }
.lp-hero__copy { width: min(560px, 50%); margin-left: max(var(--gutter), calc((100% - 1320px) / 2 + var(--gutter))); padding: 112px 0 64px; }
.lp-hero h1 { font-family: var(--slam); font-weight: 800; text-transform: uppercase; line-height: .88; letter-spacing: -.005em; font-size: clamp(54px, 6.4vw, 112px); margin-bottom: 18px; }
.lp-hero h1 .g { display: block; }
.lp-hero__copy > p { max-width: 40ch; margin-bottom: 16px; color: #E4E2DD; font-size: 18px; line-height: 1.45; }
.lp-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: -10px; margin-bottom: 12px; padding-block: 10px; font-family: var(--label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; color: var(--smoke); text-decoration: none; }
.lp-rating > span:first-child, .lp-stars { color: var(--gold); letter-spacing: .1em; }
.lp-rating strong { font-weight: 600; color: var(--bone); }
.lp-rating:hover { color: var(--gold); }
.lp-buy__price { margin-bottom: 12px; font-family: var(--label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; color: #C9C8CF; }
.lp-buy .btn { min-width: 300px; justify-content: space-between; }
.lp-delivery { display: block; margin-top: 10px; font-size: 15px; color: var(--smoke); }
.lp-search-help { max-width: 420px; margin-top: 4px; font-size: 15px; color: var(--smoke); }
.lp-search-help summary { display: flex; align-items: center; gap: 9px; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.lp-search-help summary::-webkit-details-marker { display: none; }
.lp-search-help summary::before { content: "+"; font-size: 18px; text-decoration: none; color: var(--gold); }
.lp-search-help[open] summary::before { content: "−"; }
.lp-search-help p { margin: 0 0 12px; padding: 10px 12px; border-left: 2px solid var(--gold); background: rgba(243,241,236,.06); color: var(--text); line-height: 1.5; }
.lp-search-help strong { color: var(--bone); }
.lp-hero__copy > .lp-eligibility { max-width: 40ch; margin: 14px 0 0; color: var(--smoke); font-size: 15px; }

/* ---------- seções ---------- */
.lp-section { width: min(1320px, 100%); margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--gutter); border-top: 1px solid var(--line); }
.lp-reviews__heading { display: flex; flex-direction: column; gap: 6px; margin-bottom: clamp(28px, 4vw, 48px); }
.lp-reviews__heading h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .95; font-size: clamp(44px, 6.4vw, 104px); }
.lp-reviews__heading h2 strong { font-weight: 400; color: var(--gold); }
.lp-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lp-quote { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: 4px; transition: border-color .3s, transform .3s; }
.lp-quote:hover { border-color: var(--gold); transform: translateY(-4px); }
.lp-stars { font-size: 15px; }
.lp-quote blockquote { margin: 0; font-family: var(--slam); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; }
.lp-quote figcaption { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--bone); }
.lp-quote figcaption span { display: block; margin-top: 2px; color: var(--smoke); }
.lp-review-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 24px; font-size: 15px; color: var(--smoke); }
.lp-review-foot a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--gold); text-decoration: none; white-space: nowrap; }
.lp-review-foot .lp-all-reviews { color: var(--bone); }

.lp-material { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.lp-material__visual { position: relative; min-width: 0; overflow: hidden; aspect-ratio: 3 / 2; border: 1px solid var(--line); border-radius: 14px; background: #000; }
.lp-material__visual picture { position: absolute; inset: 0; }
.lp-material__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.lp-material__overlay { position: absolute; top: clamp(20px, 3vw, 34px); left: clamp(20px, 3vw, 34px); right: 40%; }
.lp-material h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .95; font-size: clamp(34px, 4vw, 64px); }
.lp-image-caption { position: absolute; left: 16px; bottom: 12px; font-size: 13px; color: var(--smoke); }
.lp-feature { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.lp-feature:first-child { padding-top: 0; }
.lp-feature:last-child { border-bottom: 0; padding-bottom: 0; }
.lp-feature > span { flex: none; width: 2ch; font-family: var(--display); font-size: 30px; line-height: 1; color: var(--gold); }
.lp-feature h3 { margin-bottom: 4px; font-family: var(--slam); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; }
.lp-feature p { color: var(--smoke); font-size: 16px; line-height: 1.55; }

.lp-offer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.lp-product-view { min-width: 0; padding: 30px 24px 18px; border-radius: 14px; background: #fff; color: #09090A; text-align: center; }
.lp-product-view__stage { perspective: 1100px; margin: auto; overflow: hidden; padding: 4px 0 10px; }
.lp-product-view__frame { width: min(230px, 70%); aspect-ratio: 310 / 496; margin: auto; background-image: url("/assets/images/conversion/packaging-views.webp"); background-size: 467.0968% auto; background-position: 4.3937% 6.1017%; background-repeat: no-repeat; transform-origin: center; transition: transform .35s ease, opacity .35s ease; }
.lp-product-view[data-view="side"] .lp-product-view__frame { background-position: 66.7838% 6.1017%; }
.lp-product-view[data-view="back"] .lp-product-view__frame { background-position: 34.4464% 6.1017%; }
.lp-product-view.is-changing .lp-product-view__frame { transform: rotateY(50deg); opacity: .25; }
.lp-view-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.lp-view-controls button { min-height: 44px; padding: 9px 16px; border: 1px solid #D6D3CC; border-radius: 2px; background: transparent; cursor: pointer; font-family: var(--label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: #09090A; transition: background .2s, color .2s; }
.lp-view-controls button[aria-pressed="true"] { background: #09090A; border-color: #09090A; color: var(--bone); }
.lp-view-hint { margin-top: 12px; font-size: 13px; color: #55555B; }
.lp-offer h2 { margin-bottom: 18px; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .95; font-size: clamp(44px, 5.6vw, 92px); }
.lp-offer h2 .g { display: block; }
.lp-offer__copy > p:not(.lp-small) { max-width: 46ch; margin-bottom: 22px; color: var(--smoke); }
.lp-offer__copy .lp-buy > .btn { width: 100%; max-width: 420px; }
.lp-fba { display: flex; gap: 14px; padding-top: 24px; color: var(--text); }
.lp-fba svg { flex-shrink: 0; width: 26px; height: 26px; margin-top: 3px; color: var(--gold); }
.lp-fba p { font-size: 15px; line-height: 1.6; }
.lp-fba strong { display: block; margin-bottom: 4px; font-family: var(--label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--bone); }
.lp-small { margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--smoke); } /* 17/10/2026 (legib3): nota secundária — 13 px no computador (cabe numa linha), 15 px no celular */
/* 17/10/2026: advertência legível no celular (16 px, contraste alto) com link para os Termos de Uso e Advertências v1.0 */
.lp-use-note { width: min(1320px, 100%); margin: 0 auto 44px; padding: 26px var(--gutter) 0; border-top: 1px solid var(--line); color: var(--text); }
.lp-use-note__t { margin: 0 0 12px; font-family: var(--label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 15px; line-height: 1.3; color: var(--bone); }
.lp-use-note ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; max-width: 76ch; }
.lp-use-note li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.55; color: var(--text); }
.lp-use-note li::before { content: ""; position: absolute; left: 0; top: .66em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.lp-use-note__link { display: inline-block; padding: 10px 0; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--bone); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lp-use-note__link span { display: inline-block; margin-left: 6px; }
.lp-use-note__link:hover { color: var(--gold); }
.lp-use-note__link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- rodapé mínimo ---------- */
.tape-footer { border-top: 1px solid var(--line); padding: 26px 0; }
.tape-footer .wrap { padding-inline: var(--gutter); max-width: 1320px; margin-inline: auto; }
.tape-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; color: var(--smoke); font-size: 13px; }
.tape-footer__inner a { color: #C9C8CF; }
.tape-footer__inner p a { padding-block: 6px; -webkit-tap-highlight-color: transparent; } /* link no meio da linha: 6 px de folga, sem cobrir a linha vizinha */
.tape-footer__inner p a:focus-visible { outline-offset: 0; }
.tape-privacy-choice { padding: 12px 0; margin-block: -12px; border: 0; background: transparent; cursor: pointer; font-size: 13px; color: #C9C8CF; text-decoration: underline; text-underline-offset: .22em; }

/* ---------- barra fixa (celular) ---------- */
.tape-sticky { display: none; }

/* ---------- consentimento do Pixel ---------- */
.tape-consent { position: fixed; z-index: 220; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 980px; margin-inline: auto; padding: 20px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--coal); box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.tape-consent strong { display: block; margin-bottom: 4px; font-family: var(--label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.tape-consent p { max-width: 42rem; margin: 0 0 4px; color: var(--smoke); font-size: 14px; line-height: 1.5; }
.tape-consent a { color: #C9C8CF; font-size: 13px; }
.tape-consent .button-row { display: flex; gap: 10px; }
.tape-consent .btn-ghost { border-color: var(--line-2); color: var(--bone); background: transparent; }
.tape-consent .btn-ghost:hover { border-color: var(--bone); }
.tape-consent .btn-dark { background: var(--bone); color: #09090A; }
.tape-consent .btn-dark:hover { background: #fff; }

@media (max-width: 960px) {
  .lp-quotes { gap: 14px; }
  .lp-quote blockquote { font-size: 24px; }
  .lp-material { gap: 32px; }
}

@media (max-width: 700px) {
  body.tape-page { font-size: 16px; padding-bottom: 0; }
  .tape-brand { padding-top: calc(12px + env(safe-area-inset-top, 0px)); padding-bottom: 12px; }
  .tape-brand .brand { font-size: 21px; }
  .lp-header-note { font-size: 13px; }

  .lp-hero { display: block; min-height: 0; padding-top: clamp(190px, 40svh, 340px); background: var(--ink); }
  .lp-hero__image { bottom: auto; height: clamp(190px, 40svh, 340px); }
  .lp-hero__image img { object-position: 50% 18%; }
  .lp-hero::after { inset: 0 0 auto 0; height: clamp(190px, 40svh, 340px); background: linear-gradient(180deg, rgba(9,9,10,.5) 0, rgba(9,9,10,0) 64px), linear-gradient(0deg, #09090A 0%, rgba(9,9,10,.35) 40%, rgba(9,9,10,0) 70%); }
  .lp-hero__copy { width: 100%; max-width: none; margin: 0; padding: 0 var(--gutter) 26px; }
  .lp-kicker { margin-bottom: 10px; font-size: 13px; letter-spacing: .14em; }
  .lp-hero h1 { margin-bottom: 12px; font-size: clamp(38px, 11.2vw, 58px); }
  .lp-hero__copy > p { margin-bottom: 12px; font-size: 16px; }
  .lp-rating { margin-bottom: 4px; font-size: 13px; }
  .lp-buy__price { margin-bottom: 10px; font-size: 13px; }
  .lp-buy .btn { width: 100%; min-width: 0; }
  .lp-delivery { text-align: center; font-size: 15px; }
  .lp-search-help { max-width: none; }
  .lp-search-help summary { justify-content: center; }
  .lp-hero__copy > .lp-eligibility { margin-top: 4px; text-align: center; font-size: 15px; }
  .lp-small { font-size: 15px; }

  .lp-section { padding-block: 52px; }
  .lp-quotes { grid-template-columns: 1fr; }
  .lp-review-foot { flex-direction: column; align-items: flex-start; }
  .lp-material, .lp-offer { display: block; }
  .lp-material__visual { aspect-ratio: 1.15; }
  .lp-material__overlay { right: 24px; }
  .lp-material__copy { margin-top: 22px; }
  .lp-product-view { margin-bottom: 26px; padding: 18px 16px 14px; }
  .lp-product-view__frame { width: 160px; }
  .lp-offer__copy .lp-buy > .btn { max-width: none; }
  .tape-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 700px) and (max-height: 700px) {
  .lp-hero { padding-top: 150px; }
  .lp-hero__image, .lp-hero::after { height: 150px; }
  .lp-hero h1 { font-size: 34px; margin-bottom: 10px; }
  .lp-hero__copy > p { font-size: 15px; margin-bottom: 10px; }
  .lp-rating { margin-bottom: 0; }
}

@media (max-width: 680px) {
  .tape-sticky { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: rgba(9,9,10,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; pointer-events: none; transform: translateY(110%); transition: opacity .18s ease, transform .18s ease; }
  .tape-sticky.is-visible { opacity: 1; pointer-events: auto; transform: none; }
  .tape-consent-open .tape-sticky { opacity: 0; pointer-events: none; transform: translateY(110%); }
  .tape-sticky__price { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
  .tape-sticky__price strong { font-family: var(--slam); font-weight: 800; text-transform: uppercase; font-size: 20px; }
  .tape-sticky__price span { font-family: var(--label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--smoke); }
  .tape-sticky .btn { flex: 1 1 auto; min-width: 0; min-height: 50px; padding-inline: 12px; font-size: 13px; letter-spacing: .1em; white-space: nowrap; }
  .tape-consent { left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 0; }
  .tape-consent .button-row { display: grid; grid-template-columns: 1fr 1fr; }
  .tape-consent .btn { min-height: 52px; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-product-view__frame, .lp-view-controls button, .lp-quote, .tape-sticky { transition: none; }
}
