/* =========================================================================
   Professor Marcelo Miranda 11222 — Links
   Paleta extraída do material de campanha:
   navy escuro / azul médio / ciano de destaque / branco
   ========================================================================= */

:root {
  --navy-900: #171c3f;
  --navy-800: #1b2148;
  --blue-700: #2c3778;
  --blue-600: #47599a;
  --blue-500: #4f66b3;
  --cyan-400: #4fc3e8;
  --cyan-300: #87c5ea;
  --white: #ffffff;
  --ink-muted: #c7d0ea;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px rgba(9, 12, 34, 0.35);
  --maxw: 460px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--white);
  background:
    radial-gradient(1100px 620px at 15% -10%, var(--blue-600) 0%, transparent 60%),
    radial-gradient(900px 500px at 110% 10%, var(--cyan-300) 0%, transparent 45%),
    var(--navy-900);
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  padding: 32px 16px 56px;
}

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

.page {
  width: 100%;
  max-width: var(--maxw);
}

/* ---------- Cabeçalho ---------- */

.header {
  text-align: center;
  margin-bottom: 28px;
}

.avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 4px solid var(--cyan-400);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  background: var(--blue-700);
}

.header__badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 10px;
  flex-wrap: wrap;
}

.badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink-muted);
}

.badge--cyan {
  background: rgba(79, 195, 232, 0.16);
  border-color: rgba(79, 195, 232, 0.5);
  color: var(--cyan-400);
}

.header__name {
  margin: 4px 0 0;
  line-height: 1.05;
}

.header__eyebrow {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--cyan-400);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.header__firstname {
  display: block;
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.header__lastname {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--cyan-300);
  text-transform: uppercase;
}

.header__numero {
  margin-top: 10px;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.header__partido {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-muted);
}

.header__partido strong {
  color: var(--white);
}

/* ---------- Botões de link ---------- */

.links {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  font-size: 15.5px;
  backdrop-filter: blur(6px);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.link-btn:hover,
.link-btn:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cyan-400);
  outline: none;
}

.link-btn:active {
  transform: translateY(0);
}

.link-btn__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.link-btn__icon svg {
  width: 22px;
  height: 22px;
}

.link-btn--primary {
  background: linear-gradient(120deg, var(--cyan-400), #2ea6cf);
  color: var(--navy-900);
  border-color: transparent;
}

.link-btn--primary:hover,
.link-btn--primary:focus-visible {
  background: linear-gradient(120deg, #6fd3f2, var(--cyan-400));
}

/* ---------- Seções (kit de campanha) ---------- */

.section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin: 0 0 14px;
  padding-left: 4px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.card__head-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(79, 195, 232, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
}

.card__head-icon svg {
  width: 20px;
  height: 20px;
}

.card__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
}

.card__meta {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--ink-muted);
}

audio {
  width: 100%;
  margin: 6px 0 14px;
  border-radius: var(--radius-pill);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  flex: 1 1 auto;
  text-align: center;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.btn--cyan {
  background: var(--cyan-400);
  color: var(--navy-900);
  border-color: transparent;
}

.btn--cyan:hover,
.btn--cyan:focus-visible {
  background: #6fd3f2;
}

.stickers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.stickers-grid a {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 1 / 1;
}

.stickers-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 6px;
}

/* ---------- Rodapé ---------- */

.footer {
  text-align: center;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-muted);
  padding-top: 8px;
}

.footer strong {
  color: var(--white);
}

.share-btn {
  display: flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  margin: 18px auto 0;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
}

.share-btn:hover {
  color: var(--white);
  border-color: var(--cyan-400);
}

@media (max-width: 360px) {
  .header__firstname {
    font-size: 34px;
  }
  .header__numero {
    font-size: 46px;
  }
}
