/* ============================================
   Vida Dupla — Splash Screen
   ============================================ */

@font-face {
  font-family: "VD Verdana";
  src: url("../font/verdana.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "VD Verdana";
  src: url("../font/verdanab.ttf") format("truetype");
  font-weight: 700;
}

:root {
  --orange: #f94701;
  --orange-soft: #ff7a3d;
  --blue: #004070;
  --blue-light: #2f8fd8;
  --text: #f4f6fb;
  --muted: #a9b4c7;
  --glass: rgba(10, 16, 30, 0.62);
  --glass-strong: rgba(10, 16, 30, 0.78);
  --line: rgba(255, 255, 255, 0.10);
  --radius: 18px;
  --font: "Outfit", "VD Verdana", Verdana, Arial, Helvetica, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: #05070d;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- Fundo ---------- */
.bg {
  position: fixed;
  inset: 0;
  background-color: #05070d;
  background-size: cover;
  background-position: 50% 30%;
  background-repeat: no-repeat;
  animation: drift 40s ease-in-out infinite alternate;
}
.shade {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,7,13,.70) 0%, rgba(5,7,13,0) 32%, rgba(5,7,13,0) 62%, rgba(5,7,13,.70) 100%),
    linear-gradient(180deg, rgba(5,7,13,.65) 0%, rgba(5,7,13,0) 18%, rgba(5,7,13,0) 75%, rgba(5,7,13,.85) 100%);
}
@keyframes drift {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12) translate(-1%, -1%); }
}

/* ---------- Estrutura ---------- */
.page {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px clamp(16px, 3vw, 40px) 14px;
}

.layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(250px, 330px) 1fr minmax(270px, 340px);
  gap: 20px;
  align-items: start;
}
.spacer { min-height: 1px; }

/* ---------- Topo ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  height: 64px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .55));
  transition: transform .3s;
}
.brand-logo:hover {
  transform: rotate(-4deg) scale(1.05);
}
/*.brand-mark {
/  display: grid;
/  place-items: center;
/  width: 52px;
/  height: 52px;
/  border-radius: 14px;
/  font-weight: 800;
/  font-size: 20px;
/  letter-spacing: .5px;
/  background: linear-gradient(135deg, var(--orange), #c23300);
/  box-shadow: 0 8px 24px rgba(249, 71, 1, .45);
}*/
.brand h1 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.5px;
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
}
.brand h1 span { color: var(--orange); }
.brand p {
  margin-top: 5px;
  font-size: 14px;
  color: var(--muted);
  text-shadow: 0 1px 8px rgba(0,0,0,.8);
}

.status { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pill svg { width: 16px; height: 16px; fill: var(--blue-light); }
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}
.pill-on { color: #4ade80; }
.pill-on .dot { animation: pulse 2s infinite; box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
.pill-off { color: #f87171; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.card-head h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.count {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(249,71,1,.18);
  color: var(--orange-soft);
}

/* ---------- Ilhas ---------- */
.regions { max-height: 100%; overflow: auto; }
.region-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.region-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, transform .2s;
}
.region-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s, transform .2s;
}
.go svg { width: 16px; height: 16px; fill: var(--orange); }
.region-list a:hover {
  background: rgba(249,71,1,.12);
  border-color: rgba(249,71,1,.35);
  transform: translateX(3px);
}
.region-list a:hover .go { opacity: 1; transform: none; }
.empty { color: var(--muted); font-size: 14px; }

/* ---------- Coluna direita ---------- */
.side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 100%;
  overflow: auto;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stat {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat:first-child strong { color: var(--orange-soft); }
.stat span { font-size: 12.5px; color: var(--muted); }

.plans { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border-left: 4px solid var(--tier);
}
.plan span { font-weight: 500; }
.plan b { font-size: 18px; font-weight: 700; color: var(--tier); }
.plan small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.bronze { --tier: #e0915a; }
.silver { --tier: #cfd8e3; }
.gold   { --tier: #f5c542; }
.contact { margin-top: 12px; font-size: 14px; color: var(--muted); }
.contact b { color: var(--text); }

.social { display: flex; gap: 10px; justify-content: flex-end; }
.social-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .2s, border-color .2s;
}
.social-btn img { width: 28px; height: 28px; object-fit: contain; }
a.social-btn:hover { transform: translateY(-3px); border-color: var(--orange); }

/* ---------- Rodapé ---------- */
.bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 0;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.ticker {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
  font-size: 15px;
  font-weight: 500;
}
.ticker-track i { color: var(--orange); font-style: normal; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.cta {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  background: linear-gradient(135deg, var(--orange), #d63a00);
  box-shadow: 0 6px 20px rgba(249,71,1,.45);
  transition: transform .2s, box-shadow .2s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(249,71,1,.6); }

.license {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}

/* ---------- Telas menores ---------- */
@media (max-width: 960px) {
  body { overflow: auto; }
  .page { height: auto; min-height: 100vh; }
  .layout { grid-template-columns: 1fr 1fr; }
  .spacer { display: none; }
}
@media (max-width: 640px) {
  .layout { grid-template-columns: 1fr; }
  .bottom { flex-direction: column; border-radius: var(--radius); padding: 10px; }
  .ticker { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .bg, .ticker-track, .pill-on .dot { animation: none; }
}
