/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html, body {
  overflow-x: hidden;
}


/* =========================
   BODY
========================= */
body {
  background: #f3f3f3;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 20px;
}

/* =========================
   CARD
========================= */
.card {
  width: 100%;
  max-width: 420px;
  background: #f3f3f3;
  border-radius: 28px;
}

/* =========================
   HEADER
========================= */
.header {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: visible;
}

.header-media {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
}

.header-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   AVATAR
========================= */
.avatar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -45px;
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  z-index: 5;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* =========================
   CONTENT
========================= */
.content {
  padding: 70px 24px 24px;
  text-align: center;
}

h1 {
  font-size: 28px;
  font-weight: 700;
}

.subtitle {
  font-size: 14px;
  letter-spacing: 2px;
  margin: 6px 0 18px;
  line-height: 1.4;
}

/* =========================
   LINKS (ALL BUTTON GROUPS)
========================= */
.links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px 
}

.links a {
  background: #fff;
  color: #000;
  text-decoration: none;
  padding: 18px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-bottom: 12px 
}

.links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* =========================
   CAMPAIGN BLOCK
========================= */
.campaign {
  background: #fff;
  border-radius: 22px;
  padding: 18px 16px 16px;
  margin: 18px 0 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.campaign h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.campaign p {
  font-size: 13.5px;
  font-weight: 700;
  opacity: 0.75;
  margin-bottom: 12px;
}

/* CTA dentro da campanha */
.campaign .links {
  gap: 0;
  margin-bottom: 12px;
}

/* Espaço entre campanha e links principais */
.campaign + .links {
  margin-top: 16px;
}



/* =========================
   WEBSITE LINKS (SECONDARY)
========================= */
.links-secondary {
  margin-top: 16px;
}

/* =========================
   SOCIAL ICONS
========================= */
.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 24px;
  margin: 22px 0 26px;
}

.socials a {
  color: #000;
}

/* =========================
   FOOTER
========================= */
.footer {
  margin-top: 32px;
  font-size: 12px;
  opacity: 0.6;
  letter-spacing: 1px;
}

/* =========================
   UTILITIES
========================= */
.hidden {
  display: none;
}

/* =========================
   MOBILE (IPHONE)
========================= */
@media (max-width: 480px) {

  body {
    padding: 12px;
  }

  .header {
    height: 190px;
  }

  .avatar {
    width: 80px;
    height: 80px;
    bottom: -34px;
  }

  .content {
    padding-top: 68px;
  }

  h1 {
    font-size: 24px;
  }

  .subtitle {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .campaign {
    padding: 14px;
    margin: 14px 0 16px;
  }

  .campaign h2 {
    font-size: 20px;
  }

  .campaign p {
    font-size: 13px;
  }

  .links {
    gap: 14px;
  }

  .links a {
    padding: 16px;
    font-size: 15px;
  }

  .socials {
    margin: 18px 0;
  }
}
.links + .links {
  margin-top: 22px;
}

/* Space between E-mail group and Website buttons */
.links-secondary{
  margin-top: 22px !important;
}