/* ==========================================================================
   MEMORA — LOJA DE ÍMÃS COM FOTOS
   Direção: uma porta de geladeira cor-de-rosa numa manhã de luz. Delicada,
   elegante, feita para o celular. Tipografia: Quicksand (Google Fonts),
   traço fino e pontas arredondadas, sem serifa.
   ==========================================================================

   ►► CORES DA MARCA ◄◄
   Tiradas da logo e dos posts do Instagram @hello.memora. Se a identidade
   mudar, troque só este bloco: botões, títulos, mapa e ícones acompanham.
   ------------------------------------------------------------------------ */
:root{
  --creme:       #FFF7F3;   /* fundo principal (o creme da logo, puxado pro rosa) */
  --leite:       #FFFCFA;   /* folha dos kits, campos, cartões                  */
  --algodao:     #FDE9EC;   /* rosa bem claro                                   */
  --rosa:        #FBD7DD;   /* o rosa dos posts                                 */
  --rosa-2:      #F2C4CC;   /* rosa do mapa, trilhos                            */
  --po:          #D08E93;   /* o rosa da logo                                   */
  --framboesa:   #B24D66;   /* o nome MEMORA nos posts — a cor de ação          */
  --framboesa-2: #8E3A50;   /* framboesa escura: texto pequeno sobre o rosa     */
  --cacau:       #362A29;   /* texto (o marrom dos títulos dos posts)           */
  --cacau-2:     #6F5A5C;   /* texto de apoio                                   */
  --malva:       #C19BA2;   /* linhas e detalhes                                */
  --linha:       rgba(54, 42, 41, .12);

  /* --- tipografia --------------------------------------------------------- */
  --f: "Quicksand", "Varela Round", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* --- medidas ------------------------------------------------------------ */
  --h-topo: 60px;
  --gut: clamp(20px, 5.2vw, 64px);
  --envelope: 1240px;
  --respiro: clamp(64px, 8.5vw, 136px);
  --folha: 28px;            /* canto das seções que sobem umas sobre as outras */

  /* --- movimento ---------------------------------------------------------- */
  --saida: cubic-bezier(.16, 1, .3, 1);
  --suave: cubic-bezier(.65, 0, .35, 1);
  --mola:  cubic-bezier(.34, 1.56, .64, 1);

  --sombra-ima: 0 1px 1px rgba(90, 40, 55, .10), 0 6px 12px -4px rgba(90, 40, 55, .24), 0 16px 28px -16px rgba(90, 40, 55, .36);
  --sombra-solta: 0 2px 2px rgba(90, 40, 55, .08), 0 22px 34px -10px rgba(90, 40, 55, .34), 0 40px 60px -30px rgba(90, 40, 55, .4);
}
@media (min-width: 1024px){ :root{ --h-topo: 68px; } }


/* ---------- base ---------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--h-topo); touch-action: manipulation; }
body{
  margin: 0;
  background: var(--creme);
  color: var(--cacau);
  font-family: var(--f);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html.trava, html.trava body{ overflow: hidden; }
img, svg, video, canvas{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button, summary, label, input, select, textarea{ -webkit-tap-highlight-color: transparent; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd{ margin: 0; }
::selection{ background: var(--rosa); color: var(--cacau); }

/* Um display declarado no componente vence o display:none do atributo
   hidden. Sem esta linha, as telas e os avisos — que têm display flex/grid —
   ficam invisíveis mas esticados sobre a página, engolindo todos os toques. */
[hidden]{ display: none !important; }

/* fora do inglês, a página espera a tradução para não piscar em inglês
   (e aparece sozinha se o script falhar) */
.traduzindo body{ visibility: hidden; animation: mostra-pagina 0s 2.5s forwards; }
@keyframes mostra-pagina{ to{ visibility: visible; } }

:focus-visible{ outline: 2px solid var(--framboesa); outline-offset: 3px; border-radius: 10px; }

.sprite{ position: absolute; width: 0; height: 0; overflow: hidden; }
.escondido{ position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.envelope{ width: 100%; max-width: var(--envelope); margin-inline: auto; padding-inline: var(--gut); }

.pular{
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 12px 18px; border-radius: 999px; background: var(--framboesa); color: #fff;
  font-weight: 700; transform: translateY(-180%); transition: transform .3s var(--saida);
}
.pular:focus{ transform: none; }


/* ---------- tipografia comum ---------------------------------------------- */
.rotulo{
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--framboesa-2);
}
.rotulo::before{ content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }

.titulo{
  font-size: clamp(34px, 9vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin: 14px 0 16px;
}
/* a Quicksand não tem itálico: o destaque é a cor framboesa */
.titulo em, .inicio__titulo em, .rodape__frase em{ font-style: normal; font-weight: 500; color: var(--framboesa); }
.sub{ max-width: 34em; color: var(--cacau-2); font-size: 16px; }


/* ---------- botões -------------------------------------------------------- */
/* pílula framboesa: o cacau sobe por dentro no mouse, o texto rola, um brilho
   atravessa de vez em quando, a onda nasce onde o dedo toca e, ao soltar,
   o botão volta com um estalo de ímã (escala com mola). */
.botao{
  --fundo: var(--framboesa); --cor: #fff; --borda: transparent;
  --enche: var(--cacau); --cor-enche: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; max-width: 100%;
  border-radius: 999px; border: 1.5px solid var(--borda);
  background: var(--fundo); color: var(--cor);
  font-family: var(--f); font-size: 15.5px; font-weight: 650; letter-spacing: .01em; line-height: 1;
  white-space: nowrap; user-select: none; -webkit-user-select: none;
  transform: translate3d(var(--ix, 0px), var(--iy, 0px), 0);
  transition: transform .6s var(--mola), scale .55s var(--mola), color .45s var(--saida), border-color .45s, box-shadow .45s, opacity .3s;
}
.botao > *:not(.onda){ position: relative; z-index: 1; }
.botao::before{
  content: ""; position: absolute; inset: -2px; z-index: 0; border-radius: inherit;
  background: var(--enche);
  transform: translate3d(0, 102%, 0); border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  transition: transform .6s var(--saida), border-radius .6s var(--saida);
}
@media (hover: hover){
  .botao:hover{ color: var(--cor-enche); border-color: var(--enche); }
  .botao:hover::before{ transform: none; border-radius: 0; }
}
.botao:active{ scale: .955; transition: scale .12s ease-out, transform .6s var(--mola); }
.botao[disabled], .botao[aria-disabled="true"]{ opacity: .5; pointer-events: none; }

.botao__txt{ position: relative; display: inline-block; min-width: 0; overflow: hidden; height: 1.3em; line-height: 1.3; }
.botao__txt > span{ display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: transform .55s var(--saida); }
@media (hover: hover){ .botao:hover .botao__txt > span{ transform: translateY(-100%); } }

.botao__ico{ width: 20px; height: 20px; flex: none; transition: transform .5s var(--saida); }
.botao__ico--fim{ margin-right: -4px; }
@media (hover: hover){ .botao:hover .botao__ico--fim{ transform: translateX(4px); } }

.botao__preco{ display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.botao__preco::before{ content: ""; width: 1px; height: 18px; background: currentColor; opacity: .35; }

/* brilho que atravessa: no mouse e, nos principais, de vez em quando */
.botao::after{
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 30%; z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(255, 246, 248, .55), transparent);
  transform: translateX(-120%) skewX(-18deg); pointer-events: none;
}
@media (hover: hover){ .botao:hover::after{ animation: brilho 1s var(--suave); } }
.botao[data-brilho]::after{ animation: brilho 1.3s var(--suave) 3.4s, brilho-vez 7.5s var(--suave) 5s infinite; }
@media (hover: hover){ .botao[data-brilho]:hover::after{ animation: brilho 1s var(--suave); } }
@keyframes brilho{ from{ transform: translateX(-120%) skewX(-18deg); } to{ transform: translateX(560%) skewX(-18deg); } }
@keyframes brilho-vez{
  0%, 82%{ transform: translateX(-120%) skewX(-18deg); }
  100%   { transform: translateX(560%) skewX(-18deg); }
}

.botao--linha{ --fundo: transparent; --cor: var(--cacau); --borda: rgba(54, 42, 41, .24); --enche: var(--cacau); --cor-enche: #fff; }
.botao--p{ min-height: 42px; padding: 0 18px; font-size: 14px; }
.botao--g{ min-height: 58px; font-size: 16px; }
.botao--largo{ width: 100%; }

/* onda do toque */
.onda{
  position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: currentColor; opacity: .26;
  animation: onda .75s var(--saida) forwards;
}
@keyframes onda{ to{ transform: scale(var(--s, 40)); opacity: 0; } }
.chip, .kit, .estilo, .criar__kit, .envio, .acao, .passo button, .topo__bolsa, .topo__menu, .tela__x, .sanfona button, .link-suave{ position: relative; overflow: hidden; isolation: isolate; }
.sanfona button{ overflow: visible; }

.link-suave{
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
  font-size: 14.5px; font-weight: 600; color: var(--framboesa-2);
  text-decoration: underline; text-decoration-color: rgba(142, 58, 80, .35); text-underline-offset: 4px;
}
.link-suave svg{ width: 18px; height: 18px; }


/* ---------- entrada por rolagem ------------------------------------------- */
.js [data-revela]{
  opacity: 0; transform: translate3d(0, 16px, 0);
  transition: opacity .7s var(--saida), transform .8s var(--saida);
  transition-delay: var(--atraso, 0s);
}
.js [data-revela].visto{ opacity: 1; transform: none; }

/* títulos entram palavra por palavra, saindo de trás de uma máscara */
.pal{ display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.pal > span{ display: inline-block; transform: translate3d(0, 108%, 0) rotate(3deg); transform-origin: 0 100%;
  transition: transform .9s var(--saida); transition-delay: calc(var(--i, 0) * 40ms + var(--atraso, 0s)); }
.visto .pal > span, .pal.visto > span{ transform: none; }


/* ==========================================================================
   ABERTURA — os ímãs voam e formam um coração, as fotos se revelam, o nome
   surge letra por letra e cinco ímãs seguem voando até a geladeira da capa
   ========================================================================== */
.abertura{ display: none; position: fixed; inset: 0; z-index: 100; overflow: hidden; color: var(--framboesa); }
.abertura-on .abertura{ display: block; }
/* rede de segurança: se o script não rodar, a abertura sai sozinha */
.abertura-on .abertura:not(.pronta){ animation: abertura-seguranca .01s 5s forwards; }
@keyframes abertura-seguranca{ to{ visibility: hidden; opacity: 0; pointer-events: none; } }

.abertura__fundo{
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 60% at 50% 42%, #FFFBF8 0%, rgba(255, 251, 248, 0) 70%),
    linear-gradient(180deg, #FDEFF0 0%, #FFF7F3 45%, #FBE3E7 100%);
  transition: opacity 1s var(--suave);
}
.abertura__fundo::after{ content: ""; position: absolute; inset: 0; background: var(--grao, none); background-size: 128px 128px; opacity: .8; }

/* vazamento de luz: manchas quentes passeando devagar, como em filme */
.abertura__luz{
  position: absolute; inset: -25%; pointer-events: none; opacity: 0;
  background:
    radial-gradient(closest-side at 28% 34%, rgba(255, 205, 186, .55), rgba(255, 205, 186, 0) 70%),
    radial-gradient(closest-side at 74% 62%, rgba(244, 166, 190, .42), rgba(244, 166, 190, 0) 70%),
    radial-gradient(closest-side at 50% 90%, rgba(255, 230, 214, .5), rgba(255, 230, 214, 0) 70%);
  transition: opacity 1.4s var(--saida);
  animation: vazamento 7s ease-in-out infinite alternate;
}
.abertura.rodando .abertura__luz{ opacity: 1; }
@keyframes vazamento{
  from{ transform: translate3d(-5%, -3%, 0) rotate(0deg) scale(1); }
  to  { transform: translate3d(5%, 4%, 0) rotate(10deg) scale(1.08); }
}

.abertura__cena{
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 2.2vh, 20px); padding: 24px;
}
.abertura__coracao{ position: relative; flex: none; width: var(--s, 320px); height: var(--a, 300px); }
.abertura__coracao .abertura__ima{ position: absolute; left: 0; top: 0; width: var(--m, 60px); z-index: 1; }
.abertura__ima .ima__foto{ transition: filter 1.5s var(--suave); }
.abertura__ima.leitoso .ima__foto{ filter: saturate(0) brightness(1.7) contrast(.55); }
.abertura__laco{
  position: absolute; left: 50%; top: 46%; z-index: 0;
  width: calc(var(--s, 320px) * .36); height: auto; overflow: visible;
  transform: translate(-50%, -50%);
}
.abertura__laco use{ fill: none; stroke: url(#gLaco); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1.2; stroke-dashoffset: 1.001; }
.abertura.laco .abertura__laco use{ animation: desenha 1.4s var(--suave) forwards; }
@keyframes desenha{ to{ stroke-dashoffset: 0; } }

.abertura__nome{
  font-size: clamp(36px, 11vw, 66px); font-weight: 400; letter-spacing: .28em; margin-right: -.28em;
  line-height: 1.1; color: var(--framboesa);
}
.abertura__nome .letra{ display: inline-block; opacity: 0; transform: translate3d(0, .55em, 0) scale(.92); filter: blur(8px); }
.abertura.nome .abertura__nome .letra{
  animation: letra-sobe 1s var(--saida) forwards, letra-brilho 1.2s var(--suave) forwards;
  animation-delay: calc(var(--i) * 80ms), calc(.75s + var(--i) * 70ms);
}
@keyframes letra-sobe{ to{ opacity: 1; transform: none; filter: blur(0); } }
@keyframes letra-brilho{
  0%, 100%{ color: var(--framboesa); text-shadow: none; }
  45%     { color: #F2A8B9; text-shadow: 0 0 18px rgba(255, 214, 224, .9); }
}

.abertura__slogan{
  font-size: clamp(11px, 3vw, 13px); font-weight: 700; letter-spacing: .3em; margin-right: -.3em;
  text-transform: uppercase; color: var(--po); text-align: center;
}
.abertura__slogan .letra{ display: inline-block; opacity: 0; transform: translate3d(0, 6px, 0); white-space: pre; }
.abertura.slogan .abertura__slogan .letra{ animation: letra-surge .6s var(--saida) forwards; animation-delay: calc(var(--i) * 26ms); }
@keyframes letra-surge{ to{ opacity: 1; transform: none; } }

/* estrelinhas que piscam em volta do coração */
.abertura__brilho{
  position: absolute; z-index: 2; width: 14px; height: 14px; margin: -7px 0 0 -7px; pointer-events: none;
  background: #fff;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  opacity: 0; transform: scale(0);
  animation: cintila 1.3s var(--saida) forwards; animation-delay: var(--d, 0s);
}
.abertura__brilho--rosa{ background: #F6B3C3; }
@keyframes cintila{
  0%  { opacity: 0; transform: scale(0) rotate(0deg); }
  35% { opacity: 1; transform: scale(var(--t, 1)) rotate(45deg); }
  100%{ opacity: 0; transform: scale(.2) rotate(90deg); }
}
/* um brilho atravessa o coração inteiro */
.abertura__coracao::after{
  content: ""; position: absolute; z-index: 3; top: -20%; bottom: -20%; left: -30%; width: 22%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
  transform: skewX(-16deg); opacity: 0; pointer-events: none;
}
.abertura.brilha .abertura__coracao::after{ animation: atravessa 1.1s var(--suave) forwards; }
@keyframes atravessa{
  from{ opacity: 1; transform: translateX(0) skewX(-16deg); }
  to  { opacity: 1; transform: translateX(720%) skewX(-16deg); }
}

/* a saída: o fundo creme se desfaz, o texto sobe sumindo e os ímãs voam */
.abertura__nome, .abertura__slogan{ transition: opacity .5s ease, transform .7s var(--saida); }
.abertura__laco{ transition: opacity .5s ease; }
.abertura.sai .abertura__fundo, .abertura.sai .abertura__luz{ opacity: 0; }
.abertura.sai .abertura__nome, .abertura.sai .abertura__slogan{ opacity: 0; transform: translate3d(0, -14px, 0); }
.abertura.sai .abertura__laco{ opacity: 0; }


/* ==========================================================================
   CABEÇALHO E MENU
   ========================================================================== */
.topo{
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: calc(var(--h-topo) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) calc(var(--gut) - 10px) 0 var(--gut);
  display: flex; align-items: center; gap: 4px;
  transition: background-color .45s, box-shadow .45s, transform .6s var(--saida);
}
.topo.solido{
  background: rgba(255, 247, 243, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--linha);
}
.marca{ display: inline-flex; flex-direction: column; align-items: center; gap: 0; margin-right: auto; color: var(--framboesa); padding: 6px 0; }
.marca__laco{ width: 40px; height: 17.5px; overflow: visible; }
.marca__laco use{ fill: none; stroke: url(#gLaco); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.marca__nome{ font-size: 14px; font-weight: 550; letter-spacing: .34em; margin-right: -.34em; line-height: 1.2; }

.topo__nav{ display: none; gap: 30px; margin-right: 26px; }
.topo__nav a{ position: relative; font-size: 15px; font-weight: 550; color: var(--cacau-2); padding: 6px 0; transition: color .3s; }
.topo__nav a::after{ content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 2px; background: var(--framboesa); transform: scaleX(0); transition: transform .5s var(--saida); }
@media (hover: hover){
  .topo__nav a:hover{ color: var(--cacau); }
  .topo__nav a:hover::after{ transform: scaleX(1); }
}
.topo__criar{ display: none; margin-right: 8px; }

.topo__bolsa, .topo__menu{
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--cacau);
  transition: background-color .3s, transform .6s var(--mola);
}
.topo__bolsa svg, .topo__menu svg{ width: 25px; height: 25px; }
@media (hover: hover){ .topo__bolsa:hover, .topo__menu:hover{ background: rgba(178, 77, 102, .08); } }
.topo__bolsa{ overflow: visible; }
.topo__conta{
  position: absolute; top: 5px; right: 3px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--framboesa); color: #fff;
  font-size: 11px; font-weight: 750; line-height: 19px; text-align: center;
  box-shadow: 0 0 0 2px var(--creme);
}
.topo__bolsa.pula{ animation: bolsa-pula .7s var(--mola); }
.topo__bolsa.pula .topo__conta{ animation: conta-pula .6s var(--mola) .15s; }
@keyframes bolsa-pula{ 0%{ transform: none; } 30%{ transform: translateY(-5px) rotate(-10deg) scale(1.1); } 60%{ transform: rotate(6deg); } 100%{ transform: none; } }
@keyframes conta-pula{ 0%{ transform: scale(.4); } 100%{ transform: none; } }

@media (min-width: 1024px){
  .topo__nav{ display: flex; }
  .topo__criar{ display: inline-flex; }
  .topo__menu{ display: none; }
}

/* seletor de idioma */
.idiomas{ position: relative; }
.idiomas__botao{
  display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 10px 0 9px;
  border-radius: 999px; color: var(--cacau); font-size: 13px; font-weight: 700; letter-spacing: .06em;
  transition: background-color .3s;
}
.idiomas__botao svg{ width: 19px; height: 19px; }
@media (hover: hover){ .idiomas__botao:hover{ background: rgba(178, 77, 102, .08); } }
.idiomas__lista{
  position: absolute; top: calc(100% + 6px); right: -6px; z-index: 5; min-width: 176px;
  padding: 6px; border-radius: 18px; background: #fff;
  box-shadow: 0 18px 40px -18px rgba(54, 42, 41, .45), 0 0 0 1px var(--linha);
  transform-origin: top right; animation: abre-lista .3s var(--saida);
}
@keyframes abre-lista{ from{ opacity: 0; transform: translate3d(0, -6px, 0) scale(.96); } }
.idiomas__lista button{
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 15px; font-weight: 600; text-align: left;
}
.idiomas__lista button svg{ width: 18px; height: 18px; color: var(--framboesa); opacity: 0; }
.idiomas__lista button[aria-current="true"]{ background: #FFF3F5; color: var(--framboesa-2); }
.idiomas__lista button[aria-current="true"] svg{ opacity: 1; }
@media (hover: hover){ .idiomas__lista button:hover{ background: #FFF6F8; } }

/* menu em cortina */
.menu{ position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: 1fr auto; padding: calc(var(--h-topo) + env(safe-area-inset-top) + 18px) var(--gut) calc(28px + env(safe-area-inset-bottom)); }
.menu__fundo{ position: absolute; inset: 0; z-index: -1; background: var(--creme); clip-path: inset(0 0 100% 0 round 0 0 40px 40px); transition: clip-path .8s var(--saida); }
.menu.aberto .menu__fundo{ clip-path: inset(0 0 0 0 round 0); }
.menu__nav{ display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.menu__nav a{ display: block; overflow: hidden; font-size: clamp(34px, 10vw, 60px); font-weight: 300; line-height: 1.16; letter-spacing: -.03em; }
.menu__nav a:first-child{ color: var(--framboesa); }
.menu__nav a span{ display: inline-block; transform: translateY(110%); transition: transform .8s var(--saida), color .3s; transition-delay: calc(var(--i, 0) * 45ms + .15s); }
.menu.aberto .menu__nav a span{ transform: none; }
@media (hover: hover){ .menu__nav a:hover span{ color: var(--framboesa); } }
.menu__pe{ display: grid; justify-items: center; gap: 14px; opacity: 0; transform: translateY(20px); transition: opacity .6s .4s, transform .8s var(--saida) .4s; }
.menu.aberto .menu__pe{ opacity: 1; transform: none; }
.menu__pe p{ font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--cacau-2); }
.menu__idiomas{ display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: #F6E5E9; }
.menu__idiomas button{ min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 650; color: var(--cacau-2); }
.menu__idiomas button[aria-current="true"]{ background: #fff; color: var(--framboesa-2); box-shadow: 0 6px 14px -8px rgba(90, 40, 55, .5); }
.menu__insta{ display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: var(--framboesa-2); min-height: 44px; }
.menu__insta svg{ width: 24px; height: 24px; }
.menu__fechar{
  position: absolute; top: calc(env(safe-area-inset-top) + 7px); right: calc(var(--gut) - 10px); width: 46px; height: 46px;
  display: grid; place-items: center; border-radius: 50%; opacity: 0; transition: opacity .4s .3s, transform .6s var(--mola);
}
.menu.aberto .menu__fechar{ opacity: 1; }
@media (hover: hover){ .menu__fechar:hover{ transform: rotate(90deg); } }
.menu__fechar svg{ width: 26px; height: 26px; }


/* ==========================================================================
   INÍCIO — a porta da geladeira com os ímãs
   ========================================================================== */
.pilha{ position: relative; }
.inicio{
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh; min-height: 600px;
  overflow: clip;
  background:
    radial-gradient(120% 70% at 85% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #F9D2D9 0%, #FBDFE3 42%, #FEF0EE 78%, var(--creme) 100%);
}
.inicio__luz{ position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.inicio__veu{ position: absolute; inset: 0; z-index: 4; background: #4A2C35; opacity: 0; pointer-events: none; }

.inicio__grade{
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column;
  max-width: 1320px; margin-inline: auto;
  padding: calc(var(--h-topo) + env(safe-area-inset-top) + 6px) var(--gut) calc(var(--folha) + 22px + env(safe-area-inset-bottom));
}
.mural{ position: relative; flex: 1 1 auto; min-height: 180px; container-type: size; }
/* um quadrado que cabe no espaço que sobrar, para a composição não deformar */
.mural__caixa{
  position: absolute; left: 50%; top: 50%;
  width: min(100cqw, 100cqh * 1.06); aspect-ratio: 1.06;
  transform: translate(-50%, -50%);
}
.mural .ima{ position: absolute; left: var(--x); top: var(--y); width: var(--w); }
.ima-coracao{
  position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: 1;
  color: var(--framboesa); transform: rotate(var(--r));
  filter: drop-shadow(0 6px 6px rgba(90, 40, 55, .28)) drop-shadow(0 1px 0 rgba(90, 40, 55, .2));
}
.ima-coracao svg{ width: 100%; height: 100%; }
.ima-coracao::after{
  content: ""; position: absolute; left: 24%; top: 22%; width: 22%; height: 14%; border-radius: 50%;
  background: rgba(255, 255, 255, .55); transform: rotate(-35deg);
}

.mural__dica{
  position: absolute; left: 50%; bottom: 2px; z-index: 5;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px 7px 10px; border-radius: 999px;
  background: rgba(255, 252, 250, .78); color: var(--framboesa-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 650; letter-spacing: .02em; white-space: nowrap;
  box-shadow: 0 6px 16px -10px rgba(90, 40, 55, .5);
  opacity: 0; transform: translate3d(-50%, 8px, 0); pointer-events: none;
  transition: opacity .6s var(--saida), transform .6s var(--saida);
}
.mural__dica svg{ width: 17px; height: 17px; }
.mural__dica.vista{ opacity: 1; transform: translate3d(-50%, 0, 0); }
.mural__dica.vista svg{ animation: dedo 1.8s var(--suave) infinite; }
@keyframes dedo{ 0%, 100%{ transform: none; } 40%{ transform: translate(1px, 2px) scale(.9); } }

.inicio__texto{ flex: none; padding-top: 14px; }
.inicio__titulo{
  font-size: clamp(36px, 10.2vw, 84px); font-weight: 300; line-height: 1.02; letter-spacing: -.038em;
  margin: 12px 0 14px; text-wrap: balance;
}
.inicio__sub{ font-size: 15.5px; line-height: 1.5; color: var(--cacau-2); max-width: 31em; }
.inicio__acoes{ display: flex; gap: 10px; margin-top: 20px; }
.inicio__acoes .botao:first-child{ flex: 1 1 auto; }
.inicio__nota{ display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 14px; font-size: 12.5px; font-weight: 550; color: var(--cacau-2); }
.inicio__nota i{ width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

/* o texto da capa entra depois que a abertura sai */
.js .inicio__texto > *{ opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .8s var(--saida), transform .9s var(--saida); }
.js .inicio__texto > :nth-child(2){ transition-delay: .06s; }
.js .inicio__texto > :nth-child(3){ transition-delay: .18s; }
.js .inicio__texto > :nth-child(4){ transition-delay: .26s; }
.js .inicio__texto > :nth-child(5){ transition-delay: .34s; }
.inicio.entrou .inicio__texto > *{ opacity: 1; transform: none; }
.js .inicio__titulo{ opacity: 1 !important; transform: none !important; }

/* no celular o botão principal ocupa a linha toda; os kits já aparecem logo
   abaixo, na folha que sobe */
@media (max-width: 559px){
  .inicio__acoes .botao--linha{ display: none; }
  .inicio__acoes .botao:first-child{ width: 100%; justify-content: space-between; padding: 0 22px 0 26px; }
}
@media (max-height: 640px) and (max-width: 899px){
  .inicio__sub{ display: none; }
}
@media (max-height: 520px){
  .inicio{ position: relative; height: auto; min-height: 100svh; }
  .mural{ min-height: 300px; }
}
@media (min-width: 900px){
  .inicio__grade{ display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 4vw; padding-top: calc(var(--h-topo) + 20px); padding-bottom: calc(var(--folha) + 40px); }
  .mural{ order: 2; height: min(76vh, 640px); }
  .inicio__texto{ order: 1; padding: 0; }
  .inicio__sub{ font-size: 17px; }
  .inicio__acoes{ margin-top: 30px; }
  .inicio__acoes .botao:first-child{ flex: none; }
}


/* ==========================================================================
   O ÍMÃ — quadrado ou polaroid, com brilho de foto impressa
   ========================================================================== */
.ima{
  --r: 0deg;
  position: relative; display: block; padding: 0;
  container-type: inline-size;
  border-radius: 4px; background: #FFFEFC;
  box-shadow: var(--sombra-ima);
  transform: rotate(var(--r));
  text-align: left; color: inherit;
}
.ima__foto{
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
  border-radius: 3px; background: #F4E3E6 50% 50% / cover no-repeat;
}
.ima__foto > svg{ position: absolute; inset: 0; width: 100%; height: 100%; }
/* o brilho da impressão e um grão bem leve de papel */
.ima__foto::after{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(128deg, rgba(255, 255, 255, .36) 0%, rgba(255, 255, 255, .08) 32%, rgba(255, 255, 255, 0) 50%),
    var(--grao, none);
  background-size: 100% 100%, 128px 128px;
}
.ima__legenda{ display: none; }
/* a borda da polaroid é medida na largura do próprio ímã (cqw), e não na
   do bloco em volta: em porcentagem ela engordava nos ímãs soltos da capa */
.ima--polaroid{ padding: 0; border-radius: 3px; background: #FFFDFB; }
.ima--polaroid .ima__foto{ margin: 6.5cqw 6.5cqw 0; border-radius: 1px; }
.ima--polaroid .ima__legenda{
  display: block; height: 22cqw; padding: 0 3%;
  font-size: 8.2cqw; line-height: 22cqw; font-weight: 600; letter-spacing: .01em;
  color: #7C6266; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* a foto se revela como filme instantâneo: do leitoso ao colorido */
.revela > svg, .revela-foto{ animation: revela 1.5s var(--suave) both; }
@keyframes revela{
  0%  { filter: saturate(0) brightness(1.75) contrast(.55) blur(1.2px); }
  50% { filter: saturate(.55) brightness(1.2) contrast(.82) blur(.3px); }
  100%{ filter: none; }
}

/* ímãs da capa: caem e grudam */
.js .mural .ima, .js .mural .ima-coracao{ opacity: 0; }
.mural.entrou .ima, .mural.entrou .ima-coracao{ animation: gruda .95s var(--saida) both; animation-delay: calc(var(--i, 0) * 105ms + .05s); }
.mural .ima.pousou, .mural .ima-coracao.pousou{ animation: none; opacity: 1; }
/* chegando pela abertura: invisíveis até o ímã voador pousar em cima */
.mural .ima.esperando{ animation: none !important; opacity: 0 !important; }
@keyframes gruda{
  0%  { opacity: 0; transform: translate3d(0, -70px, 0) rotate(calc(var(--r) * 2.4)) scale(1.1); }
  50% { opacity: 1; transform: translate3d(0, 5px, 0) rotate(calc(var(--r) * .7)) scale(.98); }
  72% { transform: translate3d(0, -2px, 0) rotate(calc(var(--r) * 1.08)) scale(1.005); }
  100%{ opacity: 1; transform: rotate(var(--r)); }
}
.mural .ima{ transition: transform .65s var(--mola), box-shadow .5s var(--saida); cursor: pointer; }
.mural .ima.solta{ transform: translate3d(0, -14px, 0) rotate(calc(var(--r) * .25)) scale(1.07); box-shadow: var(--sombra-solta); transition-duration: .3s; transition-timing-function: var(--saida); z-index: 3; }
.mural .ima:focus-visible{ outline-offset: 5px; }
.mural .ima-coracao.pousou.pulsa{ animation: coracao-pulsa .7s var(--mola); }
@keyframes coracao-pulsa{ 0%{ transform: rotate(var(--r)); } 35%{ transform: rotate(var(--r)) scale(1.22); } 100%{ transform: rotate(var(--r)); } }


/* ==========================================================================
   SEÇÕES — folhas que sobem umas sobre as outras
   ========================================================================== */
.secao{ position: relative; padding: var(--respiro) 0; }
.folha{
  z-index: 2;
  border-radius: var(--folha) var(--folha) 0 0;
  margin-top: calc(var(--folha) * -1);
  box-shadow: 0 -14px 34px -22px rgba(90, 40, 55, .32);
}


/* ---------- kits ----------------------------------------------------------- */
.kits{ background: var(--leite); }
.kits__grade{ display: grid; }
.geladeira{
  position: relative; container-type: inline-size;
  aspect-ratio: 1 / .9; margin: 28px 0 26px;
  border-radius: 26px;
  background: linear-gradient(162deg, #FDEEF1 0%, #F9DBE1 55%, #F3C9D2 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -40px 60px -40px rgba(178, 77, 102, .28), 0 30px 50px -38px rgba(90, 40, 55, .5);
  display: grid; place-items: center;
  padding: 8% 13% 8% 8%;
  overflow: hidden;
}
.geladeira::before{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 38%);
}
.geladeira__puxador{
  position: absolute; right: 4.6%; top: 24%; height: 52%; width: 2.2cqw; min-width: 6px; border-radius: 8px;
  background: linear-gradient(90deg, #E2AEBA 0%, #FFF6F8 45%, #D99DAB 100%);
  box-shadow: 0 8px 12px -6px rgba(90, 40, 55, .45);
}
.geladeira__grade{
  display: grid; width: 100%;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: var(--vao, 5cqw);
  align-content: center;
}
.mini{ --r: 0deg; box-shadow: 0 1px 1px rgba(90, 40, 55, .1), 0 4px 8px -3px rgba(90, 40, 55, .3); }
.mini.entra{ animation: gruda-mini .6s var(--saida) both; animation-delay: var(--d, 0s); }
.mini.sai{ animation: sai-mini .32s ease-in forwards; }
@keyframes gruda-mini{
  0%  { opacity: 0; transform: translate3d(0, -18px, 0) rotate(calc(var(--r) * 3)) scale(1.18); }
  60% { opacity: 1; transform: translate3d(0, 2px, 0) rotate(var(--r)) scale(.97); }
  100%{ opacity: 1; transform: rotate(var(--r)); }
}
@keyframes sai-mini{ to{ opacity: 0; transform: translate3d(0, -10px, 0) rotate(calc(var(--r) * 3)) scale(.7); } }

/* estilos: quadrado ou polaroid */
.estilos{
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  padding: 5px; border-radius: 999px; background: #F6E5E9; margin-bottom: 14px;
}
.estilos__luz{
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: 999px; background: #fff; box-shadow: 0 6px 14px -8px rgba(90, 40, 55, .5);
  transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .55s var(--mola);
}
.estilo{
  position: relative; z-index: 1; min-height: 50px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 15px; font-weight: 650; color: var(--cacau-2); transition: color .3s;
}
.estilo[aria-checked="true"]{ color: var(--cacau); }
.estilo small{ font-size: 12px; font-weight: 500; color: var(--cacau-2); }
.estilo__forma{ width: 15px; height: 15px; flex: none; border: 1.6px solid currentColor; border-radius: 2px; }
.estilo__forma--polaroid{ width: 14px; height: 17px; border-bottom-width: 4.5px; }
.estilos--p .estilo{ min-height: 44px; font-size: 14.5px; }

/* lista de kits */
.kits__lista{ display: grid; gap: 10px; }
.kit{
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  width: 100%; text-align: left; padding: 15px 16px; border-radius: 18px; overflow: visible;
  border: 1.5px solid var(--linha); background: #fff;
  transition: border-color .3s, background-color .3s, box-shadow .4s, transform .5s var(--mola);
}
.kit:active{ transform: scale(.985); }
.kit[aria-checked="true"]{ border-color: var(--framboesa); background: #FFF7F9; box-shadow: 0 12px 26px -18px rgba(178, 77, 102, .6); }
.kit__marca{ width: 22px; height: 22px; border-radius: 50%; border: 1.6px solid rgba(54, 42, 41, .3); display: grid; place-items: center; transition: border-color .3s, background-color .3s; }
.kit__marca::after{ content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .45s var(--mola); }
.kit[aria-checked="true"] .kit__marca{ border-color: var(--framboesa); background: var(--framboesa); }
.kit[aria-checked="true"] .kit__marca::after{ transform: none; }
.kit__nome{ display: grid; line-height: 1.25; min-width: 0; }
.kit__nome b{ font-size: 16.5px; font-weight: 650; }
.kit__nome small{ font-size: 13.5px; color: var(--cacau-2); }
.kit__preco{ display: grid; text-align: right; line-height: 1.25; }
.kit__preco b{ font-size: 18px; font-weight: 700; }
.kit__preco small{ font-size: 12px; color: var(--cacau-2); }
.kit__selo{
  position: absolute; top: -9px; right: 16px;
  padding: 4px 9px; border-radius: 999px; background: var(--framboesa); color: #fff;
  font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
}
.kit--avulso .passo{ grid-column: 2 / -1; justify-self: start; margin-top: 2px; }

/* o passo de mais e menos */
.passo{ display: inline-flex; align-items: center; border-radius: 999px; background: var(--creme); border: 1px solid var(--linha); }
.passo button{ width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--framboesa-2); transition: transform .45s var(--mola); }
.passo button:active{ transform: scale(.85); }
.passo button svg{ width: 18px; height: 18px; }
.passo button[disabled]{ opacity: .3; }
.passo output{ min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.kits__acao{ margin-top: 18px; }
.kits__nota{ display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--cacau-2); text-align: center; }
.kits__nota svg{ width: 19px; height: 19px; flex: none; color: var(--framboesa); --fundo-ico: var(--leite); }

@media (min-width: 900px){
  .kits__grade{ grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "gel cab" "gel esc"; column-gap: 5vw; align-items: start; }
  .kits__cabeca{ grid-area: cab; }
  .geladeira{ grid-area: gel; position: sticky; top: calc(var(--h-topo) + 28px); margin: 0; }
  .kits__escolha{ grid-area: esc; padding-top: 10px; }
}


/* ---------- ideias ---------------------------------------------------------- */
.ideias{ background: var(--algodao); overflow: clip; }
.ideias__grade{ display: grid; gap: 30px; }
.ideias__palco{ position: relative; display: grid; place-items: center; padding: 8px 0 18px; }
.ima--grande{ width: min(70vw, 360px); --r: -3deg; z-index: 1; }
.ima--grande.troca{ animation: descola 1s var(--saida); }
@keyframes descola{
  0%  { transform: rotate(var(--r)); }
  30% { transform: translate3d(0, -18px, 0) rotate(calc(var(--r) + 6deg)) scale(1.05); box-shadow: var(--sombra-solta); }
  65% { transform: translate3d(0, 3px, 0) rotate(calc(var(--r) - 1deg)) scale(.99); }
  100%{ transform: rotate(var(--r)); }
}
.ideias__sombra{ position: absolute; left: 50%; bottom: 6px; width: 60%; height: 22px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(142, 58, 80, .18), rgba(142, 58, 80, 0)); }
.chips{ display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 18px; }
.chip{
  min-height: 44px; padding: 0 17px; border-radius: 999px;
  border: 1.5px solid rgba(178, 77, 102, .28); background: rgba(255, 255, 255, .55);
  color: var(--framboesa-2); font-size: 14.5px; font-weight: 650;
  transition: background-color .35s, color .35s, border-color .35s, transform .5s var(--mola);
}
.chip:active{ transform: scale(.94); }
.chip[aria-selected="true"]{ background: var(--framboesa); border-color: var(--framboesa); color: #fff; }
@media (hover: hover){ .chip:not([aria-selected="true"]):hover{ border-color: var(--framboesa); background: #fff; } }
.ideias__frase{ font-size: 19px; line-height: 1.45; font-weight: 450; max-width: 27em; min-height: 4.4em; margin-bottom: 24px; transition: opacity .35s, transform .45s var(--saida); }
.ideias__frase.troca{ opacity: 0; transform: translate3d(0, 8px, 0); }

@media (min-width: 900px){
  .ideias__grade{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 6vw; }
  .ima--grande{ width: min(32vw, 400px); }
}


/* ---------- entrega ---------------------------------------------------------- */
.entrega{ background: var(--rosa); }
.entrega .rotulo{ color: var(--framboesa-2); }
.entrega .sub{ color: #5E494C; }
.entrega__grade{ display: grid; gap: 34px; }
.promessas{ margin-top: 26px; }
.promessas li{ display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(142, 58, 80, .18); }
.promessas li:last-child{ border-bottom: 1px solid rgba(142, 58, 80, .18); }
.promessas svg{ width: 26px; height: 26px; color: var(--framboesa-2); --fundo-ico: var(--rosa); margin-top: 1px; }
.promessas b{ display: block; font-size: 16.5px; font-weight: 650; }
.promessas span{ font-size: 14.5px; color: #5E494C; }

.mapa{ position: relative; margin: 0; }
.mapa__svg{ width: 100%; height: auto; overflow: visible; font-family: var(--f); }
.mapa__terra{ fill: #FFF1F3; stroke: rgba(178, 77, 102, .28); stroke-width: 1; }
.mapa__rota{ fill: none; stroke: rgba(142, 58, 80, .3); stroke-width: 1.2; stroke-dasharray: 2.5 4; stroke-linecap: round; }
.mapa__rota.ativa{ stroke: var(--framboesa); stroke-width: 1.8; stroke-dasharray: none; }
.mapa__cidade{ cursor: pointer; }
.mapa__cidade .alvo{ fill: transparent; }
.mapa__cidade .ponto{ fill: var(--framboesa-2); stroke: #fff; stroke-width: 2; transition: transform .45s var(--mola); transform-box: fill-box; transform-origin: center; }
.mapa__cidade .anel{ fill: none; stroke: var(--framboesa); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.mapa__cidade.ativa .ponto{ fill: var(--framboesa); transform: scale(1.35); }
.mapa__cidade.ativa .anel{ animation: anel 1.8s var(--saida) infinite; }
@keyframes anel{ 0%{ opacity: .9; transform: scale(.6); } 100%{ opacity: 0; transform: scale(2.4); } }
.mapa__cidade text{ font-size: 10.5px; font-weight: 750; letter-spacing: .16em; fill: var(--framboesa-2); text-transform: uppercase; }
.mapa__cidade.ativa text{ fill: var(--framboesa); }
.mapa__cidade:focus-visible{ outline: none; }
.mapa__cidade:focus-visible .ponto{ stroke: var(--framboesa); stroke-width: 3; }
.mapa__casa text{ font-size: 11px; font-weight: 800; letter-spacing: .16em; fill: var(--framboesa); }
.mapa__pacote{ pointer-events: none; }
.mapa__legenda{
  margin: 18px auto 0; max-width: 24em; min-height: 3em;
  font-size: 15px; font-weight: 550; line-height: 1.5; color: #5E494C; text-align: center; text-wrap: balance;
}
.mapa__legenda b{ color: var(--framboesa-2); font-weight: 700; }

@media (min-width: 900px){
  .entrega__grade{ grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 5vw; }
}


/* ---------- dúvidas ---------------------------------------------------------- */
.duvidas{ background: var(--creme); padding-bottom: calc(var(--respiro) + var(--folha)); }
.duvidas__grade{ display: grid; gap: 22px; }
.sanfona__item{ border-top: 1px solid var(--linha); }
.sanfona__item:last-child{ border-bottom: 1px solid var(--linha); }
.sanfona h3{ font-size: inherit; font-weight: inherit; }
.sanfona button{
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 0; min-height: 64px; text-align: left; font-size: 17px; font-weight: 600; line-height: 1.35;
}
.sanfona button svg{ width: 22px; height: 22px; flex: none; color: var(--framboesa); transition: transform .55s var(--mola); }
.sanfona button[aria-expanded="true"] svg{ transform: rotate(135deg); }
.sanfona__resp{ display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--saida); }
.sanfona__resp > div{ overflow: hidden; }
.sanfona__resp p{ padding: 0 0 22px; color: var(--cacau-2); max-width: 36em; }
.sanfona__item.aberto .sanfona__resp{ grid-template-rows: 1fr; }

@media (min-width: 900px){
  .duvidas__grade{ grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6vw; align-items: start; }
  .duvidas__cabeca{ position: sticky; top: calc(var(--h-topo) + 40px); }
}


/* ---------- rodapé ------------------------------------------------------------ */
.rodape{
  position: relative; z-index: 3;
  margin-top: calc(var(--folha) * -1);
  border-radius: var(--folha) var(--folha) 0 0;
  background: var(--cacau); color: #F6DDE2;
  padding: var(--respiro) 0 calc(110px + env(safe-area-inset-bottom));
}
.rodape__frase{ font-size: clamp(36px, 9.6vw, 76px); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; color: #FFF3F5; max-width: 14em; text-wrap: balance; }
.rodape__frase em{ color: #F2A9B9; }
.rodape__insta{
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px;
  font-size: clamp(22px, 6vw, 34px); font-weight: 500; color: #FFF3F5;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255, 243, 245, .28);
  transition: border-color .4s, color .3s;
}
.rodape__insta svg{ width: 30px; height: 30px; color: #F2A9B9; }
.rodape__insta .rodape__seta{ width: 24px; height: 24px; transition: transform .5s var(--saida); }
@media (hover: hover){
  .rodape__insta:hover{ border-color: #F2A9B9; }
  .rodape__insta:hover .rodape__seta{ transform: translateX(6px); }
}
.rodape__redes{ display: flex; gap: 10px; margin-top: 18px; }
.rodape__redes a{ display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 243, 245, .2); font-size: 14.5px; font-weight: 600; }
.rodape__redes svg{ width: 20px; height: 20px; }
.rodape__nav{ display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 42px 0 36px; font-size: 15px; color: #D9BBC1; }
.rodape__nav a{ min-height: 40px; display: inline-flex; align-items: center; }
@media (hover: hover){ .rodape__nav a:hover{ color: #fff; } }
.rodape__idiomas{ display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: -14px 0 30px; color: #D9BBC1; }
.rodape__idiomas svg{ width: 18px; height: 18px; margin-right: 4px; opacity: .8; }
.rodape__idiomas button{ min-height: 38px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #D9BBC1; border: 1px solid transparent; }
.rodape__idiomas button[aria-current="true"]{ color: #fff; border-color: rgba(255, 243, 245, .28); }
@media (hover: hover){ .rodape__idiomas button:hover{ color: #fff; } }
.rodape__base{ display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 22px; border-top: 1px solid rgba(255, 243, 245, .14); font-size: 13px; color: #BC9EA4; }
.rodape__marca{ display: inline-flex; align-items: center; gap: 9px; margin-right: auto; letter-spacing: .3em; font-weight: 600; color: #F2A9B9; }
.rodape__marca svg{ width: 34px; height: 15px; overflow: visible; }
.rodape__marca use{ fill: none; stroke: #F2A9B9; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }


/* ---------- botão flutuante --------------------------------------------------- */
/* no celular ele ocupa a linha de baixo e deixa o canto direito para a Mimi */
.doca{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; justify-content: flex-start;
  padding: 0 calc(var(--gut) + 70px) calc(14px + env(safe-area-inset-bottom)) var(--gut);
  pointer-events: none;
  transform: translate3d(0, 140%, 0); transition: transform .6s var(--saida);
}
.doca.vista{ transform: none; }
.doca__botao{ pointer-events: auto; width: min(100%, 420px); justify-content: space-between; padding: 0 22px 0 26px; box-shadow: 0 16px 30px -12px rgba(142, 58, 80, .65); }
.doca.vista .doca__botao{ animation: balanca 8s ease-in-out 2.5s infinite; }
@keyframes balanca{
  0%, 84%, 100%{ rotate: 0deg; }
  87%{ rotate: -2.4deg; }
  90%{ rotate: 2deg; }
  93%{ rotate: -1.2deg; }
  96%{ rotate: .6deg; }
}
.doca__desde{ font-size: 13px; font-weight: 600; opacity: .85; }
@media (min-width: 1024px){
  .doca{ justify-content: flex-end; padding-right: 112px; padding-bottom: 28px; }
  .doca__botao{ width: auto; gap: 18px; }
}


/* ==========================================================================
   TELAS DA COMPRA — folhas que sobem de baixo (gaveta à direita no computador)
   ========================================================================== */
.tela{ position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; justify-content: flex-end; }
.tela__veu{ position: absolute; inset: 0; background: rgba(54, 42, 41, .46); opacity: 0; transition: opacity .5s var(--saida); }
.tela__painel{
  position: relative; display: flex; flex-direction: column;
  height: calc(100% - 10px - env(safe-area-inset-top));
  background: var(--creme); border-radius: 24px 24px 0 0;
  box-shadow: 0 -24px 60px -24px rgba(54, 42, 41, .45);
  transform: translate3d(0, 100%, 0);
  transition: transform .6s var(--saida);
  overflow: hidden;
}
.tela.aberta .tela__veu{ opacity: 1; }
.tela.aberta .tela__painel{ transform: translate3d(0, var(--arrasto, 0px), 0); }
.tela.arrastando .tela__painel{ transition: none; }
.tela--folha .tela__painel{ height: auto; max-height: calc(100% - 24px - env(safe-area-inset-top)); }

.tela__topo{
  position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px calc(var(--gut) - 6px) 10px var(--gut);
  touch-action: none;
}
.tela__alca{ position: absolute; top: 8px; left: 50%; width: 42px; height: 5px; margin-left: -21px; border-radius: 5px; background: rgba(54, 42, 41, .16); }
.tela__titulo{ font-size: 22px; font-weight: 650; letter-spacing: -.015em; }
.tela__titulo:focus{ outline: none; }
.tela__x{ width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(54, 42, 41, .06); transition: transform .5s var(--mola), background-color .3s; }
.tela__x svg{ width: 22px; height: 22px; }
@media (hover: hover){ .tela__x:hover{ transform: rotate(90deg); background: rgba(54, 42, 41, .1); } }
.tela__corpo{
  flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 6px var(--gut) 30px;
}
.tela__pe{
  flex: none; display: flex; align-items: center; gap: 16px;
  padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--linha); background: var(--creme);
}
.tela__pe .botao{ flex: 1 1 auto; }
.pe__resumo{ display: grid; line-height: 1.2; flex: none; }
.pe__resumo b{ font-size: 21px; font-weight: 750; font-variant-numeric: tabular-nums; }
.pe__resumo small{ font-size: 12.5px; color: var(--cacau-2); }

@media (min-width: 900px){
  .tela{ flex-direction: row; justify-content: flex-end; }
  .tela__painel{ width: 500px; height: 100%; border-radius: 26px 0 0 26px; transform: translate3d(100%, 0, 0); }
  .tela.aberta .tela__painel{ transform: none; }
  .tela__alca{ display: none; }
  .tela--folha{ justify-content: center; align-items: center; }
  .tela--folha .tela__painel{ width: 470px; height: auto; border-radius: 26px; transform: translate3d(0, 40px, 0) scale(.96); opacity: 0; transition: transform .5s var(--saida), opacity .3s; }
  .tela--folha.aberta .tela__painel{ transform: none; opacity: 1; }
}


/* ---------- criar --------------------------------------------------------------- */
.criar__opcoes{ display: grid; gap: 12px; padding: 4px 0 18px; }
.criar__kits{
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 6px; scroll-padding-inline: var(--gut);
}
.criar__kits::-webkit-scrollbar{ display: none; }
.criar__kit{
  flex: none; display: grid; text-align: left; line-height: 1.25;
  padding: 10px 15px; border-radius: 16px; min-width: 100px;
  border: 1.5px solid var(--linha); background: #fff;
  transition: border-color .3s, background-color .3s, transform .45s var(--mola);
}
.criar__kit:active{ transform: scale(.95); }
.criar__kit b{ font-size: 15px; font-weight: 700; }
.criar__kit small{ font-size: 12px; color: var(--cacau-2); white-space: nowrap; }
.criar__kit[aria-checked="true"]{ border-color: var(--framboesa); background: #FFF7F9; }
.criar__avulso{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--linha); font-size: 14.5px; font-weight: 600; }

.criar__progresso{ padding: 2px 0 16px; }
.criar__progresso p{ display: grid; gap: 1px; font-size: 14px; line-height: 1.35; }
.criar__progresso b{ font-weight: 700; font-variant-numeric: tabular-nums; }
.criar__progresso span{ font-size: 13px; color: var(--cacau-2); }
.barra{ display: block; height: 4px; margin-top: 9px; border-radius: 4px; background: rgba(178, 77, 102, .14); overflow: hidden; }
.barra i{ display: block; height: 100%; border-radius: inherit; background: var(--framboesa); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .6s var(--saida); }

.grade{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; padding: 4px 2px 14px; }
@media (min-width: 560px){ .grade{ grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px){ .grade{ grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vaga{ position: relative; }
.vaga > button{ display: block; width: 100%; border-radius: 4px; transition: transform .45s var(--mola); }
.vaga > button:active{ transform: scale(.94); }
.vaga .ima{ --r: 0deg; }
.vaga--vazia > button{
  aspect-ratio: 1; display: grid; place-items: center;
  border: 1.5px dashed rgba(178, 77, 102, .45); border-radius: 6px;
  background: rgba(255, 255, 255, .7); color: var(--framboesa);
}
.vaga--vazia.polaroid > button{ aspect-ratio: .82; }
.vaga--vazia svg{ width: 26px; height: 26px; transition: transform .5s var(--mola); }
@media (hover: hover){ .vaga--vazia > button:hover svg{ transform: rotate(90deg); } }
.vaga--carregando .ima__foto{ background: linear-gradient(100deg, #F6E6E9 30%, #FFF6F7 50%, #F6E6E9 70%) 0 0 / 220% 100%; animation: carrega 1.1s linear infinite; }
@keyframes carrega{ to{ background-position: -220% 0; } }
.vaga__alerta{
  position: absolute; top: -7px; right: -7px; z-index: 2;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: #E39A2D; color: #fff; box-shadow: 0 0 0 2px var(--creme);
  pointer-events: none;
}
.vaga__alerta svg{ width: 14px; height: 14px; }
.vaga.nova .ima{ animation: gruda-mini .55s var(--saida) both; }
.vaga.nova .ima__foto{ animation: revela 1.3s var(--suave) both; }
#repetir{ margin: 0 auto; display: flex; }


/* ---------- editor ---------------------------------------------------------------- */
.editor{ display: grid; justify-items: center; gap: 14px; padding-bottom: 20px; }
.editor__palco{ width: min(76vw, 330px); padding: 8px 0 2px; }
.editor__ima{ width: 100%; box-shadow: var(--sombra-solta); }
.editor__foto{ touch-action: none; cursor: grab; }
.editor__foto.arrastando{ cursor: grabbing; }
.editor__grade{
  position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; transition: opacity .3s;
  background:
    linear-gradient(90deg, transparent calc(33.333% - .5px), rgba(255, 255, 255, .75) calc(33.333% - .5px), rgba(255, 255, 255, .75) calc(33.333% + .5px), transparent calc(33.333% + .5px), transparent calc(66.666% - .5px), rgba(255, 255, 255, .75) calc(66.666% - .5px), rgba(255, 255, 255, .75) calc(66.666% + .5px), transparent calc(66.666% + .5px)),
    linear-gradient(180deg, transparent calc(33.333% - .5px), rgba(255, 255, 255, .75) calc(33.333% - .5px), rgba(255, 255, 255, .75) calc(33.333% + .5px), transparent calc(33.333% + .5px), transparent calc(66.666% - .5px), rgba(255, 255, 255, .75) calc(66.666% - .5px), rgba(255, 255, 255, .75) calc(66.666% + .5px), transparent calc(66.666% + .5px));
}
.editor__foto.arrastando .editor__grade{ opacity: 1; }
.editor__dica{ font-size: 13px; color: var(--cacau-2); }
.editor__zoom{ display: flex; align-items: center; gap: 12px; width: min(80vw, 340px); color: var(--cacau-2); }
.editor__zoom svg{ width: 22px; height: 22px; flex: none; }
.editor__zoom svg:first-child{ width: 18px; height: 18px; }
.editor__aviso{ display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #FCEFD9; color: #7A4E14; font-size: 13.5px; font-weight: 550; max-width: 340px; }
.editor__aviso svg{ width: 18px; height: 18px; flex: none; }
.editor__acoes{ display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.acao{
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; background: #fff; border: 1px solid var(--linha);
  font-size: 14.5px; font-weight: 600; transition: transform .45s var(--mola), border-color .3s;
}
.acao:active{ transform: scale(.94); }
.acao svg{ width: 19px; height: 19px; }
.acao--perigo{ color: #A3364C; }
@media (hover: hover){ .acao:hover{ border-color: rgba(54, 42, 41, .3); } }

/* o controle de zoom */
input[type="range"]{ -webkit-appearance: none; appearance: none; flex: 1; height: 32px; background: transparent; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track{ height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--framboesa) var(--p, 0%), rgba(178, 77, 102, .18) var(--p, 0%)); }
input[type="range"]::-moz-range-track{ height: 4px; border-radius: 4px; background: rgba(178, 77, 102, .18); }
input[type="range"]::-moz-range-progress{ height: 4px; border-radius: 4px; background: var(--framboesa); }
input[type="range"]::-webkit-slider-thumb{ -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: #fff; border: 2px solid var(--framboesa); box-shadow: 0 4px 10px -4px rgba(90, 40, 55, .5); }
input[type="range"]::-moz-range-thumb{ width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--framboesa); }


/* ---------- bolsa --------------------------------------------------------------- */
.frete{ padding: 14px 16px; margin: 2px 0 18px; border-radius: 16px; background: #fff; border: 1px solid var(--linha); }
.frete p{ display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 550; }
.frete p svg{ width: 18px; height: 18px; flex: none; color: var(--framboesa); }
.frete.livre .barra i{ background: linear-gradient(90deg, var(--framboesa), #E77E98); }
.bolsa{ display: grid; gap: 14px; }
.item{
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--linha);
  transition: opacity .35s, transform .45s var(--saida);
}
.item.sai{ opacity: 0; transform: translate3d(-24px, 0, 0); }
.item__leque{ position: relative; height: 104px; }
.item__leque .ima{ position: absolute; top: 12px; width: 62px; }
.item__leque .ima:nth-child(1){ left: 0; --r: -9deg; }
.item__leque .ima:nth-child(2){ left: 17px; top: 4px; --r: 2deg; z-index: 1; }
.item__leque .ima:nth-child(3){ left: 34px; top: 14px; --r: 10deg; z-index: 2; }
.item__info{ display: grid; gap: 2px; min-width: 0; }
.item__info b{ font-size: 16.5px; font-weight: 650; }
.item__info small{ font-size: 13.5px; color: var(--cacau-2); }
.item__linha{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.item__preco{ font-weight: 750; font-size: 17px; font-variant-numeric: tabular-nums; }
.item__acoes{ display: flex; gap: 18px; margin-top: 4px; }
.item__acoes button{ min-height: 36px; font-size: 13.5px; font-weight: 600; color: var(--framboesa-2); text-decoration: underline; text-decoration-color: rgba(142, 58, 80, .3); text-underline-offset: 3px; }
.item__aviso{ font-size: 12.5px; color: #8A5414; }

.vazia{ display: grid; justify-items: center; text-align: center; gap: 10px; padding: 30px 6px; }
.vazia__imas{ position: relative; width: 170px; height: 130px; margin-bottom: 8px; }
.vazia__imas .ima{ position: absolute; width: 88px; }
.vazia__imas .ima:first-child{ left: 4px; top: 22px; --r: -8deg; }
.vazia__imas .ima:last-child{ right: 6px; top: 0; --r: 7deg; }
.vazia__titulo{ font-size: 22px; font-weight: 600; }
.vazia__sub{ color: var(--cacau-2); max-width: 22em; margin-bottom: 10px; }


/* ---------- finalizar --------------------------------------------------------------- */
.finalizar fieldset{ border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.finalizar legend{ padding: 0; margin-bottom: 12px; font-size: 11.5px; font-weight: 750; letter-spacing: .24em; text-transform: uppercase; color: var(--framboesa-2); }
.campo{ display: grid; gap: 6px; margin-bottom: 12px; }
.campo label{ font-size: 13.5px; font-weight: 650; }
.campo label span{ font-weight: 450; color: var(--cacau-2); }
.campo input, .campo select, .campo textarea{
  width: 100%; min-height: 52px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--cacau);
  border-radius: 14px; border: 1.5px solid rgba(54, 42, 41, .16); background: #fff;
  -webkit-appearance: none; appearance: none;
  transition: border-color .25s, box-shadow .25s;
}
.campo select{
  padding-right: 42px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5' fill='none' stroke='%238E3A50' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
}
.campo textarea{ padding: 14px 16px; min-height: 96px; resize: vertical; line-height: 1.45; }
.campo input:focus, .campo select:focus, .campo textarea:focus{ outline: none; border-color: var(--framboesa); box-shadow: 0 0 0 4px rgba(178, 77, 102, .14); }
.campo.erro input, .campo.erro select{ border-color: #C4485F; }
.campo__erro{ font-size: 12.5px; color: #A8344B; font-weight: 550; }
.campo__erro:empty{ display: none; }
.campo__conta{ justify-self: end; font-size: 12px; color: var(--cacau-2); }
.campos-2{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.finalizar__pais{ font-size: 13.5px; color: var(--cacau-2); padding-left: 2px; }
.finalizar__pais b{ font-weight: 700; color: var(--cacau); }

.envios{ display: grid; gap: 10px; }
.envio{
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--linha); background: #fff;
  transition: border-color .3s, background-color .3s;
}
.envio[aria-checked="true"]{ border-color: var(--framboesa); background: #FFF7F9; }
.envio .kit__marca{ flex: none; }
.envio[aria-checked="true"] .kit__marca{ border-color: var(--framboesa); background: var(--framboesa); }
.envio[aria-checked="true"] .kit__marca::after{ transform: none; }
.envio__nome{ flex: 1; display: grid; line-height: 1.3; }
.envio__nome b{ font-weight: 650; }
.envio__nome small{ font-size: 12.5px; color: var(--cacau-2); }
.envio__preco{ font-weight: 750; font-variant-numeric: tabular-nums; }
.envio__preco s{ font-weight: 500; color: var(--cacau-2); margin-right: 6px; }

.interruptor{ display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; }
.interruptor input{ position: absolute; opacity: 0; pointer-events: none; }
.interruptor__trilho{ position: relative; flex: none; width: 48px; height: 29px; border-radius: 999px; background: rgba(54, 42, 41, .16); transition: background-color .3s; }
.interruptor__trilho::after{ content: ""; position: absolute; top: 3px; left: 3px; width: 23px; height: 23px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .45s var(--mola); }
.interruptor input:checked + .interruptor__trilho{ background: var(--framboesa); }
.interruptor input:checked + .interruptor__trilho::after{ transform: translateX(19px); }
.interruptor input:focus-visible + .interruptor__trilho{ outline: 2px solid var(--framboesa); outline-offset: 3px; }
.interruptor__txt{ display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; }
.interruptor__txt svg{ width: 20px; height: 20px; color: var(--framboesa); }
.campo--nota{ margin-top: 10px; }

.pagamento{ display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--linha); font-size: 14px; color: var(--cacau-2); }
.pagamento svg{ width: 22px; height: 22px; flex: none; color: var(--framboesa); }

.totais{ display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--linha); }
.totais div{ display: flex; justify-content: space-between; gap: 12px; }
.totais dt{ color: var(--cacau-2); }
.totais dd{ font-weight: 650; font-variant-numeric: tabular-nums; }
.totais__total{ padding-top: 6px; font-size: 19px; }
.totais__total dt{ color: var(--cacau); font-weight: 650; }
.totais__total dd{ font-weight: 800; }

.resumo{ margin-bottom: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--linha); }
.resumo summary{ display: flex; align-items: center; gap: 10px; padding: 14px 16px; min-height: 52px; cursor: pointer; list-style: none; font-weight: 600; }
.resumo summary::-webkit-details-marker{ display: none; }
.resumo summary > span{ display: inline-flex; align-items: center; gap: 9px; flex: 1; }
.resumo summary svg{ width: 20px; height: 20px; color: var(--framboesa); }
.resumo summary b{ font-weight: 750; font-variant-numeric: tabular-nums; }
.resumo__seta{ transition: transform .45s var(--mola); }
.resumo[open] .resumo__seta{ transform: rotate(180deg); }
.resumo__lista{ display: grid; gap: 12px; padding: 0 16px 16px; }
.resumo__lista li{ display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; font-size: 14px; }
.resumo__lista .ima{ width: 46px; --r: -4deg; }
.resumo__lista small{ display: block; color: var(--cacau-2); font-size: 12.5px; }

.obrigado{ display: grid; justify-items: center; align-content: center; gap: 12px; text-align: center; padding-top: 24px; }
.obrigado__ima .ima{ width: 168px; --r: -4deg; }
.obrigado__ima .ima.gruda{ animation: gruda 1s var(--saida) both; }
.obrigado__titulo{ font-size: 36px; font-weight: 300; letter-spacing: -.03em; margin-top: 14px; }
.obrigado__titulo:focus{ outline: none; }
.obrigado__sub{ color: var(--cacau-2); max-width: 24em; }
.obrigado__num{ font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--framboesa-2); font-weight: 700; margin-bottom: 12px; }

.previa-selo{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; background: #FBE1E7; color: var(--framboesa-2);
  font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}


/* ---------- caixas de confirmação e avisos --------------------------------------- */
.confirma{ position: fixed; inset: 0; z-index: 95; display: grid; place-items: end center; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
.confirma__veu{ position: absolute; inset: 0; background: rgba(54, 42, 41, .5); opacity: 0; transition: opacity .35s; }
.confirma__caixa{
  position: relative; width: min(100%, 430px); padding: 26px 22px 18px;
  border-radius: 26px; background: var(--creme); box-shadow: 0 30px 60px -20px rgba(54, 42, 41, .5);
  display: grid; gap: 10px; justify-items: start;
  transform: translate3d(0, 30px, 0) scale(.97); opacity: 0;
  transition: transform .5s var(--mola), opacity .3s;
}
.confirma.aberta .confirma__veu{ opacity: 1; }
.confirma.aberta .confirma__caixa{ transform: none; opacity: 1; }
.confirma h3{ font-size: 22px; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; }
.confirma p{ color: var(--cacau-2); font-size: 15px; }
.confirma__botoes{ display: grid; gap: 8px; width: 100%; margin-top: 10px; }
@media (min-width: 600px){ .confirma{ place-items: center; } }

.aviso{
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 120;
  display: flex; align-items: center; gap: 14px;
  width: max-content; max-width: calc(100% - 28px);
  padding: 12px 12px 12px 18px; border-radius: 16px;
  background: var(--cacau); color: #FFF3F5; font-size: 14.5px; font-weight: 500;
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .5);
  transform: translate3d(-50%, 180%, 0); visibility: hidden;
  transition: transform .55s var(--saida), visibility 0s .55s;
}
.aviso.visto{ transform: translate3d(-50%, 0, 0); visibility: visible; transition: transform .55s var(--saida), visibility 0s; }
.tem-tela .aviso{ bottom: calc(96px + env(safe-area-inset-bottom)); }
.aviso__acao{ min-height: 36px; padding: 0 8px; color: #F7B4C3; font-weight: 750; white-space: nowrap; }

/* o ímã que voa até a bolsa */
.voo{ position: fixed; z-index: 130; pointer-events: none; width: 54px; }


/* ==========================================================================
   MIMI — a quokka que tira dúvidas
   ========================================================================== */
/* o rosto: pisca sozinha, mexe as orelhas enquanto pensa, inclina a cabeça no toque */
.mimi{ display: block; overflow: visible; }
.mimi__olhos{ transform-box: view-box; transform-origin: 60px 63px; animation: piscar 5s infinite; }
@keyframes piscar{ 0%, 93%, 100%{ transform: none; } 95%{ transform: scaleY(.12); } 97%{ transform: none; } }
.mimi__orelha{ transform-box: view-box; }
.mimi__orelha--e{ transform-origin: 38px 46px; }
.mimi__orelha--d{ transform-origin: 82px 46px; }
.pensando .mimi__orelha--e{ animation: orelha-e .5s ease-in-out infinite alternate; }
.pensando .mimi__orelha--d{ animation: orelha-d .5s ease-in-out infinite alternate .1s; }
@keyframes orelha-e{ to{ transform: rotate(-12deg); } }
@keyframes orelha-d{ to{ transform: rotate(12deg); } }
.mimi.oi{ animation: mimi-oi .9s var(--mola); transform-origin: 50% 80%; }
@keyframes mimi-oi{ 0%{ transform: none; } 30%{ transform: rotate(-10deg) scale(1.06); } 60%{ transform: rotate(7deg); } 100%{ transform: none; } }

/* o botão do canto */
.mimi-canto{
  position: fixed; right: var(--gut); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 55;
  display: flex; align-items: flex-end; gap: 10px; pointer-events: none;
  transition: opacity .4s, transform .6s var(--saida);
}
.mimi-canto.escondido-canto{ opacity: 0; transform: translate3d(0, 20px, 0); }
.mimi-botao{
  pointer-events: auto; position: relative; flex: none;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, #FFFFFF, #FCE8EC);
  box-shadow: 0 14px 30px -12px rgba(142, 58, 80, .6), 0 0 0 1px rgba(178, 77, 102, .12);
  transition: transform .6s var(--mola);
  animation: mimi-pula 9s ease-in-out 3s infinite;
}
.mimi-botao .mimi{ width: 46px; height: 46px; margin-top: 2px; }
.mimi-botao:active{ transform: scale(.9); }
@media (hover: hover){ .mimi-botao:hover{ transform: translate3d(0, -3px, 0) rotate(-4deg); } }
@keyframes mimi-pula{ 0%, 88%, 100%{ translate: 0 0; } 91%{ translate: 0 -8px; } 94%{ translate: 0 0; } 96%{ translate: 0 -4px; } }
.mimi-botao::after{
  content: ""; position: absolute; top: 3px; right: 3px; width: 12px; height: 12px; border-radius: 50%;
  background: #7DC9A3; box-shadow: 0 0 0 2.5px #fff;
}
.mimi-balao{
  pointer-events: auto; position: relative; margin: 0 0 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 6px 10px 14px; border-radius: 18px 18px 4px 18px;
  background: #fff; color: var(--cacau); font-size: 14px; font-weight: 650; white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(54, 42, 41, .45), 0 0 0 1px var(--linha);
  animation: balao-entra .6s var(--mola);
}
@keyframes balao-entra{ from{ opacity: 0; transform: translate3d(10px, 10px, 0) scale(.85); } }
.mimi-balao__x{ width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--cacau-2); }
.mimi-balao__x svg{ width: 16px; height: 16px; }
@media (min-width: 1024px){ .mimi-canto{ right: 28px; bottom: 28px; } }

/* o botão "Ask Mimi" nas perguntas */
.duvidas__mimi{ margin-top: 22px; padding-left: 10px; gap: 10px; }
.duvidas__mimi-rosto{ width: 38px; height: 38px; flex: none; background: #fff; border-radius: 50%; padding: 3px; }

/* a conversa */
.tela--chat .tela__painel{ background: linear-gradient(180deg, #FFF7F3 0%, #FFF3F2 100%); }
.chat__topo{ gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--linha); }
.chat__quem{ display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
.chat__avatar{ width: 48px; height: 48px; flex: none; border-radius: 50%; background: linear-gradient(160deg, #FFFFFF, #FCE8EC); display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(178, 77, 102, .14); }
.chat__avatar .mimi{ width: 40px; height: 40px; margin-top: 2px; }
.chat__quem .tela__titulo{ font-size: 19px; line-height: 1.15; }
.chat__status{ display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--cacau-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__status i{ width: 7px; height: 7px; flex: none; border-radius: 50%; background: #5FBF8F; box-shadow: 0 0 0 3px rgba(95, 191, 143, .2); }
.chat__novo{ width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--cacau-2); }
.chat__novo svg{ width: 20px; height: 20px; }
@media (hover: hover){ .chat__novo:hover{ background: rgba(54, 42, 41, .06); } }
.chat__corpo{ display: flex; flex-direction: column; padding-top: 16px; padding-bottom: 12px; }
.chat__lista{ display: grid; gap: 10px; margin-top: auto; }
.msg{ display: flex; align-items: flex-end; gap: 8px; max-width: 100%; animation: msg-entra .45s var(--saida); }
@keyframes msg-entra{ from{ opacity: 0; transform: translate3d(0, 10px, 0); } }
.msg__rosto{ width: 30px; height: 30px; flex: none; border-radius: 50%; background: #fff; padding: 2px; box-shadow: 0 0 0 1px rgba(178, 77, 102, .14); }
.msg__rosto svg{ width: 100%; height: 100%; }
.msg__balao{
  max-width: min(82%, 420px); padding: 11px 15px; border-radius: 20px 20px 20px 6px;
  background: #fff; color: var(--cacau); font-size: 15.5px; line-height: 1.5; font-weight: 500;
  box-shadow: 0 6px 16px -12px rgba(54, 42, 41, .4), 0 0 0 1px rgba(54, 42, 41, .05);
  overflow-wrap: anywhere;
}
.msg__balao a{ color: var(--framboesa-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.msg--eu{ justify-content: flex-end; }
.msg--eu .msg__balao{ background: var(--framboesa); color: #fff; border-radius: 20px 20px 6px 20px; box-shadow: 0 8px 18px -12px rgba(142, 58, 80, .8); }
.msg--erro .msg__balao{ background: #FFF4E6; color: #7A4E14; }
.msg__digitando{ display: inline-flex; gap: 5px; padding: 15px 16px; }
.msg__digitando i{ width: 7px; height: 7px; border-radius: 50%; background: var(--po); animation: ponto 1.1s ease-in-out infinite; }
.msg__digitando i:nth-child(2){ animation-delay: .15s; }
.msg__digitando i:nth-child(3){ animation-delay: .3s; }
@keyframes ponto{ 0%, 60%, 100%{ transform: none; opacity: .5; } 30%{ transform: translate3d(0, -5px, 0); opacity: 1; } }
.chat__sugestoes{ display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.chat__sugestoes .chip{ min-height: 40px; font-size: 14px; background: #fff; }
.chat__form{
  flex: none; display: flex; align-items: flex-end; gap: 8px;
  padding: 10px var(--gut) 4px; border-top: 1px solid var(--linha); background: rgba(255, 252, 250, .96);
}
.chat__form textarea{
  flex: 1; min-height: 48px; max-height: 128px; resize: none;
  padding: 12px 16px; border-radius: 24px; border: 1.5px solid rgba(54, 42, 41, .14); background: #fff;
  font: inherit; font-size: 16px; line-height: 1.4; color: var(--cacau);
  transition: border-color .25s, box-shadow .25s;
}
.chat__form textarea:focus{ outline: none; border-color: var(--framboesa); box-shadow: 0 0 0 4px rgba(178, 77, 102, .12); }
.chat__enviar{
  width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--framboesa); color: #fff; transition: transform .5s var(--mola), opacity .3s, background-color .3s;
}
.chat__enviar svg{ width: 22px; height: 22px; }
.chat__enviar:active{ transform: scale(.88); }
.chat__enviar[disabled]{ opacity: .45; }
.chat__aviso{ flex: none; padding: 2px var(--gut) calc(10px + env(safe-area-inset-bottom)); font-size: 11.5px; line-height: 1.4; color: var(--cacau-2); text-align: center; background: rgba(255, 252, 250, .96); }
/* com o teclado aberto, a conversa encolhe junto com a tela visível (iPhone) */
.tela--chat{ top: var(--vv-topo, 0px); bottom: auto; height: var(--vv-altura, 100%); }
@media (min-width: 900px){
  .tela--chat{ align-items: flex-end; padding: 24px; }
  .tela--chat .tela__painel{ width: 420px; height: min(680px, 100%); border-radius: 26px; transform: translate3d(0, 30px, 0) scale(.96); opacity: 0; transition: transform .5s var(--saida), opacity .3s; }
  .tela--chat.aberta .tela__painel{ transform: none; opacity: 1; }
}


/* ---------- menos movimento ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
