:root {
  --rosa: #E0338A;
  --rosa-esc: #B81F6C;
  --rosa-claro: #FBE3EF;
  --rosa-bg: #FFF7FA;
  --ouro: #C9964F;
  --ouro-claro: #EBC98A;
  --ouro-grad: linear-gradient(135deg, #F3D79E 0%, #D4A45C 45%, #B8823F 100%);
  --texto: #3B1730;
  --muted: #8A6A7E;
  --linha: #F0D5E2;
  --branco: #fff;
  --raio: 18px;
  --sombra: 0 12px 30px -12px rgba(184, 31, 108, .25);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--texto); background: var(--rosa-bg); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.muted { color: var(--muted); }
.pequeno { font-size: 13px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }

.sobretitulo { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--ouro); font-weight: 500; margin: 0 0 10px; }

/* Aviso */
.aviso { background: var(--rosa); color: #fff; font-size: 13px; text-align: center; padding: 8px 16px; letter-spacing: .03em; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.aviso .sep { opacity: .6; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(255, 247, 250, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); }
.topo-in { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 24px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marca img { border-radius: 50%; box-shadow: 0 0 0 2px var(--ouro-claro); }
.marca-txt { display: flex; flex-direction: column; line-height: 1.1; }
.marca-txt b { font-family: var(--serif); font-size: 22px; color: var(--rosa-esc); font-weight: 700; }
.marca-txt small { font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: var(--ouro); }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { text-decoration: none; font-size: 14px; letter-spacing: .06em; color: var(--texto); position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ouro); transform: scaleX(0); transition: transform .25s; }
.menu a:hover::after { transform: scaleX(1); }
.acoes { display: flex; align-items: center; gap: 12px; }
.busca { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--linha); border-radius: 999px; padding: 8px 14px; }
.busca svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; }
.busca input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; width: 150px; color: var(--texto); }
.btn-sacola { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linha); background: #fff; display: grid; place-items: center; }
.btn-sacola svg { width: 20px; height: 20px; stroke: var(--rosa-esc); fill: none; stroke-width: 1.8; }
.contador { position: absolute; top: -4px; right: -4px; background: var(--rosa); color: #fff; font-size: 11px; font-weight: 600; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; border: 2px solid var(--rosa-bg); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 26px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; text-decoration: none; border: 0; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:active { transform: translateY(1px); }
.btn-rosa { background: var(--rosa); color: #fff; box-shadow: 0 10px 24px -10px rgba(224, 51, 138, .7); }
.btn-rosa:hover { background: var(--rosa-esc); }
.btn-rosa:disabled { background: #d9b8c9; box-shadow: none; cursor: not-allowed; }
.btn-linha { background: transparent; color: var(--rosa-esc); border: 1px solid var(--rosa); }
.btn-linha:hover { background: var(--rosa-claro); }
.btn-bloco { width: 100%; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 20%, #FCD9EA 0%, transparent 60%), linear-gradient(180deg, #FFF7FA, #FFEFF6); overflow: hidden; }
.hero-in { max-width: 1200px; margin: 0 auto; padding: 72px 20px 80px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); color: var(--rosa-esc); font-weight: 600; }
.hero-txt > p:not(.sobretitulo) { font-size: 18px; color: var(--muted); max-width: 480px; margin: 18px 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-arte { position: relative; display: grid; place-items: center; min-height: 380px; }
.arco { width: min(360px, 80vw); aspect-ratio: 3/4; border-radius: 200px 200px 24px 24px; background: linear-gradient(160deg, #E0338A 0%, #C2216F 100%); display: grid; place-items: center; position: relative; box-shadow: var(--sombra); }
.arco::before { content: ""; position: absolute; inset: 12px; border-radius: 190px 190px 16px 16px; border: 1.5px solid rgba(243, 215, 158, .75); }
.borboleta { width: 58%; color: var(--ouro-claro); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .15)); }
.selo { position: absolute; left: 4%; bottom: 8%; width: 120px; height: 120px; border-radius: 50%; background: var(--ouro-grad); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: var(--sombra); transform: rotate(-8deg); }
.selo b { font-family: var(--serif); font-size: 24px; }
.selo span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; }

/* Coleção */
.colecao { max-width: 1200px; margin: 0 auto; padding: 72px 20px; }
.sec-cab { text-align: center; margin-bottom: 28px; }
.sec-cab h2 { font-size: clamp(32px, 4vw, 46px); color: var(--texto); }
.chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.chip { border: 1px solid var(--linha); background: #fff; color: var(--texto); padding: 9px 20px; border-radius: 999px; font-size: 14px; transition: all .2s; }
.chip:hover { border-color: var(--rosa); }
.chip[aria-selected="true"] { background: var(--rosa); border-color: var(--rosa); color: #fff; }
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 22px; }
.card { background: transparent; border: 0; padding: 0; text-align: left; color: inherit; display: flex; flex-direction: column; gap: 12px; }
.card-foto { position: relative; aspect-ratio: 3/4; border-radius: var(--raio); overflow: hidden; background: var(--rosa-claro); }
.card-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-foto img, .card:hover .placeholder svg { transform: scale(1.05); }
.card:focus-visible { outline: 2px solid var(--rosa); outline-offset: 4px; border-radius: var(--raio); }
.selos { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--rosa-esc); font-weight: 500; }
.tag-ouro { background: var(--ouro-grad); color: #fff; }
.tag-esgotado { background: #3B1730; color: #fff; }
.card.esgotado .card-foto { opacity: .6; }
.card-nome { font-size: 16px; font-weight: 400; }
.card-tam { font-size: 12px; color: var(--muted); letter-spacing: .05em; }
.preco { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.preco .atual { font-weight: 600; color: var(--rosa-esc); font-size: 17px; }
.preco .de { text-decoration: line-through; color: var(--muted); font-size: 14px; }
.preco .parc { width: 100%; font-size: 12px; color: var(--muted); }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, #F9D3E5, #F3B9D4); color: var(--ouro); }
.placeholder svg { width: 45%; transition: transform .5s; color: #fff; opacity: .9; }
.placeholder span { position: absolute; bottom: 16px; font-family: var(--serif); font-size: 20px; color: #fff; text-shadow: 0 1px 8px rgba(184, 31, 108, .4); }
.esqueleto .card-foto { animation: pulsa 1.4s infinite; }
.esqueleto .linha-esq { height: 14px; border-radius: 7px; background: var(--rosa-claro); animation: pulsa 1.4s infinite; }
@keyframes pulsa { 50% { opacity: .5; } }
.vazio { text-align: center; color: var(--muted); padding: 40px; }

/* Sobre */
.sobre { background: #fff; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.sobre-in { max-width: 1000px; margin: 0 auto; padding: 72px 20px; display: grid; grid-template-columns: 180px 1fr; gap: 48px; align-items: center; }
.sobre-in img { border-radius: 50%; box-shadow: var(--sombra); }
.sobre h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.sobre p { color: var(--muted); }
.vantagens { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vantagens li { border-left: 2px solid var(--ouro-claro); padding-left: 14px; display: flex; flex-direction: column; }
.vantagens b { font-weight: 500; }
.vantagens span { font-size: 13px; color: var(--muted); }

/* Rodapé */
.rodape { background: #2A0F22; color: #F6E4EE; }
.rodape-in { max-width: 1200px; margin: 0 auto; padding: 56px 20px 28px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.rodape img { border-radius: 50%; margin-bottom: 10px; }
.rodape-marca { font-family: var(--serif); font-size: 24px; margin: 0; }
.rodape h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ouro-claro); font-weight: 500; margin-bottom: 12px; }
.rodape p { margin: 0 0 6px; }
.rodape .muted { color: #C9A3B8; }
.rodape a { color: #F6E4EE; }
.copy { text-align: center; font-size: 12px; color: #A98599; border-top: 1px solid #44203A; padding: 18px; margin: 0; }

.whats-flutuante { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .35); z-index: 30; }
.whats-flutuante svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.6; }

/* Modal */
dialog { border: 0; padding: 0; color: var(--texto); }
dialog::backdrop { background: rgba(42, 15, 34, .55); backdrop-filter: blur(3px); }
.modal { width: min(960px, 94vw); border-radius: 24px; background: #fff; }
.fechar { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--rosa-bg); font-size: 24px; line-height: 1; color: var(--texto); z-index: 2; }
.mp { display: grid; grid-template-columns: 1fr 1fr; }
.mp-galeria { padding: 20px; }
.mp-foto { aspect-ratio: 3/4; border-radius: var(--raio); overflow: hidden; background: var(--rosa-claro); position: relative; }
.mp-foto img { width: 100%; height: 100%; object-fit: cover; }
.mp-miniaturas { display: flex; gap: 8px; margin-top: 10px; }
.mp-miniaturas button { width: 60px; height: 76px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; }
.mp-miniaturas button[aria-current="true"] { border-color: var(--rosa); }
.mp-miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.mp-info { padding: 44px 32px 32px 12px; display: flex; flex-direction: column; }
.mp-info h2 { font-size: 36px; margin-bottom: 10px; }
.mp-info .preco .atual { font-size: 24px; }
.mp-desc { color: var(--muted); margin: 16px 0 6px; }
.rotulo { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 16px 0 8px; font-weight: 500; }
.opcoes { display: flex; gap: 8px; flex-wrap: wrap; }
.opcao { min-width: 48px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--linha); background: #fff; font-size: 14px; }
.opcao:hover:not(:disabled) { border-color: var(--rosa); }
.opcao[aria-pressed="true"] { background: var(--texto); color: #fff; border-color: var(--texto); }
.opcao:disabled { color: #c9b3bf; text-decoration: line-through; cursor: not-allowed; }
.aviso-estoque { min-height: 22px; font-size: 13px; color: var(--rosa-esc); margin: 12px 0 0; }
.mp-botoes { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 20px; }

/* Gaveta (sacola) */
.gaveta { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(420px, 100vw); background: #fff; display: none; flex-direction: column; }
.gaveta[open] { display: flex; }
.gaveta-cab { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 14px; border-bottom: 1px solid var(--linha); position: relative; }
.gaveta-cab h2 { font-size: 28px; }
.gaveta-cab .fechar { position: static; }
.gaveta-itens { flex: 1; overflow: auto; padding: 8px 22px; }
.item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linha); }
.item-foto { width: 64px; height: 82px; border-radius: 10px; overflow: hidden; background: var(--rosa-claro); position: relative; }
.item-foto img { width: 100%; height: 100%; object-fit: cover; }
.item-foto .placeholder span { display: none; }
.item b { font-weight: 500; font-size: 15px; display: block; }
.item small { color: var(--muted); }
.qtd { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.qtd button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--linha); background: #fff; line-height: 1; }
.remover { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; }
.gaveta-rodape { padding: 18px 22px 24px; border-top: 1px solid var(--linha); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.total b { font-size: 22px; color: var(--rosa-esc); }
.gaveta-vazia { text-align: center; color: var(--muted); padding: 48px 0; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%); background: var(--texto); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14px; transition: transform .3s; z-index: 100; }
.toast.on { transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .menu { display: none; }
  .acoes { margin-left: auto; }
  .busca input { width: 100px; }
  .hero-in { grid-template-columns: 1fr; padding: 48px 20px 56px; text-align: center; }
  .hero-txt > p:not(.sobretitulo) { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-arte { min-height: 300px; }
  .arco { width: 240px; }
  .selo { left: 50%; margin-left: -170px; width: 96px; height: 96px; }
  .sobre-in { grid-template-columns: 1fr; text-align: center; }
  .sobre-in img { margin: 0 auto; width: 120px; }
  .vantagens { grid-template-columns: 1fr; text-align: left; }
  .rodape-in { grid-template-columns: 1fr; }
  .mp { grid-template-columns: 1fr; }
  .mp-info { padding: 8px 22px 26px; }
  .modal { max-height: 92dvh; }
}
@media (max-width: 520px) {
  .marca-txt { display: none; }
  .grade { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .aviso .sep, #aviso-endereco { display: none; }
}
[hidden] { display: none !important; }
.toast:not(.on) { visibility: hidden; }
