/* Layout: faixas de largura total, conteúdo numa coluna de 1120px; o cabo amarelo do logo é o fio condutor. */
:root {
  --ink: #0c0c0d;        /* fundo, o preto do logo */
  --panel: #161618;      /* superfícies elevadas */
  --line: #2b2b30;       /* divisórias */
  --paper: #f4f2ec;      /* texto principal */
  --muted: #a9a69c;      /* texto de apoio */
  --volt: #ffe01a;       /* o amarelo do "ug" e do cabo */
  --volt-ink: #141200;   /* texto sobre o amarelo */
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ring: conic-gradient(from 200deg, #ff2d2d, #ff9a1a, #ffe01a, #3ddc5a, #1fa7ff, #6a4bff, #ff2d8a, #ff2d2d);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Cabeçalho */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.top .wrap { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.25rem/1 var(--display); letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--paper); }
.nav .btn { color: var(--volt-ink); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  font: 700 0.98rem/1 var(--body); text-decoration: none;
  background: var(--volt); color: var(--volt-ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px -8px var(--volt); }
.btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Rótulos */
.eyebrow {
  font: 500 0.78rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--volt); margin: 0 0 14px;
}
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.02; font-weight: 800; }
h3 { font-size: 1.35rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.lede { color: var(--muted); max-width: 58ch; font-size: 1.12rem; margin: 18px 0 0; }

section { padding-block: clamp(64px, 9vw, 112px); }
section + section { border-top: 1px solid var(--line); }

/* Abertura */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 7.6vw, 5.9rem); line-height: 0.94; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--volt); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cable { display: block; width: min(100%, 520px); height: auto; margin-top: 26px; overflow: visible; }
.cable path { fill: none; stroke: var(--volt); stroke-width: 7; stroke-linecap: round; }
.cable .plug { fill: var(--volt); }
.cable .pin { fill: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .cable path { stroke-dasharray: 900; stroke-dashoffset: 0; animation: plug-in 1.4s cubic-bezier(.6,0,.2,1) both .2s; }
  .cable .plug-g { animation: plug-slide 1.4s cubic-bezier(.6,0,.2,1) both .2s; }
}
@keyframes plug-in { from { stroke-dashoffset: 900; } }
@keyframes plug-slide { from { transform: translateX(-60px); opacity: .0; } 30% { opacity: 1; } }

.badge {
  position: relative; justify-self: center;
  width: min(100%, 380px); aspect-ratio: 1; max-width: 100%;
  display: grid; place-items: center;
}
.badge::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--ring);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
  filter: saturate(1.2);
}
@media (prefers-reduced-motion: no-preference) { .badge::before { animation: spin 18s linear infinite; } }
@keyframes spin { to { transform: rotate(1turn); } }
.badge img { width: 84%; height: auto; border-radius: 50%; }
.badge figcaption {
  position: absolute; bottom: 4%; right: -2%;
  background: var(--paper); color: var(--ink);
  font: 600 0.78rem/1.2 var(--mono); padding: 8px 12px; border-radius: 10px;
  transform: rotate(-4deg);
}
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .badge { width: min(70vw, 300px); grid-row: 1; justify-self: start; }
}

/* O que tem na Plug: ficha técnica */
.spec { margin-top: 48px; border-top: 1px solid var(--line); }
.spec-row {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 20px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid var(--line);
}
.spec-row .tag { font: 500 0.8rem/1 var(--mono); color: var(--muted); }
.spec-row h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.spec-row p { margin: 0; color: var(--muted); min-width: 0; }
.spec-row p a { color: var(--volt); text-underline-offset: 3px; }
.spec-row:hover h3 { color: var(--volt); }
@media (max-width: 640px) {
  .spec-row { grid-template-columns: 2.4rem minmax(0, 1fr); gap: 6px 14px; }
  .spec-row p { grid-column: 2; }
}

/* Lojas */
.stores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.store {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px; border-radius: 20px; background: var(--panel);
  border: 1px solid var(--line); min-width: 0;
}
.store .city { font: 500 0.78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.store h3 { font-size: 1.8rem; }
.store p { margin: 0; color: var(--muted); }
.store .num { font: 500 0.95rem/1.2 var(--mono); color: var(--paper); user-select: all; }
.store .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .stores { grid-template-columns: 1fr; } }

/* Faixa da equipe */
.team { background: var(--volt); color: var(--volt-ink); }
.team .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.team h2 { color: var(--volt-ink); max-width: 16ch; }
.team p { margin: 12px 0 0; max-width: 48ch; color: color-mix(in srgb, var(--volt-ink) 78%, var(--volt)); }
.team .btn { background: var(--volt-ink); color: var(--volt); padding: 16px 26px; font-size: 1.05rem; }
.team .btn:hover { box-shadow: 0 8px 28px -10px var(--volt-ink); }

/* Rodapé */
.foot { padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: .92rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot a { color: var(--paper); text-decoration: none; }
.foot a:hover { color: var(--volt); }

/* Área do colaborador */
.portal { padding-block: clamp(48px, 8vw, 96px); }
.portal h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: .96; font-weight: 800; }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.tool {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line);
  text-decoration: none; min-width: 0; transition: border-color .15s ease, transform .15s ease;
}
.tool:hover { border-color: var(--volt); transform: translateY(-2px); }
.tool.main { grid-column: span 3; background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }
.tool.main p, .tool.main .host { color: color-mix(in srgb, var(--volt-ink) 72%, var(--volt)); }
.tool.main h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.tool .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--volt); }
.tool.main .icon { background: var(--volt-ink); }
.tool .icon svg { width: 24px; height: 24px; }
.tool p { margin: 0; color: var(--muted); }
.tool .host { font: 500 .82rem/1.2 var(--mono); color: var(--muted); margin-top: auto; overflow-wrap: anywhere; }
.tool .go { position: absolute; top: 26px; right: 26px; width: 22px; height: 22px; }
.tools-note { margin-top: 28px; color: var(--muted); max-width: 62ch; }
.tools-note strong { color: var(--paper); }
@media (max-width: 900px) { .tools { grid-template-columns: 1fr; } .tool.main { grid-column: auto; } }
.stores.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
@media (max-width: 700px) { .stores.two { grid-template-columns: 1fr; } }
.brand img { border-radius: 50%; }
