:root {
  --wine-950: #2d1020;
  --wine-900: #4f1d38;
  --wine-800: #67254a;
  --pink-600: #c5256c;
  --pink-500: #ea4b91;
  --pink-100: #fde8f2;
  --gold-500: #f3c85f;
  --gold-100: #fff3c8;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --ink: #30232d;
  --muted: #756874;
  --line: #eadde5;
  --paper: #fffafd;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(79, 29, 56, 0.12);
  --shadow-soft: 0 10px 28px rgba(79, 29, 56, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-title: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 5%, rgba(243, 200, 95, 0.25), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(217, 54, 127, 0.18), transparent 26rem),
    linear-gradient(180deg, #fff7fb 0%, #fffafd 38%, #ffffff 100%);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--gold-500), var(--pink-500), var(--wine-800));
  content: "";
  z-index: 10;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--white);
  color: var(--wine-900);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.linkpage-shell {
  width: min(calc(100% - 2rem), 680px);
  margin-inline: auto;
  padding: max(2rem, env(safe-area-inset-top)) 0 max(2rem, env(safe-area-inset-bottom));
}

.profile-card {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.4rem 1.6rem;
  text-align: center;
}

.profile-card::before,
.profile-card::after {
  position: absolute;
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.profile-card::before {
  top: -5rem;
  left: -5rem;
  width: 11rem;
  height: 11rem;
  border: 1px solid rgba(217, 54, 127, 0.17);
}

.profile-card::after {
  right: -3rem;
  bottom: -5rem;
  width: 9rem;
  height: 9rem;
  background: rgba(243, 200, 95, 0.12);
}

.brand-mark {
  display: block;
  width: 104px;
  height: 104px;
  margin: 0 auto 1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--wine-900), var(--pink-600));
  color: var(--gold-500);
  box-shadow: 0 16px 38px rgba(79, 29, 56, 0.22), inset 0 1px rgba(255, 255, 255, 0.2);
  transform: rotate(-2deg);
}

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

.official-label,
.local-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.official-label {
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  color: var(--wine-800);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.official-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.13);
}

.profile-card h1,
.section-heading h2,
.choice-panel h3 {
  font-family: var(--font-title);
}

.profile-card h1 {
  margin: 0;
  color: var(--wine-950);
  font-size: clamp(2rem, 9vw, 3.55rem);
  line-height: 1;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.profile-intro {
  max-width: 34rem;
  margin: 1rem auto;
  color: var(--muted);
  font-size: 1rem;
}

.local-status {
  gap: 0.4rem;
  margin: 0;
  padding: 0.48rem 0.8rem;
  border: 1px solid rgba(79, 29, 56, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--wine-800);
  font-size: 0.78rem;
  font-weight: 800;
  max-width: 100%;
}

.local-status svg {
  width: 1rem;
  height: 1rem;
}

.primary-actions,
.trust-links,
.link-list,
.choice-panels {
  display: grid;
  gap: 0.75rem;
}

.action-link,
.trust-links a,
.link-list a {
  display: grid;
  min-height: 68px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.action-link strong,
.trust-links strong,
.link-list strong {
  display: block;
  font-size: 0.98rem;
}

.action-link small,
.trust-links small,
.link-list small {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.76rem;
  line-height: 1.35;
}

.action-link--whatsapp {
  position: relative;
  isolation: isolate;
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #0f7a35, #12833d);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.22);
}

.action-link--whatsapp::before {
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: calc(var(--radius-md) - 1px);
  background: radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.18), transparent 42%);
  content: "";
  pointer-events: none;
}

.action-link--whatsapp strong {
  font-size: 1.04rem;
}

.action-link--catalog {
  border: 1px solid rgba(79, 29, 56, 0.12);
  background: var(--white);
  color: var(--wine-950);
  box-shadow: var(--shadow-soft);
}

.action-link--catalog small,
.trust-links small,
.link-list small {
  color: var(--muted);
}

.action-icon,
.list-icon,
.trust-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
}

.action-link--whatsapp .action-icon {
  background: rgba(255, 255, 255, 0.16);
}

.action-link--catalog .action-icon {
  background: var(--pink-100);
  color: var(--pink-600);
}

.action-arrow {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 180ms ease;
}

.choice-section,
.support-section,
.national-section,
.trust-section {
  margin-top: 2.2rem;
}

.direct-link-list {
  gap: 0.65rem;
}

.direct-link-list .direct-link {
  position: relative;
  min-height: 76px;
  overflow: hidden;
  border-color: rgba(79, 29, 56, 0.1);
  box-shadow: 0 8px 24px rgba(79, 29, 56, 0.07);
}

.direct-link-list .direct-link::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: 4px;
  background: var(--card-accent, var(--pink-500));
  content: "";
}

.direct-link-list .direct-link > span:nth-child(2) {
  min-width: 0;
}

.direct-link-list .direct-link strong,
.direct-link-list .direct-link small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.direct-link-list .direct-link small {
  white-space: nowrap;
}

.direct-link--featured {
  --card-accent: var(--gold-500);
  border-color: rgba(197, 37, 108, 0.24) !important;
  background:
    radial-gradient(circle at 90% 10%, rgba(243, 200, 95, 0.22), transparent 8rem),
    linear-gradient(135deg, #fffafd, #fff3f8) !important;
  box-shadow: 0 14px 34px rgba(122, 35, 78, 0.13) !important;
}

.direct-link--featured .list-icon,
.direct-link--florist .list-icon {
  background: linear-gradient(145deg, var(--wine-800), var(--pink-600));
  color: var(--white);
}

.direct-link-badge {
  display: inline-flex;
  margin-bottom: 0.16rem;
  padding: 0.14rem 0.44rem;
  border-radius: 999px;
  background: var(--gold-100);
  color: #805300;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.direct-link--coffee {
  --card-accent: #d49b2e;
}

.direct-link--coffee .list-icon {
  background: #fff2d6;
  color: #8b5c00;
}

.direct-link--birthday {
  --card-accent: var(--pink-500);
}

.direct-link--birthday .list-icon {
  background: #ffe4f0;
  color: #b91f62;
}

.direct-link--florist {
  --card-accent: var(--pink-600);
}

.direct-link--custom {
  --card-accent: var(--wine-800);
}

.direct-link--custom .list-icon {
  background: #f2e8ee;
  color: var(--wine-800);
}

.direct-link--catalog {
  --card-accent: #8d7c87;
}

.direct-link--catalog .list-icon {
  background: #f1edf0;
  color: var(--wine-800);
}

.section-heading {
  margin-bottom: 1rem;
  text-align: center;
}

.eyebrow,
.panel-kicker {
  color: var(--pink-600);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.3rem;
}

.section-heading h2 {
  margin: 0;
  color: var(--wine-950);
  font-size: clamp(1.65rem, 7vw, 2.2rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.choice-feedback {
  margin: 0.6rem auto 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.choice-grid {
  display: grid;
  gap: 0.75rem;
}

.choice-card {
  display: grid;
  width: 100%;
  min-height: 76px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 8px 22px rgba(79, 29, 56, 0.055);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card strong {
  color: var(--wine-950);
  font-size: 0.96rem;
}

.choice-card small {
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.choice-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
}

.choice-card--local .choice-icon {
  background: var(--pink-100);
  color: var(--pink-600);
}

.choice-card--help .choice-icon {
  background: var(--gold-100);
  color: #9a6500;
}

.choice-card--national .choice-icon {
  background: var(--wine-900);
  color: var(--gold-500);
}

.choice-chevron {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--wine-800);
}

.choice-card[aria-expanded="true"] {
  border-color: rgba(217, 54, 127, 0.45);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(79, 29, 56, 0.12);
}

.choice-card[aria-expanded="true"] .choice-chevron {
  transform: rotate(90deg);
}

.choice-panels {
  margin-top: 0.85rem;
}

.js .choice-panel:not(.is-active) {
  display: none;
}

.choice-panel {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  animation: panel-in 260ms ease both;
}

.panel-heading {
  padding: 0.25rem 0.25rem 0.85rem;
}

.choice-panel h3 {
  margin: 0.18rem 0 0;
  color: var(--wine-950);
  font-size: 1.45rem;
  line-height: 1.1;
}

.link-list a,
.trust-links a {
  border: 1px solid var(--line);
  background: var(--white);
}

.list-icon {
  background: var(--pink-100);
  color: var(--pink-600);
}

.guided-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.guided-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: var(--gold-100);
  color: #8b5c00;
}

.guided-card p {
  margin: 0.65rem 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.guided-cta {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: var(--wine-900);
  color: var(--white);
  font-weight: 900;
}

.choice-panel--national {
  padding: 0.65rem;
  border-color: rgba(243, 200, 95, 0.28);
  background: var(--wine-950);
  color: var(--white);
}

.achadinhos-feature {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid rgba(243, 200, 95, 0.25);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(243, 200, 95, 0.22), transparent 10rem),
    linear-gradient(145deg, var(--wine-800), var(--wine-950));
}

.achadinhos-feature .panel-kicker {
  color: var(--gold-500);
}

.achadinhos-feature h3 {
  color: var(--white);
  font-size: 2rem;
}

.achadinhos-feature p {
  max-width: 30rem;
  margin: 0.65rem 0 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.achadinhos-shine {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--gold-500);
}

.achadinhos-shine svg {
  width: 2rem;
  height: 2rem;
}

.feature-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-500);
  font-weight: 900;
}

.feature-cta svg {
  width: 1.1rem;
  height: 1.1rem;
}

.guide-links {
  display: grid;
  gap: 0.55rem;
  padding: 0.65rem 0.1rem 0.1rem;
}

.guide-links a {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
}

.guide-links svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--gold-500);
}

.affiliate-note {
  margin: 0.8rem 0.45rem 0.35rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  text-align: center;
}

.section-heading--compact {
  text-align: left;
}

.section-heading--compact h2 {
  font-size: 1.65rem;
}

.trust-icon {
  background: #f4eef2;
  color: var(--wine-800);
}

.trust-icon--star {
  background: var(--gold-100);
  color: #946100;
}

.linkpage-footer {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  margin-top: 2.5rem;
  padding: 1.5rem 1rem 0.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.linkpage-footer > svg {
  color: var(--pink-600);
}

.linkpage-footer p {
  margin: 0;
  font-size: 0.78rem;
}

.linkpage-footer strong {
  color: var(--wine-900);
}

.linkpage-footer a {
  min-height: 44px;
  padding: 0.7rem;
  color: var(--wine-800);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

a:hover .action-arrow,
.action-link:hover .action-arrow {
  transform: translateX(3px);
}

.action-link:hover,
.trust-links a:hover,
.link-list a:hover,
.choice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(79, 29, 56, 0.13);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 620px) {
  .linkpage-shell {
    padding-top: 3rem;
  }

  .profile-card {
    padding-inline: 2.5rem;
  }

  .primary-actions {
    grid-template-columns: 1fr 1fr;
  }

  .primary-actions--single {
    grid-template-columns: 1fr;
  }

  .direct-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .direct-link-list .direct-link {
    min-height: 92px;
  }

  .choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .choice-card {
    min-height: 148px;
    grid-template-columns: 1fr auto;
    align-content: space-between;
  }

  .choice-card > span:nth-child(2) {
    grid-column: 1 / -1;
  }

  .choice-chevron {
    align-self: start;
  }

  .guide-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-links a {
    justify-content: center;
    text-align: center;
  }

  .trust-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
