/* =========================================================
   IVIÊ — Design System
   ========================================================= */
:root {
  --bg: #f6f1ed;
  --bg-2: #ece3dd;
  --surface: #fcf9f7;
  --ink: #1c1a17;
  --ink-2: #4a463f;
  --muted: #8b857b;
  --line: #e2d6cf;
  /* Paleta oficial IVIÊ (logo) */
  --wine: #730120;      /* vinho — cor principal */
  --wine-deep: #4a0715; /* vinho escuro — fundos */
  --wine-ink: #2b060e;  /* vinho quase preto — rodapé */
  --rose: #c67978;      /* rosê — acento do Ê */
  --rose-d: #a6595a;    /* rosê escuro — textos/etiquetas sobre fundo claro */
  --white: #fff;
  --danger: #b3262e;
  --ok: #3f7a4f;

  --f-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-body: 'Manrope', system-ui, -apple-system, sans-serif;

  --r-sm: 6px;
  --r: 14px;
  --r-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(28, 26, 23, .25);
  --shadow-sm: 0 6px 20px -10px rgba(28, 26, 23, .25);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 76px;
  --announce-h: 36px;
  --top-h: calc(var(--announce-h) + var(--header-h));
  --max: 1440px;
  --photo: 866 / 1280; /* formato das fotos de produto — evita cortes */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
em { font-style: italic; }
::selection { background: var(--rose); color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 16px; height: 16px; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head h2 { font-size: clamp(34px, 5vw, 62px); }
.section-head h2 em { color: var(--wine); }
.section-head p { max-width: 420px; color: var(--ink-2); margin: 10px 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.link-arrow .icon { transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(6px); }
.section { padding: clamp(56px, 9vw, 120px) 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px; border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; transition: all .35s var(--ease); white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark::before { content: ''; position: absolute; inset: 0; background: var(--wine); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn-dark:hover::before { transform: translateY(0); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-outline { border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost-light { border: 1px solid rgba(255,255,255,.6); color: var(--white); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 11px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; position: relative; transition: background .3s; }
.icon-btn:hover { background: rgba(28,26,23,.06); }
.badge-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--wine); color: var(--white); font-size: 10px; font-weight: 700; display: grid; place-items: center;
}
.badge-count:empty, .badge-count[data-n="0"] { display: none; }

/* ---------- Faixa de avisos ---------- */
.announce { background: rgba(115, 1, 32, .94); color: var(--bg); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; overflow: hidden; height: 36px; display: flex; align-items: center; }
.announce-track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 38s linear infinite; padding-left: 56px; }
.announce-track span { display: inline-flex; align-items: center; gap: 56px; }
.announce-track span::after { content: '✦'; color: #e8b3b0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header (fixo, vidro desfocado) ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
body { padding-top: var(--top-h); }
body.has-hero { padding-top: 0; }
.header { position: relative; transition: background .4s, color .4s, box-shadow .4s; backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px); }
.header-inner { height: var(--header-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(24px, 4vw, 64px); }
.header.is-transparent { background: rgba(28, 26, 23, .18); color: var(--white); box-shadow: 0 1px 0 rgba(255,255,255,.14); }
.header.is-solid { background: rgba(246, 241, 237, .72); box-shadow: 0 1px 0 rgba(28,26,23,.08), 0 10px 30px -20px rgba(28,26,23,.3); color: var(--ink); }
.logo { display: inline-flex; align-items: center; line-height: 0; color: var(--wine); transition: color .4s; }
.logo svg { height: 46px; width: auto; display: block; overflow: visible; }
.logo .logo-accent { fill: var(--rose); }
.header.is-transparent .logo { color: var(--white); }
.header-brand, .header-right { display: flex; align-items: center; gap: 4px; }
.header-right { justify-content: flex-end; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 34px); white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.nav button { text-transform: inherit; letter-spacing: inherit; font-weight: inherit; }
.nav a, .nav button { position: relative; padding: 8px 0; display: inline-flex; align-items: center; gap: 4px; }
.nav a::after, .nav button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav button:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .35s var(--ease); }
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 48px; padding: 40px var(--gutter) 48px; max-width: var(--max); margin: 0 auto; }
.mega h4 { font-family: var(--f-body); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mega ul a { font-family: var(--f-display); font-size: 24px; transition: color .25s, padding .3s var(--ease); }
.mega ul a:hover { color: var(--wine); padding-left: 8px; }
.mega-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mega-card { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: var(--photo); background: var(--bg-2); }
.mega-card img { width: 100%; height: 100%; object-fit: contain; }
.mega-card:hover img { opacity: .92; }
.mega-card span { position: absolute; left: 16px; bottom: 14px; color: var(--white); font-family: var(--f-display); font-size: 26px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }


/* ---------- Mobile menu ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(28,26,23,.45); backdrop-filter: blur(3px); z-index: 90; opacity: 0; visibility: hidden; transition: all .4s var(--ease); }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(440px, 100%); background: var(--surface); z-index: 100; display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.drawer.right { right: 0; transform: translateX(100%); }
.drawer.left { left: 0; transform: translateX(-100%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 28px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px; background: var(--surface); }
.mnav { list-style: none; margin: 0; padding: 0; }
.mnav > li > a, .mnav > li > button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 0; font-family: var(--f-display); font-size: 30px; border-bottom: 1px solid var(--line); }
.mnav .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 14px 0 20px; }
.mnav .sub a { font-size: 14px; color: var(--ink-2); }
.mnav-small { margin-top: 28px; display: grid; gap: 10px; font-size: 13px; color: var(--ink-2); }

/* Foto preenchendo todo o box (enquadramento pelo terço de cima) */
.ph { position: absolute; inset: 0; overflow: hidden; display: block; background: var(--bg-2); }
.ph > .ph-fg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }

/* ---------- Hero: imagem de fundo + copy (até 3 slides) ---------- */
.hero { padding: 14px clamp(10px, 1.2vw, 18px) 0; }
.hero-frame { position: relative; height: calc(100svh - var(--top-h) - 14px); min-height: 600px; max-height: 1000px; border-radius: 30px; overflow: hidden; background: var(--wine-ink); color: var(--white); isolation: isolate; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.active .hero-media > * { animation: heroZoom 9s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-slide::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(20, 4, 8, .78) 0%, rgba(20, 4, 8, .35) 34%, rgba(20, 4, 8, 0) 58%),
    linear-gradient(90deg, rgba(20, 4, 8, .45) 0%, rgba(20, 4, 8, 0) 55%),
    rgba(20, 4, 8, .14); }


/* Copy no canto inferior esquerdo */
.hero-copy { position: absolute; z-index: 4; left: clamp(22px, 4.5vw, 72px); bottom: clamp(26px, 5vh, 56px); max-width: calc(100% - clamp(230px, 19vw, 300px) - clamp(40px, 4.5vw, 80px) - clamp(22px, 4.5vw, 72px) - 40px); }
.hero-copy p { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; color: rgba(255,255,255,.9); max-width: 34em; margin: 0 0 clamp(14px, 2.4vh, 26px); }
.hero-headline { display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 32px); flex-wrap: wrap; }
.hero-headline h1 { margin: 0; line-height: .9; }
.hero-headline h1 span { display: block; font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(40px, 4.9vw, 92px); }
.hero-headline h1 em { display: block; font-family: var(--f-display); font-weight: 400; font-style: italic; color: #f2c9c6; font-size: clamp(44px, 5.4vw, 100px); line-height: 1; margin-top: .04em; }
.hero-cta { position: relative; flex: none; width: clamp(78px, 6.4vw, 100px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); display: grid; place-items: center; margin-bottom: .6em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgba(255,255,255,.06); transition: background .4s, color .4s, transform .5s var(--ease); }
.hero-cta:hover { background: var(--white); color: var(--wine); transform: rotate(-12deg); }
.hero-cta .icon { width: 22px; height: 22px; transform: rotate(-45deg); }
.hero-cta-ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 16s linear infinite; }
.hero-cta-ring text { font-size: 9px; font-family: var(--f-body); font-weight: 600; fill: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Cartões de vidro no canto inferior direito */
.hero-cards { position: absolute; z-index: 4; right: clamp(40px, 4.5vw, 80px); bottom: clamp(26px, 5vh, 56px); display: flex; flex-direction: column; gap: 12px; width: clamp(230px, 19vw, 300px); }
.hcard { position: relative; display: grid; gap: 6px; align-content: end; text-align: center; padding: 22px 22px 24px; border-radius: 24px; background: rgba(24, 8, 12, .5); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); color: var(--white); }
.hcard b { font-family: var(--f-body); font-size: clamp(16px, 1.4vw, 22px); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.hcard span { font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.45; }
.hcard-info { padding: 16px 18px; }
.hcard-prod { padding-top: 10px; transition: transform .5s var(--ease), background .3s; }
.hcard-prod:hover { transform: translateY(-6px); background: rgba(24, 8, 12, .62); }
.hcard-prod b { font-size: 14px; text-transform: none; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hcard-img { position: relative; display: block; height: clamp(130px, 17vh, 190px); border-radius: 16px; overflow: hidden; margin-bottom: 8px; }
.hero-cta-m { display: none; }
.hcard-go { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--white); color: var(--wine); display: grid; place-items: center; transform: rotate(-45deg); transition: transform .4s var(--ease); }
.hcard-prod:hover .hcard-go { transform: none; }

/* Indicadores verticais à direita */
.hero-dots { position: absolute; z-index: 5; right: clamp(14px, 1.6vw, 26px); top: 50%; transform: translateY(-50%); display: grid; gap: 12px; }
.hero-dots button { width: 14px; height: 54px; display: grid; justify-items: center; }
.hero-dots button::before, .hero-dots button i { content: ''; grid-area: 1 / 1; width: 3px; height: 100%; border-radius: 3px; background: rgba(255,255,255,.35); }
.hero-dots button i { background: var(--white); transform: scaleY(0); transform-origin: top; }

/* Animação de entrada do texto */
.hero-slide.active .reveal { animation: rise 1.1s var(--ease) both; }
.hero-slide.active .hero-copy .reveal:nth-child(2) { animation-delay: .12s; }
.hero-slide.active .hero-cards .reveal:nth-child(1) { animation-delay: .25s; }
.hero-slide.active .hero-cards .reveal:nth-child(2) { animation-delay: .38s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ---------- Categorias ---------- */
.cats { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.cats-track { display: flex; gap: clamp(14px, 2.2vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 18px; scrollbar-width: none; max-width: var(--max); margin: 0 auto; }
.cats-track::-webkit-scrollbar { display: none; }
.cat { flex: none; width: clamp(86px, 9vw, 116px); text-align: center; scroll-snap-align: start; }
.cat-ring { aspect-ratio: 1; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, var(--wine), var(--rose), #e8c4c0, var(--rose), var(--wine)); transition: transform .5s var(--ease); }
.cat-ring span { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 3px solid var(--bg); background: var(--bg-2); }
.cat-ring img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .8s var(--ease); }
.cat:hover .cat-ring { transform: translateY(-4px); }
.cat:hover img { transform: scale(1.12); }
.cat b { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Product card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px) clamp(12px, 1.6vw, 22px); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; }
.card-media { position: relative; aspect-ratio: var(--photo); border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .7s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; align-items: flex-start; }
.tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: var(--surface); color: var(--ink); }
.tag-wine { background: var(--wine); color: var(--white); }
.tag-rose { background: var(--rose-d); color: var(--white); }
.tag-ink { background: var(--ink); color: var(--white); }
.wish { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(251,249,245,.85); backdrop-filter: blur(6px); display: grid; place-items: center; transition: transform .3s var(--ease); }
.wish:hover { transform: scale(1.1); }
.wish.on .icon { fill: var(--rose-d); stroke: var(--rose-d); }
.wish.pop { animation: pop .45s var(--ease); }
@keyframes pop { 50% { transform: scale(1.35); } }
.quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; background: rgba(251,249,245,.92); backdrop-filter: blur(10px); border-radius: 12px; padding: 12px; transform: translateY(calc(100% + 14px)); transition: transform .5s var(--ease); }
.card:hover .quick, .card:focus-within .quick { transform: none; }
.quick small { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; text-align: center; }
.quick-sizes { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.quick-sizes button { min-width: 36px; height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; font-weight: 600; transition: all .2s; }
.quick-sizes button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.quick-view-btn { margin-top: 8px; width: 100%; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; justify-content: center; gap: 6px; }
.card-info { padding: 14px 2px 0; }
.card-info h3 { font-family: var(--f-body); font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: .02em; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.price b { font-size: 15px; font-weight: 700; }
.price s { color: var(--muted); font-size: 13px; }
.price-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.price-sub strong { color: var(--wine); font-weight: 600; }
.swatches { display: flex; gap: 6px; margin-top: 10px; align-items: center; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 0 0 2px var(--bg); }
.swatches small { font-size: 11px; color: var(--muted); margin-left: 4px; }

/* ---------- Carrossel horizontal ---------- */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s; }
.rail-nav button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.rail-progress { height: 2px; background: var(--line); margin-top: 28px; position: relative; overflow: hidden; border-radius: 2px; }
.rail-progress i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); width: 25%; transition: transform .3s; }

/* ---------- Editorial ---------- */
.editorial { position: relative; min-height: 88vh; display: grid; place-items: center; overflow: hidden; color: var(--white); text-align: center; }
.editorial-bg { position: absolute; inset: -10% 0; }

.editorial::before { content: ''; position: absolute; inset: 0; background: rgba(28,26,23,.35); z-index: 1; }
.editorial-inner { position: relative; z-index: 2; padding: 80px var(--gutter); }
.editorial h2 { font-size: clamp(72px, 15vw, 230px); font-weight: 600; letter-spacing: .12em; line-height: .9; text-transform: uppercase; }
.editorial .line2 { font-family: var(--f-body); font-size: clamp(16px, 2.4vw, 30px); letter-spacing: .3em; text-transform: uppercase; font-weight: 300; margin: 18px 0 6px; }
.editorial .line3 { font-family: var(--f-display); font-style: italic; font-size: clamp(54px, 9vw, 130px); font-weight: 400; line-height: 1; }
.editorial .star { font-size: 26px; margin: 22px 0; display: block; }
.editorial .site { font-size: 13px; letter-spacing: .4em; opacity: .85; }

/* ---------- Bento / categorias destaque ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(160px, 18vw, 260px); gap: 18px; }
.bento a { position: relative; border-radius: var(--r-lg); overflow: hidden; color: var(--white); }

.bento a:hover .ph-fg { transform: scale(1.05); }
.bento a::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.55)); }
.bento .b-label { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.bento .b-label h3 { font-size: clamp(28px, 3.4vw, 48px); }
.bento .b-label span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.bento .b-arrow { width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; flex: none; transform: rotate(-45deg); transition: transform .5s var(--ease); }
.bento a:hover .b-arrow { transform: none; }
.b1 { grid-column: span 5; grid-row: span 2; }
.b2 { grid-column: span 4; grid-row: span 1; }
.b3 { grid-column: span 3; grid-row: span 2; }
.b4 { grid-column: span 4; grid-row: span 1; }

/* ---------- Shop the look ---------- */
.looks { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.look-stage { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: var(--photo); max-height: 86vh; margin: 0 auto; width: 100%; background: var(--bg-2); }
.look-stage > img { width: 100%; height: 100%; object-fit: contain; transition: opacity .5s; }
.spot { position: absolute; z-index: 3; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2.2s infinite; font-size: 12px; font-weight: 700; }
.spot:hover, .spot.active { background: var(--ink); color: var(--white); }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.look-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 28px; }
.look-tabs button { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: .06em; transition: all .3s; }
.look-tabs button.active, .look-tabs button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.look-items { display: grid; gap: 14px; }
.look-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--surface); transition: box-shadow .3s, transform .3s var(--ease); }
.look-item:hover, .look-item.active { box-shadow: var(--shadow-sm); transform: translateX(6px); }
.look-item img { width: 84px; height: 124px; object-fit: contain; background: var(--bg-2); border-radius: 10px; }
.look-item h4 { font-family: var(--f-body); font-size: 14px; font-weight: 500; }
.look-item .n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 11px; font-weight: 700; }

/* ---------- Galeria tilt (inspirada na grade inclinada original) ---------- */
.tilt-gallery { overflow: hidden; padding: 40px 0; }
.tilt-rows { transform: rotate(-6deg) scale(1.1); display: grid; gap: 18px; }
.tilt-row { display: flex; gap: 18px; width: max-content; animation: slide 60s linear infinite; }
.tilt-row:nth-child(2) { animation-direction: reverse; animation-duration: 70s; }
.tilt-row img { width: clamp(150px, 15vw, 230px); aspect-ratio: var(--photo); object-fit: contain; border-radius: var(--r-lg); background: var(--bg-2); }
.tilt-gallery:hover .tilt-row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Benefícios ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perk { padding: 30px 24px; display: flex; gap: 16px; align-items: center; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk .icon { width: 30px; height: 30px; color: var(--wine); }
.perk b { display: block; font-size: 13px; letter-spacing: .04em; }
.perk span { font-size: 12px; color: var(--muted); }

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--surface); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.quote p { font-family: var(--f-display); font-size: 24px; line-height: 1.25; margin: 0; flex: 1; }
.stars { color: var(--rose); letter-spacing: 2px; font-size: 14px; }
.quote footer { font-size: 12px; color: var(--muted); }
.quote footer b { color: var(--ink); display: block; font-size: 13px; }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.insta a { position: relative; aspect-ratio: var(--photo); overflow: hidden; background: var(--bg-2); }
.insta img { width: 100%; height: 100%; object-fit: contain; }
.insta a::after { content: ''; position: absolute; inset: 0; background: rgba(28,26,23,.35); opacity: 0; transition: opacity .3s; }
.insta a:hover::after { opacity: 1; }

/* ---------- Newsletter / Footer ---------- */
.newsletter { margin-top: clamp(40px, 6vw, 80px); background: var(--wine-deep); color: var(--bg); border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.newsletter h2 { font-size: clamp(36px, 5vw, 64px); }
.newsletter p { opacity: .8; margin: 12px 0 0; }
.nl-form { display: flex; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px; }
.nl-form input { flex: 1; background: transparent; border: 0; outline: 0; color: var(--white); padding: 0 18px; min-width: 0; }
.nl-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter small { display: block; margin-top: 12px; opacity: .6; font-size: 11px; }
.footer { background: var(--wine-ink); color: rgba(246,236,233,.75); margin-top: clamp(56px, 8vw, 100px); padding-top: clamp(56px, 7vw, 88px); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { font-family: var(--f-body); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--white); }
.footer .logo { color: var(--white); margin-bottom: 18px; }
.footer .logo svg { height: 64px; }
.drawer-head .logo svg, .search-top .logo svg { height: 40px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: all .3s; }
.socials a:hover { background: var(--white); color: var(--ink); }
.payments { display: flex; flex-wrap: wrap; gap: 8px; }
.pay { height: 30px; min-width: 46px; padding: 0 8px; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--white); }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; color: rgba(245,241,234,.5); }
.footer-mega { color: rgba(246,236,233,.07); text-align: center; margin-top: 48px; user-select: none; line-height: 0; }
.footer-mega svg { width: min(900px, 90%); height: auto; }
.footer-mega .logo-accent { fill: rgba(198,121,120,.18); }

/* ---------- Floating ---------- */
.whats { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.whats:hover { transform: scale(1.08); }
.whats .icon { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 75; max-width: 420px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; font-size: 13px; display: flex; gap: 16px; align-items: center; animation: rise .6s var(--ease); }
.cookie p { margin: 0; color: var(--ink-2); }
.toast-wrap { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 10px; pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: 14px 22px; border-radius: 999px; font-size: 13px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); animation: toastIn .5s var(--ease) both; }
.toast.out { animation: toastOut .4s var(--ease) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-20px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-20px); } }

/* ---------- Search overlay ---------- */
.search-ov { position: fixed; inset: 0; z-index: 110; background: rgba(245,241,234,.97); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: all .4s var(--ease); overflow-y: auto; }
.search-ov.open { opacity: 1; visibility: visible; }
.search-ov .container { padding-top: 40px; padding-bottom: 60px; }
.search-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.search-field { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.search-field input { flex: 1; border: 0; background: transparent; outline: 0; font-family: var(--f-display); font-size: clamp(34px, 6vw, 72px); min-width: 0; }
.search-sugs { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 40px; }
.chip { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: all .25s; background: transparent; }
.chip:hover, .chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .x { opacity: .6; }

/* ---------- Modais ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: all .35s var(--ease); }
.modal.open { opacity: 1; visibility: visible; }
.modal-bg { position: absolute; inset: 0; background: rgba(28,26,23,.5); backdrop-filter: blur(4px); }
.modal-box { position: relative; background: var(--surface); border-radius: var(--r-lg); width: min(980px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; transform: translateY(30px) scale(.98); transition: transform .45s var(--ease); }
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--surface); }
.modal-sm .modal-box { width: min(560px, 100%); padding: 36px; }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media { aspect-ratio: var(--photo); background: var(--bg-2); }
.qv-media img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r-lg) 0 0 var(--r-lg); }
.qv-info { padding: 40px; }
table.sizes { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 20px; }
table.sizes th, table.sizes td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
table.sizes th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- Breadcrumb / Page head ---------- */
.crumbs { display: flex; gap: 8px; font-size: 12px; color: var(--muted); padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: '/'; margin-right: 8px; }
.page-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.page-hero h1 { font-size: clamp(48px, 8vw, 112px); font-weight: 300; }
.page-hero h1 em { color: var(--wine); }
.page-hero p { color: var(--ink-2); max-width: 420px; margin: 0; }

/* ---------- Catálogo / filtros ---------- */
.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 44px; align-items: start; }
.filters { position: sticky; top: calc(var(--top-h) + 16px); max-height: calc(100vh - var(--top-h) - 32px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; }
.f-group { border-bottom: 1px solid var(--line); }
.f-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.f-group summary::-webkit-details-marker { display: none; }
.f-group summary .icon { transition: transform .3s; }
.f-group[open] summary .icon { transform: rotate(45deg); }
.f-body { padding-bottom: 20px; display: grid; gap: 10px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 14px; cursor: pointer; }
.check input { appearance: none; width: 18px; height: 18px; border: 1px solid var(--ink-2); border-radius: 5px; display: grid; place-items: center; margin: 0; flex: none; transition: all .2s; cursor: pointer; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ''; width: 9px; height: 5px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); }
.check em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; }
.f-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.f-sizes button, .opt-size { min-width: 46px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 600; transition: all .2s; background: var(--surface); }
.f-sizes button.active, .f-sizes button:hover, .opt-size.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.opt-size.na { opacity: .35; text-decoration: line-through; pointer-events: none; }
.f-colors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.f-colors button { display: grid; gap: 6px; justify-items: center; font-size: 10px; color: var(--ink-2); }
.f-colors i, .opt-color i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 0 0 3px var(--bg); transition: box-shadow .2s; display: block; }
.f-colors button.active i, .opt-color.active i { box-shadow: inset 0 0 0 3px var(--bg), 0 0 0 1.5px var(--ink); }
.range { position: relative; height: 28px; margin-top: 8px; }
.range input { position: absolute; left: 0; right: 0; width: 100%; top: 6px; pointer-events: none; appearance: none; background: none; margin: 0; }
.range input::-webkit-slider-thumb { pointer-events: auto; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--ink); cursor: pointer; }
.range input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--surface); cursor: pointer; }
.range-track { position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--line); }
.range-track i { position: absolute; top: 0; bottom: 0; background: var(--ink); }
.range-vals { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.toggle { display: flex; align-items: center; justify-content: space-between; font-size: 14px; cursor: pointer; gap: 12px; }
.toggle input { appearance: none; width: 40px; height: 22px; border-radius: 99px; background: var(--line); position: relative; transition: background .3s; cursor: pointer; margin: 0; flex: none; }
.toggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); transition: transform .3s var(--ease); }
.toggle input:checked { background: var(--wine); }
.toggle input:checked::after { transform: translateX(18px); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .count { font-size: 13px; color: var(--ink-2); }
.toolbar-r { display: flex; gap: 12px; align-items: center; }
.select { position: relative; }
.select select { appearance: none; height: 42px; padding: 0 40px 0 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; cursor: pointer; }
.select .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 16px; }
.density { display: flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; background: var(--surface); }
.density button { width: 36px; height: 34px; border-radius: 99px; display: grid; place-items: center; color: var(--muted); }
.density button.active { background: var(--ink); color: var(--bg); }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.active-filters:empty { display: none; }
.filter-btn { display: none; }
.quick-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 26px; }
.quick-cats::-webkit-scrollbar { display: none; }
.quick-cats .chip { flex: none; }
.empty { text-align: center; padding: 80px 20px; }
.empty h3 { font-size: 38px; margin-bottom: 10px; }
.empty p { color: var(--ink-2); margin: 0 0 24px; }
.load-more { display: grid; justify-items: center; gap: 14px; margin-top: 56px; font-size: 13px; color: var(--ink-2); }
.load-more .bar { width: 220px; height: 2px; background: var(--line); position: relative; }
.load-more .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); }

/* ---------- PDP ---------- */
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pdp-gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: calc(var(--top-h) + 16px); }
.pdp-thumbs { display: grid; gap: 10px; align-content: start; }
.pdp-thumbs button { aspect-ratio: var(--photo); background: var(--bg-2); border-radius: 10px; overflow: hidden; opacity: .55; transition: opacity .3s; border: 1px solid transparent; }
.pdp-thumbs button.active { opacity: 1; border-color: var(--ink); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-main { position: relative; aspect-ratio: var(--photo); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s; }
.pdp-main.zoom img { transform: scale(2); }
.pdp-main .wish { top: 16px; right: 16px; width: 46px; height: 46px; }
.pdp-dots { display: none; }
.pdp-info h1 { font-size: clamp(36px, 4vw, 56px); font-weight: 400; margin: 10px 0 14px; }
.pdp-rating { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.pdp-price { margin: 22px 0 8px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price b { font-size: 30px; font-weight: 600; }
.pdp-price s { color: var(--muted); }
.pdp-pix { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: rgba(115,1,32,.07); color: var(--wine-deep); font-size: 13px; font-weight: 600; margin-top: 4px; }
.opt { margin-top: 28px; }
.opt-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.opt-head span { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-2); font-size: 13px; }
.opt-head button { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; letter-spacing: 0; text-transform: none; font-weight: 500; }
.opt-row { display: flex; gap: 10px; flex-wrap: wrap; }
.opt-color { padding: 3px; border-radius: 50%; }
.opt-color i { width: 36px; height: 36px; }
.buy-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; margin-top: 30px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; height: 52px; background: var(--surface); }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; }
.qty input { width: 34px; text-align: center; border: 0; background: transparent; font-weight: 700; outline: 0; -moz-appearance: textfield; }
.qty-sm { height: 36px; }
.qty-sm button { width: 32px; }
.buy-row .icon-btn { width: 52px; height: 52px; border: 1px solid var(--line); }
.buy-row .icon-btn.on .icon { fill: var(--rose-d); stroke: var(--rose-d); }
.stock-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--rose-d); margin-top: 14px; }
.stock-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--rose-d); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.ship-calc { margin-top: 26px; padding: 20px; border-radius: var(--r); background: var(--surface); }
.ship-calc label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.inline-form { display: flex; gap: 8px; }
.input { height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; background: var(--white); outline: 0; transition: border-color .2s; width: 100%; min-width: 0; }
.input:focus { border-color: var(--ink); }
textarea.input { height: auto; padding: 14px 16px; resize: vertical; }
.ship-opts { display: grid; gap: 8px; margin-top: 14px; }
.ship-opt { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 12px 14px; border-radius: 10px; background: var(--bg); }
.ship-opt b { white-space: nowrap; }
.acc { border-top: 1px solid var(--line); margin-top: 30px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { transition: transform .3s; }
.acc details[open] summary .icon { transform: rotate(45deg); }
.acc .acc-body { padding-bottom: 20px; color: var(--ink-2); font-size: 14px; }
.pdp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.pdp-trust div { display: grid; gap: 6px; justify-items: center; text-align: center; font-size: 11px; color: var(--ink-2); padding: 14px 8px; border-radius: var(--r); border: 1px solid var(--line); }
.pdp-trust .icon { color: var(--wine); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: rgba(251,249,245,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 12px var(--gutter); display: flex; align-items: center; gap: 16px; transform: translateY(100%); transition: transform .45s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy img { width: 44px; height: 65px; object-fit: contain; background: var(--bg-2); border-radius: 8px; }
.sticky-buy .sb-info { flex: 1; min-width: 0; }
.sticky-buy .sb-info b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .sb-info span { font-size: 13px; color: var(--ink-2); }

/* ---------- Carrinho ---------- */
.line { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line img { width: 92px; height: 136px; object-fit: contain; border-radius: 10px; background: var(--bg-2); }
.line h4 { font-family: var(--f-body); font-size: 14px; font-weight: 500; line-height: 1.35; }
.line .meta { font-size: 12px; color: var(--muted); margin: 4px 0 10px; }
.line-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.line-rm { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.free-bar { padding: 14px 16px; border-radius: var(--r); background: var(--bg); font-size: 13px; margin-bottom: 8px; }
.free-bar .bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 10px; overflow: hidden; }
.free-bar .bar i { display: block; height: 100%; background: var(--wine); border-radius: 4px; transition: width .6s var(--ease); }
.sum { display: grid; gap: 10px; font-size: 14px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .total { font-size: 18px; font-weight: 700; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px; }
.sum .green { color: var(--ok); }
.cart-page { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.panel { background: var(--surface); border-radius: var(--r-lg); padding: 28px; }
.panel h3 { font-size: 30px; margin-bottom: 20px; }
.sticky-panel { position: sticky; top: calc(var(--top-h) + 16px); }

/* ---------- Checkout ---------- */
.steps { display: flex; gap: 8px; margin-bottom: 32px; }
.steps div { flex: 1; display: grid; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.steps div::before { content: ''; height: 3px; border-radius: 3px; background: var(--line); }
.steps div.done, .steps div.on { color: var(--ink); }
.steps div.done::before, .steps div.on::before { background: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; grid-column: span 6; }
.field.s3 { grid-column: span 3; }
.field.s2 { grid-column: span 2; }
.field.s4 { grid-column: span 4; }
.field label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: all .2s; background: var(--white); }
.pay-opt:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pay-opt input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.pay-opt b { display: block; font-size: 14px; }
.pay-opt span { font-size: 12px; color: var(--muted); }
.pay-opt .tag { margin-left: auto; }
.pix-box { display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: center; padding: 22px; border-radius: var(--r); background: var(--bg); margin-top: 16px; }
.qr { width: 160px; height: 160px; background: var(--white); border-radius: 12px; padding: 10px; }
.success { text-align: center; max-width: 620px; margin: 0 auto; padding: 40px 0 20px; }
.success .check-big { width: 92px; height: 92px; border-radius: 50%; background: var(--wine); color: var(--white); display: grid; place-items: center; margin: 0 auto 28px; animation: pop .7s var(--ease); }
.success .check-big .icon { width: 44px; height: 44px; stroke-width: 2; }
.success h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 300; }

/* ---------- Conta ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.auth-media { position: relative; }

.auth-media h2 { position: absolute; z-index: 2; left: 36px; bottom: 36px; right: 36px; color: var(--white); font-size: clamp(40px, 4vw, 60px); text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.auth-form { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button { padding: 12px 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); position: relative; }
.tabs button.active { color: var(--ink); }
.tabs button.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.account { display: grid; grid-template-columns: 260px 1fr; gap: 44px; }
.account-nav { display: grid; gap: 4px; align-content: start; }
.account-nav button { text-align: left; padding: 14px 18px; border-radius: 12px; font-size: 14px; display: flex; align-items: center; gap: 12px; }
.account-nav button.active { background: var(--surface); font-weight: 600; }
.order { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 22px; border-radius: var(--r); background: var(--surface); margin-bottom: 12px; align-items: center; }
.order-imgs { display: flex; gap: 6px; margin-top: 12px; }
.order-imgs img { width: 48px; height: 71px; object-fit: contain; background: var(--bg-2); border-radius: 6px; }
.status { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: rgba(115,1,32,.08); color: var(--wine-deep); }
.status.transit { background: rgba(198,121,120,.2); color: #8a3f3f; }
.tracker { display: flex; margin-top: 16px; grid-column: 1 / -1; }
.tracker div { flex: 1; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: grid; gap: 8px; }
.tracker div::before { content: ''; height: 3px; background: var(--line); }
.tracker div.on { color: var(--ink); }
.tracker div.on::before { background: var(--wine); }

/* ---------- Institucional ---------- */
.inst { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 6vw, 96px); align-items: start; padding-bottom: 40px; }
.inst-nav { position: sticky; top: calc(var(--top-h) + 16px); display: grid; gap: 2px; }
.inst-nav a { padding: 12px 16px; border-radius: 10px; font-size: 14px; color: var(--ink-2); transition: all .2s; }
.inst-nav a:hover { background: var(--surface); color: var(--ink); }
.inst-nav a.active { background: var(--ink); color: var(--bg); }
.prose { max-width: 720px; font-size: 16px; color: var(--ink-2); }
.prose .lead { font-family: var(--f-display); font-size: clamp(26px, 3vw, 36px); line-height: 1.25; color: var(--ink); margin-top: 0; }
.prose h3 { font-size: 30px; color: var(--ink); margin: 40px 0 12px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.steps-list { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 60px 1fr; gap: 4px 18px; padding: 24px; border-radius: var(--r); background: var(--surface); }
.steps-list li::before { content: '0' counter(s); grid-row: span 2; font-family: var(--f-display); font-size: 44px; line-height: 1; color: var(--wine); }
.steps-list strong { color: var(--ink); font-size: 17px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r); background: var(--surface); transition: transform .3s var(--ease); }
.contact-card:hover { transform: translateX(6px); }
.contact-card .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; flex: none; color: var(--wine); }
.contact-card small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card b { font-weight: 600; font-size: 14px; word-break: break-word; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 0; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0 0 18px; color: var(--ink-2); }

/* ---------- Admin (painel de banners) ---------- */
.admin-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 72; background: var(--ink); color: var(--bg); padding: 8px 8px 8px 18px; border-radius: 99px; display: flex; gap: 12px; align-items: center; font-size: 12px; box-shadow: var(--shadow); }
.admin-bar a { background: var(--bg); color: var(--ink); padding: 8px 14px; border-radius: 99px; font-weight: 600; }
.slides-admin { display: grid; gap: 16px; }
.slide-row { display: grid; grid-template-columns: 200px 1fr auto; gap: 22px; padding: 18px; border-radius: var(--r); background: var(--surface); align-items: start; }
.slide-thumb { aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--bg-2); position: relative; }
.slide-thumb img, .slide-thumb video { width: 100%; height: 100%; object-fit: cover; }
.slide-thumb .tag { position: absolute; top: 8px; left: 8px; }
.slide-actions { display: grid; gap: 6px; }
.slide-actions button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; }
.slide-actions button:hover { background: var(--ink); color: var(--bg); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; background: var(--white); }
.seg button { padding: 6px 14px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.seg button.active { background: var(--ink); color: var(--bg); }

/* ---------- Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .nav { gap: 24px; font-size: 11px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .hero-cards .hcard-info { display: none; }
  .hero-copy { max-width: 62%; }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 8px; }
  .menu-toggle { display: inline-grid; }
  .header-right .hide-m { display: none; }
  .header-brand { gap: 6px; }
  .logo svg { height: 38px; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; width: min(380px, 92%); max-height: none; background: var(--surface); z-index: 100; padding: 0; transform: translateX(-100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; }
  .filters.open { transform: none; }
  .filters .f-inner { padding: 0 24px; overflow-y: auto; flex: 1; }
  .filters .f-mhead, .filters .f-mfoot { display: flex !important; }
  .filter-btn { display: inline-flex; }
  .pdp, .looks, .cart-page, .contact-grid, .newsletter, .auth, .account, .inst { grid-template-columns: 1fr; }
  .pdp-gallery { position: relative; top: 0; grid-template-columns: 1fr; }
  .pdp-thumbs { display: none; }
  .pdp-dots { display: flex; justify-content: center; gap: 6px; position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3; }
  .pdp-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
  .pdp-dots i.on { background: var(--white); width: 18px; border-radius: 3px; }
  .auth-media { display: none; }
  .account-nav { grid-auto-flow: column; overflow-x: auto; }
  .account-nav button { white-space: nowrap; }
  .inst-nav { position: relative; top: 0; grid-auto-flow: column; overflow-x: auto; scrollbar-width: none; }
  .inst-nav a { white-space: nowrap; }
  .perks { grid-template-columns: 1fr 1fr; }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .quotes { grid-template-columns: 1fr; }
  .insta { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .b1, .b2, .b3, .b4 { grid-column: span 1; grid-row: span 1; }
  .b1 { grid-column: span 2; grid-row: span 2; }
  .qv { grid-template-columns: 1fr; }
  .qv-media img { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .sticky-panel { position: relative; top: 0; }
  .slide-row { grid-template-columns: 1fr; }
  .slide-actions { grid-auto-flow: column; justify-content: start; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .grid, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; }
  .rail { grid-auto-columns: 70%; gap: 12px; }
  .section-head { flex-direction: column; align-items: start; }
  .quick { display: none; }
  .card-media { border-radius: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid .field.s3, .form-grid .field.s2, .form-grid .field.s4 { grid-column: span 6; }
  .pix-box { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-direction: column; align-items: stretch; }
  .whats { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .buy-row { grid-template-columns: auto 1fr; }
  .buy-row .icon-btn { display: none; }
  .admin-bar { display: none; }
  .perk { padding: 20px 12px; flex-direction: column; text-align: center; gap: 8px; }
  .toolbar .density { display: none; }
  .modal-sm .modal-box { padding: 28px 22px; }
  .qv-info { padding: 26px 22px; }
}
@media (max-width: 720px) {
  .hero { padding: 8px 8px 0; }
  .hero-frame { border-radius: 22px; min-height: 560px; height: calc(100svh - var(--top-h) - 8px); }
  .hero-copy { left: 20px; right: 20px; bottom: 124px; max-width: none; }
  .hero-copy p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
  .hero-cta { display: none; }
  .hero-cta-m { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 4px; }
  .hero-headline { gap: 14px; flex-wrap: nowrap; }
  .hero-headline h1 span { font-size: clamp(32px, 10vw, 46px); }
  .hero-headline h1 em { font-size: clamp(34px, 10.5vw, 50px); }
  .hero-cta { width: 70px; margin-bottom: .2em; }
  .hero-cards { left: 20px; right: 84px; bottom: 20px; width: auto; }
  .hcard-prod { width: 100%; grid-template-columns: 64px 1fr; text-align: left; align-items: center; padding: 10px 44px 10px 10px; gap: 2px 12px; border-radius: 18px; }
  .hcard-prod .hcard-img { grid-row: span 2; height: 82px; margin: 0; border-radius: 12px; }
  .hcard-prod b { font-size: 13px; -webkit-line-clamp: 1; }
  .hcard-prod span { font-size: 12px; }
  .hcard-go { top: 50%; right: 12px; margin-top: -16px; }
  .hero-dots { top: 16px; bottom: auto; transform: none; right: 12px; gap: 6px; }
  .hero-dots button { height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
