/* LEED SERVICE — página de links */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #6b706e;
  --logo: #5e5a5b;
  --btn: #237a6f;
  --btn-hover: #1c665d;
  --white: #ffffff;
  --soft: #e9f1f6;
}

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--white);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.links {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.links__top {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.icon-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 16px;
  background: #e4e6e5;
  color: #1d1d1d;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  transition: transform .15s ease, background .15s ease;
}
.icon-btn:hover { background: #fff; }
.icon-btn:active { transform: scale(.95); }
.icon-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.icon-btn svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.links__logo {
  width: 168px;
  height: 168px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--logo);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}
.links__logo img { width: 84%; height: auto; display: block; }

.links__name {
  margin: 22px 0 0;
  font-size: clamp(2.1rem, 9vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.05;
}

.links__tag {
  margin: 10px 0 0;
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.links__sub {
  margin: 4px 0 0;
  font-size: 1.15rem;
}

.links__about {
  max-width: 420px;
  margin: 18px 0 0;
  font-size: .98rem;
  line-height: 1.55;
  color: var(--soft);
}

.links__list {
  width: 100%;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-btn {
  position: relative;
  min-height: 84px;
  padding: 16px 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 12px;
  background: var(--btn);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .18);
  transition: background .15s ease, transform .15s ease;
}
.link-btn:hover { background: var(--btn-hover); }
.link-btn:active { transform: translateY(1px); }
.link-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.link-btn svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.link-btn svg .fill { fill: currentColor; stroke: none; }

.link-btn span {
  font-size: 1.35rem;
  font-weight: 500;
}

.link-btn small {
  flex-basis: 100%;
  margin-top: 2px;
  font-size: .82rem;
  color: #d6ece8;
}

.links__foot {
  margin-top: 36px;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--soft);
}
.links__foot p { margin: 0; }
.nowrap { white-space: nowrap; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  margin: 0;
  padding: 10px 18px;
  background: #1d1d1d;
  color: #fff;
  border-radius: 999px;
  font-size: .9rem;
}

@media (min-width: 700px) {
  .links { padding-top: 40px; }
  .links__logo { width: 190px; height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
