/* TEMA 51 — LAVA-RÁPIDO: "espuma e brilho". Azul royal, azul-água, branco espuma e amarelo de destaque. Fonte Lexend. */
:root {
  --c51-azul: #1546d1; --c51-azul2: #0e2f8f; --c51-agua: #19c3ff; --c51-espuma: #ffffff; --c51-amarelo: #ffd33d; --c51-fundo: #eef6ff;
  --c51-txt: #0f1f47; --c51-txt2: #4d5d82;
  --cn-cor: #1546d1; --cn-cor-txt: #fff; --cn-midia-prop: 74%;
}
html { scroll-behavior: smooth; }
body.c51-corpo { margin: 0; background: linear-gradient(180deg, #0e2f8f, #1546d1 30%, #dbeaff 30.1%); color: var(--c51-txt); font-family: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.c51-corpo.c51-com-barra { padding-bottom: 78px; }
.c51 { max-width: 560px; margin: 0 auto; background: var(--c51-fundo); min-height: 100vh; box-shadow: 0 0 40px rgba(14,47,143,.25); overflow: hidden; }
.c51 a { color: inherit; }

/* TOPO: espuma escorrendo */
.c51-topo { position: relative; background: linear-gradient(180deg, var(--c51-azul2), var(--c51-azul)); }
.c51-capa { position: relative; background: #000; overflow: hidden; }
.c51-capa .cn-midia { border-radius: 0; }
.c51-capa-img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 7; object-fit: cover; }
.c51-gotas i { position: absolute; z-index: 2; width: 10px; height: 14px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 35% 30%, #fff 0 20%, rgba(255,255,255,.35) 40%, rgba(25,195,255,.25)); box-shadow: inset -1px -2px 2px rgba(0,0,0,.15); animation: c51Escorre 5s ease-in infinite; }
.c51-gotas i:nth-child(1) { left: 12%; top: 10%; } .c51-gotas i:nth-child(2) { left: 30%; top: 22%; animation-delay: 1.2s; } .c51-gotas i:nth-child(3) { left: 55%; top: 8%; animation-delay: 2.4s; width: 14px; height: 18px; } .c51-gotas i:nth-child(4) { left: 74%; top: 30%; animation-delay: .6s; } .c51-gotas i:nth-child(5) { left: 88%; top: 14%; animation-delay: 3.2s; }
@keyframes c51Escorre { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(240px); opacity: 0; } }
.c51-espuma { position: relative; z-index: 3; height: 46px; margin-top: -30px; display: flex; }
.c51-espuma i { flex: 1; height: 60px; margin: 0 -14px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #eaf4ff 70%); box-shadow: inset 0 -4px 8px rgba(25,195,255,.15); }
.c51-espuma i:nth-child(odd) { margin-top: 8px; height: 52px; }
.c51-espuma i:nth-child(3n) { margin-top: -6px; height: 66px; }
.c51-gota { position: relative; z-index: 4; width: 116px; height: 140px; margin: -40px auto 0; padding: 8px; box-sizing: border-box; background: linear-gradient(160deg, var(--c51-agua), var(--c51-azul)); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; clip-path: path("M58 0 C 58 0, 116 64, 116 90 A 58 50 0 0 1 0 90 C 0 64, 58 0, 58 0 Z"); filter: drop-shadow(0 10px 18px rgba(14,47,143,.4)); }
.c51-gota-in { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 88px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; }
.c51-gota-in img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
.c51-gota-in span { font: 800 28px 'Lexend', sans-serif; color: var(--c51-azul); }
.c51-id { text-align: center; padding: 10px 22px 18px; background: var(--c51-fundo); margin-top: -6px; }
.c51-topo .c51-id { background: transparent; }
.c51-topo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: calc(100% - 140px); background: var(--c51-fundo); z-index: 0; }
.c51-id, .c51-gota { position: relative; z-index: 4; }
.c51-id h1 { margin: 0; font: 800 29px/1.08 'Lexend', sans-serif; color: var(--c51-azul2); word-break: break-word; }
.c51-id h1.c51-longo { font-size: 23px; }
.c51-id p { margin: 6px auto 0; max-width: 420px; color: var(--c51-txt2); font-size: 14.5px; }
.c51-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.c51-chip { background: #fff; color: var(--c51-azul); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; box-shadow: 0 2px 8px rgba(21,70,209,.15); }

/* TÍTULOS */
.c51-bloco { padding: 26px 18px 8px; }
.c51-tit { margin: 0 0 16px; font: 800 23px/1.1 'Lexend', sans-serif; color: var(--c51-azul2); }
.c51-tit span { position: relative; display: inline-block; padding-left: 30px; }
.c51-tit span::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 26px; margin-top: -14px; background: linear-gradient(160deg, var(--c51-agua), var(--c51-azul)); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; clip-path: path("M10 0 C 10 0, 20 12, 20 17 A 10 9 0 0 1 0 17 C 0 12, 10 0, 10 0 Z"); }
.c51-tit span::after { content: ""; display: block; height: 4px; margin-top: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--c51-agua), transparent); }

/* CONTATOS: adesivos metálicos */
.c51-adesivos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c51-adesivo { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border-radius: 16px; color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 14px; line-height: 1.25; word-break: break-word; background: linear-gradient(135deg, #2a63ff, var(--c51-azul) 45%, var(--c51-azul2)); box-shadow: 0 6px 14px rgba(21,70,209,.3), inset 0 1px 0 rgba(255,255,255,.35); }
.c51-adesivo::after { content: ""; position: absolute; top: -60%; left: -50%; width: 40%; height: 220%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); transform: rotate(25deg); animation: c51Reflexo 4s ease-in-out infinite; }
.c51-adesivo:nth-child(2)::after { animation-delay: .5s; } .c51-adesivo:nth-child(3)::after { animation-delay: 1s; } .c51-adesivo:nth-child(4)::after { animation-delay: 1.5s; }
@keyframes c51Reflexo { 0%, 60% { left: -50%; } 100% { left: 130%; } }
.c51-adesivo.c51-largo { grid-column: 1 / -1; }
.c51-adesivo i { position: relative; z-index: 1; width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--c51-azul); font-size: 14px; }
.c51-a-whatsapp i { color: #1fa855; }
.c51-adesivo span { position: relative; z-index: 1; min-width: 0; }

/* AVALIAÇÕES */
.c51-trilho { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none; }
.c51-trilho::-webkit-scrollbar { display: none; }
.c51-depo { flex: 0 0 84%; scroll-snap-align: start; margin: 0; background: #fff; padding: 16px; border-radius: 20px; box-shadow: 0 6px 16px rgba(21,70,209,.1); }
.c51-estrelas { color: var(--c51-amarelo); letter-spacing: 2px; text-shadow: 0 1px 0 #c9a000; }
.c51-depo blockquote { margin: 8px 0 12px; color: var(--c51-txt2); font-style: italic; }
.c51-depo figcaption { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.c51-depo img, .c51-ini { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.c51-ini { display: flex; align-items: center; justify-content: center; background: var(--c51-azul); color: #fff; font-weight: 800; }
.c51-setas { display: flex; justify-content: flex-end; gap: 8px; }
.c51-setas button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--c51-azul); color: #fff; cursor: pointer; }

/* BOTÕES */
.c51-acoes { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 18px 6px; }
.c51-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 16px; border-radius: 16px; border: 2px solid transparent; font: 700 14px 'Lexend', sans-serif; text-decoration: none !important; cursor: pointer; }
.c51-btn-azul { background: linear-gradient(135deg, #2a63ff, var(--c51-azul2)); color: #fff !important; box-shadow: 0 8px 18px rgba(21,70,209,.35); }
.c51-btn-linha { background: #fff; color: var(--c51-azul) !important; border-color: var(--c51-azul); }
.c51-btn:hover { filter: brightness(1.08); }

/* A EMPRESA: cartão com espuma no topo */
.c51-cartao { position: relative; background: #fff; border-radius: 0 0 22px 22px; padding: 6px 18px 18px; padding-top: 6px; margin-top: 26px; box-shadow: 0 8px 20px rgba(21,70,209,.1); }
.c51-espuma-p { margin: -40px -18px 22px; height: 44px; }
.c51-espuma-p i { height: 50px; }
.c51-texto { color: var(--c51-txt2); font-size: 15px; }
.c51-texto p { margin: 0 0 8px; }
.c51-texto .cn-leia { color: var(--c51-azul); }

/* SERVIÇOS: cardápio de lavagem com limpador */
.c51-menu { display: grid; gap: 10px; }
.c51-lavagem { display: flex; align-items: center; gap: 12px; padding: 10px; background: #fff; border-radius: 20px; cursor: pointer; box-shadow: 0 4px 12px rgba(21,70,209,.1); transition: transform .2s; }
.c51-lavagem:hover { transform: translateX(4px); }
.c51-lavagem-img { position: relative; width: 96px; height: 96px; flex-shrink: 0; border-radius: 16px; background: #cde center / cover no-repeat; overflow: hidden; }
.c51-limpador { position: absolute; left: 50%; bottom: 0; width: 3px; height: 130%; margin-left: -1.5px; background: #111; transform-origin: 50% 100%; transform: rotate(-70deg); }
.c51-limpador::before { content: ""; position: absolute; inset: 0 -60px 0 0; width: 120px; left: -58px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); }
.cn-vis .c51-limpador { animation: c51Limpa 2.4s ease-in-out 2; }
@keyframes c51Limpa { 0%, 100% { transform: rotate(-70deg); } 50% { transform: rotate(70deg); } }
.c51-lavagem-txt { flex: 1; min-width: 0; }
.c51-lavagem-txt small { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--c51-amarelo); color: var(--c51-txt); font-size: 11px; font-weight: 700; }
.c51-lavagem-txt h3 { margin: 4px 0 2px; font: 700 18px/1.15 'Lexend', sans-serif; color: var(--c51-azul2); }
.c51-lavagem-txt p { margin: 0; font-size: 13px; color: var(--c51-txt2); line-height: 1.35; }
.c51-seta { color: var(--c51-agua); }

/* GALERIA: gotas no vidro */
.c51-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.c51-foto { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 18px; background: #cde center / cover no-repeat; cursor: zoom-in; overflow: hidden; }
.c51-foto::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.55) 0 3px, transparent 4px), radial-gradient(circle at 70% 20%, rgba(255,255,255,.5) 0 2px, transparent 3px), radial-gradient(circle at 60% 70%, rgba(255,255,255,.5) 0 4px, transparent 5px), radial-gradient(circle at 30% 80%, rgba(255,255,255,.4) 0 2px, transparent 3px); }
.c51-foto:nth-child(4n+1) { grid-column: span 2; aspect-ratio: auto; }

/* PRODUTOS */
.c51-busca { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 16px; padding: 0 14px; margin: 0 0 14px; box-shadow: inset 0 0 0 2px #cfe0ff; }
.c51-busca input { flex: 1; border: 0; outline: none; padding: 12px 0; font: inherit; background: transparent; }
.c51-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c51-prod { background: #fff; border-radius: 18px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; box-shadow: 0 4px 12px rgba(21,70,209,.1); }
.c51-prod-img { height: 130px; background: #e3eeff center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--c51-azul); font-size: 30px; }
.c51-prod-txt { padding: 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.c51-prod-txt h3 { margin: 0; font: 700 15px/1.2 'Lexend', sans-serif; color: var(--c51-azul2); }
.c51-prod-ver { margin-top: auto; color: var(--c51-azul); font-weight: 600; font-size: 13px; }
.c51-nada { grid-column: 1 / -1; text-align: center; }
.c51-carrinho { width: 100%; margin-top: 14px; }

/* QR e FORMULÁRIO */
.c51-qr { text-align: center; } .c51-qr .code { display: flex; justify-content: center; margin-bottom: 12px; }
.c51-qr .code canvas, .c51-qr .code img { width: 200px !important; height: 200px !important; background: #fff; padding: 10px; border-radius: 20px; box-sizing: content-box; }
.c51-form { display: grid; gap: 10px; padding: 18px 16px; border-radius: 22px; background: linear-gradient(160deg, var(--c51-azul), var(--c51-azul2)); }
.c51-form input, .c51-form textarea { width: 100%; box-sizing: border-box; border: 0; border-radius: 14px; padding: 12px 14px; font: inherit; background: #fff; color: var(--c51-txt); }
.c51-form input:focus, .c51-form textarea:focus { outline: 3px solid var(--c51-agua); }
.c51-form .c51-btn-azul { background: var(--c51-amarelo); color: var(--c51-txt) !important; box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.c51-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c51-form .result { color: #fff; }

/* BARRA FIXA */
.c51-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; display: flex; max-width: 560px; margin: 0 auto; background: var(--c51-azul2); padding-bottom: env(safe-area-inset-bottom); }
.c51-barra a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 9px; color: #fff !important; text-decoration: none !important; font: 600 12.5px 'Lexend', sans-serif; }
.c51-barra a i { font-size: 19px; color: var(--c51-agua); }
.c51-barra a.c51-barra-zap { background: var(--c51-amarelo); color: var(--c51-txt) !important; flex: 1.3; }
.c51-barra a.c51-barra-zap i { color: var(--c51-txt); }
.c51-com-barra .radio-float { bottom: 88px !important; }

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