:root {
  color-scheme: dark;
  --page: #0b100c;
  --panel: #101811;
  --fg: #f3f8ef;
  --muted: #b6c4b4;
  --green: #aff56f;
  --line: #314931;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--page);
  color: var(--fg);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background-color: var(--page);
  background-image:
    radial-gradient(ellipse at center, #071008dc 0%, #07100891 48%, #070d0870 100%),
    url("./assets/fundo-eletrico.webp");
  background-position: center;
  background-size: cover;
}
.hub {
  width: min(100% - 2rem, 34rem);
  margin-block: clamp(1rem, 4vw, 3.25rem);
  padding: clamp(1.1rem, 4vw, 2.15rem);
  border: 1px solid #496447;
  border-top-color: #83b26a;
  border-radius: 1.55rem;
  background:
    radial-gradient(ellipse at 50% 0%, #25402499, transparent 47%),
    linear-gradient(165deg, #141e15f5 0%, #101712fa 53%, #101711 100%);
  box-shadow: 0 1.5rem 4rem #0009, 0 0 1.65rem #5b9f331f;
}
.intro { text-align: center; margin-block-end: 1.65rem; }
.brand {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-block-size: 7rem;
  padding: .5rem 0 1.05rem;
  margin-bottom: .9rem;
}
.brand::after {
  content: "";
  position: absolute;
  inset: auto 12% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8ce85f9c, transparent);
}
.brand img {
  display: block;
  width: min(100%, 21.5rem);
  height: auto;
  filter: drop-shadow(0 0 1rem #4bc9323b);
}
.intro h1 { font-size: clamp(1.35rem, 5vw, 1.95rem); line-height: 1.2; letter-spacing: -.025em; margin: 0; }
.intro p { color: var(--muted); max-width: 27rem; margin: .5rem auto 0; line-height: 1.5; }
nav { display: grid; gap: .65rem; }
.channel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  min-height: 4.55rem;
  padding: .8rem;
  border: 1px solid #415041;
  border-radius: .95rem;
  background: #1a251b;
  text-decoration: none;
  color: inherit;
}
.channel:hover { background: #253326; border-color: #8fc783; }
.channel-icon {
  display: grid;
  place-items: center;
  inline-size: 2.6rem;
  block-size: 2.6rem;
  border-radius: .65rem;
  background: #2a4129;
  color: var(--green);
}
.channel-icon svg { width: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.channel-copy strong, .channel-copy span { display: block; }
.channel-copy strong { font-size: 1.05rem; }
.channel-copy span { margin-top: .15rem; color: var(--muted); font-size: .875rem; line-height: 1.35; overflow-wrap: anywhere; }
.primary { background: var(--green); border-color: #c2fa92; color: #10200d; }
.primary:hover { background: #c1ff8e; border-color: #e1ffca; }
.primary .channel-icon { background: #274a1a24; color: #152910; }
.primary .channel-copy span, .channel-name { color: #264021; }
.channel-name { font-size: .875rem; font-weight: 650; }
footer { border-top: 1px solid var(--line); margin-top: 1.55rem; padding-top: 1.25rem; text-align: center; color: var(--muted); font-size: .875rem; line-height: 1.55; overflow-wrap: anywhere; }
.email { color: var(--fg); display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; text-underline-offset: .2em; }
address { font-style: normal; }
.cnpj { font-size: .8125rem; margin-bottom: 0; }
a:focus-visible { outline: 3px solid #ffe27f; outline-offset: 3px; }
@media (max-width: 370px) {
  .hub { width: calc(100% - 1.2rem); }
  .channel-name { grid-column: 2; padding-top: .12rem; }
  .primary .channel-icon { grid-row: span 2; }
}

@media (max-width: 650px) {
  body { background-size: cover, 100% 100%; }
}
