/* ============ Tokens (paleta oficial da marca) ============ */
:root {
  --navy: #2b3b60;   /* Azul escuro — texto "Global" */
  --blue: #2c6fa4;   /* intermediário navy↔sky, para degradês com profundidade */
  --sky: #2da3e8;    /* Azul claro — detalhe do ícone */
  --sun: #f4a236;    /* Laranja/amarelo — texto "Artes" e detalhe central */
  --sun-2: #f67b2a;  /* variação mais alaranjada do --sun, para degradês */
  --wa: #25d366;
  --wa-d: #128c4a;

  --bg: #f5f7fc;
  --bg-2: #eaf0fb;
  --surface: #ffffff;
  --surface-2: #f1f5fd;
  --text: #0f1a3a;
  --muted: #5b6785;
  --line: rgba(51, 71, 126, .14);
  --shadow: 0 10px 30px -12px rgba(30, 50, 110, .25);
  --shadow-lg: 0 30px 60px -20px rgba(30, 50, 110, .35);
  --glass: rgba(255, 255, 255, .72);
  --primary: var(--navy);
  --on-primary: #fff;
  --ok: #12a150;
  --bad: #d9480f;
  --r: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #080d1e; --bg-2: #0d1530; --surface: #111a38; --surface-2: #17224a;
  --text: #eef2ff; --muted: #9aa8cc; --line: rgba(160, 180, 255, .16);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .75);
  --glass: rgba(17, 26, 56, .7); --primary: var(--sun); --on-primary: #1a1200; --navy: #7f95d6;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #080d1e; --bg-2: #0d1530; --surface: #111a38; --surface-2: #17224a;
    --text: #eef2ff; --muted: #9aa8cc; --line: rgba(160, 180, 255, .16);
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .75);
    --glass: rgba(17, 26, 56, .7); --primary: var(--sun); --on-primary: #1a1200; --navy: #7f95d6;
    color-scheme: dark;
  }
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text);
  background: var(--bg); line-height: 1.55; overflow-x: hidden; transition: background .3s, color .3s;
}
h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 2.4rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: linear-gradient(100deg, var(--sky), var(--blue) 45%, var(--sun-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ Ícones (Lucide) ============ */
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.ph { color: #fff; }
.ph .i { width: 1em; height: 1em; stroke-width: 1.5; }
.i-lg { width: 1.6rem; height: 1.6rem; }

/* ============ Botões ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.4rem;
  border-radius: 999px; font-weight: 700; font-size: .98rem; transition: transform .25s var(--ease), box-shadow .25s, background .2s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--sun), var(--sun-2)); color: #2a1700; box-shadow: 0 10px 24px -8px rgba(246, 123, 42, .65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(246, 123, 42, .75); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--sky); }
.btn-wa { background: linear-gradient(135deg, #2be07a, var(--wa-d)); color: #fff; box-shadow: 0 10px 24px -8px rgba(18, 140, 74, .6); }
.btn-wa:hover { transform: translateY(-2px); }
.btn .i { width: 1.1em; height: 1.1em; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem .95rem; font-size: .88rem; }
.btn-danger { color: var(--bad); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease); position: relative; }
.icon-btn:hover { transform: translateY(-2px) rotate(-6deg); }
.icon-btn .i { width: 20px; height: 20px; }

/* ============ Pílula de horário em tempo real ============ */
.live {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .95rem .45rem .75rem; border-radius: 999px; font-size: .86rem; font-weight: 600;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.live .i { display: none; }
.live::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.live.is-open { color: var(--ok); }
.live.is-open::before { background: var(--ok); box-shadow: 0 0 0 0 rgba(18, 161, 80, .6); animation: pulse 1.8s infinite; }
.live.is-closed { color: var(--bad); }
.live.is-closed::before { background: #ff7a3d; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(18, 161, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 161, 80, 0); } }

/* ============ Header ============ */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: .7rem 0; transition: background .3s, box-shadow .3s, padding .3s; }
.header.scrolled { background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); padding: .4rem 0; }
.header .wrap { display: flex; align-items: center; gap: 1rem; }
.brand img { height: 52px; width: auto; transition: height .3s; }
.header.scrolled .brand img { height: 44px; }
.nav { display: flex; gap: .3rem; margin-inline: auto; }
.nav a { padding: .5rem .95rem; border-radius: 999px; font-weight: 600; font-size: .94rem; color: var(--muted); transition: .2s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--sun-2); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.cart-count.on { transform: scale(1); }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.5); } }
.theme-ico-moon { display: none !important; }
:root[data-theme="dark"] .theme-ico-sun { display: none !important; }
:root[data-theme="dark"] .theme-ico-moon { display: inline-block !important; }

/* ============ Hero ============ */
.hero { position: relative; padding: 8.5rem 0 4.5rem; isolation: isolate; overflow: clip; }
.hero::before, .hero::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle, var(--sky), transparent 65%); top: -120px; right: -140px; }
.hero::after { width: 460px; height: 460px; background: radial-gradient(circle, var(--sun), transparent 65%); bottom: -160px; left: -140px; animation-delay: -6s; opacity: .4; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.12); } }
.grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%); opacity: .6; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: rgba(30, 115, 190, .1); padding: .4rem .85rem; border-radius: 99px; margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34rem; margin: 1.4rem 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--muted); font-size: .92rem; font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust .i { color: var(--ok); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.orb { position: absolute; inset: 6%; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: conic-gradient(from 200deg, var(--navy), var(--blue), var(--sky), var(--sun), var(--navy)); animation: morph 12s ease-in-out infinite alternate, spin 40s linear infinite; box-shadow: var(--shadow-lg); }
@keyframes morph { 50% { border-radius: 58% 42% 40% 60% / 55% 58% 42% 45%; } 100% { border-radius: 45% 55% 60% 40% / 40% 50% 50% 60%; } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-logo { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-logo img { width: 64%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.chip-float { position: absolute; display: flex; align-items: center; gap: .55rem; padding: .6rem .95rem; border-radius: 16px; background: var(--glass); backdrop-filter: blur(14px); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.chip-float .i { width: 1.35rem; height: 1.35rem; color: var(--blue); }
.chip-float:nth-of-type(1) { top: 6%; left: -2%; animation-delay: -1s; }
.chip-float:nth-of-type(2) { top: 40%; right: -4%; animation-delay: -2.5s; }
.chip-float:nth-of-type(3) { bottom: 6%; left: 6%; animation-delay: -4s; }

/* ============ Marquee ============ */
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ Seções ============ */
section { padding: 5rem 0; position: relative; }
.sec-head { text-align: center; max-width: 42rem; margin: 0 auto 2.6rem; }
.sec-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
.sec-head p { color: var(--muted); margin-top: .9rem; font-size: 1.08rem; }

/* ============ Catálogo ============ */
.tools { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search input { width: 100%; padding: .9rem 1.1rem .9rem 2.9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; box-shadow: var(--shadow); }
.search .i { position: absolute; left: 1rem; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); }
.chips { display: flex; gap: .5rem; overflow-x: auto; padding: .3rem .1rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { padding: .55rem 1.05rem; border-radius: 99px; font-weight: 600; font-size: .9rem; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; transition: .2s; }
.chip:hover { border-color: var(--sky); }
.chip.on { background: var(--primary); color: var(--on-primary); border-color: transparent; box-shadow: 0 8px 18px -8px var(--primary); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.4rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; cursor: pointer; text-align: left; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sky); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.08); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 50) 75% 42%)); position: relative; overflow: hidden; }
.ph::before { content: ''; position: absolute; inset: -30%; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .35), transparent 50%); }
.ph span { display: grid; font-size: 3.6rem; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .3)); transition: transform .5s var(--ease); position: relative; }
.card:hover .ph span { transform: scale(1.2) rotate(-6deg); }
/* Aviso de que a imagem é um placeholder (sem foto cadastrada ainda) */
.ph-tag { position: absolute; top: .7rem; right: .7rem; display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .7rem; font-size: .74rem; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .4); backdrop-filter: blur(8px); border-radius: 99px; white-space: nowrap; }
.ph-tag .i { width: .95em; height: .95em; }
.item .ph-tag, .prow .ph-tag { display: none; } /* miniaturas pequenas demais pro texto */
.tag { position: absolute; top: .7rem; left: .7rem; padding: .28rem .7rem; font-size: .74rem; font-weight: 700; border-radius: 99px; background: var(--glass); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.tag { display: inline-flex; align-items: center; gap: .3rem; }
.tag.measure { top: auto; bottom: .7rem; left: .7rem; color: var(--blue); }
.card-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; padding-top: .7rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.price { font-family: 'Sora'; font-weight: 800; font-size: 1.1rem; color: var(--primary); }
.price small { font-weight: 500; color: var(--muted); font-size: .75rem; }
.quote { font-size: .82rem; font-weight: 600; color: var(--muted); }
.add { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); transition: transform .3s var(--ease); flex: none; }
.card:hover .add { transform: rotate(90deg) scale(1.08); }
.empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--muted); }
.skeleton { height: 330px; border-radius: var(--r); background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 200% 100%; animation: shimmer 1.4s infinite; border: 1px solid var(--line); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ============ Como funciona ============ */
.bg-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; counter-reset: s; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem 1.5rem 1.6rem; box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.step:hover { transform: translateY(-6px); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 1.5rem; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: 'Sora'; font-weight: 800; color: #2a1700; background: linear-gradient(135deg, var(--sun), var(--sun-2)); box-shadow: 0 8px 16px -6px rgba(246, 123, 42, .7); }
.step .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: .9rem; color: var(--blue); background: rgba(30, 115, 190, .12); }
.step .ico .i { width: 26px; height: 26px; }
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ============ IA 24h + Horários ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 2.2rem; box-shadow: var(--shadow); }
.panel h3 { font-size: 1.6rem; margin-bottom: .7rem; }
.panel > p { color: var(--muted); margin-bottom: 1.4rem; }
.hours { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .5rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-radius: 14px; background: var(--surface-2); font-weight: 500; border: 1px solid transparent; transition: .3s; }
.hours li b { font-weight: 700; }
.hours li.today { border-color: var(--sky); background: rgba(42, 164, 222, .12); box-shadow: inset 4px 0 0 var(--sky); }
.hours li.today span::after { content: ' · hoje'; color: var(--blue); font-weight: 700; }
.chat { background: linear-gradient(160deg, var(--navy), #1c2a55 70%); color: #fff; border: 0; position: relative; overflow: hidden; }
.chat::after { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; background: radial-gradient(circle, rgba(244, 162, 54, .5), transparent 65%); }
.chat > p { color: #c7d2f4; }
.bubble { max-width: 88%; padding: .75rem 1rem; border-radius: 18px; font-size: .94rem; margin-top: .7rem; position: relative; animation: pop .6s var(--ease) backwards; }
.bubble.me { margin-left: auto; background: #dcf8c6; color: #0b2a14; border-bottom-right-radius: 4px; animation-delay: .1s; }
.bubble.bot { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); border-bottom-left-radius: 4px; animation-delay: .5s; }
.bubble.bot + .bubble.bot { animation-delay: 1s; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* ============ CTA / footer ============ */
.cta { margin: 0 auto; padding: 3.4rem 2rem; border-radius: 32px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue) 60%, var(--sky)); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(244, 162, 54, .55), transparent 45%); }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .8rem; }
.cta p { color: #dbe6ff; margin-bottom: 1.6rem; }

.fab { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2be07a, var(--wa-d)); color: #fff; box-shadow: 0 14px 30px -8px rgba(18, 140, 74, .7); transition: transform .3s var(--ease); }
.fab:hover { transform: scale(1.1) rotate(-8deg); }
.fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.2s infinite; }
@keyframes ring { to { transform: scale(1.5); opacity: 0; } }
.fab .i { width: 32px; height: 32px; }

/* ============ Modal & Drawer ============ */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(6, 10, 28, .55); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.on { opacity: 1; pointer-events: auto; }
.modal { position: fixed; z-index: 100; left: 50%; top: 50%; width: min(880px, 94vw); max-height: 92dvh; overflow: auto; translate: -50% -46%; opacity: 0; pointer-events: none; transition: .35s var(--ease); background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.modal.on { translate: -50% -50%; opacity: 1; pointer-events: auto; }
.modal-grid { display: grid; grid-template-columns: 1fr 1.1fr; }
.modal-media { min-height: 280px; position: relative; background: var(--surface-2); }
.modal-media img, .modal-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-media .ph span { font-size: 6rem; }
.modal-body { padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.modal-body h3 { font-size: 1.7rem; }
.modal-body .desc { color: var(--muted); }
.x { position: absolute; top: .8rem; right: .8rem; z-index: 5; width: 38px; height: 38px; border-radius: 50%; background: var(--glass); backdrop-filter: blur(8px); border: 1px solid var(--line); display: grid; place-items: center; }
.field { display: grid; gap: .4rem; }
.field > label, .lbl { font-weight: 700; font-size: .86rem; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(42, 164, 222, .2); }
.field textarea { resize: vertical; min-height: 76px; }
.row { display: flex; gap: .8rem; align-items: end; }
.row > * { flex: 1; }
.measures { padding: 1rem; border-radius: 18px; background: rgba(42, 164, 222, .08); border: 1px dashed var(--sky); display: grid; gap: .8rem; }
.measures .row .x-sep { flex: none; padding-bottom: .85rem; color: var(--muted); font-weight: 700; }
.measures input:disabled { opacity: .45; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: var(--bg); width: max-content; }
.stepper button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.stepper button:hover { background: var(--surface-2); }
.stepper input { width: 56px; text-align: center; border: 0; background: none; font: inherit; font-weight: 700; color: var(--text); padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { appearance: none; }
.check { display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }

.drawer { position: fixed; z-index: 100; top: 0; right: 0; height: 100dvh; width: min(460px, 100vw); background: var(--surface); box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .4s var(--ease); display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.drawer.on { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.3rem; }
.drawer-body { flex: 1; overflow: auto; padding: 1.2rem 1.4rem; display: grid; gap: .9rem; align-content: start; }
.drawer-foot { padding: 1.2rem 1.4rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; background: var(--surface); }
.item { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; padding: .8rem; border-radius: 16px; background: var(--surface-2); animation: pop .4s var(--ease); }
.item .thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; }
.item .thumb img, .item .thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.item .thumb .ph span { font-size: 1.7rem; display: grid; }
.item b { display: block; font-size: .98rem; }
.item small { color: var(--muted); display: block; font-size: .82rem; }
.item .rm { width: 34px; height: 34px; border-radius: 50%; color: var(--bad); display: grid; place-items: center; }
.item .rm:hover { background: rgba(217, 72, 15, .12); }
.notice { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 1rem; border-radius: 14px; font-size: .88rem; background: rgba(244, 162, 54, .16); border: 1px solid rgba(244, 162, 54, .5); }
.notice.ok { background: rgba(18, 161, 80, .12); border-color: rgba(18, 161, 80, .4); }
.cart-empty { text-align: center; color: var(--muted); padding: 3rem 1rem; }
.cart-empty .i { width: 3rem; height: 3rem; display: block; margin: 0 auto .8rem; stroke-width: 1.5; }

.toast { position: fixed; z-index: 200; left: 50%; bottom: 1.4rem; translate: -50% 120px; background: var(--text); color: var(--bg); padding: .85rem 1.3rem; border-radius: 99px; font-weight: 600; box-shadow: var(--shadow-lg); transition: translate .4s var(--ease); max-width: 92vw; }
.toast.on { translate: -50% 0; }

/* Scroll reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ============ Painel /catalogo ============ */
.adm-head { position: sticky; top: 0; z-index: 30; background: var(--glass); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.adm-head .wrap { display: flex; align-items: center; gap: 1rem; padding-block: .7rem; flex-wrap: wrap; }
.adm-head img { height: 44px; }
.adm-head h1 { font-size: 1.15rem; }
.adm-head .sp { margin-inline: auto; }
.adm-main { padding: 2rem 0 5rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1.6rem; }
.stat { padding: 1.1rem 1.3rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat b { font-family: 'Sora'; font-size: 1.9rem; display: block; }
.stat span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.list { display: grid; gap: .7rem; }
.prow { display: grid; grid-template-columns: 26px 72px 1fr auto auto; gap: 1rem; align-items: center; padding: .8rem 1rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, opacity .2s, border-color .2s; }
.prow.off { opacity: .55; }
.prow.drag { opacity: .4; }
.prow.over { border-color: var(--sky); transform: scale(1.01); }
.grip { cursor: grab; color: var(--muted); display: grid; place-items: center; user-select: none; }
.prow .thumb { width: 72px; height: 54px; border-radius: 12px; overflow: hidden; }
.prow .thumb img, .prow .thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.prow .thumb .ph span { font-size: 1.6rem; display: grid; }
.prow h4 { font-size: 1rem; }
.prow .meta { color: var(--muted); font-size: .82rem; display: flex; flex-wrap: wrap; gap: .3rem .8rem; }
.switches { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.sw { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; color: var(--muted); cursor: pointer; user-select: none; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw i { width: 42px; height: 24px; border-radius: 99px; background: var(--line); position: relative; transition: background .25s; flex: none; border: 1px solid var(--line); }
.sw i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .3s var(--ease); }
.sw input:checked + i { background: linear-gradient(135deg, var(--sky), var(--blue)); }
.sw input:checked + i::after { transform: translateX(18px); }
.sw input:focus-visible + i { outline: 3px solid var(--sky); outline-offset: 2px; }
.sw.big > span { display: inline-flex; align-items: center; gap: .55rem; }
.sw.big { font-size: .95rem; color: var(--text); justify-content: space-between; width: 100%; padding: .9rem 1rem; border-radius: 16px; background: var(--surface-2); }
.pform { padding: 1.8rem; display: grid; gap: 1.1rem; }
.pform h3 { font-size: 1.5rem; }
.drop { border: 2px dashed var(--line); border-radius: 20px; min-height: 190px; display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--muted); cursor: pointer; transition: .25s; position: relative; overflow: hidden; background: var(--surface-2); }
.drop:hover, .drop.over { border-color: var(--sky); background: rgba(42, 164, 222, .1); }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop .rm-img { position: absolute; top: .6rem; right: .6rem; z-index: 2; }
.drop .i { width: 2.4rem; height: 2.4rem; display: block; margin: 0 auto .5rem; stroke-width: 1.5; }
.sub { display: grid; gap: .8rem; padding: 1rem; border-radius: 18px; background: rgba(42, 164, 222, .08); border: 1px dashed var(--sky); animation: pop .35s var(--ease); }
.form-actions { display: flex; gap: .8rem; justify-content: flex-end; flex-wrap: wrap; }
.login { min-height: 100dvh; display: grid; place-items: center; padding: 1.2rem; }
.login .panel { width: min(420px, 100%); text-align: center; display: grid; gap: 1rem; }
.login img { height: 84px; margin-inline: auto; }
.err { color: var(--bad); font-weight: 600; font-size: .9rem; min-height: 1.2em; }
.hidden { display: none !important; }

/* ============ Responsivo ============ */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-visual { max-width: 380px; order: -1; }
  .hero { padding-top: 7rem; }
  .split { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header .wrap { justify-content: space-between; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 760px) {
  .modal { top: auto; bottom: 0; left: 0; width: 100%; translate: 0 40px; border-radius: 28px 28px 0 0; max-height: 94dvh; }
  .modal.on { translate: 0 0; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-media { min-height: 190px; aspect-ratio: 16/9; }
  .prow { grid-template-columns: 22px 60px 1fr; }
  .prow .switches { grid-column: 1 / -1; }
  .prow .acts { grid-column: 1 / -1; justify-self: end; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .card-body { padding: .85rem; }
  .card p { -webkit-line-clamp: 2; font-size: .85rem; }
  .card h3 { font-size: 1rem; }
  section { padding: 3.6rem 0; }
  .panel { padding: 1.5rem; }
  .brand img { height: 44px; }
  .header-actions .btn { display: none; }
}
@media (max-width: 460px) {
  .grid { grid-template-columns: 1fr; }
  .card { flex-direction: row; }
  .card-media { width: 120px; aspect-ratio: auto; flex: none; }
  .tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  /* A vitrine é o destaque da página: continua passando mesmo com "reduzir movimento" (devagar e pausa ao tocar). */
  .vitrine-track { animation: scroll var(--dur, 80s) linear infinite !important; }
  .vitrine:hover .vitrine-track, .vitrine.paused .vitrine-track { animation-play-state: paused !important; }
}

/* ============ Painel: menu, abas e componentes comuns ============ */
.adm-brand img { height: 40px; width: auto; }
.adm-nav { display: flex; gap: .25rem; margin-left: .6rem; }
.adm-nav a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: .2s; }
.adm-nav a:hover { color: var(--text); background: var(--surface-2); }
.adm-nav a.on { color: var(--on-primary); background: var(--primary); }
.page-title { margin-bottom: 1.4rem; }
.page-title h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.page-title p { color: var(--muted); margin-top: .3rem; max-width: 46rem; }
.muted { color: var(--muted); font-size: .92rem; }
.mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .8rem; word-break: break-all; }
code { background: var(--surface-2); padding: .1rem .4rem; border-radius: 6px; font-size: .85em; }
.stack { display: grid; gap: .9rem; }
.sep { border: 0; border-top: 1px solid var(--line); margin: 1.4rem 0; }
.grid-form { display: grid; gap: .9rem; }
.tabs { display: flex; gap: .4rem; margin-bottom: 1.4rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; font-weight: 700; font-size: .95rem; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: .2s; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--text); border-color: var(--sun-2); }
.adm-main .panel textarea, .field textarea, .chat-input input {
  width: 100%; padding: .8rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; resize: vertical;
}
.adm-main .panel textarea:focus, .chat-input input:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(42, 164, 222, .2); }
.badge { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 99px; font-size: .8rem; font-weight: 700; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge.ok { color: var(--ok); background: rgba(18, 161, 80, .12); }
.badge.warn { color: #b7791f; background: rgba(244, 162, 54, .18); }
.badge.bad { color: var(--bad); background: rgba(217, 72, 15, .12); }
.toast[data-kind="err"] { background: var(--bad); color: #fff; }

/* Conexão */
.conn-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.conn-head .badge { margin-left: auto; }
.conn-head h3 { font-size: 1.3rem; margin: 0; }
.conn-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.conn-ico .i { width: 24px; height: 24px; }
.conn-ico.ok { color: var(--ok); background: rgba(18, 161, 80, .14); }
.conn-ico.warn { color: #b7791f; background: rgba(244, 162, 54, .2); }
.conn-ico.bad { color: var(--bad); background: rgba(217, 72, 15, .12); }
.conn > .muted { margin-bottom: 1.1rem; }
.qr { display: grid; place-items: center; align-content: center; gap: 1rem; min-height: 360px; }
.qr img { width: min(280px, 100%); height: auto; aspect-ratio: 1; border-radius: 18px; background: #fff; padding: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.qr-empty { text-align: center; color: var(--muted); display: grid; gap: .8rem; justify-items: center; max-width: 18rem; }
.qr-empty .i { width: 4rem; height: 4rem; stroke-width: 1.3; }

/* Mensagens automáticas */
.preview-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.preview-opts { display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; }
.preview-opts .field { min-width: 170px; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { padding: .55rem 1rem; border-radius: 99px; font-weight: 700; font-size: .85rem; color: var(--muted); transition: .2s; }
.seg button.on { background: var(--primary); color: var(--on-primary); }
.msg-list { display: grid; gap: 1.1rem; }
.msg-ed { border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem; background: var(--bg); }
.msg-ed-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: .9rem; }
.msg-ed-head h4 { font-size: 1.02rem; }
.msg-ed-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; }
.var-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.var-chips .chip { padding: .3rem .7rem; font-size: .78rem; font-family: ui-monospace, Consolas, monospace; }
.wa-preview { display: grid; gap: .45rem; padding: 1rem; border-radius: 16px; background: #e5ddd5; background-image: radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px); background-size: 14px 14px; min-height: 120px; align-content: start; }
:root[data-theme="dark"] .wa-preview { background-color: #0b141a; background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px); }
.wa-bubble { max-width: 92%; padding: .55rem .8rem; border-radius: 4px 14px 14px 14px; background: #fff; color: #111b21; font-size: .88rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .13); word-break: break-word; }
:root[data-theme="dark"] .wa-bubble { background: #202c33; color: #e9edef; }

/* Aprendizado */
.ideas { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.4rem; }
.ideas .chip { display: inline-flex; align-items: center; gap: .4rem; }
.group-title { display: flex; align-items: center; gap: .5rem; margin: 1.4rem 0 .7rem; font-size: 1rem; }
.lessons { display: grid; gap: .7rem; }
.lesson { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); transition: opacity .2s; }
.lesson.off { opacity: .55; }
.lesson-text { min-width: 0; }
.lesson-text h5 { font-size: .95rem; margin: 0 0 .2rem; font-family: 'Inter', sans-serif; }
.lesson-text p { color: var(--muted); font-size: .9rem; white-space: pre-line; overflow-wrap: anywhere; }
.lesson-acts { display: flex; align-items: center; gap: .7rem; flex: none; }
.empty-state { text-align: center; color: var(--muted); padding: 2.4rem 1rem; display: grid; justify-items: center; gap: .6rem; }
.empty-state .i { width: 2.6rem; height: 2.6rem; stroke-width: 1.4; }
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .4rem; }
.kind { display: grid; gap: .25rem; text-align: left; padding: .8rem; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); transition: .2s; }
.kind .i { color: var(--blue); }
.kind b { font-size: .88rem; }
.kind span { color: var(--muted); font-size: .76rem; line-height: 1.3; }
.kind.on { border-color: var(--sky); background: rgba(42, 164, 222, .1); box-shadow: 0 0 0 3px rgba(42, 164, 222, .18); }

/* Simulador */
.chat-box { height: min(52dvh, 460px); overflow-y: auto; padding: 1rem; border-radius: 18px; background: #e5ddd5; display: flex; flex-direction: column; gap: .5rem; margin-bottom: .9rem; scroll-behavior: smooth; }
:root[data-theme="dark"] .chat-box { background: #0b141a; }
.cb { max-width: 82%; padding: .6rem .9rem; border-radius: 14px; font-size: .92rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .13); animation: pop .3s var(--ease); word-break: break-word; }
.cb.me { align-self: flex-end; background: #d9fdd3; color: #111b21; border-top-right-radius: 4px; }
.cb.bot { align-self: flex-start; background: #fff; color: #111b21; border-top-left-radius: 4px; }
:root[data-theme="dark"] .cb.me { background: #005c4b; color: #e9edef; }
:root[data-theme="dark"] .cb.bot { background: #202c33; color: #e9edef; }
.cb.typing { display: inline-flex; gap: 4px; padding: .8rem .9rem; }
.cb.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: blink 1.2s infinite; }
.cb.typing i:nth-child(2) { animation-delay: .15s; }
.cb.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 40% { opacity: .25; transform: translateY(-2px); } }
.cb-meta { align-self: flex-start; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin: 0 0 .3rem .2rem; }
.link-btn { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.chat-hint { margin: auto; text-align: center; color: #54656f; display: grid; justify-items: center; gap: .5rem; max-width: 18rem; }
.chat-hint .i { width: 2.2rem; height: 2.2rem; }
.chat-input { display: flex; gap: .6rem; }
.chat-input input { flex: 1; resize: none; }
.sim .notice { margin-bottom: .9rem; }

/* Memória */
.mem { padding: 1.1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); margin-bottom: .9rem; }
.mem-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .8rem; }
.mem-head h4 { font-size: 1rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #2a1700; background: linear-gradient(135deg, var(--sun), var(--sun-2)); flex: none; }

@media (max-width: 900px) {
  .msg-ed-body { grid-template-columns: 1fr; }
  .adm-nav a span { display: none; }
  .adm-nav a { padding: .55rem .7rem; }
  .hide-sm { display: none !important; }
}
@media (max-width: 640px) {
  .kinds { grid-template-columns: 1fr; }
  .lesson { flex-direction: column; align-items: stretch; }
  .lesson-acts { justify-content: space-between; }
  .adm-head .wrap { gap: .6rem; }
  .adm-head .live { display: none; }
}

.tabpane { padding: 0; }

/* Conexão: passos e erro */
.steps-mini { margin: 1.2rem 0 0; padding-left: 1.2rem; color: var(--muted); font-size: .92rem; display: grid; gap: .35rem; }
.steps-mini b { color: var(--text); }
.notice.err { background: rgba(217, 72, 15, .1); border-color: rgba(217, 72, 15, .45); color: var(--text); }
.notice.err .i { color: var(--bad); margin-top: .15rem; }
.conn-split { align-items: stretch; }

/* Aprendizado v2: como aprende, perguntas sem resposta, simulador com memória */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .9rem; margin-top: 1rem; }
.how-item { display: flex; gap: .8rem; padding: 1rem; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.how-item .i { width: 1.4rem; height: 1.4rem; color: var(--blue); margin-top: .15rem; }
.how-item b { display: block; font-size: .95rem; margin-bottom: .15rem; }
.how-item span { color: var(--muted); font-size: .85rem; line-height: 1.4; display: block; }
.un-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1rem; border: 1px solid rgba(244, 162, 54, .5); background: rgba(244, 162, 54, .08); border-radius: 16px; margin-bottom: .6rem; }
.un-item b { display: block; overflow-wrap: anywhere; }
.un-item .muted { font-size: .8rem; }
.sim-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.memo-box h4 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; margin-bottom: .6rem; }
.dbg { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .88rem; }
.dbg li { display: flex; gap: .5rem; align-items: flex-start; color: var(--text); }
.dbg .i { color: var(--blue); margin-top: .2rem; }
.facts { margin: .3rem 0 0; padding: .8rem 1rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); white-space: pre-wrap; font: inherit; font-size: .88rem; line-height: 1.5; color: var(--text); min-height: 3.2rem; }
pre.facts.muted { color: var(--muted); }
.mem-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 900px) {
  .sim-grid { grid-template-columns: 1fr; }
  .mem-cols { grid-template-columns: 1fr; }
  .un-item { flex-direction: column; align-items: stretch; }
}

/* ============ Página de localização ============ */
.nav a.on { color: var(--text); background: var(--surface-2); }
.loc-hero { position: relative; padding: 8rem 0 2.5rem; isolation: isolate; overflow: clip; }
.loc-hero::before { content: ''; position: absolute; z-index: -1; width: 480px; height: 480px; right: -140px; top: -120px; border-radius: 50%; filter: blur(80px); opacity: .5; background: radial-gradient(circle, var(--sky), transparent 65%); }
.loc-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.loc-hero .lead { color: var(--muted); margin: .8rem 0 2rem; font-size: 1.1rem; }
.loc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.4rem; align-items: stretch; }
.loc-card { display: flex; flex-direction: column; gap: 1rem; }
.loc-address { font-family: 'Sora', sans-serif; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.loc-note { display: flex; gap: .5rem; align-items: flex-start; }
.loc-actions { display: grid; gap: .7rem; margin-top: auto; padding-top: .6rem; }
.loc-actions .btn { width: 100%; }
.btn-waze { background: linear-gradient(135deg, #5ad8ff, #1a9bd7); color: #04283a; box-shadow: 0 10px 24px -8px rgba(26, 155, 215, .65); }
.btn-waze:hover { transform: translateY(-2px); }
.loc-map { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 360px; background: var(--surface-2); }
.loc-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.loc-empty { grid-column: 1 / -1; text-align: center; display: grid; justify-items: center; gap: .6rem; padding: 3rem 1.5rem; }
.loc-empty .i { width: 3rem; height: 3rem; stroke-width: 1.4; color: var(--blue); }
.loc-empty p { color: var(--muted); max-width: 32rem; }
.loc-info { padding-top: 1rem; }
.loc-info .panel > .btn { margin-top: .4rem; }
@media (max-width: 900px) {
  .loc-grid { grid-template-columns: 1fr; }
  .loc-map, .loc-map iframe { min-height: 300px; }
  .loc-hero { padding-top: 6.5rem; }
}

/* Admin: aba de localização */
.loc-admin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.loc-admin .prev { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); min-height: 280px; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); text-align: center; }
.loc-admin .prev iframe { width: 100%; height: 320px; border: 0; display: block; }
.loc-admin .row { align-items: start; }
@media (max-width: 900px) { .loc-admin { grid-template-columns: 1fr; } }

/* ============ Vitrine de serviços (passa de lado) ============ */
.vitrine { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.vitrine-track { display: flex; gap: 2.5rem; width: max-content; animation: scroll var(--dur, 60s) linear infinite; will-change: transform; }
.vitrine:hover .vitrine-track, .vitrine.paused .vitrine-track { animation-play-state: paused; }
.vt { display: flex; align-items: center; gap: 2.5rem; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--muted); white-space: nowrap; cursor: pointer; transition: color .2s; }
.vt::after { content: ''; width: 8px; height: 8px; border-radius: 2px; rotate: 45deg; background: var(--sun); flex: none; }
.vt:hover, .vt:focus-visible { color: var(--text); }
@media (max-width: 640px) { .vitrine { padding: .8rem 0; } .vitrine-track, .vt { gap: 1.6rem; } .vt { font-size: .98rem; } }

/* ============ Rodapé ============ */
.footer { padding: 2.6rem 0 6.5rem; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); background: var(--surface); }
.footer .wrap { max-width: 760px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr; gap: 1.8rem 2rem; align-items: start; }
.footer-brand img { height: 46px; margin-bottom: .7rem; }
.footer-brand p { max-width: 22rem; }
.footer h4 { font-family: 'Inter', sans-serif; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: .8rem; }
.footer-nav { display: grid; gap: .55rem; }
.footer-nav a, .footer-contact a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; }
.footer-contact { display: grid; gap: .55rem; justify-items: start; }
.ig-badge { margin-top: .35rem; padding: .45rem 1rem; border-radius: 99px; background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); color: #fff; font-weight: 700; font-size: .82rem; box-shadow: 0 4px 14px rgba(238, 42, 123, .28); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.ig-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(238, 42, 123, .4); color: #fff; }
.ig-badge .i { width: 1.05em; height: 1.05em; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; align-items: center; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .85rem; }
.footer-bottom b { color: var(--text); font-family: 'Sora', sans-serif; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) {
  .footer { padding-bottom: 7rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Diagnóstico de entrega */
.dl { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.dl li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .6rem .9rem; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: .88rem; }
.dl-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .dl li { grid-template-columns: 1fr auto; } .dl li .muted { grid-column: 1 / -1; } }

.adm-main section { padding: 0; }
