:root {
  --green: #1E965E;
  --green-light: #34B57A;
  --green-dark: #126B42;
  --label: #1A7F55;
  --text: #1F2A24;
  --white: #FFFFFF;
  --page-bg: #EEF3F0;
}

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

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

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

a { text-decoration: none; }

/* ---------- Cartão ---------- */
.page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 44px 18px 28px;
  background-image: url("Design_limpo.png");
}

/* Círculos decorativos */
.page::before,
.page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.page::before { width: 320px; height: 320px; top: -150px; right: -120px; }
.page::after  { width: 220px; height: 220px; bottom: -90px; left: -90px; }

/* ---------- Topo ---------- */
.profile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 30px;
}

/* Hexágono (formato do logotipo) */
.avatar {
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  position: relative;
  width: 160px;
  height: 182px;            /* proporção de um hexágono regular */
  padding: 10px;             /* espessura da borda branca */
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.25));
  
}

/* Halo translúcido à volta */
.avatar::before {
  content: "";
  position: absolute;
  inset: -12px -10px;
  background: rgba(255, 255, 255, 0.14);
  clip-path: var(--hex);
}

/* Borda branca */
.avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  clip-path: var(--hex);
}

.avatar img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: var(--hex);
}

.name {
  margin-top: 24px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.divider {
  width: 42px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.55);
}

.kicker {
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.tagline {
  margin-top: 12px;
  max-width: 290px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- Botões ---------- */
.links {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  padding: 11px 16px 11px 12px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 40, 20, 0.14);
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.5s ease forwards;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 40, 20, 0.22);
}
.link:active { transform: scale(0.98); }

.link-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-icon svg { width: 22px; height: 22px; fill: #fff; }

.link-label {
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--label);
}

.link-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EDF6F1;
  color: var(--green);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link:hover .link-arrow {
  background: var(--green);
  color: var(--white);
  transform: translateX(2px);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Cores de cada rede */
.ic-linkedin  { background: #0A66C2; }
.ic-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.ic-facebook  { background: #1877F2; }
.ic-whatsapp  { background: #25D366; }
.ic-website   { background: #4B5563; }
.ic-email     { background: #E8584A; }
.ic-phone     { background: var(--green-dark); }
.ic-youtube   { background: #FF0000; }
.ic-tiktok    { background: #000000; }

/* ---------- Rodapé ---------- */
.footer {
  position: relative;
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.3px;
}

/* ---------- Computador: cartão centrado ---------- */
@media (min-width: 600px) {
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    background:
      radial-gradient(circle at 20% 20%, rgba(30, 150, 94, 0.10) 0, transparent 40%),
      radial-gradient(circle at 80% 85%, rgba(30, 150, 94, 0.10) 0, transparent 40%),
      var(--page-bg);
  }

  .page {
    width: 100%;
    max-width: 420px;
    min-height: auto;
    border-radius: 28px;
    padding: 48px 26px 30px;
    box-shadow: 0 30px 70px rgba(18, 70, 45, 0.28), 0 6px 18px rgba(18, 70, 45, 0.12);
  }
}

/* Ícones das áreas (contorno branco sobre verde) */
.link-icon.area { background: linear-gradient(145deg, var(--green-light), var(--green-dark)); }
.link-icon.area svg {
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 21px;
  height: 21px;
}

.nowrap { white-space: nowrap; }
