/* Vênus Piercing — site público. Mobile first. Cores vêm do painel via variáveis (:root). */
@font-face { font-family: 'Cormorant'; src: url(/assets/fonts/cormorant-600.woff2) format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(/assets/fonts/cormorant-italic.woff2) format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(/assets/fonts/jost.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --primary: #3d2c4e; --accent: #c9b6e4; --gold: #a8814c; --bg: #fbf8f6;
  --ink: var(--primary);
  --muted: color-mix(in srgb, var(--primary) 78%, var(--bg));
  --gold-ink: color-mix(in srgb, var(--gold) 62%, #000);
  --line: color-mix(in srgb, var(--primary) 14%, transparent);
  --soft: color-mix(in srgb, var(--accent) 22%, var(--bg));
  --soft-2: color-mix(in srgb, var(--accent) 40%, var(--bg));
  --card: #fff;
  --r: 22px;
  --shadow: 0 18px 50px -24px color-mix(in srgb, var(--primary) 45%, transparent);
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 7vw, 3.4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.small { font-size: .875rem; color: var(--muted); }
.center { text-align: center; }
.star { width: .8em; height: .8em; fill: currentColor; flex: none; }
svg { fill: currentColor; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .8em 1.5em; border-radius: 999px; border: 1.5px solid var(--primary); background: var(--primary); color: #fff; font-weight: 500; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn svg { width: 1.25em; height: 1.25em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--soft); }
.btn-sm { min-height: 44px; padding: .5em 1.1em; }
.btn-block { width: 100%; }

/* Marca */
.wordmark { display: inline-flex; flex-direction: column; line-height: .9; font-family: var(--serif); }
.wm-a { font-weight: 600; text-transform: uppercase; letter-spacing: .22em; font-size: 1.35rem; }
.wm-b { font-style: italic; font-weight: 500; font-size: 1.05rem; letter-spacing: .04em; color: var(--gold-ink); margin-left: .9em; }
.logo-img { max-height: 48px; width: auto; }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { text-decoration: none; padding: 6px 0; }
.menu-btn { display: inline-grid; place-content: center; gap: 5px; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; padding: 10px 20px 22px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.menu.open { display: flex; }
.menu a:not(.btn) { padding: 14px 4px; text-decoration: none; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 14px; }
@media (min-width: 1000px) {
  .menu-btn { display: none; }
  .menu { position: static; display: flex; flex-direction: row; align-items: center; gap: 4px; padding: 0; background: none; border: 0; box-shadow: none; }
  .menu a:not(.btn) { border: 0; padding: 8px 12px; font-size: .98rem; border-radius: 999px; }
  .menu a:not(.btn):hover { background: var(--soft); }
  .menu .btn { margin: 0 0 0 10px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 34px 0 0; background:
  radial-gradient(60% 50% at 85% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%),
  radial-gradient(50% 40% at 0% 90%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%); }
.hero-in { display: grid; gap: 34px; align-items: center; padding-bottom: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: .55em; font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; color: var(--gold-ink); margin-bottom: 1rem; }
.hero-title { font-size: clamp(2.9rem, 12vw, 5.4rem); margin-bottom: .2em; }
.hero-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 4.4vw, 1.75rem); color: var(--gold-ink); margin-bottom: .8em; }
.hero-sub { color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-cta .btn { flex: 1 1 210px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .45em; }
.hero-facts svg { width: 1.15em; height: 1.15em; color: var(--gold-ink); }
.hero-art { position: relative; margin: 0 auto; width: min(86vw, 460px); }
.hero-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 26px 26px; box-shadow: var(--shadow); border: 8px solid #fff; }
.hero-ring { position: absolute; inset: -16px -16px auto auto; width: 120px; height: 120px; border-radius: 50%; border: 1.5px solid var(--gold); opacity: .7; pointer-events: none; }
.hero-ring::after { content: ''; position: absolute; inset: 14px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--gold) 70%, transparent); }
@media (min-width: 860px) {
  .hero { padding-top: 70px; }
  .hero-in { grid-template-columns: 1.1fr .9fr; gap: 60px; padding-bottom: 70px; }
  .hero-cta .btn { flex: 0 0 auto; }
}
.ribbon { border-block: 1px solid var(--line); background: var(--primary); color: #fff; overflow: hidden; }
.ribbon-track { display: flex; width: max-content; padding: 14px 0; animation: ribbon 38s linear infinite; font-family: var(--serif); font-size: 1.25rem; font-style: italic; }
.ribbon-set { display: flex; gap: 42px; margin: 0; padding: 0 42px 0 0; list-style: none; }
.ribbon-set li { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.ribbon-track .star { color: var(--accent); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* Seções */
.section { padding: 76px 0; }
.sec-head { max-width: 640px; margin-bottom: 30px; }
.lead { color: var(--muted); font-size: 1.08rem; }

/* Catálogo */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin: 0 -20px 14px; padding-inline: 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .95rem; }
.chip[aria-pressed='true'] { background: var(--primary); color: #fff; border-color: var(--primary); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card[hidden] { display: none; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--primary); background:
  radial-gradient(80% 60% at 50% 30%, color-mix(in srgb, var(--accent) 60%, transparent), transparent), var(--soft); font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
.card-ph .star { width: 42px; height: 42px; color: var(--gold); }
.badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--gold-ink); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; font-weight: 500; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.card-cat { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .35rem; }
.card h3 { margin-bottom: .35em; }
.card-desc { color: var(--muted); font-size: .98rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .92rem; color: var(--muted); }
.card-meta span { display: inline-flex; align-items: center; gap: .35em; }
.card-meta svg { width: 1em; height: 1em; }
.card-meta .price { color: var(--ink); font-weight: 500; }
.btn-add { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--primary); background: transparent; color: var(--primary); cursor: pointer; font-weight: 500; transition: background .2s, color .2s; }
.btn-add svg { width: 1.2em; height: 1.2em; }
.btn-add .ico-on { display: none; }
.btn-add[aria-pressed='true'] { background: var(--primary); color: #fff; }
.btn-add[aria-pressed='true'] .ico-on { display: inline-flex; }
.btn-add[aria-pressed='true'] .ico-off { display: none; }
.catalog#joias { background: var(--soft); }
@media (max-width: 559px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { border-radius: 18px; }
  .card-body { padding: 12px 12px 14px; }
  .card h3 { font-size: 1.2rem; }
  .card-cat { font-size: .66rem; letter-spacing: .12em; }
  .card-desc { font-size: .86rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .card-meta { font-size: .82rem; gap: 8px; }
  .btn-add { min-height: 44px; font-size: .9rem; }
  .badge { top: 8px; left: 8px; font-size: .62rem; padding: 4px 8px; }
  .card-ph { font-size: 1.15rem; }
  .card-ph .star { width: 30px; height: 30px; }
}
.catalog#joias .card { border-color: transparent; }

/* Galeria */
.gal-grid { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gal-item { display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--soft); aspect-ratio: 4 / 5; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal-item:hover img { transform: scale(1.05); }
@media (min-width: 700px) { .gal-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1000px) { .gal-grid { grid-template-columns: repeat(4, 1fr); } }

/* Sobre */
.about { background: var(--primary); color: #fff; }
.about .eyebrow { color: var(--accent); }
.about-in { display: grid; gap: 36px; align-items: center; }
.about-art { margin: 0; }
.about-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px 26px 999px 999px; border: 1px solid color-mix(in srgb, #fff 30%, transparent); }
.about-copy p { color: color-mix(in srgb, #fff 86%, var(--primary)); }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.pills li { border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
@media (min-width: 860px) { .about-in { grid-template-columns: .85fr 1.15fr; gap: 70px; } }

/* Cuidados */
.care-grid { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.care-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.care-n { display: inline-block; font-family: var(--serif); font-size: 2rem; font-style: italic; color: var(--gold-ink); margin-bottom: 4px; }
.care-grid p { color: var(--muted); margin: 0; }
.care-note { background: var(--soft); border-left: 3px solid var(--gold); padding: 16px 20px; border-radius: 0 14px 14px 0; color: var(--ink); }

/* FAQ */
.faq { background: linear-gradient(var(--bg), var(--soft)); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; min-height: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-family: var(--sans); font-weight: 300; font-size: 1.8rem; line-height: 1; color: var(--gold-ink); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
.faq-a { color: var(--muted); padding: 0 2px 14px; }

/* Contato */
.contact-in { display: grid; gap: 30px; align-items: center; }
.contact-line { display: flex; gap: .7em; align-items: flex-start; color: var(--ink); }
.contact-line svg { width: 1.3em; height: 1.3em; color: var(--gold-ink); flex: none; margin-top: .2em; }
.hours { border-collapse: collapse; margin: 6px 0 18px; min-width: 260px; }
.hours th, .hours td { text-align: left; padding: 8px 18px 8px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 500; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact-cta .btn { flex: 1 1 200px; }
.map { position: relative; min-height: 340px; border-radius: 30px; overflow: hidden; background:
  radial-gradient(70% 60% at 50% 30%, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent)); box-shadow: inset 0 0 0 10px color-mix(in srgb, #fff 45%, transparent); }
.map-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 12px; padding: 30px; }
.map-cover .wm-a { font-size: 2.4rem; }
.map-cover .wm-b { font-size: 1.7rem; }
.map-cover p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin: 0; max-width: 22em; }
.map-cover a { color: var(--primary); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.loaded .map-cover { display: none; }
@media (min-width: 860px) { .contact-in { grid-template-columns: 1.2fr .8fr; gap: 60px; } }

/* Rodapé */
.footer { background: color-mix(in srgb, var(--primary) 94%, #000); color: color-mix(in srgb, #fff 82%, var(--primary)); padding: 48px 0 calc(110px + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer a { color: #fff; }
.footer .wm-b { color: var(--accent); }
.footer .small { color: color-mix(in srgb, #fff 70%, var(--primary)); }
.footer-in { display: grid; gap: 28px; }
.footer-brand { margin-bottom: 14px; }
.credit { border-top: 1px solid color-mix(in srgb, #fff 18%, transparent); padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; font-size: .88rem; }
.credit p { margin: 0; }
.credit-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, #fff 40%, transparent); text-decoration: none; font-size: .85rem; letter-spacing: .03em; transition: background .2s; }
.credit-btn:hover { background: color-mix(in srgb, #fff 12%, transparent); }
@media (min-width: 860px) { .footer-in { grid-template-columns: 1fr auto; align-items: end; } .credit { border: 0; padding: 0; justify-content: flex-end; } .footer { padding-bottom: 48px; } }

/* Barra de agendamento + botão flutuante */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, color-mix(in srgb, var(--bg) 90%, transparent) 30%); }
.cartbar[hidden] { display: none; }
.cartbar-btn { width: min(560px, 100%); margin: 0 auto; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 10px 8px 12px; border: 0; border-radius: 999px; background: var(--primary); color: #fff; box-shadow: var(--shadow); cursor: pointer; text-align: left; }
.cart-count { display: grid; place-items: center; min-width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--primary); font-weight: 600; }
.cartbar-go { margin-left: auto; display: inline-flex; align-items: center; gap: .4em; background: #fff; color: var(--primary); border-radius: 999px; padding: 8px 14px; font-weight: 500; }
.cartbar-go svg { width: 1.2em; height: 1.2em; }
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: #1f8f4e; color: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); }
.fab svg { width: 30px; height: 30px; }
.fab[hidden] { display: none; }

/* Diálogos */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: color-mix(in srgb, var(--primary) 55%, transparent); backdrop-filter: blur(3px); }
.sheet { width: min(560px, 100%); max-width: 100%; max-height: 92dvh; margin: auto auto 0; border-radius: 26px 26px 0 0; background: var(--bg); }
@media (min-width: 700px) { .sheet { margin: auto; border-radius: 26px; } }
.sheet-in { display: flex; flex-direction: column; max-height: 92dvh; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 8px; }
.sheet-head h2 { font-size: 1.8rem; margin: 0; }
.x { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--primary); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.sheet-body { overflow-y: auto; padding: 8px 20px; }
.sheet-lbl { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .5rem; }
.cart-list { list-style: none; padding: 0; margin: 0 0 12px; }
.cart-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-list button { min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--muted); cursor: pointer; text-decoration: underline; }
.cart-empty { color: var(--muted); font-size: .95rem; }
.cart-empty[hidden] { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: .92rem; font-weight: 500; }
.field input, .field select { width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 400; color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 60%, transparent); }
.field-err { color: #a3222f; min-height: 1.2em; font-size: .92rem; margin: 0; }
.sheet-foot { padding: 12px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot .small { text-align: center; margin: 10px 0 0; }
.lightbox { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; background: rgba(15, 9, 20, .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 70px 12px 30px; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 78dvh; width: auto; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { font-family: var(--serif); font-style: italic; font-size: 1.25rem; text-align: center; }
.lightbox .x { position: fixed; top: 14px; right: 14px; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .35); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  /* faixa parada: mostra os destaques uma vez, quebrando linha, sem a cópia */
  .ribbon-track { width: auto; justify-content: center; }
  .ribbon-set { flex-wrap: wrap; justify-content: center; row-gap: 6px; padding: 0 20px; }
  .ribbon-set[aria-hidden='true'] { display: none; }
}
