/* Marrant — PDP de resposta direta, mobile-first */
:root {
  --ink: #111;
  --text: #333;
  --muted: #6b6b6b;
  --line: #e7e5e1;
  --bg-soft: #f6f4f0;
  --cta: #111;
  --cta-hover: #000;
  --ok: #0a7a3f;
  --sale: #c8102e;
  --ml: #ffe600;
  --r: 10px;
  --pad: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #2f6fdd; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Trust strip + header */
.trust-strip { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 10px; background: var(--ink); color: #fff; font-size: 12px; line-height: 1.3; text-align: center; white-space: nowrap; }
.trust-strip svg { width: 16px; flex: 0 0 auto; color: var(--ml); }
.trust-strip b { color: var(--ml); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 var(--pad); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.brand { font-size: 17px; font-weight: 800; letter-spacing: .14em; }
.header-buy { padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }

/* Gallery (swipe) */
.gallery { position: relative; background: var(--bg-soft); }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; height: min(125vw, 56svh); min-height: 340px; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; cursor: zoom-in; }
.slide--contain { background: #fff; }
.slide--contain img { object-fit: contain; object-position: center; }
.gallery-badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.gallery-count { position: absolute; top: 12px; right: 12px; padding: 5px 9px; border-radius: 999px; background: rgba(17,17,17,.72); color: #fff; font-size: 12px; }
.gallery-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gallery-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(0,0,0,.15); cursor: pointer; transition: width .2s; }
.gallery-dots button[aria-current="true"] { width: 22px; background: #fff; }
/* área de toque real dos dots sem aumentar o visual */
.gallery-dots button { position: relative; }
.gallery-dots button::after { content: ""; position: absolute; inset: -14px -6px; }

/* Offer block */
.offer { padding: 14px var(--pad) 8px; }
.offer h1 { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
.offer-sub { margin-top: 6px; color: var(--text); font-size: 14.5px; line-height: 1.45; }

.price { margin: 12px 0 4px; padding: 12px 14px; border-radius: var(--r); background: var(--bg-soft); }
.price strong { display: block; font-size: 17px; }
.price > span { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price-old { color: var(--muted); font-size: 14px; text-decoration: line-through; }
.price-now { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.price-off { padding: 2px 7px; border-radius: 4px; background: var(--sale); color: #fff; font-size: 12px; font-weight: 800; }
.price-inst { margin-top: 2px; color: var(--ok); font-size: 14px; font-weight: 600; }
.price-pix { color: var(--text); font-size: 13px; }

/* Pickers */
.picker { position: relative; margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.picker legend { padding: 0; margin-bottom: 8px; font-size: 14px; color: var(--text); }
.picker legend b { color: var(--ink); }
.picker legend { display: flex; justify-content: space-between; align-items: baseline; width: 100%; }
.picker-help { padding: 4px 0; font-size: 13px; font-weight: 700; color: var(--ink); text-underline-offset: 3px; }
.picker input { position: absolute; opacity: 0; pointer-events: none; }
.swatches { display: flex; gap: 10px; }
.swatch { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; }
.swatch span { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatch em { font-style: normal; font-size: 13px; }
.swatch:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.swatch:has(input:focus-visible), .sizes label:has(input:focus-visible) { outline: 3px solid #2f6fdd; outline-offset: 2px; }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sizes label span { display: grid; place-items: center; min-height: 52px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 16px; font-weight: 700; line-height: 1.05; cursor: pointer; }
.sizes small { font-size: 10.5px; font-weight: 500; color: var(--muted); }
.sizes input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.sizes input:checked + span small { color: #ccc; }
.sizes.is-flash span { animation: flash .9s ease 1; }
@keyframes flash { 30% { border-color: var(--sale); box-shadow: 0 0 0 2px rgba(200,16,46,.2); } }

/* CTA */
.cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 18px; padding: 14px 20px; border-radius: var(--r); background: var(--cta); color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .01em; text-decoration: none; text-transform: uppercase; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .12s, background .12s; }
.cta svg { width: 20px; stroke-width: 2.4; }
.cta:active { transform: scale(.985); }
.cta:hover { background: var(--cta-hover); }
.cta-note { margin-top: 8px; color: var(--muted); font-size: 12.5px; text-align: center; }

.assurances { display: grid; gap: 0; margin: 16px 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--r); }
.assurances li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.assurances li:last-child { border-bottom: 0; }
.assurances svg { width: 22px; flex: 0 0 auto; color: var(--ok); }
.assurances b { display: block; color: var(--ink); font-size: 14px; }

/* Sections */
main > section:not(.hero) { padding: 36px var(--pad); }
main h2 { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; margin-bottom: 16px; }

.benefits { display: grid; gap: 14px; background: var(--bg-soft); }
.benefits h2 { margin-bottom: 4px; }
.benefit { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r); background: #fff; }
.benefit img { width: 112px; height: 112px; border-radius: 8px; object-fit: cover; object-position: center 30%; background: var(--bg-soft); }
.benefit h3 { font-size: 16px; line-height: 1.25; margin-bottom: 4px; }
.benefit p { color: var(--text); font-size: 14px; line-height: 1.45; }

.video-lead { margin: -8px 0 14px; color: var(--text); font-size: 15px; }
.video-frame { position: relative; overflow: hidden; border-radius: var(--r); background: #111; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-sound { position: absolute; right: 10px; bottom: 10px; min-height: 36px; padding: 6px 12px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 12px; font-weight: 700; cursor: pointer; }

.occasions { padding-top: 8px !important; }
.occasions ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.occasions li { padding: 14px; border: 1px solid var(--line); border-radius: var(--r); color: var(--muted); font-size: 13px; line-height: 1.35; }
.occasions b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 15px; }

.fit { background: var(--bg-soft); }
.fit-lead { color: var(--text); font-size: 15px; margin: -6px 0 12px; }
.finder { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.finder-input { position: relative; }
.finder-input input { width: 100%; height: 52px; padding: 0 44px 0 14px; border: 1.5px solid #cfccc6; border-radius: 8px; background: #fff; font-size: 18px; font-weight: 700; }
.finder-input input:focus { border-color: var(--ink); outline: none; }
.finder-input span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; }
.finder button { height: 52px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
.finder-result { margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: #fff; border: 1.5px solid var(--ok); font-size: 15px; }
.finder-result b { font-size: 17px; }
.finder-result.is-warn { border-color: var(--sale); }
.size-cards { display: grid; gap: 8px; margin-top: 16px; }
.size-cards > div { display: grid; grid-template-columns: 64px 1fr 1fr 1fr; align-items: center; gap: 6px; padding: 10px 12px; border: 1.5px solid transparent; border-radius: 8px; background: #fff; font-size: 12px; color: var(--muted); line-height: 1.25; }
.size-cards b { font-size: 16px; color: var(--ink); }
.size-cards b small { font-size: 11px; font-weight: 600; color: var(--muted); }
.size-cards i { display: block; font-style: normal; font-weight: 700; color: var(--ink); font-size: 13px; }
.size-cards > div.is-match { border-color: var(--ok); box-shadow: 0 0 0 1px var(--ok); }
.fit-foot { margin-top: 10px; color: var(--muted); font-size: 12.5px; }

.reviews-list { display: grid; gap: 10px; }
.review { padding: 14px; border: 1px solid var(--line); border-radius: var(--r); }
.review .stars { color: #e3a008; letter-spacing: 2px; }
.review p { margin-top: 6px; font-size: 14px; color: var(--text); }
.review small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 16px 32px 16px 0; font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; color: var(--text); font-size: 14.5px; }

.final { position: relative; display: grid; padding: 0 !important; overflow: hidden; background: var(--ink); color: #fff; }
.final img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; opacity: .9; }
.final > div { padding: 22px var(--pad) 32px; }
.final h2 { margin-bottom: 6px; color: #fff; }
.final p { color: #cfcfcf; font-size: 15px; }
.cta--light { background: #fff; color: var(--ink); }
.cta--light:hover { background: #f2f2f2; }

.site-footer { padding: 24px var(--pad) 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer p { margin-top: 6px; }

/* Sticky buy bar */
.buy-bar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 9px var(--pad) calc(9px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .22s ease; }
.buy-bar.is-visible { transform: none; }
.buy-bar img { width: 44px; height: 55px; border-radius: 6px; object-fit: cover; background: var(--bg-soft); }
.buy-bar__info { flex: 1; min-width: 0; line-height: 1.25; }
.buy-bar__info b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar__info small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cta--bar { width: auto; min-height: 48px; margin: 0; padding: 10px 22px; font-size: 15px; box-shadow: none; }

/* Lightbox */
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: #000; }
.lightbox::backdrop { background: #000; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

/* Desktop: mesma lógica, duas colunas */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .buy-bar { display: none; }
  .site-header, .hero, main > section:not(.hero), .site-footer { padding-inline: max(24px, calc((100% - 1160px) / 2)); }
  .hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding-top: 24px; padding-bottom: 40px; align-items: start; }
  .gallery { border-radius: var(--r); overflow: hidden; }
  .slide { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .offer { position: sticky; top: 76px; padding: 0; }
  .offer h1 { font-size: 32px; }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .benefits h2 { grid-column: 1 / -1; }
  .benefit { grid-template-columns: 1fr; }
  .benefit img { width: 100%; height: 240px; }
  .video-frame { max-width: 760px; }
  .occasions ul { grid-template-columns: repeat(4, 1fr); }
  .fit > * { max-width: 720px; }
  .faq > * { max-width: 760px; }
  .final { grid-template-columns: 1fr 1fr; align-items: center; }
  .final img { aspect-ratio: auto; height: 460px; }
}
@media (max-width: 360px) {
  :root { --pad: 14px; }
  .offer h1 { font-size: 22px; }
  .swatch em { font-size: 12px; }
  .swatches { gap: 6px; }
  .swatch { padding-right: 9px; }
  .size-cards > div { grid-template-columns: 52px 1fr 1fr 1fr; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
