/* Linktree Tintas Laet — visual "tech premium". Paleta oficial: azul #0D47A1 / #062B63, amarelo #FFC107. */
:root {
  --blue: #0D47A1; --blue-dark: #062B63; --blue-deep: #04193E; --blue-mid: #1565C0;
  --yellow: #FFC107; --yellow-soft: #FFE082; --ink: #212529;
  --glass: rgba(255,255,255,.06); --glass-hi: rgba(255,255,255,.11);
  --line: rgba(255,255,255,.14); --txt-2: rgba(255,255,255,.72); --txt-3: rgba(255,255,255,.5);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif; color: #fff; min-height: 100vh; min-height: 100dvh;
  background: var(--blue-deep); display: flex; justify-content: center;
  padding: 36px 18px 56px; position: relative; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }

/* Fundo: malha de luz + grade fina */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 70% at 50% -10%, #0D47A1 0%, #062B63 45%, #04193E 100%); }
.bg::before { content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 38px 38px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob.b1 { width: 320px; height: 320px; background: #1565C0; top: -90px; left: -110px; animation: drift1 16s ease-in-out infinite alternate; }
.blob.b2 { width: 260px; height: 260px; background: rgba(255,193,7,.28); top: 220px; right: -120px; animation: drift2 20s ease-in-out infinite alternate; }
.blob.b3 { width: 300px; height: 300px; background: #0D47A1; bottom: -120px; left: 10%; animation: drift1 22s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(60px, 50px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-50px, 70px) scale(1.2); } }

.wrap { width: 100%; max-width: 440px; position: relative; z-index: 1; text-align: center; }
.wrap.wide { max-width: 520px; }

/* Entrada em cascata */
.rise { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Marca */
.logo { width: 128px; margin: 0 auto 14px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
.avatar { position: relative; width: 132px; height: 132px; margin: 0 auto 14px; }
.avatar::before { content: ''; position: absolute; inset: -6px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--yellow), rgba(255,193,7,0) 30%, #4C8DF6 55%, rgba(76,141,246,0) 75%, var(--yellow)); animation: spin 7s linear infinite; }
.avatar::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; background: var(--blue-dark); }
.avatar img { position: absolute; inset: 4px; z-index: 1; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: linear-gradient(160deg, #1565C0, #062B63); }
@keyframes spin { to { transform: rotate(360deg); } }

.handle { display: inline-flex; align-items: center; gap: 8px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .4px; color: var(--yellow); background: rgba(255,193,7,.1); border: 1px solid rgba(255,193,7,.3); padding: 6px 14px; border-radius: 100px; }
.handle i { width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(24px, 6.4vw, 30px); line-height: 1.18; letter-spacing: -.4px; margin: 14px 0 8px; }
h1 span { background: linear-gradient(90deg, #FFC107, #FFE082); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 14px; color: var(--txt-2); line-height: 1.6; max-width: 340px; margin: 0 auto 26px; }

/* Botões principais */
.actions { display: flex; flex-direction: column; gap: 12px; }
.act { position: relative; display: flex; align-items: center; gap: 16px; text-align: left; overflow: hidden;
  background: var(--glass); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), background .22s, border-color .22s, box-shadow .22s; }
.act::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); transition: left .7s ease; }
.act:hover, .act:focus-visible { transform: translateY(-3px); background: var(--glass-hi); border-color: rgba(255,255,255,.3); box-shadow: 0 16px 38px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.12); outline: none; }
.act:hover::after { left: 130%; }
.act:active { transform: scale(.985); }
.act-ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.act-ico svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.act-txt { flex: 1; min-width: 0; }
.act-title { display: block; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 16.5px; line-height: 1.25; }
.act-sub { display: block; font-size: 12.5px; color: var(--txt-2); margin-top: 3px; line-height: 1.4; }
.act-go { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: transform .22s, background .22s; }
.act-go svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.act:hover .act-go { transform: translateX(3px); background: rgba(255,255,255,.2); }

.act.primary { background: linear-gradient(135deg, #FFC107 0%, #FFD54F 100%); border-color: rgba(255,224,130,.9); color: var(--ink);
  box-shadow: 0 14px 36px rgba(255,193,7,.32), inset 0 1px 0 rgba(255,255,255,.55); }
.act.primary:hover { background: linear-gradient(135deg, #FFCA2C 0%, #FFE082 100%); box-shadow: 0 18px 44px rgba(255,193,7,.45), inset 0 1px 0 rgba(255,255,255,.6); }
.act.primary .act-ico { background: rgba(33,37,41,.12); border-color: rgba(33,37,41,.12); }
.act.primary .act-ico svg, .act.primary .act-go svg { stroke: var(--ink); }
.act.primary .act-sub { color: rgba(33,37,41,.72); }
.act.primary .act-go { background: rgba(33,37,41,.12); }

/* Redes */
.social { margin-top: 30px; }
.social-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--txt-3); font-family: 'Montserrat', sans-serif; font-weight: 700; margin-bottom: 12px; }
.social-row { display: flex; justify-content: center; gap: 12px; }
.social-row a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); transition: transform .2s, background .2s; }
.social-row a:hover { transform: translateY(-3px); background: var(--glass-hi); }
.social-row img { width: 24px; height: 24px; border-radius: 6px; background: #fff; padding: 2px; }

.foot { margin-top: 30px; font-size: 11.5px; color: var(--txt-3); line-height: 1.8; }
.foot a { color: var(--txt-2); border-bottom: 1px dashed rgba(255,255,255,.3); }
.foot a:hover { color: var(--yellow); border-color: var(--yellow); }

/* ===== Página de lojas ===== */
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; margin: -36px -18px 18px; padding: 14px 18px;
  background: rgba(4,25,62,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.back { display: inline-flex; align-items: center; gap: 8px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; color: #fff; padding: 8px 14px 8px 10px; border-radius: 100px; background: var(--glass); border: 1px solid var(--line); transition: background .2s; }
.back:hover { background: var(--glass-hi); }
.back svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.topbar img { width: 86px; }
.eyebrow { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--yellow); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin: 0 -4px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; cursor: pointer; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12.5px; padding: 9px 16px; border-radius: 100px; background: var(--glass); border: 1px solid var(--line); color: var(--txt-2); transition: all .2s; }
.chip:hover { background: var(--glass-hi); color: #fff; }
.chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(255,193,7,.3); }

.stores { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.store { overflow: hidden; border-radius: 22px; background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 14px 36px rgba(0,0,0,.28);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s; }
.store:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.28); }
.store[hidden] { display: none; }
.store-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-dark); }
.store-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform .6s ease; }
.store:hover .store-photo img { transform: scale(1.05); }
.store-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,25,62,.15) 0%, rgba(4,25,62,0) 40%, rgba(4,25,62,.75) 100%); }
.store-badge { position: absolute; z-index: 1; left: 12px; top: 12px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 11.5px; background: var(--yellow); color: var(--ink); padding: 6px 12px; border-radius: 100px; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.store-city { position: absolute; z-index: 1; right: 12px; top: 12px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(4,25,62,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); padding: 6px 11px; border-radius: 100px; }
.store-body { padding: 16px 16px 18px; }
.store-name { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 17px; line-height: 1.25; }
.store-addr { font-size: 12.8px; color: var(--txt-2); margin: 4px 0 14px; line-height: 1.5; }
.store-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 13px; padding: 13px 10px; border-radius: 13px; transition: transform .18s, box-shadow .2s, background .2s; text-align: center; }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: scale(.97); }
.btn-wa { background: linear-gradient(135deg, #FFC107, #FFD54F); color: var(--ink); box-shadow: 0 8px 22px rgba(255,193,7,.28); }
.btn-wa:hover { box-shadow: 0 12px 28px rgba(255,193,7,.42); transform: translateY(-2px); }
.btn-map { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-map:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.empty { display: none; font-size: 14px; color: var(--txt-2); padding: 28px 0; }

@media (max-width: 360px) { .store-btns { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
  .blob, .avatar::before, .handle i { animation: none; }
  .act, .act::after, .store, .store-photo img { transition: none; }
}
