@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --blue-1: #031c2d;
  --blue-2: #063b5b;
  --card: rgba(2, 8, 13, 0.94);
  --white: #f4f4f4;
  --muted: #d5d8dc;
  --border: rgba(255,255,255,.25);
  --max: 650px;
  --title:#095b8f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  background: #031827;
}

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

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 12%, rgba(0, 100, 155, .52), transparent 34%),
    radial-gradient(circle at 8% 80%, rgba(11, 109, 150, .42), transparent 30%),
    radial-gradient(circle at 90% 72%, rgba(45, 107, 118, .35), transparent 25%),
    linear-gradient(160deg, #07334c 0%, #021a2a 48%, #062b3e 100%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.10);
}

.profile-page {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 215px 0 70px;
}

/* Cartão principal inspirado diretamente na referência */
.profile-card {
  position: relative;
  margin-bottom: 30px;
  padding: 145px 30px 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 20%, rgba(18, 35, 47, .45), transparent 36%),
    linear-gradient(145deg, rgba(2, 9, 14, .98), rgba(1, 7, 11, .96));
  border: 1px solid rgba(255,255,255,.025);
  box-shadow:
    0 28px 65px rgba(0,0,0,.42),
    0 0 45px rgba(48, 153, 176, .22);
}

.profile-card::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -20px;
  height: 55px;
  z-index: -1;
  filter: blur(28px);
  background: rgba(60, 160, 180, .35);
}

.avatar-wrap {
  position: absolute;
  top: -116px;
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  height: 230px;
  padding: 1px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60666a, #20262b);
  box-shadow: 0 12px 38px rgba(0,0,0,.42);
}

.avatar,
.avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.avatar {
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.25);
}

.avatar-placeholder {
  display: none;
  place-items: center;
  background: linear-gradient(145deg, #0779ec, #10151a);
  font-size: 50px;
  font-weight: 600;
  text-align: center;
}

.share-btn {
  position: absolute;
  top: 42px;
  left: 30px;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.025);
  color: #d4d8dc;
  cursor: pointer;
  font-size: 32px;
  transition: .25s ease;
}

.share-btn:hover {
  background: rgba(255,255,255,.08);
  transform: scale(1.06);
}

.share-icon {
  display: block;
  transform: rotate(180deg);
}

.profile-content {
  text-align: center;
}

.profile-content h1 {
  margin: 6px 0 10px;
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.2;
  font-weight: 700;
}

.profile-content h2 {
  margin: 0 0 28px;
  font-size: clamp(24px, 4.5vw, 31px);
  line-height: 1.2;
  font-weight: 700;
}

.headline {
  margin: 0 auto 34px;
  font-size: clamp(20px, 4vw, 25px);
  line-height: 1.42;
  font-style: italic;
  font-weight: 400;
}

.services {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(17px, 3.5vw, 22px);
  line-height: 1.48;
  font-style: italic;
}

.services li::before {
  content: "º ";
}

.more {
  margin: 36px 0 32px;
  font-size: clamp(20px, 4vw, 24px);
  font-style: italic;
  font-weight: 500;
}

.save-contact {
  display: inline-flex;
  min-width: 285px;
  justify-content: center;
  padding: 15px 30px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 40px;
  font-size: 18px;
  transition: .25s ease;
}

.save-contact:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

/* Botões externos */
.action-list {
  display: grid;
  gap: 22px;
}

.action-btn {
  min-height: 99px;
  padding: 20px 30px;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 12px;
  border-radius: 28px;
  background: rgba(1, 7, 11, .94);
  box-shadow: 0 12px 35px rgba(0,0,0,.22);
  font-size: clamp(19px, 4vw, 25px);
  text-align: center;
  transition: transform .25s ease, background .25s ease;
}

.action-btn {
  min-height: 99px;
  padding: 20px 30px;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 12px;
  border-radius: 28px;
  background: rgba(1, 7, 11, .94);
  box-shadow: 0 12px 35px rgba(0,0,0,.22);
  font-size: clamp(19px, 4vw, 25px);
  text-align: center;
  transition: transform .25s ease, background .25s ease;
}

.action-btn:hover {
  transform: translateY(-4px);
  background: rgba(7, 18, 25, .98);
}

.action-icon {
  font-size: 32px;
  justify-self: center;
}

.action-btn span:last-child {
  padding-right: 50px;
}

.extra-section {
  margin-top: 80px;
  padding: 38px 30px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.12);
}

.mini-label {
  font-size: 11px;
  letter-spacing: .2em;
  color: #78c9df;
  font-weight: 700;
}

.extra-section h3 {
  font-size: clamp(25px, 5vw, 34px);
  margin: 15px 0;
}

.extra-section p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

footer {
  margin-top: 40px;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.45);
  font-size: 11px;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* Menu flutuante opcional: ao rolar, aparece como uma pequena barra */
.scroll-menu {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translate(-50%, -130%);
  z-index: 100;
  padding: 8px;
  border-radius: 40px;
  background: rgba(1,8,13,.84);
  backdrop-filter: blur(16px);
  transition: transform .35s ease;
}

.scroll-menu.visible {
  transform: translate(-50%, 0);
}

@media (max-width: 520px) {
  .profile-page {
    width: min(100% - 28px, var(--max));
    padding-top: 178px;
  }

  .profile-card {
    padding: 130px 20px 36px;
    border-radius: 26px;
  }

  .avatar-wrap {
    width: 205px;
    height: 205px;
    top: -103px;
  }

  .share-btn {
    left: 22px;
    top: 34px;
    width: 52px;
    height: 52px;
  }

  .services {
    text-align: left;
  }

  .action-btn {
    min-height: 88px;
    grid-template-columns: 45px 1fr;
    padding: 18px;
    border-radius: 25px;
  }

  .action-btn span:last-child {
    padding-right: 15px;
  }
}
