﻿/* SECO360 — loja / página de produto */
:root {
  --paper: #f6f4f0;
  --stone: #ece8e1;
  --surface: #ffffff;
  --ink: #121a21;
  --ink-2: #33404b;
  --muted: #66717b;
  --line: #e2ddd5;
  --line-strong: #cfc8bd;
  --blue: #1f64a8;
  --blue-dark: #174f86;
  --blue-soft: #e7eef5;
  --ok: #2f7d4f;
  --radius: 14px;
  --radius-sm: 9px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 120px); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.h-display { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.h-section { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; letter-spacing: .005em;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.btn:disabled { background: #8a939a; cursor: not-allowed; }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { color: var(--blue); }

/* Faixa de avisos */
.announce { background: var(--ink); color: #e9ecee; font-size: 13px; }
.announce .wrap { display: flex; justify-content: center; gap: 28px; min-height: 38px; align-items: center; }
.announce span + span { position: relative; }
.announce span + span::before { content: ""; position: absolute; left: -15px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #7d8a94; transform: translateY(-50%); }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 40; background: rgba(246, 244, 240, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: var(--header-h); gap: 24px; }
.header .logo { display: flex; align-items: center; }
.logo img { height: 32px; width: auto; }
.nav { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 36px); font-size: 15px; color: var(--ink-2); }
.nav a { padding: 8px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; position: relative; }
.icon-btn:hover { background: var(--stone); }
.bag-count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.bag-count[data-empty="true"] { display: none; }
.menu-btn { display: none; }

/* Busca */
.search-panel { border-top: 1px solid var(--line); background: var(--paper); }
.search-panel .wrap { padding-block: 16px; position: relative; }
.search-panel input { width: 100%; height: 50px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 20px; background: var(--surface); font-size: 16px; outline: none; }
.search-panel input:focus { border-color: var(--ink); }
.search-results { margin-top: 10px; display: grid; gap: 2px; }
.search-results a { padding: 10px 20px; border-radius: 10px; }
.search-results a:hover { background: var(--stone); }
.search-results p { padding: 10px 20px; color: var(--muted); }

/* Menu mobile */
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav a { display: block; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); font-size: 17px; }

/* Trilha */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--line-strong); }

/* ===== Produto (topo) ===== */
.pdp { padding-block: 20px clamp(48px, 7vw, 96px); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }

/* Galeria */
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; height: 0; min-height: 100%; overflow-y: auto; padding: 3px; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 auto; width: 76px; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--stone); position: relative; outline: 1px solid transparent; outline-offset: 2px; transition: outline-color .2s, opacity .2s; opacity: .72; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { outline-color: var(--ink); opacity: 1; }
.stage { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 5; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; overflow: hidden; }
.frame { position: absolute; inset: 0; overflow: hidden; }
.frame > img { width: 100%; height: 100%; object-fit: cover; }
/* recortes da folha 360° (2x2) */
.frame > img[data-view] { position: absolute; width: 200%; height: 200%; max-width: none; object-fit: fill; left: 0; top: 0; }
.frame > img[data-view="left"], .frame > img[data-view="right"] { left: -100%; }
.frame > img[data-view="back"], .frame > img[data-view="right"] { top: -100%; }
.slide-frame-studio { background: #cfd3da; }
/* Slides com explicação (antes/depois, limpeza) */
.story-chip { position: absolute; top: 14px; z-index: 2; padding: 7px 13px; border-radius: 999px; background: rgba(18, 26, 33, .82); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .01em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.story-chip-l { left: 14px; }
.story-chip-r { right: 14px; }
.story-chip-blue { background: rgba(31, 100, 168, .92); }
.story-caption { position: absolute; left: 14px; right: 14px; bottom: 70px; z-index: 2; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .93); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; gap: 2px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.story-caption strong { font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.story-caption span { font-size: 11.5px; color: var(--muted); }
/* limpeza: deixa o frasco do spray à vista à direita */
.slide-story-clean .frame img { object-position: 72% 50%; }
.slide-story-clean .story-caption { right: auto; max-width: 58%; }
.stage-nav { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.stage-nav button { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.08); transition: background .2s; }
.stage-nav button:hover { background: #fff; }
.stage-label { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 13px; font-weight: 500; }
.dots { display: none; justify-content: center; gap: 6px; padding-top: 14px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); transition: background .2s, width .2s; }
.dots span.on { background: var(--ink); width: 18px; border-radius: 3px; }

/* Caixa de compra */
.buy { display: grid; gap: 22px; padding-top: 6px; }
.buy-head { display: grid; gap: 12px; }
.buy h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
.buy h1 sup { font-size: .32em; top: -1.6em; font-weight: 500; letter-spacing: 0; }
.buy .subtitle { font-size: 17px; color: var(--ink-2); max-width: 44ch; }
.quick-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.quick-specs div { padding: 14px 4px; text-align: center; }
.quick-specs div + div { border-left: 1px solid var(--line); }
.quick-specs strong { display: block; font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; letter-spacing: -.02em; }
.quick-specs span { font-size: 12.5px; color: var(--muted); }

.bundles { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.bundles legend { font-weight: 600; font-size: 15px; margin-bottom: 12px; padding: 0; display: flex; justify-content: space-between; width: 100%; }
.bundles legend small { font-weight: 400; color: var(--muted); font-size: 13px; }
.bundle { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; position: relative; transition: border-color .2s, box-shadow .2s; }
.bundle:hover { border-color: var(--muted); }
.bundle input { position: absolute; opacity: 0; pointer-events: none; }
.bundle .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: border-color .2s; }
.bundle .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .2s; }
.bundle:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bundle:has(input:checked) .radio { border-color: var(--ink); }
.bundle:has(input:checked) .radio::after { transform: scale(1); }
.bundle:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.bundle-name { font-weight: 600; display: block; }
.bundle-note { font-size: 13.5px; color: var(--muted); display: block; }
.bundle-save { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--blue); }
.bundle-price { text-align: right; font-weight: 600; font-size: 17px; white-space: nowrap; }
.bundle-price del { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.bundle-tag.bundle-tag-alt { background: var(--ink); }
.bundle-tag { position: absolute; top: -10px; right: 16px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; padding: 3px 10px; border-radius: 999px; }

.price-box { display: grid; gap: 4px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-now { font-size: clamp(30px, 3vw, 38px); font-weight: 600; letter-spacing: -.03em; }
.price-old { color: var(--muted); text-decoration: line-through; }
.price-off { font-size: 13px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 3px 9px; border-radius: 999px; }
.price-pix { font-size: 14.5px; color: var(--ink-2); }
.price-pix strong { color: var(--ink); }

/* Order bump */
.bumps { border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 14px; margin: 0; min-width: 0; display: grid; gap: 10px; background: rgba(255,255,255,.55); }
.bumps legend { font-size: 14px; font-weight: 600; padding: 0 6px; margin-left: -6px; }
.bump { display: grid; grid-template-columns: 22px 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.bump:hover { border-color: var(--muted); }
.bump input { position: absolute; opacity: 0; pointer-events: none; }
.bump-check { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.bump-check::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s; }
.bump img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #fff; }
.bump-copy strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.bump-copy span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.bump-price { font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.bump:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: #f7fafd; }
.bump:has(input:checked) .bump-check { background: var(--blue); border-color: var(--blue); }
.bump:has(input:checked) .bump-check::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.bump:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.bump-total { font-size: 14px; color: var(--ink-2); display: flex; justify-content: space-between; padding: 2px 4px 0; }
.bump-total strong { color: var(--ink); }

/* Sugestão na sacola */
.drawer-upsell { padding: 14px 22px; border-top: 1px solid var(--line); }
.drawer-upsell h3 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.upsell-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.upsell-row img { width: 48px; height: 48px; border-radius: 8px; object-fit: contain; background: #fff; }
.upsell-row strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.upsell-row span { font-size: 13px; color: var(--muted); }
.upsell-row button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ink); font-size: 13px; font-weight: 600; }
.upsell-row button:hover { background: var(--ink); color: #fff; }

.buy-cta { display: grid; gap: 12px; }
.stock-line { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.stock-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47,125,79,.14); }

.assurances { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding-top: 4px; }
.assurances li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; line-height: 1.4; }
.assurances svg { margin-top: 1px; color: var(--ink-2); }
.assurances strong { display: block; font-weight: 600; }
.assurances span { color: var(--muted); font-size: 13px; }

.delivery { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.delivery summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; }
.delivery summary::-webkit-details-marker { display: none; }
.delivery summary svg { transition: transform .2s; }
.delivery[open] summary svg { transform: rotate(180deg); }
.delivery-body { padding: 0 18px 16px; display: grid; gap: 10px; font-size: 14px; }
.delivery-body div { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.delivery-body span { color: var(--ink-2); }

/* ===== Números ===== */
.figures { background: var(--surface); border-block: 1px solid var(--line); }
.figures ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figures li { padding: clamp(28px, 4vw, 48px) clamp(12px, 2vw, 28px); }
.figures li + li { border-left: 1px solid var(--line); }
.figures strong { display: block; font-size: clamp(34px, 4.6vw, 60px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.figures strong small { font-size: .42em; letter-spacing: -.01em; margin-left: 4px; font-weight: 500; color: var(--ink-2); }
.figures span { display: block; margin-top: 12px; color: var(--ink-2); font-size: 15px; max-width: 24ch; }

/* ===== Vídeo ===== */
.film { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.film-media { border-radius: var(--radius); overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; position: relative; }
.film-media video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.film-copy { display: grid; gap: 18px; }
.film-copy .note { font-size: 13px; color: var(--muted); }

/* ===== Como funciona ===== */
.how { background: var(--ink); color: #eef1f3; }
.how .kicker { color: #8fbbe6; }
.how .lead { color: #b9c3cb; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.steps { display: grid; counter-reset: step; border-top: 1px solid #2c3a45; }
.step { border-bottom: 1px solid #2c3a45; }
.step button { width: 100%; text-align: left; display: grid; grid-template-columns: 44px 1fr; gap: 6px 12px; padding: 22px 0; color: #95a3ae; transition: color .2s; }
.step button:hover { color: #dfe5e9; }
.step-n { font-size: 14px; font-variant-numeric: tabular-nums; padding-top: 4px; }
.step-t { font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.step-d { grid-column: 2; font-size: 15.5px; line-height: 1.6; color: #b9c3cb; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .25s; }
.step button[aria-expanded="true"] { color: #fff; }
.step button[aria-expanded="true"] .step-d { max-height: 200px; opacity: 1; }
.how-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; background: #1d2832; position: relative; }
.how-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.how-media img.on { opacity: 1; }

/* ===== Método contra o mofo ===== */
.method { background: var(--surface); border-bottom: 1px solid var(--line); }
.method-film { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--stone); aspect-ratio: 16 / 9; margin-bottom: clamp(32px, 4vw, 56px); }
.method-film video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.method-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); counter-reset: none; }
.method-step { display: grid; align-content: start; gap: 10px; position: relative; }
.method-media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--stone); margin-bottom: 8px; }
.method-media img { width: 100%; height: 100%; object-fit: cover; }
.method-n { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .04em; padding-top: 10px; border-top: 1px solid var(--ink); }
.method-step h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.method-step p { color: var(--ink-2); font-size: 15.5px; }
.method-tag { justify-self: start; margin-top: 4px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); }
.method-tag-alt { background: #e9f3ee; color: #23603f; }
.method-cta { margin-top: clamp(32px, 4vw, 48px); padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.method-cta p { font-size: 17px; font-weight: 500; max-width: 46ch; }

/* ===== Ambientes ===== */
.rooms { display: grid; gap: clamp(48px, 7vw, 96px); }
.room { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.room:nth-child(even) .room-media { order: 2; }
.room-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--stone); }
.room-media img { width: 100%; height: 100%; object-fit: cover; }
.room-copy { display: grid; gap: 16px; max-width: 460px; }
.room-copy h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.room-copy p { color: var(--ink-2); }
.ticks { display: grid; gap: 10px; padding-top: 4px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; }
.ticks svg { margin-top: 4px; color: var(--blue); }

/* ===== Medidas ===== */
.size { background: var(--stone); }
.size-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.size-figure { position: relative; padding: 8% 12% 12% 4%; }
.size-figure .frame-wrap { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #cfd3da; }
.dim { position: absolute; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--ink); }
.dim::before { content: ""; position: absolute; background: var(--ink); }
.dim span { position: relative; background: var(--stone); padding: 2px 8px; }
.dim-h { top: 8%; bottom: 12%; right: 2%; width: 8%; }
.dim-h::before { top: 0; bottom: 0; width: 1px; left: 50%; box-shadow: -5px 0 0 -0px transparent; }
.dim-h::after, .dim-w::after { content: ""; position: absolute; }
.dim-w { left: 4%; right: 12%; bottom: 2%; height: 8%; }
.dim-w::before { left: 0; right: 0; height: 1px; top: 50%; }
.dim-h span, .dim-w span { white-space: nowrap; }
.dim-h .cap, .dim-w .cap { position: absolute; background: var(--ink); }
.dim-h .cap { left: 25%; right: 25%; height: 1px; }
.dim-h .cap.a { top: 0; } .dim-h .cap.b { bottom: 0; }
.dim-w .cap { top: 25%; bottom: 25%; width: 1px; }
.dim-w .cap.a { left: 0; } .dim-w .cap.b { right: 0; }
.size-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); margin-top: 28px; }
.size-values div { padding: 18px 0 0; }
.size-values div + div { padding-left: 18px; border-left: 1px solid var(--line-strong); }
.size-values dt { font-size: 13px; color: var(--muted); }
.size-values dd { font-size: clamp(28px, 3.2vw, 40px); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.size-values dd small { font-size: 15px; color: var(--ink-2); margin-left: 3px; letter-spacing: 0; }
.size-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ===== Especificações ===== */
.specs-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.specs-list { border-top: 1px solid var(--ink); }
.specs-list div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs-list dt { color: var(--muted); }
.specs-list dd { font-weight: 500; }
.box-contents { margin-top: 28px; display: grid; gap: 14px; }
.box-contents h3 { font-size: 15px; font-weight: 600; }
.box-contents ul { display: flex; flex-wrap: wrap; gap: 8px; }
.box-contents li { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; background: var(--surface); }

/* ===== Comparativo ===== */
.compare { background: var(--surface); border-block: 1px solid var(--line); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 13px; font-weight: 600; color: var(--muted); border-bottom-color: var(--ink); }
.cmp thead th.us { color: var(--ink); }
.cmp tbody th { font-weight: 500; color: var(--ink-2); width: 34%; }
.cmp td.us { background: var(--blue-soft); font-weight: 600; }
.cmp thead th.us { background: var(--blue-soft); border-radius: 10px 10px 0 0; }
.cmp td { color: var(--ink-2); }

/* ===== Marca ===== */
.brand-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.brand-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.brand-media img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: grid; gap: 18px; }
.brand-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); margin-top: 10px; }
.brand-facts div { padding-top: 16px; }
.brand-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.brand-facts strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.brand-facts span { font-size: 13.5px; color: var(--muted); }

/* ===== Acessórios ===== */
.acc-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); }
.acc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.acc { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.acc-img { aspect-ratio: 1; background: #fff; overflow: hidden; }
.acc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.acc:hover .acc-img img { transform: scale(1.03); }
.acc-body { display: grid; gap: 6px; padding: 18px 20px 20px; align-content: start; }
.acc-body h3 { font-size: 16px; font-weight: 600; line-height: 1.35; }
.acc-body p { font-size: 14px; color: var(--muted); }
.acc-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.acc-foot strong { font-size: 17px; font-weight: 600; }
.acc-add { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ink); font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.acc-add:hover { background: var(--ink); color: #fff; }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.faq-list summary .pm::before, .faq-list summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s; }
.faq-list summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list details p { padding: 0 48px 22px 0; color: var(--ink-2); }

/* ===== Rodapé ===== */
.footer { background: var(--ink); color: #c4ccd2; font-size: 14.5px; }
.footer .wrap { padding-block: clamp(48px, 7vw, 80px) 28px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid #2c3a45; }
.footer-brand { display: grid; gap: 18px; align-content: start; max-width: 340px; }
.footer-brand img { height: 36px; width: auto; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay li { border: 1px solid #3a4853; border-radius: 6px; padding: 4px 9px; font-size: 12px; font-weight: 600; color: #e3e8eb; letter-spacing: .02em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: #8d99a3; }

/* ===== Barra fixa mobile ===== */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 14px; transform: translateY(110%); transition: transform .3s ease; }
.sticky-buy.show { transform: none; }
.sticky-buy .sb-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sticky-buy img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.sticky-buy strong { display: block; font-size: 16px; font-weight: 600; }
.sticky-buy span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { min-height: 48px; padding: 0 22px; flex: 0 0 auto; }

/* ===== Sacola ===== */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(18, 26, 33, .45); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: grid; grid-template-rows: auto 1fr auto auto; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-top h2 { font-size: 18px; font-weight: 600; }
.drawer-items { overflow-y: auto; padding: 8px 22px; overscroll-behavior: contain; }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: #fff; }
.line-item strong { display: block; font-weight: 600; font-size: 15px; }
.line-item span { display: block; font-size: 13px; color: var(--muted); }
.line-item .price { font-weight: 600; text-align: right; white-space: nowrap; }
.line-item .remove { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-top: 6px; min-height: 32px; }
.drawer-empty { padding: 48px 0; text-align: center; color: var(--muted); display: grid; gap: 18px; justify-items: center; }
.drawer-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px; }
.ship-opts { display: grid; gap: 8px; }
.ship-opts label { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; cursor: pointer; }
.ship-opts label:has(input:checked) { border-color: var(--ink); }
.ship-opts input { accent-color: var(--ink); margin: 0 8px 0 0; }
.totals { display: grid; gap: 6px; font-size: 14.5px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 18px; font-weight: 600; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.pay-note { font-size: 12.5px; color: var(--muted); text-align: center; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Entrada suave das seções */
/* Variações: up (sobe), left / right (vem do lado), zoom, wipe-l / wipe-r (cortina lateral), rise (cortina de baixo pra cima) */
main, .footer { overflow-x: clip; }
.reveal {
  --ease: cubic-bezier(.16, .84, .3, 1);
  opacity: 0;
  transition: opacity .8s var(--ease), transform 1s var(--ease), clip-path 1.15s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal[data-anim="up"]    { transform: translateY(32px); }
.reveal[data-anim="left"]  { transform: translateX(-56px); }
.reveal[data-anim="right"] { transform: translateX(56px); }
.reveal[data-anim="zoom"]  { transform: scale(.9); }
.reveal[data-anim="wipe-l"] { opacity: 1; clip-path: inset(0 100% 0 0 round var(--radius)); }
.reveal[data-anim="wipe-r"] { opacity: 1; clip-path: inset(0 0 0 100% round var(--radius)); }
.reveal[data-anim="rise"]   { opacity: 1; clip-path: inset(100% 0 0 0 round var(--radius)); }
/* a foto dentro da cortina dá um leve zoom-out enquanto abre */
.reveal[data-anim^="wipe"] img, .reveal[data-anim^="wipe"] video, .reveal[data-anim="rise"] img { transform: scale(1.12); transition: transform 1.6s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--radius)); }
.reveal.in img, .reveal.in video { transform: none; }

/* ===================== Responsivo ===================== */

/* Telas grandes */
@media (min-width: 1600px) {
  :root { --max: 1380px; }
  body { font-size: 17px; }
}

/* Notebook pequeno / tablet deitado */
@media (max-width: 1100px) {
  .nav { gap: 18px; font-size: 14px; }
  .assurances { grid-template-columns: 1fr; }
}

/* Tablet */
@media (max-width: 960px) {
  :root { --header-h: 60px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header .wrap { grid-template-columns: auto 1fr auto; }
  .header .logo { justify-self: center; grid-column: 2; }
  .header .menu-btn { grid-column: 1; grid-row: 1; }
  .header .header-actions { grid-column: 3; }
  .logo img { height: 27px; }

  .pdp-grid { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; max-width: 680px; width: 100%; margin-inline: auto; }
  .thumbs { display: none; }
  .dots { display: flex; }
  .slides { aspect-ratio: 4 / 3; }
  .buy { max-width: 680px; width: 100%; margin-inline: auto; }
  .assurances { grid-template-columns: 1fr 1fr; }

  .figures ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures li:nth-child(3) { border-left: 0; }
  .figures li:nth-child(n+3) { border-top: 1px solid var(--line); }

  /* Tablet: mantém lado a lado onde cabe; empilha só o que precisa de largura */
  .film, .size-grid, .brand-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .how-grid, .specs-grid, .faq-grid { grid-template-columns: 1fr; }
  .how-media { order: -1; aspect-ratio: 16 / 9; }
  .film-copy .lead, .brand-copy .lead, .size-grid .lead { font-size: 15.5px; }
  .brand-facts { grid-template-columns: 1fr; }
  .brand-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 12px; }

  /* Método: cada passo em linha (foto à esquerda, texto à direita) */
  .method-steps { grid-template-columns: 1fr; gap: 28px; }
  .method-step { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); column-gap: 24px; row-gap: 8px; align-items: start; }
  .method-media { grid-row: 1 / span 4; margin-bottom: 0; }
  .method-n { padding-top: 0; border-top: 0; }

  /* Ambientes: foto e texto lado a lado, alternando */
  .room { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .room-media { aspect-ratio: 4 / 3; }
  .room-copy { gap: 12px; }
  .room-copy p { font-size: 15px; }

  .faq-aside { position: static; }
  .size-figure { padding: 6% 12% 12% 2%; }

  .acc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Celular */
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .announce { font-size: 12px; }
  .announce .wrap { gap: 0; }
  .announce span + span { display: none; }
  .crumbs { display: none; }
  .pdp { padding-top: 0; }  .pdp-grid { margin-top: 8px !important; }
  .gallery { margin-inline: calc(var(--gutter) * -1); width: auto; }
  .stage { border-radius: 0; }
  .stage-nav { display: none; }
  .stage-label { left: 12px; bottom: 12px; font-size: 12px; padding: 6px 12px; }
  .story-chip { top: 10px; font-size: 11.5px; padding: 5px 10px; }
  .story-chip-l { left: 10px; } .story-chip-r { right: 10px; }
  .story-caption { left: 10px; right: 10px; bottom: 48px; padding: 9px 11px; }
  .story-caption strong { font-size: 13px; }
  /* celular: vídeo 16:9 inteiro, de ponta a ponta */
  .method-film { margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .buy { gap: 20px; }
  .quick-specs span { font-size: 11.5px; }
  .bundle { grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
  .bundle-price { font-size: 16px; }
  .assurances { grid-template-columns: 1fr; }
  .bumps { padding: 12px 10px; }
  .bump { grid-template-columns: 22px 48px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .bump img { width: 48px; height: 48px; }
  .bump-price { grid-column: 3; font-size: 14px; color: var(--blue); }
  .bump-copy span { font-size: 12.5px; }

  .figures li { padding: 24px 14px; }
  .figures li:nth-child(odd) { padding-left: 0; }
  .figures span { font-size: 13.5px; }

  .step button { grid-template-columns: 34px 1fr; padding: 18px 0; }
  /* Celular: tudo empilhado */
  .film, .size-grid, .brand-grid, .room { grid-template-columns: 1fr; }
  .room:nth-child(even) .room-media { order: 0; }
  .size-figure { max-width: 420px; width: 100%; margin-inline: auto; }
  .method-steps { gap: 36px; }
  .method-step { grid-template-columns: 1fr; }
  .method-media { grid-row: auto; margin-bottom: 8px; }
  .method-n { padding-top: 10px; border-top: 1px solid var(--ink); }
  .method-cta .btn { width: 100%; }
  .how-media { aspect-ratio: 16 / 11; }
  .slides { aspect-ratio: 1; }
  .size-values div + div { padding-left: 12px; }
  .specs-list div { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .brand-facts { grid-template-columns: 1fr; }
  .brand-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 14px; }

  .acc-head { flex-direction: column; align-items: start; }
  .acc-grid { grid-template-columns: 1fr; }
  .acc { grid-template-columns: 112px 1fr; grid-template-rows: auto; }
  .acc-img { aspect-ratio: auto; height: 100%; min-height: 112px; }
  .acc-body { padding: 14px 16px; }
  .acc-body p { display: none; }
  .acc-foot { margin-top: 6px; }

  .cmp { min-width: 0; font-size: 13.5px; }
  .cmp th, .cmp td { padding: 14px 8px; }
  .cmp tbody th { width: 32%; }
  .faq-list summary { font-size: 16px; padding: 18px 0; }
  .faq-list details p { padding-right: 0; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-bottom { flex-direction: column; }
  body.has-sticky { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* Celular pequeno */
@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .quick-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-specs div:nth-child(3) { border-left: 0; }
  .quick-specs div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bundle-note { font-size: 12.5px; }
  .sticky-buy img { display: none; }
  .footer-top { grid-template-columns: 1fr; }
}

/* Celular deitado */
@media (max-height: 500px) and (orientation: landscape) {
  .slides { aspect-ratio: 16 / 10; }
  .header { position: relative; }
}

@media (hover: none) {
  .thumb { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
