/* Imperfeitamente Perfeito — catálogo
   Layout: cabeçalho centrado na marca; fotografia grande e títulos Bodoni fazem o trabalho;
   o azul-marinho do logótipo é a única cor forte (botões, preços); o resto é papel quente (granito, fim de tarde) e linhas finas. */

@font-face { font-family: "Bodoni Moda"; src: url("assets/fonts/bodoni-moda-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("assets/fonts/bodoni-moda-wght-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("assets/fonts/hanken-grotesk-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #F8F5F0;          /* papel quente */
  --surface: #EEE8E0;     /* fundo das fotografias */
  --moon: #E7EBF3;        /* azul aguarela do logótipo, muito diluído */
  --sand: #EFE6DA;        /* granito ao sol: secção da história */
  --ink: #17192A;
  --navy: #1B2D63;        /* marca */
  --navy-2: #253C80;
  --muted: #69655E;
  --line: #E4DCD1;
  --gold: #9C7A4C;        /* só em detalhes */
  --white: #FFFFFF;
  --ok: #3E7B5A;
  --warn: #A4583F;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.4vw, 5.25rem);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --max: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
main:focus { outline: none; }
.num { font-variant-numeric: lining-nums tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.label { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; }
.display em { font-style: italic; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--navy); color: var(--white); text-decoration: none; }
.skip:focus { top: 12px; }

/* ── botões ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid var(--navy); border-radius: 999px; background: transparent; color: var(--navy); font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease); }
.btn:hover { background: var(--navy); color: var(--white); }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .8125rem; }
.btn-block { width: 100%; }
.btn svg { flex: 0 0 auto; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s ease; }
.icon-btn:hover { background: var(--surface); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--navy); color: var(--white); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.linklike { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.linklike:hover { text-decoration-color: currentColor; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; letter-spacing: .06em; color: var(--navy); text-decoration: none; }
.arrow-link::after { content: "→"; transition: transform .3s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ── barra de topo e cabeçalho ── */
.topbar { background: var(--navy); color: #E4E8F3; font-size: .78rem; letter-spacing: .04em; text-align: center; }
.topbar .wrap { padding-top: 9px; padding-bottom: 9px; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 51; background: var(--bg); }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(248, 245, 240, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.header.scrolled { border-bottom-color: var(--line); }
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 76px; }
.nav { display: flex; gap: 28px; }
.nav a { position: relative; padding: 10px 0; font-size: .875rem; font-weight: 500; letter-spacing: .04em; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font-family: var(--display); font-size: 1.25rem; letter-spacing: .02em; white-space: nowrap; }
.brand-name em { font-style: italic; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
@media (max-width: 859px) {
  .header-in { grid-template-columns: auto 1fr auto; min-height: 64px; row-gap: 0; }
  .brand { grid-column: 1; }
  .brand-name { font-size: 1.05rem; }
  .header-actions { grid-column: 3; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 24px; border-top: 1px solid var(--line); }
  .nav a { padding: 10px 0 11px; font-size: .8125rem; }
  .hide-m { display: none !important; }
  html { scroll-padding-top: 120px; }
}
@media (max-width: 380px) { .brand-name { font-size: .95rem; } .brand img { width: 34px; height: 34px; } }

/* ── vistas ── */
.view { animation: entra .5s var(--ease); }
@keyframes entra { from { opacity: .001; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.h2 { font-family: var(--display); font-size: var(--step-3); line-height: 1.05; letter-spacing: -.01em; color: var(--ink); }
.h2 em { font-style: italic; }
.lead { max-width: 52ch; font-size: var(--step-1); line-height: 1.6; color: var(--muted); }

/* ── hero ── */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero-txt { display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: var(--step-4); color: var(--ink); }
.hero h1 em { color: var(--navy); }
.hero .lead { font-size: var(--step-1); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.hero-facts b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 400; color: var(--ink); line-height: 1.1; }
.hero-art { position: relative; aspect-ratio: 1 / 1.1; }
.hero-main { position: absolute; inset: 0 22% 0 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; animation: revela 1.6s var(--ease) both; }
@keyframes revela { from { opacity: .001; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.hero-side { position: absolute; right: 0; bottom: 7%; width: 36%; display: flex; flex-direction: column; gap: 10px; padding: 8px 8px 12px; border-radius: calc(var(--radius) + 4px); background: var(--bg); box-shadow: 0 30px 70px rgba(60, 38, 20, .22); text-decoration: none; }
.hero-side .ph { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.hero-side img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hero-side:hover img { transform: scale(1.04); }
.hero-side .cap { display: flex; justify-content: space-between; gap: 8px; padding-inline: 4px; font-family: var(--display); font-size: 1.05rem; }
.hero-side .cap b { font-family: var(--sans); font-size: .875rem; }
.hero-side .cap b { font-weight: 600; color: var(--navy); }
.hero-moon { display: none; }
@media (max-width: 859px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 1 / 1.08; }
  .hero-main { inset: 0 16% 0 0; }
  .hero-side { width: 40%; bottom: -6%; padding: 6px 6px 9px; }
  .hero-side .cap { font-size: .9rem; }
  .hero-facts { gap: 12px 24px; font-size: .8125rem; }
  .hero-facts b { font-size: 1.2rem; white-space: nowrap; }
  .hero-txt { padding-top: 24px; }
}

/* ── coleções (dois mosaicos) ── */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.col-tile { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); background: var(--surface); color: var(--white); text-decoration: none; isolation: isolate; }
.col-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.col-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 20, 12, 0) 40%, rgba(30, 20, 12, .58)); }
.col-tile img[src*="arvore-pulso"] { object-position: 50% 72%; }
.col-tile img[src*="trevo-colo"] { object-position: 50% 60%; }
.col-tile:hover img { transform: scale(1.04); }
.col-tile .in { position: absolute; left: clamp(18px, 3vw, 36px); right: clamp(18px, 3vw, 36px); bottom: clamp(18px, 3vw, 32px); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.col-tile h2, .col-tile h3 { font-family: var(--display); font-size: var(--step-3); line-height: 1; }
.col-tile span { font-size: .875rem; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 599px) { .cols { grid-template-columns: 1fr 1fr; } .col-tile { aspect-ratio: 4 / 5; } .col-tile h2, .col-tile h3 { font-size: clamp(1.4rem, 7vw, 2rem); } .col-tile .in { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* ── loja: filtros e grelha ── */
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .875rem; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.tab:hover { border-color: var(--ink); }
.tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tab .n { margin-left: 6px; opacity: .6; }
.sort { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--muted); }
.sort select { min-height: 40px; padding: 0 34px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23141A30' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--ink); -webkit-appearance: none; appearance: none; cursor: pointer; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(12px, 2vw, 24px); }
@media (max-width: 959px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card-link { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform 1.2s var(--ease); }
.card-img .b { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-img .b { opacity: 1; }
  .card:hover .card-img img { transform: scale(1.03); }
}
.card-tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--bg); font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--warn); }
.card-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; }
.card-name { font-family: var(--display); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.2; }
.card-price { font-size: 1rem; font-weight: 600; color: var(--navy); }
.card-meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); }
.dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(20, 26, 48, .18); }
.fav { position: absolute; right: 10px; top: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(251, 250, 248, .88); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .25s var(--ease), background .2s ease; }
.fav:hover { transform: scale(1.08); background: var(--bg); }
.fav[aria-pressed="true"] svg path { fill: var(--navy); stroke: var(--navy); }
.empty { padding: 40px 0; color: var(--muted); }

/* ── lookbook: fotografias reais ── */
.look { padding-top: 0; }
.look-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(14px, 2.4vw, 32px); align-items: start; }
.look-item { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.look-item:nth-child(2) { margin-top: clamp(40px, 9vw, 140px); }
.look-item:nth-child(3) { margin-top: clamp(20px, 4vw, 56px); }
.look-ph { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.look-item:first-child .look-ph { aspect-ratio: 4 / 5.2; }
.look-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s ease; }
.look-item:hover .look-ph img { transform: scale(1.035); }
.look-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); }
.look-cap i { font-style: normal; font-family: var(--sans); font-size: .75rem; letter-spacing: .1em; color: var(--gold); margin-right: 12px; vertical-align: .2em; }
.look-cap b { font-family: var(--sans); font-size: .9375rem; font-weight: 600; color: var(--navy); transition: transform .3s var(--ease); }
.look-item:hover .look-cap b { transform: translateX(-4px); }
@media (max-width: 759px) {
  .look-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); scroll-padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
  .look-grid::-webkit-scrollbar { display: none; }
  .look-item { scroll-snap-align: start; }
  .look-item:nth-child(n) { margin-top: 0; }
  .look-item:first-child .look-ph { aspect-ratio: 3 / 4; }
}

/* ── passos ── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: passo; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 28px clamp(0px, 2vw, 28px) 8px 0; counter-increment: passo; }
.steps li + li { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.steps li::before { content: counter(passo, decimal-leading-zero); font-family: var(--display); font-size: 1rem; color: var(--gold); }
.steps h3 { font-family: var(--display); font-size: var(--step-2); line-height: 1.15; }
.steps p { color: var(--muted); max-width: 36ch; }
@media (max-width: 759px) { .steps { grid-template-columns: 1fr; } .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .steps li { padding-bottom: 24px; } }

/* ── marca ── */
.story { background: var(--sand); }
.story-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
/* logótipo em moeda (frente = logótipo, verso = a lua, aro dourado em camadas) */
.story-logo { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin-inline: auto; perspective: 1100px; }
.story-logo::before { content: ""; position: absolute; inset: 8% 12% -6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(27, 45, 99, .18), transparent); filter: blur(14px); transform: translateY(14%) scaleY(.35); pointer-events: none; }
.moeda { position: absolute; inset: 0; transform-style: preserve-3d; cursor: grab; touch-action: pan-y; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; border-radius: 50%; outline: none; }
.moeda:focus-visible { box-shadow: 0 0 0 3px var(--gold); }
.moeda.a-rodar { cursor: grabbing; }
.moeda img { -webkit-user-drag: none; pointer-events: none; }
.moeda-frente, .moeda-verso { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.moeda-frente { transform: translateZ(6.5px); background: var(--white); box-shadow: inset 0 0 0 1.5px rgba(156, 127, 82, .55); }
.moeda-frente img { width: 100%; height: 100%; object-fit: cover; }
.moeda-verso { transform: rotateY(180deg) translateZ(6.5px); display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 38% 32%, #FFFFFF, #F7F3EE 70%, #EEE6DA); box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6.5px rgba(156, 127, 82, .7); }
.moeda-verso img { height: 66%; width: auto; margin-left: -14%; mix-blend-mode: multiply; }
.moeda-aro { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.moeda-aro i { position: absolute; inset: 1px; border-radius: 50%; background: linear-gradient(120deg, #C9AE7E, #F4E6C6 35%, #B8996A 55%, #E9D3A8 80%, #A98B5D); transform: translateZ(calc((var(--i) - 6) * 1px)); }
.moeda-brilho { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: 0; background: linear-gradient(105deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.6) 48%, rgba(255,255,255,0) 66%); background-size: 250% 100%; background-position: 50% 0; mix-blend-mode: soft-light; }
.story-logo { opacity: 0; transform: translateY(24px) scale(.94); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.story-logo.visto { opacity: 1; transform: none; }
.moeda-dica { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; opacity: 0; transition: opacity .5s ease 1.6s; }
.story-logo.visto .moeda-dica { opacity: .8; }
.story-logo.mexeu .moeda-dica { opacity: 0; transition-delay: 0s; }
.story blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: var(--step-3); line-height: 1.15; color: var(--navy); }
.story-txt { display: flex; flex-direction: column; gap: 22px; }
.story-txt p { max-width: 56ch; color: var(--ink); }
@media (max-width: 759px) { .story-grid { grid-template-columns: 1fr; } .story-logo { width: 220px; margin-bottom: 36px; } }

/* ── perguntas ── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: var(--step-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--navy); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 64ch; padding: 0 0 24px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 859px) { .two-col { grid-template-columns: 1fr; } }

/* ── visita / contactos ── */
.visit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.visit > div { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.visit .big { font-family: var(--display); font-size: var(--step-2); line-height: 1.2; color: var(--ink); }
.rows { display: flex; flex-direction: column; }
.rows > * { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; text-decoration: none; }
.rows > *:last-child { border-bottom: 0; }
.rows span:first-child { color: var(--muted); }
.rows a:hover span:last-child { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.rows span:last-child { text-align: right; overflow-wrap: anywhere; }
@media (max-width: 859px) { .visit { grid-template-columns: 1fr; } }

/* ── página da peça ── */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 22px; font-size: .8125rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { opacity: .5; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(56px, 8vw, 104px); }
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; position: sticky; top: 100px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb { position: relative; width: 76px; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; border: 1px solid transparent; border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border-color .2s ease, opacity .2s ease; opacity: .7; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-3d { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 1.1rem; color: var(--navy); background: var(--moon); }
.stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; }
.slide.is-look::after { content: "Usado"; position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(248, 245, 240, .9); font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.view3d { position: absolute; inset: 0; z-index: 3; background: radial-gradient(circle at 50% 42%, #FFFFFF, var(--surface) 72%); }
.btn-3d { position: absolute; right: 12px; bottom: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(251, 250, 248, .92); color: var(--navy); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; cursor: pointer; box-shadow: 0 6px 18px rgba(20, 26, 48, .12); }
.btn-3d:hover { background: var(--white); }
.btn-3d[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.thumb-3d[aria-pressed="true"] { border-color: var(--ink); opacity: 1; }
.hint-3d { position: absolute; left: 16px; bottom: 20px; padding: 7px 14px; border-radius: 999px; background: rgba(251, 250, 248, .9); font-size: .75rem; letter-spacing: .04em; color: var(--muted); white-space: nowrap; pointer-events: none; }
.loading-3d { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .875rem; }
.stage-nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(251, 250, 248, .9); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease; z-index: 2; }
.stage-nav:hover { background: var(--white); }
.stage-nav.prev { left: 12px; } .stage-nav.next { right: 12px; }
.dots { position: absolute; left: 0; right: 0; bottom: 26px; display: none; justify-content: center; gap: 6px; z-index: 2; }
.dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(20, 26, 48, .25); transition: width .3s ease, background .3s ease; }
.dots span.on { width: 18px; background: var(--ink); }
.info { display: flex; flex-direction: column; gap: 22px; padding-top: 6px; }
.info h1 { font-family: var(--display); font-size: var(--step-3); line-height: 1.04; }
.price { font-size: 1.5rem; font-weight: 600; color: var(--navy); }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.stock.ultimas::before { background: var(--warn); }
.desc { font-size: var(--step-1); line-height: 1.6; color: var(--ink); }
.swatches { display: flex; gap: 10px; }
.swatch { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 1px rgba(20, 26, 48, .18); transition: box-shadow .2s ease; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ink); }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.actions { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; }
@media (max-width: 420px) { .hide-s { display: none; } }
.actions .icon-btn { width: 52px; height: 52px; border: 1px solid var(--line); }
.actions .icon-btn[aria-pressed="true"] svg path { fill: var(--navy); stroke: var(--navy); }
.reassure { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: .875rem; color: var(--muted); }
.reassure p { display: flex; gap: 10px; }
.reassure svg { flex: 0 0 auto; margin-top: 3px; color: var(--navy); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; gap: 14px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(251, 250, 248, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy .t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.sticky-buy .t b { font-family: var(--display); font-weight: 400; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .t span { font-weight: 600; color: var(--navy); }
.sticky-buy .btn { margin-left: auto; min-height: 46px; padding: 0 20px; }
@media (max-width: 859px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); }
  .stage { border-radius: 0; }
  .thumbs { display: none; }
  .dots { display: flex; }
  .stage-nav { display: none; }
  .sticky-buy { display: flex; }
  body.has-sticky .footer { padding-bottom: 80px; }
}

/* ── rodapé ── */
.footer { margin-top: 0; background: var(--white); border-top: 1px solid var(--line); }
.footer .wrap { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { width: 96px; height: 96px; border-radius: 50%; }
.footer-brand p { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--navy); max-width: 24ch; }
.footer .label { margin-bottom: 14px; }
.flist { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .9375rem; }
.flist a { text-decoration: none; }
.flist a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
@media (max-width: 959px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 519px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ── gaveta de favoritos e janela de privacidade ── */
dialog { padding: 0; border: 0; color: var(--ink); background: var(--bg); }
dialog::backdrop { background: rgba(20, 26, 48, .35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(440px, 100vw); height: 100%; max-height: 100%; margin: 0; display: none; flex-direction: column; }
.drawer[open] { display: flex; animation: gaveta .4s var(--ease) both; }
@keyframes gaveta { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: max(18px, env(safe-area-inset-top, 0px)) 20px 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--display); font-size: 1.6rem; }
.drawer-body { flex: 1 1 auto; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 18px 24px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.drawer-foot:empty { display: none; }
.fav-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fav-row img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.fav-row a { font-family: var(--display); font-size: 1.1rem; text-decoration: none; }
.fav-row a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fav-row .p { font-size: .875rem; font-weight: 600; color: var(--navy); }
.total { display: flex; justify-content: space-between; font-size: .9375rem; }
.total b { font-weight: 600; }
.empty-favs { display: flex; flex-direction: column; gap: 14px; padding: 32px 0; color: var(--muted); }
.modal { width: min(600px, calc(100vw - 32px)); max-height: min(82dvh, 720px); border-radius: 8px; }
.modal[open] { display: flex; flex-direction: column; animation: entra .3s var(--ease) both; }
.modal-body { overflow-y: auto; padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 14px; font-size: .9375rem; }

/* ── aviso curto ── */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .875rem; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .3s ease, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 859px) { body.has-sticky .toast { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); } }
body:has(dialog[open]) { overflow: hidden; }
.noscript { padding-block: 60px; }

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