/* Bela Rosa — paleta oficial da marca (imagens/Logo, painel de identidade) */
:root {
  --rosa: #BA4963;
  --rosa-escuro: #9E3A52;
  --rosa-suave: #D98A9B;
  --blush: #F2D6DC;
  --off: #FAF7F5;
  --champagne: #D8B89A;
  --bordo: #7A263F;
  --nude: #C9A7A2;
  --grafite: #30282A;

  --texto: var(--grafite);
  --texto-2: #6A5A5D;
  --linha: rgba(48, 40, 42, .1);
  --branco: #fff;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --raio: 22px;
  --raio-p: 14px;
  --sombra-1: 0 1px 2px rgba(48, 40, 42, .06), 0 8px 24px -12px rgba(122, 38, 63, .18);
  --sombra-2: 0 2px 6px rgba(48, 40, 42, .06), 0 30px 60px -24px rgba(122, 38, 63, .35);

  --ease-ios: cubic-bezier(.32, .72, 0, 1);
  --ease-sai: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 68px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  font: 400 1rem/1.6 var(--sans);
  color: var(--texto);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; color: var(--bordo); text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -.015em; }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-p { width: .95em; height: .95em; }

.pular {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--bordo); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.pular:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rosa);
}

/* ---------- Botões ---------- */
.btn {
  --bg: var(--rosa); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.5em;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-decoration: none;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease-out, background-color .2s, box-shadow .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn-prim { box-shadow: 0 8px 20px -10px rgba(186, 73, 99, .7); }
.btn-prim:hover { --bg: var(--rosa-escuro); }
.btn-sec { --bg: rgba(255, 255, 255, .7); --fg: var(--bordo); box-shadow: inset 0 0 0 1.5px rgba(186, 73, 99, .35); }
.btn-sec:hover { --bg: #fff; box-shadow: inset 0 0 0 1.5px var(--rosa); }
.btn-claro { --bg: #fff; --fg: var(--bordo); }
.btn-claro:hover { --bg: var(--blush); }
.btn-whats { --bg: #1F8F4E; }
.btn-whats:hover { --bg: #187a42; }
.btn-whats[aria-disabled="true"] { --bg: #8aa596; }
.btn-bloco { width: 100%; }
.btn-grande { min-height: 54px; font-size: 1rem; }
.btn-redondo {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 0; border-radius: 50%; background: rgba(48, 40, 42, .06); cursor: pointer;
  transition: transform .12s ease-out, background-color .2s;
}
.btn-redondo:hover { background: rgba(48, 40, 42, .1); }
.btn-redondo:active { transform: scale(.92); }
.link-botao {
  display: inline-flex; align-items: center; gap: .3em; padding: 0; border: 0; background: none;
  color: var(--rosa); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Navegação translúcida ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 247, 245, .72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  transition: box-shadow .3s;
}
.nav.rolou { box-shadow: 0 1px 0 var(--linha), 0 10px 30px -20px rgba(48, 40, 42, .3); }
.nav-in {
  max-width: 1200px; height: var(--nav-h); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: none; gap: 32px; }
.nav-links a { font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--texto); opacity: .8; transition: opacity .2s, color .2s; }
.nav-links a:hover { opacity: 1; color: var(--rosa); }
.btn-sacola {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: var(--bordo); cursor: pointer;
  transition: transform .12s ease-out, background-color .2s;
}
.btn-sacola .ico { width: 24px; height: 24px; }
.btn-sacola:hover { background: rgba(186, 73, 99, .08); }
.btn-sacola:active { transform: scale(.92); }
.badge {
  position: absolute; top: 2px; right: 0;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--rosa); color: #fff; font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center;
  box-shadow: 0 0 0 2px var(--off);
}
.badge.pulo { animation: pulo .5s var(--ease-sai); }
@keyframes pulo { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
.sentinela { position: absolute; top: 0; height: 1px; width: 1px; }

/* ---------- Hero ---------- */
main { overflow-x: clip; }
.hero {
  position: relative; isolation: isolate;
  display: grid; gap: 40px;
  max-width: 1200px; margin: 0 auto; padding: 28px 20px 56px;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; top: calc(-1 * var(--nav-h)); bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: radial-gradient(60% 60% at 70% 40%, rgba(242, 214, 220, .95), rgba(242, 214, 220, 0) 70%),
              radial-gradient(40% 40% at 10% 20%, rgba(216, 184, 154, .25), transparent 70%);
}
.hero-txt { display: grid; gap: 16px; align-content: center; }
@media (max-width: 639px) {
  .hero { gap: 28px; padding-top: 16px; }
  .lead { font-size: 1rem; }
  .hero-cta .btn { flex: 1 1 auto; }
}
.display {
  font-size: clamp(2.7rem, 8vw, 5.2rem); line-height: 1; letter-spacing: -.025em; font-weight: 600;
}
.display em { font-style: italic; font-weight: 500; color: var(--rosa); }
.lead { font-size: 1.08rem; color: var(--texto-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-selos { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 0; padding: 0; list-style: none; font-size: .88rem; color: var(--texto-2); }
.hero-selos li { display: inline-flex; align-items: center; gap: .4em; }
.hero-selos .ico { color: var(--rosa); }

.hero-leque {
  --rx: 0; --ry: 0;
  position: relative; height: clamp(340px, 92vw, 520px); margin-top: -8px;
}
.leque-card {
  position: absolute; bottom: 0; padding: 0; border: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--raio); background: var(--blush); box-shadow: var(--sombra-2);
  transition: transform .7s var(--ease-ios), box-shadow .4s;
  -webkit-tap-highlight-color: transparent;
}
.leque-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 88%; }
.leque-1 { left: 0; width: 44%; height: 62%; transform: rotate(-7deg) translate(4%, -6%); }
.leque-2 { right: 0; width: 44%; height: 62%; transform: rotate(7deg) translate(-4%, -6%); }
.leque-3 {
  left: 50%; width: 60%; height: 94%; z-index: 2;
  transform: translate(calc(-50% + var(--rx) * 14px), calc(var(--ry) * 10px));
}
.leque-card:active { transform: scale(.98); }
@media (hover: hover) {
  .hero-leque:hover .leque-1 { transform: rotate(-12deg) translate(-8%, -10%); }
  .hero-leque:hover .leque-2 { transform: rotate(12deg) translate(8%, -10%); }
  .leque-card:hover { box-shadow: 0 40px 70px -28px rgba(122, 38, 63, .5); }
}

/* ---------- Faixa de diferenciais ---------- */
.faixa { border-block: 1px solid var(--linha); background: rgba(255, 255, 255, .5); }
.faixa ul {
  max-width: 1200px; margin: 0 auto; padding: 18px 20px; list-style: none;
  display: grid; gap: 14px;
}
.faixa li { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--texto-2); }
.faixa strong { display: block; color: var(--texto); font-weight: 600; }
.faixa .ico { width: 28px; height: 28px; color: var(--rosa); }

/* ---------- Seções ---------- */
.secao { max-width: 1200px; margin: 0 auto; padding: 80px 20px; }
.secao-clara { max-width: none; background: #fff; }
.secao-clara > * { max-width: 1160px; margin-inline: auto; }
.secao-cab { display: grid; gap: 12px; justify-items: center; text-align: center; margin-bottom: 36px; }
.secao-cab > p:last-child:not(.eyebrow) { max-width: 36em; color: var(--texto-2); }
.centro { text-align: center; margin-top: 32px; }

/* Controle segmentado */
.segmentado {
  position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto 32px; padding: 4px;
  border-radius: 999px; background: rgba(48, 40, 42, .06);
}
.segmentado button {
  position: relative; z-index: 1; min-width: 96px; min-height: 40px; padding: 0 18px;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-size: .9rem; font-weight: 600; color: var(--texto-2); transition: color .25s;
}
.segmentado button[aria-pressed="true"] { color: var(--bordo); }
.segmentado-pilula {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: 96px; border-radius: 999px;
  background: #fff; box-shadow: 0 2px 8px rgba(48, 40, 42, .12);
  transition: transform .45s var(--ease-ios), width .45s var(--ease-ios);
}

/* Grade de produtos */
.grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--raio); background: #fff; box-shadow: var(--sombra-1);
  transition: box-shadow .4s, transform .4s var(--ease-ios);
}
.card-foto {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0;
  overflow: hidden; cursor: pointer; background: var(--blush); -webkit-tap-highlight-color: transparent;
}
.card-foto:active .card-img { transform: scale(.98); }
.card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 78%;
  transition: opacity .5s ease, transform .8s var(--ease-ios);
}
.card-img-2 { opacity: 0; background: #fff; }
.card-cor {
  position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 6px; border-radius: 999px; font-size: .72rem; font-weight: 600; color: var(--grafite);
  background: rgba(255, 255, 255, .75); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.card-cor i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.card-info { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px; flex: 1; }
.card-linha { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9C6B4E; }
.card-nome { font-size: 1.2rem; }
.card-preco { font-weight: 700; font-size: 1.02rem; }
.card-parcela { font-size: .78rem; color: var(--texto-2); margin-bottom: 10px; }
.card .btn { min-height: 42px; font-size: .86rem; padding: 0 1em; margin-top: auto; }
@media (hover: hover) {
  .card:hover { box-shadow: var(--sombra-2); transform: translateY(-4px); }
  .card:hover .card-img-2 { opacity: 1; }
  .card:hover .card-img { transform: scale(1.04); }
}
.sem-js { text-align: center; padding: 24px; background: #fff; border-radius: var(--raio); }

/* Benefícios */
.beneficios { display: grid; gap: 16px; }
.beneficio { padding: 28px 24px; border-radius: var(--raio); background: var(--off); display: grid; gap: 10px; justify-items: start; }
.beneficio p { color: var(--texto-2); }
.beneficio-ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--blush); color: var(--rosa);
}
.beneficio-ico .ico { width: 26px; height: 26px; }

/* História */
.historia {
  display: grid; gap: 40px; align-items: center;
  padding: 80px 20px; background: linear-gradient(180deg, var(--nude), #BD9994);
}
.historia-foto { position: relative; max-width: 520px; width: 100%; margin: 0 auto; }
.historia-foto > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); box-shadow: var(--sombra-2); }
.historia-selo {
  position: absolute; right: -8px; bottom: -28px; width: 120px; border-radius: 50%;
  box-shadow: 0 16px 40px -16px rgba(48, 40, 42, .5);
}
.historia-txt { display: grid; gap: 18px; max-width: 520px; margin: 0 auto; }
.historia-txt .eyebrow { color: var(--bordo); }
.historia-txt p { color: #3b2f31; font-size: 1.05rem; }

/* Como comprar */
.passos { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.passos li { position: relative; display: grid; gap: 8px; padding: 28px 24px; border-radius: var(--raio); background: #fff; box-shadow: var(--sombra-1); }
.passos p { color: var(--texto-2); }
.passo-n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--rosa); color: #fff; font-weight: 700; margin-bottom: 6px;
}

/* Instagram */
.insta-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.insta-grade a { display: block; overflow: hidden; border-radius: var(--raio-p); aspect-ratio: 1; background: var(--blush); }
.insta-grade img { width: 100%; height: 100%; object-fit: cover; object-position: center 75%; transition: transform .8s var(--ease-ios), filter .4s; }
@media (hover: hover) { .insta-grade a:hover img { transform: scale(1.06); filter: saturate(1.1); } }

/* CTA */
.cta {
  display: grid; justify-items: center; gap: 16px; text-align: center;
  padding: 72px 20px; color: #fff; background: radial-gradient(80% 120% at 50% 0%, #93324f, var(--bordo));
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .85); max-width: 32em; }
.cta-mono { width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }

/* Rodapé */
.rodape { background: var(--grafite); color: rgba(255, 255, 255, .78); font-size: .9rem; }
.rodape-in { max-width: 1200px; margin: 0 auto; padding: 56px 20px 32px; display: grid; gap: 32px; }
.rodape-logo { width: 150px; margin-bottom: 14px; }
.rodape h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.rodape nav, .rodape-in > div:last-child { display: grid; gap: 6px; align-content: start; }
.rodape a { text-decoration: none; opacity: .85; }
.rodape a:hover { opacity: 1; color: var(--blush); }
.rodape-fim { max-width: 1200px; margin: 0 auto; padding: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; opacity: .7; }

/* Botão flutuante */
.fab-whats {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #1F8F4E; color: #fff; box-shadow: 0 12px 28px -8px rgba(31, 143, 78, .6);
  transition: transform .12s ease-out, opacity .3s, visibility .3s;
}
.fab-whats .ico { width: 28px; height: 28px; }
.fab-whats:active { transform: scale(.92); }
.fab-whats.oculto { opacity: 0; visibility: hidden; transform: translateY(20px); }

/* ---------- Revelação ao rolar (só com JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-sai), transform .9s var(--ease-sai); }
.js .reveal.visivel { opacity: 1; transform: none; }

/* ---------- Folhas (dialog) ---------- */
dialog.folha {
  position: fixed; inset: auto 0 0 0; margin: 0; padding: 0; border: 0;
  width: 100%; max-width: 100%; max-height: 94dvh; height: auto;
  border-radius: 28px 28px 0 0; background: var(--off); color: var(--texto);
  box-shadow: 0 -20px 60px -20px rgba(48, 40, 42, .4);
  overflow: hidden; overscroll-behavior: contain;
}
dialog.folha[open] { display: flex; animation: sobe .55s var(--ease-ios); }
dialog.folha.fechando { animation: desce .32s cubic-bezier(.4, 0, 1, 1) forwards; }
dialog.folha::backdrop {
  background: rgba(48, 40, 42, .38);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: aparece .4s ease;
}
dialog.folha.fechando::backdrop { animation: some .32s ease forwards; }
@keyframes sobe { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes desce { from { transform: translateY(var(--de, 0px)); } to { transform: translateY(100%); } }
@keyframes aparece { from { opacity: 0; } }
@keyframes some { to { opacity: 0; } }

.folha-caixa:focus { outline: none; }
.folha-caixa { display: flex; flex-direction: column; width: 100%; max-height: 94dvh; min-height: 0; }
.folha-topo {
  position: relative; flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding: 14px 16px 6px; touch-action: none; cursor: grab;
}
.alca { position: absolute; left: 50%; top: 8px; width: 40px; height: 5px; margin-left: -20px; border-radius: 99px; background: rgba(48, 40, 42, .2); }

/* Produto */
.produto { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
dialog.gaveta { height: 88dvh; }
.gaveta .folha-caixa { height: 100%; }
.galeria { position: relative; }
.galeria-trilho {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  gap: 8px; padding: 0 16px; scroll-padding: 0 16px;
}
.galeria-trilho::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 3 / 4; border-radius: var(--raio); overflow: hidden; background: var(--blush); }
.g-slide img { width: 100%; height: 100%; object-fit: cover; }
.galeria-pontos { display: flex; justify-content: center; gap: 6px; padding: 12px 0 4px; }
.galeria-pontos span { width: 6px; height: 6px; border-radius: 99px; background: rgba(48, 40, 42, .2); transition: width .35s var(--ease-ios), background-color .3s; }
.galeria-pontos span.ativo { width: 20px; background: var(--rosa); }
.galeria-minis { display: none; }

.produto-info { display: grid; gap: 14px; padding: 12px 20px 0; }
.produto-nome { font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.05; letter-spacing: -.015em; }
.produto-preco { font-size: 1.35rem; font-weight: 700; }
.produto-resumo { color: var(--texto-2); }

.tamanhos { margin: 6px 0 0; padding: 0; border: 0; }
.tamanhos legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
.tam-escolhido { font-weight: 500; color: var(--texto-2); }
.tamanhos-lista { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.tam { position: relative; }
.tam input { position: absolute; z-index: 1; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tam span {
  display: grid; place-items: center; height: 48px; border-radius: 14px;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--linha);
  font-weight: 600; transition: background-color .2s, color .2s, box-shadow .2s, transform .12s ease-out;
}
.tam input:hover + span { box-shadow: inset 0 0 0 1.5px var(--rosa-suave); }
.tam input:active + span { transform: scale(.94); }
.tam input:checked + span { background: var(--rosa); color: #fff; box-shadow: none; }
.tam input:focus-visible + span { outline: 3px solid var(--rosa); outline-offset: 2px; }
.tamanhos.treme { animation: treme .45s; }
@keyframes treme { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.aviso { min-height: 0; color: #B3261E; font-size: .88rem; font-weight: 600; }
.aviso:empty { display: none; }

.linha-qtd { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linha); }
.stepper button {
  display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: var(--bordo); cursor: pointer; transition: background-color .2s, transform .12s ease-out;
}
.stepper button:hover { background: var(--blush); }
.stepper button:active { transform: scale(.9); }
.stepper button:disabled { opacity: .35; cursor: default; background: none; }
.stepper output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; }

.link-duvida { display: inline-flex; align-items: center; justify-content: center; gap: .45em; font-size: .9rem; font-weight: 600; color: #1F7A45; text-decoration: none; }
.link-duvida:hover { text-decoration: underline; }
.detalhes-titulo { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); margin-top: 8px; }
.detalhes { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.detalhes li { display: flex; gap: 10px; align-items: flex-start; color: var(--texto-2); font-size: .95rem; }
.detalhes li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .6em; border-radius: 50%; background: var(--champagne); }

/* Sacola */
.gaveta-topo { justify-content: space-between; padding-bottom: 10px; }
.gaveta-topo h2 { font-size: 1.6rem; margin-right: auto; }
.gaveta-topo .btn-redondo[hidden] + h2 { margin-left: 0; }
.etapas { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.etapas-trilha {
  display: flex; gap: 6px; margin: 0; padding: 0 20px 12px; list-style: none;
  font-size: .75rem; font-weight: 600; color: var(--texto-2);
}
.etapas-trilha li { flex: 1; padding-top: 8px; border-top: 3px solid rgba(48, 40, 42, .1); transition: border-color .4s, color .4s; }
.etapas-trilha li.feita, .etapas-trilha li[aria-current="step"] { border-color: var(--rosa); color: var(--bordo); }
.etapas-palco {
  position: relative; flex: 1; min-height: 0; display: grid; overflow: hidden;
  grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr);
}
.etapa {
  grid-area: 1 / 1; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  transition: transform .5s var(--ease-ios), opacity .35s, visibility .5s;
}
.etapas[data-passo="1"] #passo2, .etapas[data-passo="1"] #passo3,
.etapas[data-passo="2"] #passo3 { transform: translateX(104%); opacity: 0; visibility: hidden; }
.etapas[data-passo="2"] #passo1, .etapas[data-passo="3"] #passo1,
.etapas[data-passo="3"] #passo2 { transform: translateX(-30%); opacity: 0; visibility: hidden; }

.vazia { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 48px 24px; }
.vazia p { color: var(--texto-2); margin-bottom: 8px; }
.vazia-ico, .enviado-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--blush); color: var(--rosa); margin-bottom: 8px; }
.vazia-ico .ico, .enviado-ico .ico { width: 34px; height: 34px; }

.itens { margin: 0; padding: 0 16px; list-style: none; display: grid; gap: 10px; }
.item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center;
  padding: 10px; border-radius: 18px; background: #fff; box-shadow: var(--sombra-1);
  transition: opacity .3s, transform .35s var(--ease-ios);
}
.item.saindo { opacity: 0; transform: translateX(40px) scale(.96); }
.item img { width: 76px; height: 92px; object-fit: cover; object-position: center 78%; border-radius: 12px; background: var(--blush); }
.item-nome { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--bordo); line-height: 1.15; }
.item-meta { font-size: .84rem; color: var(--texto-2); }
.item-preco { font-weight: 700; margin-top: 4px; }
.item .stepper { flex-direction: column; padding: 3px; gap: 0; }
.item .stepper button { width: 32px; height: 32px; }

.resumo { position: sticky; bottom: 0; margin-top: auto; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 8px; background: linear-gradient(to top, var(--off) 75%, rgba(250, 247, 245, 0)); }
.resumo-linha { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.resumo-linha strong { font-size: 1.3rem; }
.resumo-nota { font-size: .82rem; color: var(--texto-2); }
.resumo-parcela { margin-top: -6px; text-align: right; font-size: .84rem; color: var(--texto-2); }
.resumo-parcela:empty { display: none; }
.produto-precos { display: grid; gap: 2px; }
.produto-parcela { color: var(--texto-2); font-size: .95rem; }
.rodape-info { margin-top: 8px; font-size: .84rem; opacity: .75; }

.form { display: grid; gap: 16px; padding: 4px 20px 8px; }
.campo { display: grid; gap: 6px; }
.campo label, .opcoes legend { font-size: .85rem; font-weight: 600; }
.opcional { font-weight: 400; color: var(--texto-2); }
.campo input, .campo textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: 14px;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--linha);
  font: inherit; color: inherit; transition: box-shadow .2s;
}
.campo textarea { resize: vertical; min-height: 72px; }
.campo input:focus, .campo textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--rosa); }
.campo input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B3261E; }
.dica { font-size: .82rem; color: var(--texto-2); }
.dica.ok { color: #1F7A45; }
.dica.erro { color: #B3261E; }
.endereco { display: grid; gap: 16px; }
.endereco[hidden] { display: none; }
.linha2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.linha2-uf { grid-template-columns: 1fr 76px; }
.campo-cep input { max-width: 180px; }
.opcoes { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.opcoes legend { margin-bottom: 8px; }
.opcoes-linha { grid-template-columns: repeat(3, 1fr); }
.opcoes-linha legend { grid-column: 1 / -1; }
.opcao { position: relative; }
.opcao input { position: absolute; z-index: 1; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opcao span {
  display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 14px; text-align: center;
  border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linha);
  font-size: .9rem; font-weight: 600; transition: box-shadow .2s, background-color .2s, color .2s;
}
.opcao input:checked + span { box-shadow: inset 0 0 0 2px var(--rosa); background: #FDF3F5; color: var(--bordo); }
.opcao input:focus-visible + span { outline: 3px solid var(--rosa); outline-offset: 2px; }
.previa summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--rosa); }
.previa pre {
  margin: 10px 0 0; padding: 14px; border-radius: 14px; background: #E7F4EC; color: #1c2b22;
  font: .82rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word;
}
.privacidade { font-size: .78rem; color: var(--texto-2); }
.enviado { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 40px 24px calc(24px + env(safe-area-inset-bottom)); }
.enviado p { color: var(--texto-2); max-width: 28em; }
.enviado .btn { margin-top: 6px; }
.enviado-ico { background: #E7F4EC; color: #1F8F4E; }

/* ---------- Voo até a sacola ---------- */
.voo {
  position: fixed; inset: auto; left: 0; top: 0; margin: 0; padding: 0; border: 0; background: none;
  overflow: visible; pointer-events: none;
}
.voo img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: var(--sombra-2); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px);
  padding: 12px 14px 12px 18px; border-radius: 16px;
  background: rgba(48, 40, 42, .92); color: #fff; font-size: .92rem; font-weight: 500;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .4);
  transform: translate(-50%, 140%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease-ios), opacity .3s, visibility .5s;
}
.toast.visivel { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast button { flex: none; padding: 8px 12px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 700; cursor: pointer; }

/* ---------- Telas maiores ---------- */
@media (min-width: 640px) {
  .grade { gap: 22px; }
  .faixa ul { grid-template-columns: repeat(3, 1fr); }
  .beneficios, .passos { grid-template-columns: repeat(3, 1fr); }
  .insta-grade { grid-template-columns: repeat(6, 1fr); }
  .rodape-in { grid-template-columns: 2fr 1fr 1.4fr; }
  .card-info { padding: 18px 18px 20px; }
  .card-nome { font-size: 1.35rem; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hero { grid-template-columns: 1.05fr 1fr; padding: 48px 32px 88px; min-height: min(760px, calc(100svh - var(--nav-h))); align-items: center; }
  .hero-leque { height: 580px; }
  .grade { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .secao { padding: 112px 32px; }
  .historia { grid-template-columns: 1fr 1fr; padding: 112px max(32px, calc((100% - 1136px) / 2)); }
  .historia-selo { width: 150px; right: -40px; }

  dialog.folha {
    inset: 0; margin: auto; width: min(1040px, calc(100% - 48px));
    height: min(720px, calc(100dvh - 48px)); max-height: min(720px, calc(100dvh - 48px));
    border-radius: 28px; box-shadow: 0 40px 120px -30px rgba(48, 40, 42, .55);
  }
  .folha-caixa { height: 100%; }
  dialog.folha[open] { animation: entraCentro .5s var(--ease-ios); }
  dialog.folha.fechando { animation: saiCentro .25s ease-in forwards; }
  .folha-caixa { max-height: min(760px, calc(100dvh - 48px)); }
  .folha-topo { position: absolute; right: 0; top: 0; z-index: 2; cursor: default; touch-action: auto; }
  .alca { display: none; }
  .produto { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: minmax(0, 1fr); gap: 32px; padding: 24px; overflow: hidden; }
  .galeria { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 12px; min-height: 0; }
  .galeria-trilho { grid-column: 2; grid-row: 1; height: 100%; padding: 0; scroll-padding: 0; border-radius: var(--raio); }
  .g-slide { aspect-ratio: auto; height: 100%; }
  .galeria-pontos { display: none; }
  .galeria-minis { grid-column: 1; grid-row: 1; display: grid; align-content: start; gap: 10px; overflow-y: auto; }
  .galeria-minis button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; cursor: pointer; opacity: .55; box-shadow: inset 0 0 0 2px transparent; transition: opacity .2s; background: var(--blush); }
  .galeria-minis button[aria-current="true"] { opacity: 1; outline: 2px solid var(--rosa); outline-offset: 2px; }
  .galeria-minis img { width: 100%; height: 100%; object-fit: cover; }
  .produto-info { overflow-y: auto; padding: 40px 16px 8px 0; align-content: start; }

  dialog.gaveta {
    inset: 0 0 0 auto; margin: 0; width: min(460px, 100%); height: 100dvh; max-height: 100dvh; border-radius: 28px 0 0 28px;
  }
  .gaveta .folha-caixa { max-height: 100dvh; }
  dialog.gaveta[open] { animation: entraLado .5s var(--ease-ios); }
  dialog.gaveta.fechando { animation: saiLado .3s cubic-bezier(.4, 0, 1, 1) forwards; }
  .gaveta .folha-caixa { max-height: 100dvh; height: 100%; }
  .gaveta .folha-topo { position: relative; padding: 20px 20px 12px; }
}
@keyframes entraCentro { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes saiCentro { to { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes entraLado { from { transform: translateX(100%); } }
@keyframes saiLado { to { transform: translateX(100%); } }

/* ---------- Acessibilidade de movimento e transparência ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { transform: none; transition: opacity .3s; }
  .leque-card, .card, .card-img, .etapa, .toast, .segmentado-pilula { transition-duration: .2s !important; }
  .leque-3 { transform: translateX(-50%); }
  .hero-leque:hover .leque-1, .hero-leque:hover .leque-2 { transform: none; }
  .leque-1 { transform: rotate(-7deg) translate(4%, -6%) !important; }
  .leque-2 { transform: rotate(7deg) translate(-4%, -6%) !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--off); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .toast { background: var(--grafite); backdrop-filter: none; }
  .card-cor { background: #fff; backdrop-filter: none; }
}
