/* TEMA 77 — CONFEITARIA: "doce e delicado". Rosa-claro, rosa-morango, menta, baunilha e chocolate.
   Cursiva Dancing Script, texto Nunito. */
:root {
  --c138-rosa: #e86a92; --c138-rosa2: #c94a73; --c138-rosinha: #fde8ee; --c138-menta: #8fd6c0; --c138-baunilha: #fff4d6; --c138-lavanda: #c9b6f2; --c138-chocolate: #5a3426;
  --c138-txt: #4a2a2a; --c138-txt2: #8a6464;
  --cn-cor: #e86a92; --cn-cor-txt: #fff; --cn-fundo-jan: #fff; --cn-txt-jan: #4a2a2a; --cn-midia-prop: 80%;
  --c138-confeitos: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg stroke-linecap='round' stroke-width='5'%3E%3Cpath d='M14 18l10 4' stroke='%23e86a92'/%3E%3Cpath d='M70 12l4 10' stroke='%238fd6c0'/%3E%3Cpath d='M100 48l10-4' stroke='%23f7c531'/%3E%3Cpath d='M30 70l8 6' stroke='%23c9b6f2'/%3E%3Cpath d='M82 92l-6 8' stroke='%23e86a92'/%3E%3Cpath d='M10 104l10-2' stroke='%238fd6c0'/%3E%3C/g%3E%3C/svg%3E");
}
html { scroll-behavior: smooth; }
body.c138-corpo { margin: 0; background: var(--c138-rosinha) var(--c138-confeitos); color: var(--c138-txt); font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.c138-corpo.c138-com-barra { padding-bottom: 78px; }
.c138 { max-width: 560px; margin: 0 auto; background: #fffafb var(--c138-confeitos); min-height: 100vh; box-shadow: 0 0 40px rgba(201,74,115,.12); overflow: hidden; }
.c138 a { color: inherit; }

/* TOPO: cobertura escorrendo */
.c138-capa { position: relative; background: #000; }
.c138-capa .cn-midia { border-radius: 0; }
.c138-capa-img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 7; object-fit: cover; }
.c138-cobertura { position: relative; z-index: 3; height: 40px; margin-top: -1px; background: var(--c138-rosa);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h400v8c-14 0-14 18-28 18s-10-18-22-18-8 28-20 28-10-28-22-28-14 12-26 12-12-12-24-12-10 22-22 22-10-22-22-22-14 8-26 8-12-8-24-8-10 30-22 30-10-30-22-30-14 14-26 14-12-14-24-14-12 20-24 20-12-20-24-20z'/%3E%3C/svg%3E") 0 0 / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h400v8c-14 0-14 18-28 18s-10-18-22-18-8 28-20 28-10-28-22-28-14 12-26 12-12-12-24-12-10 22-22 22-10-22-22-22-14 8-26 8-12-8-24-8-10 30-22 30-10-30-22-30-14 14-26 14-12-14-24-14-12 20-24 20-12-20-24-20z'/%3E%3C/svg%3E") 0 0 / 100% 100%; animation: c138Derrete 1.6s .3s ease both; transform-origin: top; }
@keyframes c138Derrete { from { transform: scaleY(.2); } to { transform: none; } }
.c138-cobertura::after { content: ""; position: absolute; left: 12%; top: 4px; width: 22%; height: 4px; border-radius: 2px; background: rgba(255,255,255,.5); }
.c138-boleira { position: relative; z-index: 4; width: 140px; margin: -44px auto 0; text-align: center; }
.c138-bolo { position: relative; z-index: 2; width: 110px; height: 110px; margin: 0 auto; border-radius: 50% 50% 14px 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: 0 0 0 5px var(--c138-baunilha), 0 0 0 7px var(--c138-rosa), 0 8px 16px rgba(201,74,115,.25); }
.c138-bolo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; }
.c138-bolo span { font: 700 36px 'Dancing Script', cursive; color: var(--c138-rosa2); }
.c138-prato { display: block; width: 140px; height: 12px; margin: 6px auto 0; border-radius: 50%; background: linear-gradient(180deg, #fff, #e8dfe2); box-shadow: 0 3px 6px rgba(0,0,0,.15); }
.c138-pe { display: block; width: 22px; height: 18px; margin: 0 auto; background: linear-gradient(90deg, #e8dfe2, #fff, #e8dfe2); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.c138-id { text-align: center; padding: 8px 22px 6px; }
.c138-id h1 { margin: 0; font: 700 40px/1.1 'Dancing Script', cursive; color: var(--c138-rosa2); word-break: break-word; }
.c138-id h1.c138-longo { font-size: 32px; }
.c138-id p { margin: 4px auto 0; max-width: 420px; color: var(--c138-txt2); font-size: 15px; }
.c138-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.c138-chip { background: #fff; color: var(--c138-rosa2); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; box-shadow: inset 0 0 0 1.5px var(--c138-rosinha); }

/* TÍTULOS */
.c138-bloco { padding: 26px 18px 8px; }
.c138-tit { margin: 0 0 16px; text-align: center; font: 700 34px/1.1 'Dancing Script', cursive; color: var(--c138-rosa2); }
.c138-tit span { display: inline-block; padding-bottom: 12px; background: radial-gradient(circle, var(--c138-rosa) 0 3px, transparent 3.5px) center bottom / 14px 8px repeat-x; }

/* CONTATOS: macarons */
.c138-macarons { display: grid; gap: 10px; }
.c138-macaron { display: flex; align-items: center; gap: 14px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; color: var(--c138-txt) !important; text-decoration: none !important; font-weight: 700; word-break: break-word; box-shadow: 0 4px 12px rgba(201,74,115,.1); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.c138-macaron:hover { transform: scale(1.02); }
.c138-casca { position: relative; width: 50px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--c138-rosa); color: #fff; font-size: 15px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.08), inset 0 6px 0 rgba(255,255,255,.25); }
.c138-casca::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 6px; margin-top: -3px; background: var(--c138-baunilha); border-radius: 3px; z-index: -1; box-shadow: 0 0 0 1px rgba(0,0,0,.04); }
.c138-macaron:nth-child(5n+2) .c138-casca { background: var(--c138-menta); } .c138-macaron:nth-child(5n+3) .c138-casca { background: var(--c138-lavanda); } .c138-macaron:nth-child(5n+4) .c138-casca { background: #f7c531; } .c138-macaron:nth-child(5n+5) .c138-casca { background: #a8734f; }
.c138-m-whatsapp .c138-casca { background: #4cc38a; }
.c138-rot { flex: 1; min-width: 0; }

/* AVALIAÇÕES */
.c138-trilho { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none; }
.c138-trilho::-webkit-scrollbar { display: none; }
.c138-depo { flex: 0 0 84%; scroll-snap-align: start; margin: 0; background: #fff; padding: 18px; border-radius: 24px; text-align: center; box-shadow: 0 6px 16px rgba(201,74,115,.1); }
.c138-estrelas { color: var(--c138-rosa); letter-spacing: 3px; }
.c138-depo blockquote { margin: 8px 0 10px; color: var(--c138-txt2); font: 600 21px/1.3 'Dancing Script', cursive; }
.c138-depo figcaption { font-weight: 700; }
.c138-setas { display: flex; justify-content: center; gap: 8px; }
.c138-setas button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--c138-rosa); color: #fff; cursor: pointer; }

/* BOTÕES */
.c138-acoes { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 18px 6px; }
.c138-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 16px; border-radius: 999px; border: 2px solid transparent; font: 800 14px 'Nunito', sans-serif; text-decoration: none !important; cursor: pointer; }
.c138-btn-rosa { background: var(--c138-rosa); color: #fff !important; box-shadow: 0 4px 0 var(--c138-rosa2); }
.c138-btn-linha { background: #fff; color: var(--c138-rosa2) !important; border-color: var(--c138-rosa); }
.c138-btn:hover { filter: brightness(1.05); }

/* A EMPRESA: borda de chantilly */
.c138-chantilly { position: relative; margin-top: 16px; padding: 24px 18px 18px; background: #fff; border-radius: 0 0 22px 22px; box-shadow: 0 8px 18px rgba(201,74,115,.1); }
.c138-chantilly::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 18px; background: radial-gradient(circle at 50% 100%, #fff 0 12px, transparent 12.5px) 0 0 / 24px 18px repeat-x; }
.c138-texto { color: var(--c138-txt2); font-size: 15px; }
.c138-texto p { margin: 0 0 8px; }
.c138-texto .cn-leia { color: var(--c138-rosa2); }

/* DOCES: caixinhas com laço */
.c138-caixas { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
.c138-caixa { position: relative; padding: 10px 10px 12px; text-align: center; cursor: pointer; background: #fff; border-radius: 8px; box-shadow: 0 6px 14px rgba(201,74,115,.14); transition: transform .3s; }
.c138-caixa:hover { transform: translateY(-4px) rotate(-1deg); }
.c138-caixa::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 10px; margin-left: -5px; background: var(--c138-rosa); opacity: .85; z-index: 1; }
.c138-laco { position: absolute; left: 50%; top: -12px; width: 44px; height: 22px; margin-left: -22px; z-index: 2; background: radial-gradient(ellipse at 25% 50%, var(--c138-rosa) 0 45%, transparent 47%), radial-gradient(ellipse at 75% 50%, var(--c138-rosa) 0 45%, transparent 47%); }
.c138-laco::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--c138-rosa2); }
.c138-caixa-img { position: relative; z-index: 2; aspect-ratio: 1; border-radius: 6px; background: var(--c138-rosinha) center / cover no-repeat; box-shadow: 0 0 0 4px #fff; }
.c138-caixa h3 { position: relative; z-index: 2; margin: 10px 0 2px; font: 700 21px/1.1 'Dancing Script', cursive; color: var(--c138-rosa2); background: #fff; }
.c138-ver { position: relative; z-index: 2; font-size: 12px; font-weight: 700; color: var(--c138-menta); background: #fff; }

/* GALERIA: toalhinhas rendadas */
.c138-rendas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.c138-renda { border: 0; padding: 9px; border-radius: 50%; cursor: zoom-in; background: radial-gradient(circle, #fff 0 64%, transparent 65%), repeating-conic-gradient(#fff 0 8deg, transparent 8deg 15deg); filter: drop-shadow(0 3px 5px rgba(201,74,115,.18)); }
.c138-renda span { display: block; aspect-ratio: 1; border-radius: 50%; background: #eee center / cover no-repeat; }

/* PRODUTOS */
.c138-busca { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 0 16px; margin: 0 0 14px; box-shadow: inset 0 0 0 2px var(--c138-rosinha); }
.c138-busca input { flex: 1; border: 0; outline: none; padding: 12px 0; font: inherit; background: transparent; }
.c138-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c138-prod { background: #fff; border-radius: 18px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; box-shadow: 0 4px 12px rgba(201,74,115,.1); }
.c138-prod-img { height: 130px; background: var(--c138-rosinha) center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--c138-rosa); font-size: 30px; }
.c138-prod-txt { padding: 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.c138-prod-txt h3 { margin: 0; font: 700 20px/1.1 'Dancing Script', cursive; color: var(--c138-rosa2); }
.c138-prod-ver { margin-top: auto; color: var(--c138-menta); font-weight: 800; font-size: 13px; }
.c138-nada { grid-column: 1 / -1; text-align: center; }
.c138-carrinho { width: 100%; margin-top: 14px; }

/* QR e FORMULÁRIO */
.c138-qr { text-align: center; } .c138-qr .code { display: flex; justify-content: center; margin-bottom: 12px; }
.c138-qr .code canvas, .c138-qr .code img { width: 200px !important; height: 200px !important; background: #fff; padding: 12px; border-radius: 24px; box-sizing: content-box; box-shadow: 0 0 0 4px var(--c138-rosa); }
.c138-form { display: grid; gap: 10px; padding: 18px 16px; border-radius: 24px; background: var(--c138-rosa); }
.c138-form input, .c138-form textarea { width: 100%; box-sizing: border-box; border: 0; border-radius: 16px; padding: 12px 14px; font: inherit; background: #fff; color: var(--c138-txt); }
.c138-form input:focus, .c138-form textarea:focus { outline: 3px solid var(--c138-baunilha); }
.c138-form .c138-btn-rosa { background: var(--c138-chocolate); box-shadow: 0 4px 0 #3a2018; }
.c138-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c138-form .result { color: #fff; }

/* BARRA FIXA */
.c138-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; display: flex; max-width: 560px; margin: 0 auto; background: #fff; box-shadow: 0 -6px 18px rgba(201,74,115,.15); border-radius: 22px 22px 0 0; overflow: hidden; padding-bottom: env(safe-area-inset-bottom); }
.c138-barra a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; color: var(--c138-rosa2) !important; text-decoration: none !important; font-weight: 800; font-size: 12.5px; }
.c138-barra a i { font-size: 18px; }
.c138-barra a.c138-barra-zap { background: var(--c138-rosa); color: #fff !important; flex: 1.3; }
.c138-com-barra .radio-float { bottom: 88px !important; }

.c138-corpo .creditos-cartaodigital { max-width: 560px; margin: 0 auto !important; background: var(--c138-chocolate); }
.c138-corpo .modal { color: #222; }
@media (min-width: 600px) { .c138 { margin: 18px auto; border-radius: 28px; } .c138-depo { flex-basis: 68%; } }
@media (max-width: 360px) { .c138-id h1 { font-size: 32px; } .c138-caixas { grid-template-columns: 1fr; } }
