/* Ice Beer — Frete do motoboy */

:root {
  --navy-950: #040f29;
  --navy-900: #06173d;
  --navy-800: #0b2a6f;
  --navy-700: #12398f;
  --blue-600: #1f5fd6;
  --ice-500: #29b6f0;
  --ice-400: #5cc8f5;
  --ice-300: #93dcfa;
  --ice-200: #c4ecfc;
  --ice-100: #e3f5fd;
  --ice-50: #f3fafe;
  --ink: #0a1a3a;
  --ink-2: #3b4e72;
  --line: #d3e6f5;
  --white: #fff;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgb(6 23 61 / .06), 0 8px 24px -8px rgb(6 23 61 / .18);
  --shadow-lg: 0 2px 6px rgb(6 23 61 / .08), 0 30px 60px -20px rgb(4 15 41 / .55);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --spring: linear(0, 0.049, 0.171, 0.333, 0.508, 0.676, 0.823, 0.943, 1.031, 1.091, 1.124, 1.135, 1.131, 1.116, 1.094, 1.071, 1.048, 1.027, 1.01, 0.998, 0.989, 0.984, 0.982, 0.982, 0.984, 0.987, 0.99, 0.993, 0.996, 0.998, 1, 1.001, 1.002, 1.002, 1.001, 1);
  --spring-soft: linear(0, 0.022, 0.079, 0.157, 0.246, 0.34, 0.433, 0.521, 0.602, 0.675, 0.739, 0.795, 0.842, 0.881, 0.913, 0.939, 0.96, 0.976, 0.988, 0.997, 1.003, 1.007, 1.01, 1.011, 1.012, 1.012, 1.011, 1.01, 1.009, 1.008, 1.007, 1.006, 1.005, 1.003, 1.001, 1);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --topbar: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.55 var(--font);
  color: var(--ink);
  background: var(--ice-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-stretch: 80%; font-weight: 850; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 6px; }
.chat__head :focus-visible, .result :focus-visible, .unit--hl :focus-visible, .section--dark :focus-visible, .sheet__head :focus-visible { outline-color: var(--ice-400); }

.wrap { width: min(1180px, 100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: var(--r-sm); background: var(--navy-800); color: #fff; text-decoration: none; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- botões ---------- */
.btn {
  --bg: var(--navy-800); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 650; text-decoration: none; white-space: nowrap;
  transition: transform .45s var(--spring), box-shadow .3s var(--ease-out), background-color .2s;
  box-shadow: 0 6px 16px -8px rgb(11 42 111 / .6);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgb(11 42 111 / .65); }
.btn:active { transform: scale(.96); transition-duration: .12s; }
.btn--wa { --bg: linear-gradient(135deg, var(--navy-700), var(--navy-800)); background: var(--bg); }
.btn--wa .ic { color: var(--ice-300); }
.btn--ghost { --fg: var(--navy-800); background: var(--ice-100); box-shadow: none; }
.btn--ghost:hover { background: var(--ice-200); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 15px; }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 0; border-radius: 12px; background: rgb(255 255 255 / .1); color: #fff;
  transition: background-color .2s, transform .45s var(--spring);
}
.icon-btn:hover { background: rgb(255 255 255 / .2); }
.icon-btn:active { transform: scale(.9); transition-duration: .1s; }

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--topbar);
  background: rgb(255 255 255 / .82);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgb(11 42 111 / .08);
  animation: drop .7s var(--ease-out) both;
}
.topbar__in { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand img { height: 44px; width: auto; }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--ice-100); color: var(--navy-800); }
.topbar .btn { margin-left: auto; }
@media (min-width: 760px) { .nav { display: flex; } .topbar .btn { margin-left: 8px; } }
@media (max-width: 380px) { .topbar .btn span { display: none; } .topbar .btn { padding: 8px 12px; } }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 20px 0 40px;
  background: radial-gradient(120% 90% at 85% 0%, var(--navy-700) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: #eaf6ff;
}
.hero__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.aurora--a { width: 520px; height: 520px; left: -140px; top: -160px; background: radial-gradient(circle, var(--ice-500), transparent 65%); animation: drift-a 18s ease-in-out infinite alternate; }
.aurora--b { width: 600px; height: 600px; right: -200px; top: 20%; background: radial-gradient(circle, var(--blue-600), transparent 65%); animation: drift-b 22s ease-in-out infinite alternate; }
.aurora--c { width: 420px; height: 420px; left: 30%; bottom: -220px; background: radial-gradient(circle, var(--ice-300), transparent 65%); opacity: .35; animation: drift-a 26s ease-in-out infinite alternate-reverse; }
.hero__flake { position: absolute; width: 560px; right: -160px; bottom: -180px; opacity: .07; filter: grayscale(1) brightness(3); animation: spin 90s linear infinite; }
.snow { position: absolute; inset: 0; }
.snow i { position: absolute; top: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: var(--o); animation: fall var(--d) linear var(--dl) infinite; }

.hero__grid { display: grid; gap: 28px; align-items: start; }
.hero__copy { padding-top: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); color: var(--ice-300); font-weight: 650; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow .ic { width: 16px; height: 16px; }
.eyebrow--dark { background: var(--ice-100); border-color: var(--ice-200); color: var(--navy-700); }
.hero h1 { margin-top: 16px; font-size: clamp(38px, 9vw, 72px); font-weight: 900; font-stretch: 72%; text-transform: uppercase; letter-spacing: -.005em; }
.ice-text {
  background: linear-gradient(100deg, var(--ice-300) 0%, #fff 30%, var(--ice-400) 60%, var(--ice-300) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: glint 5s var(--ease-out) infinite;
}
.lead { margin-top: 14px; max-width: 34em; color: #c9dcf3; font-size: 17px; }
.stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.stats strong { display: block; font-size: 30px; font-weight: 850; font-stretch: 75%; color: #fff; line-height: 1; }
.stats span { font-size: 14px; color: #9fb8d8; }
.tips { display: none; margin: 26px 0 0; padding: 0; list-style: none; gap: 10px; flex-direction: column; color: #9fb8d8; font-size: 15px; }
.tips kbd { display: inline-block; min-width: 0; margin-right: 8px; padding: 4px 10px; border-radius: 8px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); color: #fff; font: 600 14px/1.4 ui-monospace, "SF Mono", Consolas, monospace; }

@media (max-width: 999px) {
  .hero { padding: 12px 0 40px; }
  .hero__copy { order: 2; padding-top: 12px; }
  .hero h1 { font-size: clamp(34px, 10vw, 56px); }
  .hero h1 br { display: none; }
  .tips { display: flex; }
  .hero__grid { gap: 20px; }
}
@media (min-width: 1000px) {
  .hero { padding: 56px 0 72px; }
  .hero__grid { grid-template-columns: 1fr minmax(420px, 480px); gap: 56px; }
  .hero__copy { padding-top: 40px; }
  .tips { display: flex; }
}

/* ---------- chat ---------- */
.chat {
  position: relative; display: flex; flex-direction: column;
  height: clamp(460px, calc(100svh - var(--topbar) - 24px), 760px);
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--ice-50); color: var(--ink);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgb(255 255 255 / .12);
}
@media (min-width: 1000px) { .chat { height: min(680px, calc(100svh - var(--topbar) - 80px)); } }

.chat__head {
  display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: #fff;
}
.avatar { position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.avatar img { width: 38px; height: 38px; }
.avatar::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--ice-400); animation: ring 2.6s var(--ease-out) infinite; }
.chat__title { flex: 1; min-width: 0; }
.chat__title h2 { font-size: 19px; font-stretch: 85%; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__title p { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ice-300); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgb(74 222 128 / .25); }

.chat__log {
  flex: 1; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth;
  padding: 18px 14px 10px; display: flex; flex-direction: column; gap: 10px;
  background:
    radial-gradient(circle at 1px 1px, rgb(11 42 111 / .06) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(180deg, var(--ice-100), var(--ice-50) 40%);
}

.msg { max-width: 88%; animation: pop .6s var(--spring) both; }
.msg--bot { align-self: flex-start; transform-origin: 0% 100%; }
.msg--me { align-self: flex-end; transform-origin: 100% 100%; }
.bubble { padding: 11px 14px; border-radius: 18px; line-height: 1.45; overflow-wrap: anywhere; }
.msg--bot .bubble { background: #fff; border-bottom-left-radius: 6px; box-shadow: var(--shadow); }
.msg--me .bubble { white-space: pre-line; background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 8px 20px -10px rgb(31 95 214 / .8); }
.bubble p + p { margin-top: 6px; }
.bubble .muted { color: var(--ink-2); font-size: 14px; }

.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--ice-500); animation: hop 1s var(--ease-out) infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px;
  border: 1px solid var(--ice-200); border-radius: 999px; background: var(--ice-50); color: var(--navy-800);
  font-size: 14px; font-weight: 600; text-align: left;
  transition: background-color .2s, border-color .2s, transform .45s var(--spring);
  animation: pop .55s var(--spring) both; animation-delay: calc(var(--i, 0) * 60ms + 120ms);
}
.chip:hover { background: var(--ice-100); border-color: var(--ice-300); }
.chip:active { transform: scale(.95); transition-duration: .1s; }
.chip b { color: var(--blue-600); font-weight: 750; }

/* cartão do resultado */
.result {
  position: relative; overflow: hidden; width: min(340px, 78vw);
  padding: 16px; border-radius: 20px; border-bottom-left-radius: 6px; color: #fff;
  background: radial-gradient(120% 120% at 100% 0%, var(--navy-700), var(--navy-900) 70%);
  box-shadow: 0 18px 40px -18px rgb(4 15 41 / .8);
}
.result::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / .16) 50%, transparent 65%);
  transform: translateX(-100%); animation: sweep 1.4s .35s var(--ease-out) both;
}
.result__label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ice-300); }
.result__label .ic { width: 16px; height: 16px; }
.result__price { margin-top: 4px; font-size: 48px; font-weight: 900; font-stretch: 70%; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.result__price small { font-size: .45em; font-weight: 750; margin-right: 4px; color: var(--ice-300); vertical-align: .55em; }
.result__bairro { margin-top: 8px; font-size: 19px; font-weight: 750; font-stretch: 90%; }
.tier { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgb(255 255 255 / .1); color: var(--ice-200); }
.tier i { width: 8px; height: 8px; border-radius: 50%; background: var(--tc, var(--ice-400)); }
.result__meta { margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid rgb(255 255 255 / .12); list-style: none; display: grid; gap: 4px; font-size: 14px; color: #c9dcf3; }
.result__meta li { display: flex; gap: 8px; }
.result__meta .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--ice-400); }
.result__note { margin-top: 10px; font-size: 13.5px; color: var(--ice-200); }
.result__actions { display: flex; gap: 8px; margin-top: 14px; }
.result__actions button {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px;
  border: 0; border-radius: 12px; background: rgb(255 255 255 / .12); color: #fff; font-weight: 650; font-size: 14.5px;
  transition: background-color .2s, transform .45s var(--spring);
}
.result__actions button:hover { background: rgb(255 255 255 / .2); }
.result__actions button:active { transform: scale(.95); transition-duration: .1s; }
.result__actions button.is-done { background: var(--ice-400); color: var(--navy-900); }

.opts { display: grid; gap: 8px; margin-top: 10px; }
.opt {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 10px 12px;
  border: 1px solid var(--ice-200); border-radius: 14px; background: var(--ice-50); text-align: left;
  transition: background-color .2s, border-color .2s, transform .45s var(--spring);
  animation: pop .55s var(--spring) both; animation-delay: calc(var(--i, 0) * 70ms + 100ms);
}
.opt:hover { background: var(--ice-100); border-color: var(--ice-300); }
.opt:active { transform: scale(.97); transition-duration: .1s; }
.opt span { flex: 1; min-width: 0; }
.opt strong { display: block; font-weight: 700; color: var(--navy-800); }
.opt small { display: block; color: var(--ink-2); font-size: 13px; }
.opt b { font-weight: 850; font-stretch: 80%; font-size: 18px; color: var(--blue-600); white-space: nowrap; }

/* barra de digitação */
.composer { position: relative; display: flex; gap: 8px; padding: 10px; background: #fff; border-top: 1px solid var(--line); }
.composer input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--ice-50); font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.composer input::placeholder { color: #5f7090; }
.composer input:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgb(92 200 245 / .22); }
.send {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 0; border-radius: 50%;
  background: linear-gradient(135deg, var(--ice-500), var(--blue-600)); color: #fff;
  box-shadow: 0 8px 18px -8px rgb(31 95 214 / .9);
  transition: transform .5s var(--spring), filter .2s;
}
.send:hover { transform: rotate(-12deg) scale(1.06); }
.send:active { transform: scale(.88); transition-duration: .1s; }
.send .ic { margin-left: -2px; }

.suggest {
  position: absolute; left: 10px; right: 10px; bottom: calc(100% + 6px); z-index: 5;
  margin: 0; padding: 6px; list-style: none; max-height: 290px; overflow-y: auto;
  background: rgb(255 255 255 / .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  transform-origin: 50% 100%; animation: rise .4s var(--spring-soft) both;
}
.suggest li {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 10px; cursor: pointer;
}
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--ice-100); }
.suggest li[aria-selected="true"] { outline: 2px solid var(--blue-600); outline-offset: -2px; }
@media (max-width: 480px) { .suggest li small { display: none; } }
.suggest li span { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest li small { color: var(--ink-2); font-size: 12.5px; }
.suggest li b { color: var(--blue-600); font-weight: 800; white-space: nowrap; }
.suggest mark { background: none; color: var(--blue-600); }

/* ---------- seções ---------- */
.section { padding: 72px 0; }
.section__head { max-width: 640px; margin-bottom: 32px; }
.section__head h2 { margin-top: 14px; font-size: clamp(32px, 6vw, 52px); font-stretch: 72%; font-weight: 900; text-transform: uppercase; color: var(--navy-800); }
.section__head p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }

.units { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.unit {
  position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .5s var(--spring), box-shadow .3s var(--ease-out), border-color .3s;
}
.unit:hover { transform: translateY(-4px); box-shadow: 0 2px 6px rgb(6 23 61 / .06), 0 24px 40px -18px rgb(6 23 61 / .35); border-color: var(--ice-300); }
.unit__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--ice-100), var(--ice-200)); color: var(--navy-800); transition: transform .6s var(--spring); }
.unit:hover .unit__icon { transform: rotate(-8deg) scale(1.08); }
.unit__tag { margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); }
.unit h3 { margin-top: 4px; font-size: 28px; font-stretch: 75%; color: var(--navy-800); text-transform: uppercase; }
.unit__addr { margin-top: 8px; color: var(--ink); }
.unit__addr span { color: var(--ink-2); font-size: 15px; }
.unit__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.unit--hl { background: linear-gradient(150deg, var(--navy-800), var(--navy-900)); border-color: transparent; color: #fff; }
.unit--hl h3 { color: #fff; }
.unit--hl .unit__tag { color: var(--ice-300); }
.unit--hl .unit__addr, .unit--hl .unit__addr span { color: #c9dcf3; }
.unit--hl .unit__icon { background: rgb(255 255 255 / .1); color: var(--ice-300); }
.unit--hl .btn--wa { background: linear-gradient(135deg, var(--ice-400), var(--ice-500)); color: var(--navy-900); }
.unit--hl .btn--wa .ic { color: var(--navy-900); }

.section--dark { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #eaf6ff; }
.section--dark .section__head h2 { color: #fff; }
.section--dark .section__head p { color: #9fb8d8; }
.igs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.ig {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-lg); text-decoration: none;
  background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1);
  transition: transform .5s var(--spring), background-color .3s, border-color .3s;
}
.ig:hover { transform: translateY(-4px); background: rgb(255 255 255 / .09); border-color: rgb(147 220 250 / .4); }
.ig__ring { position: relative; flex: none; width: 64px; height: 64px; padding: 3px; border-radius: 50%; background: conic-gradient(from 0deg, var(--ice-300), var(--blue-600), var(--ice-500), var(--ice-300)); }
.ig__ring img { width: 100%; height: 100%; border-radius: 50%; background: #fff; padding: 6px; border: 2px solid var(--navy-900); }
.ig:hover .ig__ring { animation: spin 3s linear infinite; }
.ig:hover .ig__ring img { animation: spin 3s linear infinite reverse; }
.ig__txt { flex: 1; min-width: 0; }
.ig__txt strong { display: block; font-size: 17px; overflow: hidden; text-overflow: ellipsis; }
.ig__txt span { color: #9fb8d8; font-size: 14px; }
.ig__go { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--ice-400); color: var(--navy-900); font-weight: 700; font-size: 14px; }
.ig__go .ic { width: 16px; height: 16px; }

.footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--navy-950); color: #9fb8d8; text-align: center; }
.footer__in { display: grid; justify-items: center; gap: 10px; }
.footer img { width: 160px; padding: 10px 14px; border-radius: 14px; background: #fff; }
.footer__small { font-size: 13px; color: #6f86aa; }

/* ---------- tabela (dialog) ---------- */
.sheet {
  width: min(560px, 100%); max-width: 100%; max-height: min(86vh, 760px); margin: auto auto 0; padding: 0;
  border: 0; border-radius: 24px 24px 0 0; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(40px);
  transition: opacity .3s var(--ease-out), transform .55s var(--spring-soft), overlay .4s allow-discrete, display .4s allow-discrete;
}
.sheet:not([open]) { display: none; }
.sheet[open] { opacity: 1; transform: none; }
@starting-style { .sheet[open] { opacity: 0; transform: translateY(40px); } }
.sheet::backdrop { background: rgb(4 15 41 / 0); backdrop-filter: blur(0); transition: background-color .3s, backdrop-filter .3s, overlay .4s allow-discrete, display .4s allow-discrete; }
.sheet[open]::backdrop { background: rgb(4 15 41 / .55); backdrop-filter: blur(4px); }
@starting-style { .sheet[open]::backdrop { background: rgb(4 15 41 / 0); backdrop-filter: blur(0); } }
@media (min-width: 640px) { .sheet { margin: auto; border-radius: 24px; } }

.sheet__head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 16px 16px 12px 20px; background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: #fff; }
.sheet__head h2 { font-size: 24px; font-stretch: 75%; text-transform: uppercase; }
.search { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 46px; border-radius: 999px; background: rgb(255 255 255 / .12); }
.search:focus-within { background: rgb(255 255 255 / .2); box-shadow: 0 0 0 3px rgb(92 200 245 / .35); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: #fff; font-size: 16px; }
.search input::placeholder { color: #9fb8d8; }
.search input:focus { outline: none; }
.sheet__body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 0 calc(16px + env(safe-area-inset-bottom)); }
.grp h3 { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 12px 20px 8px; background: rgb(255 255 255 / .95); backdrop-filter: blur(8px); font-size: 15px; font-stretch: 90%; font-weight: 750; color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em; }
.grp h3 b { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--ice-100); color: var(--navy-800); font-size: 15px; letter-spacing: 0; }
.grp h3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); }
.grp ul { margin: 0; padding: 0 12px 6px; list-style: none; }
.grp button { display: flex; width: 100%; align-items: center; gap: 8px; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; text-align: left; transition: background-color .15s; }
.grp button:hover, .grp button:focus-visible { background: var(--ice-100); }
.grp button span { flex: 1; }
.grp button small { color: var(--blue-600); font-weight: 750; }
.empty { padding: 32px 20px; text-align: center; color: var(--ink-2); }

/* ---------- entrada na tela ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .9s var(--spring-soft); transition-delay: calc(var(--i, 0) * 80ms); }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-6px); opacity: 1; } }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes glint { 0%, 30% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
@keyframes sweep { to { transform: translateX(100%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift-a { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-140px, -60px) scale(.9); } }
@keyframes fall { to { transform: translate3d(var(--sway), 105vh, 0); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.shake { animation: shake .4s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .snow, .aurora, .hero__flake { display: none; }
}
