/* CHG-011: tokens.css vem por <link> em paralelo (antes era @import em cadeia: +1 ida e volta antes da 1ª pintura). */

* { box-sizing:border-box; }
html { scroll-padding-top:calc(var(--header-height) + 16px); scrollbar-gutter:stable; }
body.storefront { margin:0; color:var(--ink-900); background:var(--sand-50); font-family:var(--font-interface); font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased; }
img { max-width:100%; height:auto; display:block; }
button, input, select, textarea { font:inherit; }
button, summary, a { -webkit-tap-highlight-color:transparent; }
a { color:inherit; text-underline-offset:4px; }
a:hover { text-decoration-thickness:2px; }
button, .button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.55; }
button { border:0; }
input, select, textarea { max-width:100%; min-height:48px; border:1px solid var(--sand-200); border-radius:var(--radius-input); color:var(--ink-900); background:var(--ivory-0); padding:12px; }
input[type="number"] { font-variant-numeric:tabular-nums; }
input[type="radio"], input[type="checkbox"] { accent-color:var(--copper-600); min-height:22px; width:22px; height:22px; flex-shrink:0; }
textarea { width:100%; line-height:1.6; resize:vertical; }
select { width:100%; }
label { font-weight:500; }
fieldset { border:0; padding:0; margin:0 0 20px; min-width:0; }
legend { font-weight:600; margin-bottom:12px; }
h1,h2,h3,p,figure { margin:0; }
h1,h2 { font-family:var(--font-editorial); font-weight:400; line-height:1.08; letter-spacing:-.045em; }
h1 { font-size:clamp(38px,5vw,76px); }
h2 { font-size:clamp(30px,3vw,48px); }
h3 { font-family:var(--font-editorial); font-size:24px; line-height:1.2; font-weight:400; }
em { font-weight:400; }
p + p { margin-top:12px; }
strong { font-weight:650; }
small { font-size:13px; line-height:1.5; }
:focus-visible { outline:3px solid var(--copper-600); outline-offset:4px; }
main:focus { outline:none; }
hr { width:100%; height:1px; border:0; background:var(--sand-200); margin:24px 0; }
[hidden] { display:none !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; clip:rect(0,0,0,0); overflow:hidden; white-space:nowrap; border:0; }
.skip-link { position:fixed; top:8px; left:8px; padding:12px 20px; background:var(--ivory-0); z-index:500; transform:translateY(-200%); }
.skip-link:focus { transform:translateY(0); }
.icon { display:inline-block; flex-shrink:0; vertical-align:middle; }
.section-shell { width:min(calc(100% - 80px),var(--content-width)); margin-inline:auto; }
.eyebrow { color:var(--copper-600); text-transform:uppercase; font-size:11px; letter-spacing:.19em; font-weight:600; line-height:1.6; }
.fine-line { display:inline-block; width:32px; height:1px; background:currentColor; margin-right:10px; vertical-align:middle; }
.muted { color:var(--ink-600); }
.text-link { display:inline-flex; align-items:center; gap:10px; min-height:48px; color:var(--copper-600); font-weight:500; text-decoration:none; }
.text-link:hover { text-decoration:underline; }
.text-button { min-height:48px; background:transparent; color:var(--copper-600); padding:6px 8px; text-decoration:underline; text-underline-offset:4px; }
.button { min-height:52px; padding:14px 22px; display:inline-flex; align-items:center; justify-content:center; gap:12px; border-radius:14px; border:1px solid transparent; background:var(--copper-600); color:var(--ivory-0); font-weight:500; font-size:15px; text-decoration:none; line-height:1.35; box-shadow:0 4px 12px rgb(139 77 36 / 8%); transition:background var(--motion-fast),transform var(--motion-fast),box-shadow var(--motion-fast); }
.button:hover:not(:disabled) { background:#743e1d; box-shadow:0 8px 20px rgb(139 77 36 / 16%); text-decoration:none; }
.button:active:not(:disabled) { transform:translateY(1px); }
.button-outline { background:transparent; color:var(--copper-600); border-color:var(--copper-600); box-shadow:none; }
.button-outline:hover:not(:disabled) { background:var(--ivory-0); }
.button-whatsapp-outline { background:transparent; color:var(--success-700); border-color:var(--success-700); box-shadow:none; }
.button-whatsapp-outline:hover { background:#edf3ec !important; }
.button-wide { width:100%; }
.icon-button { width:48px; min-width:48px; height:48px; display:inline-flex; align-items:center; justify-content:center; background:transparent; border:0; border-radius:50%; color:var(--copper-600); padding:0; text-decoration:none; }
.icon-button:hover { background:rgb(139 77 36 / 7%); text-decoration:none; }
.top-note { background:var(--ink-900); color:var(--ivory-0); text-align:center; font-size:11px; letter-spacing:.06em; padding:8px 16px; }
.demo-banner { background:#eee1c4; color:#493b20; font-size:12px; line-height:1.5; padding:8px 16px; text-align:center; }
.site-header { position:sticky; top:0; z-index:50; background:rgb(246 236 224 / 96%); border-bottom:1px solid rgb(139 77 36 / 9%); }
@supports (backdrop-filter:blur(12px)) { .site-header { background:rgb(246 236 224 / 88%); backdrop-filter:blur(12px); } }
.header-inner { height:var(--header-height); width:min(calc(100% - 80px),var(--content-width)); margin:auto; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:16px; }
.brand-link { display:block; }
.brand-link img { width:138px; height:82px; object-fit:contain; mix-blend-mode:multiply; }
.header-actions { display:flex; justify-content:flex-end; align-items:center; gap:10px; }
.nav-menu > summary { width:auto; padding-inline:12px; border-radius:12px; gap:10px; display:inline-flex; }
details > summary { cursor:pointer; list-style:none; }
details > summary::-webkit-details-marker { display:none; }
.nav-menu .sheet-body, .search-menu .sheet-body { position:absolute; top:calc(var(--header-height) - 4px); left:32px; width:min(400px,calc(100vw - 64px)); padding:28px; background:var(--ivory-0); border:1px solid var(--sand-200); border-radius:20px; box-shadow:var(--shadow-float); z-index:55; }
.search-menu .sheet-body { left:auto; right:32px; }
.menu-links { display:flex; flex-direction:column; gap:6px; }
.menu-links > a { padding:12px 0; text-decoration:none; font-family:var(--font-editorial); font-size:28px; }
.menu-links .eyebrow { margin-top:20px; }
.search-form { display:grid; gap:12px; }
.search-control { display:flex; gap:6px; align-items:center; }
.search-control input { width:100%; min-width:0; }
.bag-link { position:relative; }
.bag-count { position:absolute; top:0; right:0; display:grid; place-items:center; min-width:18px; height:18px; border-radius:10px; background:var(--copper-600); color:var(--ivory-0); font-size:10px; padding-inline:3px; }
.sheet { color:var(--ink-900); background:var(--ivory-0); width:min(520px,100%); max-width:100%; height:100dvh; max-height:100dvh; margin:0 0 0 auto; border:0; border-left:1px solid var(--sand-200); padding:24px; overflow:auto; overscroll-behavior:contain; box-shadow:var(--shadow-float); }
.sheet::backdrop { background:rgb(31 23 15 / 40%); }
.sheet-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:24px; }
.sheet-heading h2 { font-size:32px; }
.sheet .sheet-body { position:static; width:auto; border:0; padding:0; box-shadow:none; }
.sheet .menu-links { min-height:30vh; }
.cart-drawer { width:min(640px,100%); }
.toast { position:fixed; bottom:24px; left:50%; transform:translate(-50%,16px); max-width:calc(100% - 32px); width:max-content; padding:12px 20px; border-radius:14px; background:var(--ink-900); color:var(--ivory-0); font-size:14px; z-index:100; opacity:0; pointer-events:none; transition:opacity 160ms,transform 160ms; }
.toast.is-visible { opacity:1; transform:translate(-50%,0); }
.breadcrumbs { display:flex; gap:10px; flex-wrap:wrap; font-size:12px; color:var(--ink-600); margin-bottom:26px; }
.breadcrumbs a { min-height:32px; display:inline-flex; align-items:center; }
.breadcrumbs > span { display:inline-flex; align-items:center; }
.hero { position:relative; overflow:hidden; min-height:710px; isolation:isolate; background:#dcc7a9; }
.hero-scenery { position:absolute; inset:0; z-index:-2; pointer-events:none; }
.hero-poster, .hero-canvas, .hero-canvas canvas { display:block; width:100%; height:100%; object-fit:cover; }
.hero-poster { position:absolute; inset:0; object-position:50% 65%; }
.hero-canvas { position:absolute; inset:0; opacity:0; transition:opacity 800ms ease; }
.hero[data-render-state="active"] .hero-canvas, .hero[data-render-state="paused"] .hero-canvas { opacity:1; }
.hero-haze { position:absolute; inset:0; background:linear-gradient(90deg,rgb(253 248 241 / 90%) 0%,rgb(246 236 224 / 68%) 37%,rgb(246 236 224 / 0%) 80%),linear-gradient(0deg,rgb(246 236 224 / 40%),transparent 25%); }
.hero-shadow { position:absolute; width:50%; height:65%; top:-20%; right:-20%; transform:rotate(-30deg); opacity:.12; filter:blur(10px); background:repeating-conic-gradient(from 60deg at 0% 0%,transparent 0deg 12deg,#4e3e28 13deg 15deg,transparent 16deg 25deg); }
.hero-layout { width:min(calc(100% - 80px),var(--content-width)); min-height:660px; margin:auto; position:relative; display:grid; grid-template-columns:1fr .9fr; gap:40px; align-items:center; padding:54px 0 44px; }
.hero-copy { position:relative; z-index:3; max-width:610px; }
.hero-copy h1 { margin:22px 0; font-size:clamp(58px,6.3vw,98px); color:var(--copper-600); line-height:.97; letter-spacing:-.06em; }
.hero-copy em { font-weight:400; }
.hero-intro { max-width:350px; font-size:17px; color:var(--ink-600); }
.hero-cta { margin-top:26px; border-radius:40px; padding-inline:28px; min-height:56px; background:linear-gradient(120deg,var(--terracotta-500),var(--copper-600)); }
.hero-contact { display:flex; width:max-content; margin-top:8px; font-size:13px; max-width:100%; }
.hero-editorial { width:100%; max-width:465px; justify-self:center; align-self:center; position:relative; aspect-ratio:3/4; max-height:560px; border-radius:200px 200px 26px 26px; background:var(--sand-200); overflow:hidden; box-shadow:0 40px 55px -30px rgb(54 37 28 / 50%); border:1px solid rgb(253 248 241 / 65%); }
.hero-editorial img { width:100%; height:100%; object-fit:cover; object-position:center 30%; }
.hero-editorial figcaption { position:absolute; bottom:0; inset-inline:0; padding:26px 18px 14px; background:linear-gradient(transparent,rgb(37 25 17 / 65%)); color:white; font-size:11px; letter-spacing:.05em; }
.hero-poem { justify-self:center; display:flex; flex-direction:column; font-family:var(--font-editorial); font-size:clamp(70px,9vw,140px); font-style:italic; line-height:1.05; color:rgb(139 77 36 / 50%); text-shadow:0 2px 0 rgb(255 255 255 / 55%); }
.hero-poem span:nth-child(2) { padding-left:55px; }
.hero-poem span:nth-child(3) { padding-left:20px; }
.hero-label { position:absolute; right:-12px; bottom:72px; display:flex; gap:14px; align-items:center; padding:18px 24px; max-width:290px; background:rgb(253 248 241 / 92%); border:1px solid rgb(255 255 255 / 60%); border-radius:18px; box-shadow:var(--shadow-float); color:var(--ink-600); font-size:13px; z-index:4; }
.label-dot { width:10px; height:10px; border-radius:50%; background:var(--bronze-300); box-shadow:0 0 0 7px rgb(202 161 111 / 15%); flex-shrink:0; }
.hero-bottom { position:relative; display:flex; justify-content:space-between; align-items:center; gap:12px; width:min(calc(100% - 80px),var(--content-width)); margin:auto; padding-bottom:20px; }
.scroll-cue { display:flex; gap:20px; align-items:center; min-height:48px; font-size:12px; color:var(--ink-600); text-decoration:none; }
.scroll-cue span { font-size:25px; }
.motion-control { min-height:44px; border:1px solid rgb(139 77 36 / 35%); border-radius:25px; padding:8px 16px; font-size:11px; color:var(--ink-900); background:rgb(253 248 241 / 65%); }
body:not(.ui-ready) .motion-control { visibility:hidden; }
.values-strip { background:var(--ivory-0); border-bottom:1px solid var(--sand-200); display:flex; align-items:center; justify-content:center; gap:clamp(24px,6vw,90px); padding:22px; }
.values-strip span { display:flex; gap:12px; align-items:center; font-size:13px; color:var(--ink-600); }
.values-strip .icon { color:var(--terracotta-500); }
.collection-section { padding:70px 0; scroll-margin-top:100px; }
.section-heading { display:flex; justify-content:space-between; gap:24px; align-items:flex-end; margin-bottom:26px; }
.section-heading .eyebrow { margin-bottom:12px; }
.section-heading h1 + p { margin-top:16px; color:var(--ink-600); }
.category-pills { display:flex; gap:12px; overflow:auto; padding:4px 0 26px; scrollbar-width:thin; }
.category-pills a { white-space:nowrap; display:flex; gap:18px; align-items:center; min-height:50px; border:1px solid var(--sand-200); border-radius:40px; padding:12px 20px; background:var(--ivory-0); color:var(--copper-600); font-size:14px; text-decoration:none; }
.category-pills .icon { width:16px; height:16px; }
.product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:26px 22px; }
.product-card { min-width:0; background:var(--ivory-0); border:1px solid rgb(232 215 195 / 70%); border-radius:20px; overflow:hidden; transition:box-shadow 300ms,transform 300ms; }
.product-photo-link { display:block; aspect-ratio:4/5; overflow:hidden; position:relative; background:var(--sand-200); }
.product-photo-link > img { height:100%; width:100%; object-fit:cover; transition:transform 600ms var(--ease-out); }
.product-open { width:38px; height:38px; position:absolute; right:10px; bottom:10px; display:grid; place-items:center; border-radius:50%; background:var(--ivory-0); color:var(--copper-600); }
.stock-pill { display:flex; align-items:center; gap:4px; position:absolute; left:10px; bottom:12px; color:var(--success-700); background:#f5f6eb; padding:4px 8px; border-radius:20px; font-size:10px; letter-spacing:.01em; line-height:1.5; }
.stock-pill .icon { width:12px; height:12px; }
.product-card-info { padding:16px; }
.product-card-info .eyebrow { font-size:9px; color:var(--ink-600); margin-bottom:6px; }
.product-card-info h3 { font-size:23px; letter-spacing:-.02em; }
.product-card-info h3 a { text-decoration:none; }
.card-bottom { display:flex; gap:6px; justify-content:space-between; align-items:flex-end; margin-top:14px; }
.price { font-weight:600; color:var(--copper-600); font-variant-numeric:tabular-nums; }
.card-bottom .price span { display:block; font-size:10px; color:var(--ink-600); font-weight:400; }
.card-bottom .icon-button { background:var(--copper-600); color:var(--ivory-0); width:42px; min-width:42px; border-radius:12px; }
.photo-unavailable { display:grid; place-items:center; height:100%; padding:30px; font-size:14px; text-align:center; }
.empty-state { grid-column:1/-1; text-align:center; padding:50px 24px; border-radius:24px; background:var(--ivory-0); border:1px solid var(--sand-200); }
.empty-state > .icon { width:38px; height:38px; margin-bottom:20px; color:var(--terracotta-500); }
.empty-state h2, .empty-state h3 { margin-bottom:16px; }
.empty-state p { max-width:500px; margin:0 auto 22px; font-size:15px; color:var(--ink-600); }
.editorial-banner { position:relative; overflow:hidden; border-radius:32px; padding:60px; margin-bottom:70px; isolation:isolate; background:#eee0cc; }
.editorial-banner h2 { margin:18px 0 20px; max-width:650px; font-size:clamp(40px,4.5vw,70px); }
.editorial-banner p { max-width:620px; color:var(--ink-600); }
.editorial-banner .button { margin-top:26px; }
.editorial-sand { position:absolute; inset:0; z-index:-1; background:linear-gradient(110deg,rgb(246 236 224 / 95%) 5%,rgb(246 236 224 / 75%) 50%,transparent),url("../experience/shore-poster.0531b345173e.webp") center/cover; }
.catalogue-shell, .product-shell { padding-top:30px; padding-bottom:64px; }
.collection-hero { margin-bottom:30px; padding:40px; border-radius:26px; background:radial-gradient(ellipse at 100% 0%,#d7b58c 0,transparent 60%),var(--ivory-0); }
.collection-hero .eyebrow { margin-bottom:14px; }
.collection-hero p:last-child { margin-top:18px; max-width:700px; color:var(--ink-600); }
.catalog-toolbar { display:flex; gap:12px; justify-content:space-between; align-items:center; margin-bottom:22px; }
.catalog-toolbar p { color:var(--ink-600); font-size:14px; }
.filter-details > .sheet-body { background:var(--ivory-0); padding:26px; margin-top:14px; min-width:310px; border:1px solid var(--sand-200); border-radius:18px; position:relative; }
.catalog-toolbar:has(.filter-details[open]) { align-items:flex-start; }
.filter-form { display:grid; gap:18px; }
.filter-form fieldset { margin:0; }
.field { display:grid; gap:8px; }
.field label { font-size:13px; }
.field input, .field textarea { width:100%; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.active-filters { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px; }
.active-filters:empty { display:none; }
.filter-chip { display:inline-flex; align-items:center; min-height:44px; padding:8px 14px; font-size:12px; background:var(--ivory-0); color:var(--copper-600); border-radius:30px; border:1px solid var(--sand-200); text-decoration:none; }
.pagination { margin-top:36px; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:18px; font-size:14px; }
.pagination a { min-height:48px; padding:12px 18px; border:1px solid var(--sand-200); background:var(--ivory-0); border-radius:12px; }
.product-layout { display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(30px,6vw,80px); align-items:start; }
.gallery { position:sticky; top:calc(var(--header-height) + 24px); min-width:0; }
.gallery-track { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:thin; border-radius:24px; background:var(--sand-200); }
.gallery-slide { position:relative; flex:0 0 100%; width:100%; scroll-snap-align:center; aspect-ratio:4/5; display:block; }
.gallery-slide img { width:100%; height:100%; object-fit:cover; }
.gallery-zoom { position:absolute; bottom:16px; right:16px; width:44px; height:44px; background:var(--ivory-0); color:var(--copper-600); border-radius:50%; display:grid; place-items:center; }
.gallery-caption { display:flex; justify-content:space-between; padding:12px 2px; color:var(--ink-600); font-size:12px; }
.gallery-thumbnails { display:flex; gap:12px; padding:4px; overflow:auto; }
.gallery-thumbnails a { display:block; min-width:60px; width:60px; height:75px; border-radius:10px; overflow:hidden; border:2px solid transparent; }
.gallery-thumbnails a[aria-current="true"] { border-color:var(--copper-600); }
.gallery-thumbnails img { width:100%; height:100%; object-fit:cover; }
.gallery-unavailable { background:var(--ivory-0); padding:40px; border-radius:20px; }
.gallery-unavailable p { margin-top:20px; }
.gallery-lightbox { padding:16px; background:var(--ink-900); color:white; width:min(100vw,1100px); max-width:100%; height:100dvh; max-height:100dvh; border:0; margin:auto; }
.gallery-lightbox::backdrop { background:rgb(15 11 9 / 88%); }
.lightbox-top { height:56px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.lightbox-top .icon-button, .lightbox-controls .icon-button { color:white; border:1px solid rgb(255 255 255 / 40%); }
.lightbox-image { width:100%; height:calc(100% - 140px); object-fit:contain; }
.lightbox-controls { display:flex; justify-content:center; gap:24px; height:64px; align-items:center; }
.product-information h1 { font-size:clamp(36px,4vw,60px); margin:12px 0 18px; }
.product-description { color:var(--ink-600); font-size:15px; }
.product-price { font-size:28px; color:var(--copper-600); font-weight:600; margin:22px 0; font-variant-numeric:tabular-nums; }
.product-price small { font-weight:400; font-size:13px; }
.variant-picker { border-top:1px solid var(--sand-200); padding-top:24px; }
.variant-picker .button { min-height:48px; }
.color-options { display:flex; flex-wrap:wrap; gap:14px; }
.color-option { display:flex; align-items:center; gap:6px; position:relative; min-height:48px; padding:6px 10px 6px 4px; font-size:12px; cursor:pointer; border:1px solid transparent; border-radius:30px; }
.color-option input { position:absolute; opacity:0; width:1px; height:1px; }
.color-dot { width:30px; height:30px; border-radius:50%; background:var(--swatch); box-shadow:inset 0 0 0 1px rgb(54 37 28 / 20%); }
.color-option:has(input:checked) { border-color:var(--copper-600); background:var(--ivory-0); }
.color-option:has(input:focus-visible) { outline:3px solid var(--copper-600); outline-offset:3px; }
.size-options { display:flex; flex-wrap:wrap; gap:8px; }
.size-options label { position:relative; cursor:pointer; }
.size-options input { position:absolute; opacity:0; width:1px; height:1px; }
.size-options span { display:grid; min-width:48px; height:48px; place-items:center; border-radius:12px; border:1px solid var(--sand-200); padding:8px 12px; color:var(--ink-900); font-size:14px; background:var(--ivory-0); }
.size-options span.sr-only { border:0; min-width:0; }
.size-options input:checked + span { color:var(--ivory-0); background:var(--copper-600); border-color:var(--copper-600); }
.size-options input:focus-visible + span { outline:3px solid var(--copper-600); outline-offset:3px; }
.size-options input:disabled + span { color:var(--ink-600); opacity:.5; text-decoration:line-through; cursor:not-allowed; }
.variant-status, .selection-hint { margin:18px 0; font-size:14px; }
.variant-status { color:var(--success-700); }
.stock-dot { display:inline-block; width:7px; height:7px; background:var(--success-700); border-radius:50%; margin-right:6px; }
.purchase-zone { display:grid; gap:12px; }
.quantity-block { display:flex; gap:20px; justify-content:space-between; align-items:center; margin-bottom:16px; }
.quantity-block label { font-size:13px; }
.quantity-stepper { display:inline-flex; align-items:center; width:148px; border:1px solid var(--sand-200); border-radius:30px; background:var(--ivory-0); }
.quantity-stepper input { padding:6px 0; min-width:0; width:50px; border:0; text-align:center; background:transparent; -moz-appearance:textfield; appearance:textfield; }
.quantity-stepper input::-webkit-inner-spin-button, .quantity-stepper input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
body:not(.ui-ready) .quantity-stepper input { appearance:auto; -moz-appearance:auto; }
body:not(.ui-ready) .quantity-stepper input::-webkit-inner-spin-button { -webkit-appearance:inner-spin-button; }
body:not(.ui-ready) [data-step] { display:none; }
body:not(.ui-ready) .quantity-stepper { width:90px; }
body:not(.ui-ready) .quantity-stepper input { width:90px; padding-inline:10px; }
.product-accordions { margin-top:26px; }
.product-accordions details { border-top:1px solid var(--sand-200); }
.product-accordions summary { padding:18px 0; min-height:60px; display:flex; justify-content:space-between; gap:15px; font-size:14px; }
.product-accordions summary::after { content:"+"; color:var(--copper-600); font-size:20px; }
.product-accordions details[open] summary::after { content:"−"; }
.product-accordions details > div { padding-bottom:24px; color:var(--ink-600); font-size:14px; }
.related-section { padding-top:70px; }
.surface { background:var(--ivory-0); border:1px solid var(--sand-200); border-radius:22px; padding:30px; box-shadow:var(--shadow-soft); }
.surface > h2 { font-size:30px; margin-bottom:20px; }
.surface > p { margin-block:16px; }
.surface > small { display:block; margin-top:18px; color:var(--ink-600); }
.surface .text-link { display:flex; }
.cart-page, .review-page, .selection-page, .information-page { padding-block:32px 64px; }
.cart-region { min-width:0; }
.cart-layout { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr); gap:40px; align-items:start; }
.cart-lines { display:grid; gap:12px; }
.cart-line { display:grid; grid-template-columns:120px minmax(0,1fr) auto; gap:18px; padding:20px; border-radius:20px; border:1px solid var(--sand-200); background:var(--ivory-0); align-items:start; }
.cart-line-photo { aspect-ratio:4/5; background:var(--sand-200); border-radius:12px; overflow:hidden; display:grid; place-items:center; color:var(--copper-600); }
.cart-line-photo img { width:100%; height:100%; object-fit:cover; }
.cart-line-content h2 { font-size:24px; letter-spacing:-.02em; line-height:1.2; }
.cart-line-content h2 a { text-decoration:none; }
.cart-line-content > p:not(.price), .cart-line-content > small { font-size:12px; color:var(--ink-600); }
.cart-line-content .price { margin:8px 0 12px; }
.line-quantity-form { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.line-subtotal { color:var(--copper-600); font-size:14px; font-weight:600; white-space:nowrap; }
.cart-summary { position:sticky; top:calc(var(--header-height) + 24px); padding:28px; background:var(--ivory-0); border:1px solid var(--sand-200); border-radius:24px; box-shadow:var(--shadow-soft); }
.cart-summary h2 { margin:12px 0 24px; font-size:34px; }
.cart-summary p { font-size:13px; color:var(--ink-600); margin:20px 0; }
.cart-summary > small { display:block; margin-top:14px; color:var(--ink-600); }
.totals { margin:0; }
.totals > div { display:flex; justify-content:space-between; gap:20px; border-bottom:1px solid var(--sand-200); padding-block:12px; align-items:center; }
.totals dd { margin:0; }
.totals .price { font-size:24px; }
.cart-summary .text-link { font-size:13px; }
.clear-cart { margin-top:28px; }
.clear-cart summary { min-height:48px; text-decoration:underline; color:var(--ink-600); font-size:13px; }
.clear-cart p { margin-bottom:16px; }
.cart-drawer .cart-layout { display:block; }
.cart-drawer .cart-summary { position:static; margin-top:20px; padding:20px; }
.cart-drawer .cart-line { grid-template-columns:80px minmax(0,1fr); padding:14px; gap:14px; }
.cart-drawer .line-subtotal { grid-column:2; }
.cart-drawer .cart-line-content h2 { font-size:23px; }
.cart-drawer .clear-cart { font-size:12px; }
.checkbox-label { display:flex; gap:10px; align-items:flex-start; font-size:13px; margin-bottom:14px; }
.review-page h1 { font-size:clamp(38px,5vw,68px); }
.review-layout { display:grid; grid-template-columns:1.1fr 1fr; gap:28px; align-items:start; margin-top:32px; }
.review-item { display:flex; gap:24px; justify-content:space-between; align-items:flex-start; padding:18px 0; border-bottom:1px solid var(--sand-200); }
.review-item p { margin-top:6px; font-size:13px; color:var(--ink-600); }
.review-item > strong, .review-item > span { white-space:nowrap; color:var(--copper-600); font-size:14px; }
.review-total { display:flex; justify-content:space-between; gap:20px; align-items:center; padding-top:24px; font-size:14px; }
.review-total strong { font-size:26px; color:var(--copper-600); }
.step-list { padding-left:24px; }
.step-list li { padding:6px 0 6px 4px; }
.selection-page { max-width:1100px; }
.selection-page > h1 { margin:16px 0 24px; }
.selection-code { letter-spacing:.05em; background:var(--ivory-0); border:1px solid var(--sand-200); border-radius:8px; padding:5px 10px; }
.selection-page textarea { margin:10px 0; font-size:14px; }
.information-page { max-width:920px; }
.information-page h1 { margin:16px 0 36px; }
.prose { line-height:1.8; overflow-wrap:anywhere; }
.prose h2 { margin-bottom:18px; }
.prose .button { margin-top:22px; }
.notice, .form-feedback:not([hidden]), .success-notice { background:#f4e7d8; border:1px solid #c99961; color:#644423; padding:12px 16px; border-radius:12px; font-size:13px; margin:16px 0; overflow-wrap:anywhere; }
.form-feedback:not([hidden]) { background:#faeae4; border-color:#c88b78; color:#793a2d; }
.success-notice { color:var(--success-700); border-color:#b0c7ab; background:#f1f5eb; }
.htmx-indicator { display:none; font-size:12px; color:var(--ink-600); margin:12px 0; }
.htmx-request .htmx-indicator { display:block; }
.htmx-request button[type="submit"] { cursor:progress; }
.site-footer { display:grid; grid-template-columns:1fr 1fr 1.2fr; gap:36px 70px; padding:50px max(40px,calc((100% - var(--content-width))/2)); border-top:1px solid var(--sand-200); background:#eee1d1; }
.footer-brand img { mix-blend-mode:multiply; margin-bottom:16px; }
.footer-brand p { font-family:var(--font-editorial); font-size:28px; line-height:1.2; color:var(--copper-600); }
.site-footer h2 { font-family:var(--font-interface); font-weight:600; font-size:13px; margin-bottom:18px; letter-spacing:.02em; }
.site-footer nav a { display:block; min-height:38px; padding-block:6px; font-size:13px; color:var(--ink-600); text-decoration:none; }
.site-footer nav a:hover { text-decoration:underline; }
.footer-contact p { font-size:13px; color:var(--ink-600); margin-bottom:18px; max-width:290px; }
.footer-contact .button { font-size:13px; }
.footer-contact > small { display:block; margin-top:16px; }
.footer-bottom { grid-column:1/-1; border-top:1px solid var(--sand-200); padding-top:24px; display:flex; justify-content:space-between; gap:18px; color:var(--ink-600); }
.footer-bottom small { font-size:10px; }
/* CHG-015: selo discreto de autoria (RGS Soluções → raulmax.com.br). */
.footer-credit { display:inline-flex; align-items:center; padding:4px; margin:-4px; opacity:.32; filter:grayscale(1); transition:opacity .2s ease; }
.footer-credit:hover, .footer-credit:focus-visible { opacity:.85; filter:none; }
.footer-credit img { display:block; width:16px; height:16px; }
.noscript-note { padding:16px; text-align:center; font-size:12px; background:var(--ivory-0); }
@media (hover:hover) and (pointer:fine) {
  .product-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-float); }
  .product-card:hover .product-photo-link > img { transform:scale(1.035); }
}
@media (max-width:1023px) {
  .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
  .hero-layout { gap:24px; }
  .hero-copy h1 { font-size:72px; }
  .hero-editorial { max-height:480px; }
  .hero-label { right:0; bottom:52px; }
  .cart-layout { gap:20px; grid-template-columns:minmax(0,1fr) 320px; }
  .cart-line { grid-template-columns:80px minmax(0,1fr); gap:14px; padding:16px; }
  .line-subtotal { grid-column:2; }
  .site-footer { gap:24px 32px; }
}
@media (max-width:767px) {
  :root { --header-height:82px; }
  .section-shell, .header-inner { width:calc(100% - 36px); }
  .header-inner { gap:8px; }
  .brand-link img { width:116px; height:74px; }
  .desktop-label { display:none; }
  .header-actions { gap:0; }
  .icon-button { min-width:44px; width:44px; height:48px; }
  .header-actions .icon-button { min-width:40px; width:40px; }
  .bag-count { right:-1px; }
  .nav-menu > summary { padding:0; min-width:44px; width:44px; }
  .top-note { font-size:10px; padding:7px 8px; }
  .hero { min-height:715px; }
  .hero-layout { width:calc(100% - 36px); min-height:640px; display:block; padding:28px 0 0; }
  .hero-copy { max-width:100%; }
  .hero-copy .eyebrow { font-size:10px; max-width:100%; }
  .hero-copy h1 { font-size:58px; line-height:1.02; width:75%; margin-top:16px; margin-bottom:16px; position:relative; z-index:3; }
  .hero-intro { max-width:195px; font-size:14px; background:linear-gradient(90deg,rgb(253 248 241 / 50%),transparent); }
  .hero-cta { padding-inline:20px; font-size:14px; margin-top:20px; min-height:54px; position:relative; z-index:4; }
  .hero-contact { font-size:11px; position:relative; z-index:4; max-width:215px; }
  .hero-editorial { position:absolute; right:-38px; top:130px; width:62%; max-height:none; height:430px; aspect-ratio:auto; border-radius:150px 150px 10px 10px; z-index:1; }
  .hero-editorial img { object-position:44% 30%; }
  .hero-editorial figcaption { font-size:8px; padding-inline:12px; padding-top:28px; }
  .hero-copy { z-index:3; }
  .hero-haze { background:linear-gradient(90deg,rgb(253 248 241 / 94%),rgb(246 236 224 / 60%) 45%,transparent),linear-gradient(0deg,rgb(246 236 224 / 60%),transparent 35%); }
  .hero-label { right:12px; bottom:14px; padding:16px 20px; font-size:11px; max-width:240px; }
  .hero-poem { position:absolute; right:4px; top:370px; font-size:78px; }
  .hero-poem span:nth-child(2) { padding-left:35px; }
  .hero-bottom { width:calc(100% - 36px); padding-bottom:16px; gap:8px; }
  .motion-control { font-size:10px; padding-inline:12px; max-width:150px; }
  .scroll-cue { font-size:10px; gap:12px; }
  .values-strip { gap:10px; padding:18px 10px; justify-content:space-around; }
  .values-strip span { flex-direction:column; gap:8px; font-size:10px; text-align:center; max-width:100px; }
  .values-strip .icon { width:22px; height:22px; }
  .collection-section { padding:42px 0; }
  .section-heading { gap:14px; align-items:flex-start; }
  .section-heading > .text-link { font-size:11px; max-width:92px; line-height:1.4; margin-top:22px; }
  .section-heading h2 { font-size:36px; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 10px; }
  .product-card { border-radius:16px; }
  .product-card-info { padding:12px 10px; }
  .product-card-info h3 { font-size:20px; overflow-wrap:anywhere; }
  .card-bottom { margin-top:12px; }
  .card-bottom .price { font-size:14px; }
  .card-bottom .icon-button { width:40px; min-width:40px; height:48px; border-radius:10px; }
  .stock-pill { left:7px; bottom:9px; font-size:8px; padding:4px 6px; }
  .product-open { display:none; }
  .empty-state { padding:34px 20px; }
  .empty-state h3 { font-size:28px; }
  .empty-state p { font-size:14px; }
  .editorial-banner { padding:36px 24px; margin-bottom:40px; border-radius:24px; }
  .editorial-banner h2 { font-size:39px; }
  .editorial-banner p { font-size:14px; }
  .editorial-banner .button { font-size:13px; }
  .catalogue-shell, .product-shell { padding-top:18px; }
  .collection-hero { padding:28px 22px; margin-bottom:22px; border-radius:20px; }
  .collection-hero h1 { font-size:43px; }
  .collection-hero p { font-size:14px; }
  .breadcrumbs { font-size:10px; margin-bottom:14px; gap:8px; }
  .catalog-toolbar { gap:10px; }
  .catalog-toolbar p { font-size:12px; }
  .catalog-toolbar .button { font-size:12px; min-height:48px; padding:10px 14px; }
  .filter-details > .sheet-body { position:static; min-width:0; }
  .catalog-toolbar:has(.filter-details[open]) { display:block; }
  .filter-form { gap:16px; }
  .sheet { height:auto; max-height:92dvh; width:100%; margin:auto 0 0; padding:20px 20px max(24px,env(safe-area-inset-bottom)); border-left:0; border-radius:26px 26px 0 0; }
  .sheet-heading { margin-bottom:20px; }
  .sheet-heading h2 { font-size:30px; }
  .cart-drawer { max-height:96dvh; }
  .product-layout { display:flex; flex-direction:column; gap:26px; }
  .gallery { width:100%; position:static; }
  .gallery-track { border-radius:20px; }
  .product-information { width:100%; }
  .product-information h1 { font-size:39px; }
  .product-price { font-size:26px; }
  .purchase-zone { padding:0 0 12px; }
  .related-section { padding-top:40px; }
  .cart-layout { display:block; }
  .cart-line { grid-template-columns:86px minmax(0,1fr); padding:14px; gap:12px; }
  .cart-line-content h2 { font-size:22px; }
  .cart-summary { position:static; margin-top:20px; padding:22px; }
  .cart-line .quantity-stepper { width:138px; }
  .cart-line .quantity-stepper input { width:44px; }
  .cart-line .quantity-stepper .icon-button { width:44px; min-width:44px; }
  .cart-line .text-button { font-size:12px; }
  .cart-page, .review-page, .selection-page, .information-page { padding-top:20px; }
  .cart-page .section-heading h1 { font-size:46px; }
  .surface { padding:22px; }
  .review-layout { display:block; margin-top:24px; }
  .review-layout > section + section { margin-top:20px; }
  .review-page h1 { font-size:41px; }
  .review-item { gap:16px; font-size:13px; flex-wrap:wrap; }
  .review-item p { font-size:12px; }
  .review-total strong { font-size:23px; }
  .site-footer { padding:40px 22px 28px; grid-template-columns:1fr 1fr; gap:38px 24px; }
  .footer-brand p { font-size:24px; }
  .footer-contact { grid-column:1/-1; }
  .footer-contact p { max-width:none; }
  .footer-bottom { flex-direction:column; gap:12px; }
}
@media (max-width:374px) {
  .hero-copy h1 { font-size:52px; }
  .hero-intro { max-width:160px; }
  .hero-cta { font-size:12px; padding-inline:16px; }
  .card-bottom .price { font-size:12px; }
  .card-bottom .price span { font-size:9px; }
  .product-card-info h3 { font-size:18px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; }
  [data-parallax] { transform:none !important; }
  .product-card:hover, .product-card:hover .product-photo-link > img { transform:none; }
}
html[data-effects="reduced"] *, html[data-effects="reduced"] *::before, html[data-effects="reduced"] *::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; }
html[data-effects="reduced"] [data-parallax], html[data-effects="reduced"] .product-card:hover, html[data-effects="reduced"] .product-card:hover img { transform:none !important; }
/* ===== CHG-001 · linguagem slim, casual e elegante + correções do celular ===== */
:root { --beige-100:#EFE6DA; --brown-700:#5B3F2E; --offwhite:#FBF7F1; }
.brand-link img, .footer-brand img { height:auto; object-fit:contain; background:none; }
.top-note { background:var(--brown-700); letter-spacing:.08em; font-weight:400; }
.hero-copy h1, .section-heading h1, .section-heading h2, .collection-hero h1, #product-name { font-weight:400; letter-spacing:-.02em; }
.hero-copy h1 { line-height:1.02; }
.hero-wholesale { margin:14px 0 0; font-size:13px; letter-spacing:.02em; color:var(--brown-700); }
.product-card, .card, .surface { box-shadow:none; border:1px solid rgb(139 77 36 / 12%); }
.product-facts { list-style:none; display:flex; flex-wrap:wrap; gap:8px; padding:0; margin:14px 0 6px; }
.product-facts li { font-size:12px; letter-spacing:.03em; padding:6px 12px; border:1px solid var(--sand-200); border-radius:999px; background:var(--offwhite); color:var(--ink-600); }
.product-facts .fact-uv { border-color:#cfe0d6; color:var(--success-700); }
.wholesale-meter { margin:4px 0 18px; padding:14px 16px; border:1px solid var(--sand-200); border-radius:14px; background:var(--offwhite); }
.wholesale-meter p { margin:0 0 8px; font-size:14px; }
.wholesale-meter small { display:block; margin-top:8px; color:var(--ink-600); }
.wholesale-meter progress { display:block; width:100%; height:6px; border:0; border-radius:99px; overflow:hidden; background:var(--sand-200); accent-color:var(--copper-600); }
.wholesale-meter progress::-webkit-progress-bar { background:var(--sand-200); }
.wholesale-meter progress::-webkit-progress-value { background:var(--copper-600); }
.wholesale-meter progress::-moz-progress-bar { background:var(--copper-600); }
.wholesale-meter.is-complete strong { color:var(--success-700); }
.button[disabled] { opacity:.5; cursor:not-allowed; }
@media (max-width:767px) {
  /* O hero móvel deixa de sobrepor foto e título: empilha texto e fotografia. */
  .hero { min-height:auto; }
  .hero-layout { display:flex; flex-direction:column; min-height:auto; padding:28px 0 20px; }
  .hero-copy { width:100%; }
  .hero-copy h1 { width:auto; font-size:44px; margin:14px 0 12px; }
  .hero-intro { max-width:none; background:none; }
  .hero-contact { max-width:none; }
  .hero-editorial { position:relative; right:auto; top:auto; width:100%; height:auto; aspect-ratio:4/5; max-height:none; margin-top:26px; border-radius:180px 180px 14px 14px; }
  .hero-poem { display:none; }
  .hero-label { position:relative; right:auto; bottom:auto; margin:-34px 12px 0 auto; z-index:4; }
  .hero-haze { background:linear-gradient(180deg,rgb(253 248 241 / 92%) 0%,rgb(246 236 224 / 70%) 45%,rgb(246 236 224 / 20%) 100%); }
}
@media (max-width:374px) { .hero-copy h1 { font-size:38px; } }

/* CHG-001 QA visual (V01/V05, 390 px) */
.cart-region > .wholesale-meter { margin:0 0 18px; }
@media (max-width:767px) {
  .top-note { font-size:10px; letter-spacing:.03em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  /* V01: a fotografia domina a primeira tela; o texto vem logo abaixo, sem sobreposição. */
  .hero-editorial { order:-1; margin:0 0 22px; aspect-ratio:auto; height:min(56vh,460px); border-radius:200px 200px 16px 16px; }
  .hero-editorial img { object-position:center 22%; }
  .hero-label { display:none; }
  .hero-layout { padding-top:18px; }
  .hero-copy h1 { font-size:40px; margin-top:8px; }
}

@media print {
  .site-header,.site-footer,.hero-scenery,.header-actions,.toast,.demo-banner,.button,button { display:none !important; }
  .section-shell { width:100%; }
  body.storefront { background:white; color:black; }
  .product-layout,.cart-layout,.review-layout { display:block; }
}

/* Sem JS, não oferecemos um controle decorativo inoperante. */
body:not(.ui-ready) [data-motion-toggle] { display:none; }

.content-editorial-photo { display:block; width:min(100%,28rem); height:auto; border-radius:1.5rem; margin:1.5rem auto; }

/* CHG-003 — vitrine rotativa do destaque da home. Sem JS: só a primeira foto, estática. */
.hero-slides { padding:0; }
.hero-slides-track { position:absolute; inset:0; }
.hero-slide { position:absolute; inset:0; display:block; overflow:hidden; color:#fff; text-decoration:none; visibility:hidden; z-index:0; }
.hero-slide.is-active { visibility:visible; z-index:2; }
.hero-slide.is-leaving { visibility:visible; z-index:1; }
.hero-slides .hero-slide img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 28%; transform-origin:50% 38%; will-change:transform; }
.hero-slide-caption { position:absolute; inset:auto 0 0; display:flex; flex-direction:column; gap:2px; padding:56px 22px 46px; background:linear-gradient(transparent,rgb(37 25 17 / 74%)); }
.hero-slide-caption > * { max-width:min(100%,250px); }
.hero-slide-name { font-family:var(--font-editorial); font-size:22px; line-height:1.15; letter-spacing:-.01em; text-shadow:0 1px 12px rgb(0 0 0 / 25%); }
.hero-slide-meta { display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:13px; letter-spacing:.02em; opacity:.95; }
.hero-slide-go { font-size:11px; text-transform:uppercase; letter-spacing:.14em; border-bottom:1px solid rgb(255 255 255 / 60%); }
.hero-slide:focus-visible { outline:3px solid var(--ivory-0); outline-offset:-6px; }
.hero-slides-dots { position:absolute; left:12px; bottom:8px; z-index:4; display:flex; flex-wrap:wrap; gap:0; max-width:calc(100% - 24px); }
.hero-dot { display:grid; place-items:center; width:20px; height:32px; padding:0; min-height:0; border:0; border-radius:0; background:none; cursor:pointer; }
.hero-dot span { position:relative; display:block; width:7px; height:7px; border-radius:7px; overflow:hidden; background:rgb(255 255 255 / 55%); box-shadow:0 0 0 1px rgb(37 25 17 / 18%); transition:width .45s cubic-bezier(.2,.8,.2,1), background-color .3s; }
.hero-dot[aria-current="true"] span { width:22px; background:rgb(255 255 255 / 40%); }
.hero-dot[aria-current="true"] span::after { content:""; position:absolute; inset:0; border-radius:inherit; background:#fff; transform-origin:left; transform:scaleX(1); }
.hero-slides[data-playing="true"].is-ticking .hero-dot[aria-current="true"] span::after { animation:hero-tick var(--slide-ms,5600ms) linear forwards; }
.hero-dot:focus-visible { outline:2px solid #fff; outline-offset:-2px; border-radius:8px; }

/* Movimento: zoom lento contínuo (Ken Burns) e três entradas que se alternam. */
html:not([data-effects="reduced"]) .hero-slide.is-active img { animation:hero-settle 7.2s cubic-bezier(.22,.61,.36,1) both; }
html:not([data-effects="reduced"]) .hero-slide.is-entering { animation:hero-reveal-tide 1.5s cubic-bezier(.65,0,.25,1) both; }
html:not([data-effects="reduced"]) .hero-slide.is-entering[data-reveal="sun"] { animation-name:hero-reveal-sun; }
html:not([data-effects="reduced"]) .hero-slide.is-entering[data-reveal="breeze"] { animation-name:hero-reveal-breeze; }
html:not([data-effects="reduced"]) .hero-slide.is-entering img { animation:hero-arrive 7.2s cubic-bezier(.22,.61,.36,1) both; }
html:not([data-effects="reduced"]) .hero-slide.is-leaving img { animation:hero-depart 1.5s ease-in both; }
html:not([data-effects="reduced"]) .hero-slide.is-entering .hero-slide-caption { animation:hero-caption .9s .55s cubic-bezier(.2,.8,.2,1) both; }
.hero-slide.is-leaving .hero-slide-caption { animation:hero-caption-out .35s ease both; }
@keyframes hero-caption-out { to { opacity:0; transform:translateY(-6px); } }
@keyframes hero-reveal-tide { from { clip-path:ellipse(75% 0% at 50% 100%); } to { clip-path:ellipse(150% 150% at 50% 100%); } }
@keyframes hero-reveal-sun { from { clip-path:circle(0% at 72% 22%); } to { clip-path:circle(150% at 72% 22%); } }
@keyframes hero-reveal-breeze { from { clip-path:polygon(100% 0,100% 0,100% 100%,130% 100%); } to { clip-path:polygon(-30% 0,100% 0,100% 100%,0 100%); } }
@keyframes hero-settle { from { transform:scale(1.07); } to { transform:scale(1); } }
@keyframes hero-arrive { from { transform:scale(1.16); } to { transform:scale(1); } }
@keyframes hero-depart { from { transform:scale(1); } to { transform:scale(1.05); } }
@keyframes hero-caption { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
@keyframes hero-tick { from { transform:scaleX(0); } to { transform:scaleX(1); } }
/* Efeitos reduzidos: troca suave e curta, sem zoom nem recorte. */
html[data-effects="reduced"] .hero-slide.is-entering { animation:hero-fade .4s ease both; }
@keyframes hero-fade { from { opacity:0; } to { opacity:1; } }
@media (prefers-reduced-motion:reduce) { .hero-slide, .hero-slide img, .hero-slide-caption, .hero-dot span { animation:none !important; transition:none !important; } }
@media (max-width:767px) {
  .hero-slide-caption { padding:48px 18px 42px; }
  .hero-slide-caption > * { max-width:100%; }
  .hero-slide-name { font-size:19px; }
  .hero-slides-dots { left:8px; bottom:6px; }
}

/* ===== CHG-004 — melhorias da crítica de design (legibilidade, toque, limpeza) ===== */
/* Letra mínima de 12 px em toda a vitrine (havia textos de 8 a 11 px). */
.eyebrow, .product-card-info .eyebrow { font-size:12px; letter-spacing:.14em; }
.top-note { font-size:12px; }
.breadcrumbs { font-size:13px; }
.card-bottom .price span, .price-unit { font-size:12px; }
.footer-bottom small { font-size:12px; }
.motion-control, .scroll-cue, .hero-contact { font-size:13px; }
.hero-slide-go { font-size:12px; letter-spacing:.1em; }
/* Alvos de toque de 44 px. */
.product-card-info h3 a { display:flex; align-items:center; min-height:44px; }
.site-footer nav a { min-height:44px; display:flex; align-items:center; padding-block:0; font-size:14px; }
.breadcrumbs a { min-height:44px; min-width:24px; }
.hero-dot { width:24px; height:36px; }
/* Botão principal desativado: legível e com o motivo à vista (antes: branco sobre bege, ~2,3:1). */
.button[disabled], .button:disabled { opacity:1; background:var(--ivory-0); color:var(--copper-600); border:1px dashed var(--bronze-300); box-shadow:none; }
/* Passos de compra numerados (substituem a faixa com letra de 10 px). */
.buy-steps { background:var(--ivory-0); border-bottom:1px solid var(--sand-200); padding:26px max(20px,calc((100vw - 1180px)/2)); }
.buy-steps-title { margin:0 0 16px; font-family:var(--font-editorial); font-weight:400; font-size:24px; color:var(--ink-900); text-align:center; }
.buy-steps ol { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.buy-steps li { display:flex; gap:14px; align-items:flex-start; }
.buy-step-number { flex-shrink:0; display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--copper-600); color:var(--ivory-0); font-family:var(--font-editorial); font-size:20px; }
.buy-steps strong { display:block; font-size:15px; color:var(--ink-900); font-weight:600; }
.buy-steps small { display:block; margin-top:2px; font-size:14px; color:var(--ink-600); line-height:1.45; }
/* Card mais limpo: sem selo "Disponível", sem categoria repetida, sem seta sobre a foto. */
.product-card-info { padding-top:14px; }
/* Com vitrine rotativa, o selo editorial sai (cobria legenda/pontos ou o rosto da modelo); no celular já era oculto. */
.hero-slides ~ .hero-label { display:none; }
@media (max-width:767px) {
  .top-note { font-size:12px; white-space:normal; line-height:1.35; }
  .hero-copy .eyebrow { font-size:12px; }
  .hero-contact, .scroll-cue, .motion-control { font-size:13px; }
  .section-heading > .text-link { font-size:13px; max-width:none; }
  .card-bottom .price span { font-size:12px; }
  .buy-steps { padding:22px 18px; }
  .buy-steps-title { font-size:22px; text-align:left; }
  .buy-steps ol { grid-template-columns:1fr; gap:14px; }
}
/* CHG-004 — grade de estampas */
.estampa-grade { margin:18px 0 6px; }
.estampa-grade fieldset { border:0; padding:0; margin:0; }
.estampa-grade legend { font-weight:600; margin-bottom:10px; }
.grade-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px; padding:10px 12px; margin-bottom:8px; border:1px solid var(--sand-200); border-radius:16px; background:var(--ivory-0); transition:border-color .2s, box-shadow .2s; }
.grade-row.is-chosen { border-color:var(--copper-600); box-shadow:0 0 0 1px var(--copper-600) inset; }
.grade-row.is-viewing .grade-swatch { outline:2px solid var(--copper-600); outline-offset:2px; }
.grade-row.is-out { opacity:.55; }
.grade-swatch { display:grid; place-items:center; width:48px; height:48px; min-height:0; padding:0; border:1px solid rgb(54 37 28 / 18%); border-radius:50%; overflow:hidden; background:var(--sand-50); cursor:pointer; }
.grade-swatch img { width:100%; height:100%; object-fit:cover; }
.grade-swatch .color-dot { width:100%; height:100%; margin:0; border:0; }
.grade-name { display:flex; flex-direction:column; font-weight:600; font-size:15px; line-height:1.25; cursor:pointer; }
.grade-name small { font-weight:400; font-size:13px; color:var(--ink-600); margin-top:2px; }
.grade-row .quantity-stepper { min-width:132px; }
.grade-row .quantity-stepper input { width:48px; text-align:center; }
.grade-summary { margin:10px 0 12px; padding:12px 14px; border-radius:14px; background:#f3e6d6; color:var(--ink-900); font-size:14px; line-height:1.45; }
.grade-summary.is-complete { background:#e3efe2; color:var(--success-700); }
.grade-photo-note { margin:-4px 0 12px; font-size:13px; color:var(--ink-600); }
.color-dot-image { object-fit:cover; padding:0; }
body.ui-ready [data-variant-picker] > button[type="submit"] { display:none; }
@media (max-width:767px) { .grade-row { grid-template-columns:auto minmax(0,1fr); } .grade-row .quantity-stepper { grid-column:1 / -1; justify-self:stretch; display:flex; } .grade-row .quantity-stepper input { flex:1; } }
/* CHG-005 — selo da simulação de estampa (sempre visível sobre a foto). */
.gallery-slide { position:relative; }
.simulation-badge { position:absolute; left:12px; top:12px; z-index:2; display:inline-flex; align-items:center; gap:6px; max-width:calc(100% - 24px);
  padding:6px 12px; border-radius:20px; background:rgb(37 25 17 / 78%); color:#fff; font-size:12px; font-weight:600; letter-spacing:.02em; line-height:1.3; pointer-events:none; }
.simulation-badge::before { content:"✦"; font-size:11px; }

/* =====================================================================================================
   CHG-011 — Storefront cinematográfico (ordem ChatGPT "CHG-009").
   Camada de apresentação carregada DEPOIS de storefront.css: profundidade com luz coerente, hero vivo,
   continuidade catálogo→produto, superfícies táteis. Nada aqui muda preço, estoque, sacola ou WhatsApp.
   Luz global: principal superior-esquerda (sombras caem para baixo e um pouco à direita), ambiente frontal.
   Movimento só onde reforça informação, continuidade ou material. Reduzido = estático e elegante.
   ===================================================================================================== */
:root {
  --ease-resort: cubic-bezier(.16, 1, .3, 1);
  --motion-fast: 160ms;
  --motion-medium: 280ms;
  --motion-editorial: 600ms;
  /* Sombras em camadas: contato curto + sombra média + rebatimento quente do cobre. */
  --shadow-product:
    1px 1px 2px rgb(54 37 28 / 5%),
    4px 10px 24px -6px rgb(54 37 28 / 10%),
    10px 24px 48px -16px rgb(139 77 36 / 14%);
  --shadow-product-hover:
    1px 2px 3px rgb(54 37 28 / 6%),
    8px 20px 40px -10px rgb(54 37 28 / 16%),
    18px 36px 64px -22px rgb(139 77 36 / 22%);
  --shadow-floating: 10px 28px 64px -14px rgb(54 37 28 / 30%);
  --shadow-pressed: 0 1px 2px rgb(54 37 28 / 8%);
  /* Borda material: um fio cobre muito leve e um realce interno na aresta iluminada (topo). */
  --edge-material: 1px solid rgb(139 77 36 / 11%);
  --edge-highlight: inset 0 1px 0 rgb(255 255 255 / 75%);
}

/* ----------------------------------------------------------------------------- HERO: luz e atmosfera */
/* A névoa antiga lavava a cena inteira; agora a luz só protege o texto e a cena aparece. */
.hero-haze {
  background:
    radial-gradient(120% 90% at 0% 45%, rgb(253 248 241 / 86%) 0%, rgb(253 248 241 / 58%) 34%, rgb(253 248 241 / 0%) 62%),
    linear-gradient(0deg, var(--ivory-0) 0%, rgb(253 248 241 / 0%) 16%);
}
/* Luz principal de fim de tarde (superior-esquerda) — a mesma direção das sombras dos cards. */
.hero-scenery::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 55% at 16% 6%, rgb(255 224 176 / 34%), rgb(255 224 176 / 0%) 70%);
}
.hero-shadow { opacity: .09; }
/* Saída do hero com profundidade: o texto recua mais rápido que o cenário (sem prender a rolagem). */
.hero-copy { opacity: calc(1 - var(--hero-progress, 0) * .85); }
/* Fotografia da vitrine: sombra quente coerente com a luz e borda material. */
.hero-editorial {
  box-shadow: 14px 40px 70px -30px rgb(54 37 28 / 48%), 4px 12px 24px -10px rgb(139 77 36 / 20%);
  border: 1px solid rgb(253 248 241 / 75%);
}

/* Entrada editorial do título: por linha, máscara + subida curta + desfoque leve. Só no carregamento
   (o hero nunca é trocado por HTMX). Sem CSS de movimento, o título é estático e legível. */
.hero-line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-line > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-effects="reduced"]) .hero-line > span {
    animation: cine-line-rise 640ms var(--ease-resort) both;
    animation-delay: calc(140ms + var(--line, 0) * 110ms);
  }
  html:not([data-effects="reduced"]) .hero-copy > .eyebrow,
  html:not([data-effects="reduced"]) .hero-intro,
  html:not([data-effects="reduced"]) .hero-wholesale,
  html:not([data-effects="reduced"]) .hero-cta,
  html:not([data-effects="reduced"]) .hero-contact {
    animation: cine-fade-up 560ms var(--ease-resort) both;
  }
  html:not([data-effects="reduced"]) .hero-copy > .eyebrow { animation-delay: 40ms; }
  html:not([data-effects="reduced"]) .hero-intro { animation-delay: 420ms; }
  html:not([data-effects="reduced"]) .hero-wholesale { animation-delay: 480ms; }
  html:not([data-effects="reduced"]) .hero-cta { animation-delay: 540ms; }
  html:not([data-effects="reduced"]) .hero-contact { animation-delay: 600ms; }
}
@keyframes cine-line-rise { from { transform: translateY(105%); opacity: 0; filter: blur(4px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes cine-fade-up { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ------------------------------------------------------------------- BOTÃO PRINCIPAL: materialidade */
/* Cobre com luz de cima, relevo inferior e resposta física ao toque. Vale para todo botão principal
   (Explorar coleção, Adicionar à sacola, Continuar no WhatsApp) — a mesma matéria em toda a loja. */
.button:not(.button-outline):not(.button-whatsapp-outline):not(:disabled):not([disabled]) {
  background: linear-gradient(180deg, #AC6435 0%, #8B4D24 100%);
  border-color: rgb(91 46 18 / 55%);
  box-shadow:
    inset 0 1px 0 rgb(255 226 196 / 38%),
    inset 0 -2px 0 rgb(64 31 11 / 28%),
    2px 6px 14px -4px rgb(139 77 36 / 38%),
    1px 2px 3px rgb(54 37 28 / 14%);
  transition: transform var(--motion-fast) var(--ease-resort), box-shadow var(--motion-fast) var(--ease-resort),
              filter var(--motion-fast) ease;
}
@media (hover: hover) and (pointer: fine) {
  .button:not(.button-outline):not(.button-whatsapp-outline):not(:disabled):not([disabled]):hover {
    filter: brightness(1.06);
    box-shadow:
      inset 0 1px 0 rgb(255 226 196 / 44%),
      inset 0 -2px 0 rgb(64 31 11 / 28%),
      4px 10px 22px -6px rgb(139 77 36 / 46%),
      1px 2px 3px rgb(54 37 28 / 14%);
  }
}
.button:not(.button-outline):not(.button-whatsapp-outline):not(:disabled):not([disabled]):active {
  transform: translateY(1.5px);
  box-shadow: inset 0 2px 5px rgb(64 31 11 / 38%), var(--shadow-pressed);
}
.button:focus-visible { outline: 3px solid var(--ink-900); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ivory-0); }

/* ---------------------------------------------------------------------------- CARDS: táteis, não circo */
.product-card {
  border: var(--edge-material);
  box-shadow: var(--shadow-product), var(--edge-highlight);
  transform-style: preserve-3d;
  transition: transform 420ms var(--ease-resort), box-shadow 420ms var(--ease-resort);
}
/* Desktop: inclinação de no máximo 2,5° (calculada no JS e coalescida em RAF) e brilho só na área de texto —
   a fotografia da peça nunca recebe filtro, brilho ou cor (verdade do produto). */
@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
    box-shadow: var(--shadow-product-hover), var(--edge-highlight);
  }
  .product-card[data-tilting] { transition: transform 120ms linear, box-shadow 420ms var(--ease-resort); }
  .product-card-info { position: relative; }
  .product-card-info::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: radial-gradient(160px 120px at var(--shine-x, 50%) var(--shine-y, 0%), rgb(255 247 234 / 85%), rgb(255 247 234 / 0%));
    mix-blend-mode: soft-light; transition: opacity 300ms ease;
  }
  .product-card:hover .product-card-info::after { opacity: 1; }
}
/* Toque: compressão mínima e sombra que encosta — sem hover falso, sem inclinação pelo dedo. */
@media (hover: none) {
  .product-card { transition: transform 140ms var(--ease-resort), box-shadow 140ms var(--ease-resort); }
  .product-card:active { transform: translateY(1px) scale(.99); box-shadow: var(--shadow-pressed), var(--edge-highlight); }
}

/* --------------------------------------------------------------------- ESTAMPA / COR / TAMANHO: escolha */
.color-option { transition: border-color var(--motion-fast) ease, background var(--motion-fast) ease; }
.color-dot { transition: transform var(--motion-medium) var(--ease-resort), box-shadow var(--motion-medium) var(--ease-resort); }
.color-option:has(input:checked) { box-shadow: 0 0 0 4px rgb(202 161 111 / 22%), var(--shadow-pressed); }
.color-option:has(input:checked) .color-dot {
  transform: scale(1.06);
  box-shadow: inset 0 0 0 1px rgb(54 37 28 / 20%), 0 0 0 2px var(--ivory-0), 0 0 0 4px var(--copper-600);
}
.grade-row.is-viewing .grade-swatch { outline: 0; box-shadow: 0 0 0 2px var(--ivory-0), 0 0 0 4px var(--copper-600), 0 0 0 9px rgb(202 161 111 / 22%); }
.grade-swatch { transition: transform var(--motion-medium) var(--ease-resort), box-shadow var(--motion-medium) var(--ease-resort); }
.grade-row.is-viewing .grade-swatch { transform: scale(1.04); }
.size-options span { transition: background var(--motion-fast) ease, color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-resort); }
.size-options input:checked + span { box-shadow: inset 0 1px 0 rgb(255 226 196 / 30%), 2px 4px 10px -4px rgb(139 77 36 / 45%); }
/* Um único pulso curto ao escolher (nunca em loop). */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-effects="reduced"]) .color-option:has(input:checked) .color-dot,
  html:not([data-effects="reduced"]) .grade-row.is-viewing .grade-swatch { animation: cine-pick 420ms var(--ease-resort) 1; }
}
@keyframes cine-pick { 0% { transform: scale(.94); } 60% { transform: scale(1.09); } 100% { transform: scale(1.05); } }

/* ------------------------------------------------------------------------------ GAVETAS: sacola e filtros */
/* Abertura física pela borda (transform + opacidade); fechamento também animado onde o navegador permite.
   Foco, ESC, retorno do foco e fundo inerte continuam do <dialog> nativo — a animação é só enfeite. */
.sheet {
  box-shadow: -18px 0 60px -24px rgb(54 37 28 / 38%);
  transition: transform 300ms var(--ease-resort), opacity 200ms ease, overlay 300ms allow-discrete, display 300ms allow-discrete;
  transform: translateX(0); opacity: 1;
}
.sheet:not([open]) { transform: translateX(28px); opacity: 0; }
@starting-style { .sheet[open] { transform: translateX(28px); opacity: 0; } }
.sheet::backdrop {
  background: rgb(54 37 28 / 36%);
  backdrop-filter: blur(3px) saturate(1.05);
  transition: background 260ms ease, backdrop-filter 260ms ease, overlay 300ms allow-discrete, display 300ms allow-discrete;
}
.sheet:not([open])::backdrop { background: rgb(54 37 28 / 0%); backdrop-filter: blur(0); }
@starting-style { .sheet[open]::backdrop { background: rgb(54 37 28 / 0%); backdrop-filter: blur(0); } }
@media (max-width: 767px) {
  /* No celular a gaveta sobe de baixo (mais natural ao polegar) e o desfoque é mais leve. */
  .sheet { margin: auto 0 0; width: 100%; height: min(92dvh, 100%); max-height: 92dvh; border-left: 0;
           border-radius: 22px 22px 0 0; box-shadow: 0 -18px 50px -20px rgb(54 37 28 / 40%); }
  .sheet:not([open]) { transform: translateY(32px); }
  @starting-style { .sheet[open] { transform: translateY(32px); opacity: 0; } }
  /* Sem desfoque no celular: custava ~200 ms de resposta ao abrir menu/busca em CPU lenta (INP). Só o escurecimento quente. */
  .sheet::backdrop, .sheet:not([open])::backdrop { backdrop-filter: none; background: rgb(54 37 28 / 42%); }
  .sheet:not([open])::backdrop { background: rgb(54 37 28 / 0%); }
  @starting-style { .sheet[open]::backdrop { background: rgb(54 37 28 / 0%); } }
}

/* ------------------------------------------------------------------ TÍTULOS DE SEÇÃO: entram uma vez */
/* Só títulos (nunca preço, estoque ou card) e só os que ainda estão abaixo da dobra (JS marca). */
[data-reveal-pending] { opacity: 0; transform: translateY(16px); }
[data-reveal-done] { transition: opacity 560ms var(--ease-resort), transform 560ms var(--ease-resort); }

/* -------------------------------------------------------------- CONTINUIDADE CATÁLOGO → PRODUTO (VT) */
/* Navegação entre páginas com View Transitions (onde o navegador suporta). A foto do card clicado
   recebe o nome "produto-foto" no instante da troca (script view-transitions.js); a primeira foto da
   galeria da página de produto tem o mesmo nome. Sem suporte: navegação normal, sem erro. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 240ms; animation-timing-function: ease; }
::view-transition-group(produto-foto) { animation-duration: 460ms; animation-timing-function: var(--ease-resort); }
::view-transition-old(produto-foto), ::view-transition-new(produto-foto) { height: 100%; object-fit: cover; overflow: clip; }
.page-product .gallery-slide:first-child img { view-transition-name: produto-foto; }
.page-product .gallery-slide:first-child img[data-vt-off] { view-transition-name: none; }

/* ------------------------------------------------------------------------------------------ MOVIMENTO REDUZIDO */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .hero-copy { opacity: 1; }
  [data-reveal-pending] { opacity: 1; transform: none; }
  .sheet, .sheet:not([open]) { transform: none; }
}
html[data-effects="reduced"] .hero-copy { opacity: 1; }
html[data-effects="reduced"] [data-reveal-pending] { opacity: 1; transform: none; }
html[data-effects="reduced"] .sheet:not([open]) { transform: none; }
html[data-effects="reduced"] .product-card:hover { transform: none; }

/* ------------------------------------------------------------------------------------------- CELULAR */
@media (max-width: 767px) {
  /* A vitrine em arco fica menor e centrada: a cena (mar, luz) emoldura a foto e o título + CTA
     entram na primeira tela. O texto ganha uma luz própria para leitura. */
  .hero-editorial { height: min(40vh, 360px); width: 80%; align-self: flex-end; margin-bottom: 18px; }
  /* Com o arco mais estreito, os 12 pontos da vitrine cabem numa linha (não cobrem a legenda). */
  .hero-dot { width: 18px; }
  .hero-slides-dots { flex-wrap: nowrap; }
  .hero-haze {
    background:
      linear-gradient(180deg, rgb(253 248 241 / 0%) 0%, rgb(253 248 241 / 10%) 34%, rgb(253 248 241 / 82%) 52%, rgb(253 248 241 / 92%) 100%);
  }
  .hero-copy { opacity: 1; }
}

/* =========================================================================================================
   CHG-012 — POLIMENTO: acabamento, não efeitos novos. Tudo some com movimento reduzido / "Pausar animações".
   ========================================================================================================= */

/* ------------------------------------------------------- ESTAMPA TROCADA: uma passagem de luz sobre a foto */
/* Camada de UI por cima do quadro (pseudo-elemento do slide). A fotografia não recebe filtro, cor nem brilho:
   o feixe é um gradiente translúcido que atravessa uma vez em diagonal (~240 ms) e o atributo é retirado. */
.gallery-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, rgb(255 245 225 / 0%) 30%, rgb(255 245 225 / 34%) 48%,
              rgb(255 255 255 / 8%) 56%, rgb(255 245 225 / 0%) 70%) no-repeat;
  background-size: 260% 100%; background-position: 100% 0;
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-effects="reduced"]) .gallery-slide[data-sweep]::after { animation: pol-sweep 240ms cubic-bezier(.45,.05,.35,1) 1; }
}
@keyframes pol-sweep {
  0% { opacity: 1; background-position: 100% 0; }
  85% { opacity: 1; }
  100% { opacity: 0; background-position: 0% 0; }
}

/* ------------------------------------------------------------------- SACOLA: o contador também na gaveta */
/* A gaveta abre junto com a adição e cobre o ícone do topo; o mesmo contador aparece no título dela. */
.sheet-bag { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px;
  margin-left: 6px; vertical-align: middle; color: var(--copper-600); }
.sheet-bag svg { width: 22px; height: 22px; }
.sheet-bag .bag-count { top: -2px; right: -4px; }
.bag-link svg, .sheet-bag svg { transform-origin: 50% 60%; }

/* --------------------------------------------------------------- FILTRO APLICADO: cascata curta e limitada */
/* 30 ms por cartão, no máximo 7 degraus (210 ms); 220 ms cada; sobe 10 px. Só depois de um filtro real (JS). */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-effects="reduced"]) [data-stagger] .product-card {
    animation: pol-card-in 220ms var(--ease-resort) backwards;
    animation-delay: calc(var(--stagger, 7) * 30ms);
  }
}
@keyframes pol-card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ GAVETAS NO CELULAR: superfície que não é chapada */
/* Sem desfoque (custo de INP medido na CHG-011): grão estático de 1,2 KB, alfa ≤ 3,5%, sem animação e sem
   filtro, SÓ na superfície da gaveta. No fundo escurecido (tela inteira) ele custava ~12–24 ms de INP ao abrir
   menu/busca no celular (A/B no F4); lá fica só o escurecimento quente. Só baixa quando uma gaveta abre. */
@media (max-width: 767px) {
  .sheet[open] { background-image: url("../img/ui/grain-soft.26e703c27e7b.png"); background-size: 64px 64px; }
}
