:root {
  color-scheme: light;
  --background: #faf6ee;
  --surface: #ffffff;
  --text: #38414d;
  --text-secondary: #636572;
  --teal: #82c1be;
  --pink: #f1c1c4;
  --lavender: #b2b4d1;
  --yellow: #f9d79a;
  --focus: #286965;
  --font-body: "Alento Poppins", "Poppins", "Avenir Next", "Segoe UI", sans-serif;
}

/* A fonte fica junto ao site; a página não depende de serviços externos. */
@font-face {
  font-family: "Alento Poppins";
  src: url("assets/poppins-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alento Poppins";
  src: url("assets/poppins-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  min-width: 280px;
  min-height: 100%;
  background: var(--background);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 420px 420px at 0% 0%, rgba(241, 193, 196, .26), transparent 78%),
    radial-gradient(ellipse 440px 440px at 100% 100%, rgba(130, 193, 190, .28), transparent 78%),
    var(--background);
}

.link-page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  width: min(100%, 488px);
  margin-inline: auto;
  padding: max(48px, env(safe-area-inset-top)) 24px max(40px, env(safe-area-inset-bottom));
}

.page-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.atmosphere-shape {
  position: absolute;
  display: block;
  width: clamp(240px, 30vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(48px);
  opacity: .18;
}

.atmosphere-shape--pink { top: -180px; left: -150px; background: var(--pink); }
.atmosphere-shape--teal { right: -170px; bottom: 8%; background: var(--teal); }

.brand-logo {
  display: block;
  width: 260px;
  max-width: 75%;
  height: auto;
  margin-bottom: 46px;
}

.link-list {
  display: grid;
  gap: 14px;
  width: 100%;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 15px 16px;
  border: 1px solid rgba(178, 180, 209, .1);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 7px 16px -7px rgba(64, 52, 47, .17);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  -webkit-tap-highlight-color: rgba(130, 193, 190, .25);
}

.link-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

@media (hover: hover) {
  .link-card:hover {
    transform: translateY(-2px);
    border-color: var(--teal);
    box-shadow: 0 11px 22px -10px rgba(64, 52, 47, .23);
  }
}

.link-card:active { transform: scale(.985); }

.has-gsap-motion .link-card { transition: box-shadow 180ms ease, border-color 180ms ease; }
.has-gsap-motion .link-card:hover,
.has-gsap-motion .link-card:active { transform: none; }

.channel-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.channel-icon--teal { background: var(--teal); }
.channel-icon--pink { background: var(--pink); }
.channel-icon--lavender { background: var(--lavender); }
.channel-icon--yellow { background: var(--yellow); }
.channel-icon svg,
.channel-icon img { display: block; width: 24px; height: 24px; }
.channel-icon .waze-icon { width: 27px; height: 27px; }

.link-copy { display: grid; flex: 1; min-width: 0; gap: 1px; }
.link-title { font-size: 1.0625rem; font-weight: 600; line-height: 1.45; }
.link-description { font-size: .875rem; color: var(--text-secondary); line-height: 1.5; overflow-wrap: anywhere; }

.link-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--background);
}

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

.brand-dots { display: flex; gap: 8px; margin-top: 32px; }
.brand-dots span { width: 7px; height: 7px; border-radius: 50%; }
.brand-dots span:nth-child(1) { background: var(--yellow); }
.brand-dots span:nth-child(2) { background: var(--pink); }
.brand-dots span:nth-child(3) { background: var(--teal); }
.brand-dots span:nth-child(4) { background: var(--lavender); }

.clinic-address {
  max-width: 360px;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: .875rem;
  font-style: normal;
  line-height: 1.7;
  text-align: center;
}

.clinic-address strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 600;
}

.whatsapp-qr { margin: 28px 0 0; text-align: center; }

.qr-code {
  display: inline-flex;
  padding: 20px;
  border: 1px solid rgba(178, 180, 209, .16);
  border-radius: 20px;
  background: var(--surface);
  -webkit-tap-highlight-color: rgba(130, 193, 190, .25);
}

.qr-code img {
  display: block;
  width: 192px;
  height: auto;
  image-rendering: pixelated;
}

.qr-code:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }

.whatsapp-qr figcaption {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: .875rem;
  line-height: 1.5;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 420px) {
  .link-page { padding-inline: 20px; }
  .brand-logo { width: 236px; margin-bottom: 36px; }
  .link-card { gap: 14px; min-height: 78px; padding: 13px 14px; }
  .channel-icon { flex-basis: 42px; width: 42px; height: 42px; }
  .link-arrow { flex-basis: 34px; width: 34px; height: 34px; }
  .link-title { font-size: 1rem; }
}

@media (max-width: 340px) {
  .link-page { padding-inline: 16px; }
  .link-card { gap: 10px; border-radius: 28px; }
  .link-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .page-atmosphere { display: none; }
  .link-card { transition: none; }
  .link-card:hover, .link-card:active { transform: none; }
}
