* { box-sizing: border-box; }
:root {
  --green: #087b3a;
  --green-dark: #00552b;
  --blue: #124c9a;
  --yellow: #ffd21a;
  --ink: #17212b;
  --muted: #6b7783;
}
html { min-height: 100%; background: #eaf5ed; }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(255,210,26,.22), transparent 28rem),
    radial-gradient(ellipse at 88% 18%, rgba(8,123,58,.15), transparent 26rem),
    linear-gradient(145deg, #f7fbf7, #e8f4eb 55%, #f7faf7);
}
.page-shell { min-height: 100vh; position: relative; overflow: hidden; padding: 34px 18px 22px; display: flex; flex-direction: column; align-items: center; }
.ambient { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.ambient-one { width: 280px; height: 280px; background: rgba(8,123,58,.08); top: 90px; left: -150px; }
.ambient-two { width: 220px; height: 220px; background: rgba(255,210,26,.13); right: -120px; bottom: 120px; }
.profile-card {
  width: min(100%, 470px); position: relative; z-index: 1; overflow: hidden;
  background: rgba(255,255,255,.94); border: 1px solid rgba(8,85,43,.12);
  border-radius: 27px; box-shadow: 0 22px 65px rgba(13,66,37,.13);
}
.cover { width: 100%; background: var(--green-dark); overflow: hidden; aspect-ratio: 1.81 / 1; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.profile-content { padding: 0 25px 26px; text-align: center; }
.brand-mark {
  width: 58px; height: 58px; margin: -29px auto 10px; position: relative;
  display: grid; place-items: center; border: 4px solid white; border-radius: 18px;
  color: white; background: var(--blue); box-shadow: 0 5px 15px rgba(0,0,0,.15);
  font-weight: 800; font-size: 19px; transform: rotate(-4deg);
}
.brand-mark span { color: var(--yellow); }
.eyebrow { margin: 5px 0 5px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: 2px; }
h1 { margin: 0; color: var(--blue); font-size: clamp(25px, 6vw, 32px); line-height: 1.12; font-weight: 800; letter-spacing: -.9px; }
.intro { margin: 9px 0 22px; color: var(--muted); font-size: 14px; }
.link-list { display: grid; gap: 11px; }
.link-button {
  min-height: 67px; display: flex; align-items: center; gap: 13px; padding: 11px 15px;
  border: 1px solid #e1e9e3; border-radius: 15px; color: var(--ink); text-align: left;
  text-decoration: none; background: #fff; box-shadow: 0 4px 11px rgba(15,55,33,.045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.link-button:hover { transform: translateY(-2px); border-color: rgba(8,123,58,.35); box-shadow: 0 8px 20px rgba(15,55,33,.10); }
.link-button:focus-visible { outline: 3px solid rgba(18,76,154,.35); outline-offset: 3px; }
.link-button.primary { color: white; border: 0; background: linear-gradient(110deg, #087b3a, #05622f); box-shadow: 0 8px 18px rgba(8,123,58,.2); }
.link-button.primary:hover { box-shadow: 0 11px 22px rgba(8,123,58,.27); }
.link-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 12px; color: var(--blue); background: #edf3fc; }
.primary .link-icon { color: var(--green); background: #fff; }
.link-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link-icon svg .fill { fill: currentColor; stroke: none; }
.link-button span:nth-child(2) { min-width: 0; flex: 1; display: grid; gap: 2px; }
.link-button strong { font-size: 14px; font-weight: 800; }
.link-button small { font-size: 11px; color: var(--muted); }
.primary small { color: rgba(255,255,255,.78); }
.arrow { font-size: 18px; opacity: .7; }
.link-hint { min-height: 16px; margin: 10px 0 0; color: #a45b00; font-size: 11px; }
.location-line { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 12px; color: #718078; font-size: 11px; font-weight: 600; }
.pin { color: var(--green); font-size: 9px; }
footer { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 8px 0; color: #718078; font-size: 10px; letter-spacing: .3px; }
.footer-mark { color: var(--blue); font-weight: 800; letter-spacing: 1.3px; }
.footer-mark b { color: #e5ae00; }
@media (max-width: 380px) {
  .page-shell { padding: 15px 10px; }
  .profile-content { padding: 0 17px 22px; }
  .link-button { min-height: 62px; padding: 9px 11px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }


/* Ajustes de responsividade: impede botões e textos de ultrapassarem a tela */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
.page-shell { width: 100%; max-width: 100%; padding-left: 12px; padding-right: 12px; }
.profile-card { width: 100%; max-width: 470px; min-width: 0; }
.profile-content, .link-list, .link-button { min-width: 0; max-width: 100%; }
.link-button { width: 100%; overflow: hidden; }
.link-button span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.link-button strong, .link-button small { overflow-wrap: anywhere; }
.link-icon { flex: 0 0 40px; }
.arrow { flex: 0 0 auto; }
@media (max-width: 420px) {
  .page-shell { padding: 12px 10px 18px; }
  .profile-card { border-radius: 21px; }
  .profile-content { padding-left: 14px; padding-right: 14px; }
  .link-button { gap: 9px; padding: 10px 10px; min-height: 64px; }
  .link-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .link-button strong { font-size: 13px; }
  .link-button small { font-size: 10px; line-height: 1.25; }
}
