/* ======================================================
   Criado por Anderson Honorato
   ====================================================== */

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

:root {
  --font: "Lexend", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --site-width: 760px;
  --wide-width: 1040px;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

html[data-theme="white"] {
  color-scheme: light;
  --bg: #fbf7f1;
  --panel: #fffdf8;
  --panel-2: #f1e9df;
  --panel-3: #e7d9cc;
  --ink: #211916;
  --muted: #75685f;
  --soft: #9a8d84;
  --line: rgba(33, 25, 22, .14);
  --line-strong: rgba(33, 25, 22, .30);
  --accent: #a15f4f;
  --red: #9b2f31;
  --red-soft: #f0d6d3;
  --cream: #f7eadc;
  --grid: rgba(33, 25, 22, .065);
  --grid-strong: rgba(33, 25, 22, .105);
}

html[data-theme="offwhite"] {
  color-scheme: light;
  --bg: #f2eadf;
  --panel: #fff7ec;
  --panel-2: #ecded0;
  --panel-3: #dccbb9;
  --ink: #251a16;
  --muted: #746255;
  --soft: #9d8a7c;
  --line: rgba(37, 26, 22, .16);
  --line-strong: rgba(37, 26, 22, .32);
  --accent: #965b49;
  --red: #963033;
  --red-soft: #ead0cb;
  --cream: #f8ead8;
  --grid: rgba(37, 26, 22, .075);
  --grid-strong: rgba(37, 26, 22, .12);
}

html[data-theme="gray"] {
  color-scheme: dark;
  --bg: #242424;
  --panel: #303030;
  --panel-2: #3b3b3b;
  --panel-3: #494949;
  --ink: #f7f0e8;
  --muted: #c4b7ad;
  --soft: #91877f;
  --line: rgba(247, 240, 232, .14);
  --line-strong: rgba(247, 240, 232, .30);
  --accent: #d0a084;
  --red: #e07776;
  --red-soft: #4b3231;
  --cream: #3a332e;
  --grid: rgba(247, 240, 232, .06);
  --grid-strong: rgba(247, 240, 232, .105);
}

html[data-theme="black"] {
  color-scheme: dark;
  --bg: #060606;
  --panel: #111111;
  --panel-2: #1a1a1a;
  --panel-3: #292929;
  --ink: #f7f2ea;
  --muted: #c0b4aa;
  --soft: #80766d;
  --line: rgba(247, 242, 234, .13);
  --line-strong: rgba(247, 242, 234, .28);
  --accent: #d39a7d;
  --red: #e07573;
  --red-soft: #3a2322;
  --cream: #1e1916;
  --grid: rgba(247, 242, 234, .052);
  --grid-strong: rgba(247, 242, 234, .09);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--panel-2);
  transition: background-color .45s ease;
}

html *, html *::before, html *::after {
  transition: background-color .45s ease, color .35s ease, border-color .4s ease, box-shadow .4s ease;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--panel-2); border-radius: 0; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--red), var(--accent)); border-radius: 999px; border: 2px solid var(--panel-2); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(var(--grid-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    var(--bg);
  background-size: 104px 104px, 104px 104px, 26px 26px, 26px 26px, auto;
  background-position: -1px -1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a,
button {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.square-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--red-soft) 50%, transparent), transparent 26%),
    radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--cream) 58%, transparent), transparent 24%),
    transparent;
  opacity: .75;
}

/* Header */
.site-header {
  position: sticky;
  top: 10px;
  z-index: 80;
  display: flex;
  width: min(var(--site-width), calc(100% - 22px));
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px auto 0;
  padding: 7px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 12px 38px rgba(0,0,0,.14), inset 0 1px rgba(255,255,255,.08);
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 18px));
  opacity: 0;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  cursor: pointer;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: contain;
  transition: transform .2s;
}

.brand:hover .brand-icon {
  transform: scale(1.1);
}

.brand-copy {
  overflow: hidden;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy em {
  font-family: var(--display);
  font-style: italic;
  color: var(--red);
  font-size: .9rem;
}

.header-nav {
  display: flex;
  gap: 4px;
}

.header-nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}

.header-nav a:hover {
  background: var(--panel-2);
  color: var(--ink);
}

.header-nav a.is-active {
  background: var(--red-soft);
  color: var(--red);
}

.header-actions {
  display: flex;
  gap: 6px;
}

.theme-button,
.share-button {
  min-height: 34px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 800;
}

.theme-button {
  padding: 0 10px;
}

.share-button {
  width: 34px;
}

/* Side rail */
.side-rail {
  position: fixed;
  z-index: 95;
  right: 10px;
  top: 38%;
  display: grid;
  gap: 6px;
  transform: translate(18px, -50%);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.side-rail.is-visible {
  transform: translate(0, -50%);
  opacity: 1;
  pointer-events: auto;
}

.rail-btn {
  display: grid;
  min-width: 38px;
  min-height: 32px;
  place-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  color: var(--soft);
  font-size: .55rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s;
}

.rail-btn.is-active {
  background: var(--red-soft);
  border-color: var(--red);
  color: var(--red);
}

.rail-top {
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: .9rem;
}

.rail-top.is-active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.rail-whatsapp { display: none; }

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 15px;
  bottom: 14px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border: 1.5px solid #083a1a;
  border-radius: 999px;
  background: #25d366;
  color: #07150b;
  font-size: .78rem;
  font-weight: 900;
}

.whatsapp-float span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1.4px solid currentColor;
  border-radius: 50%;
}

.wa-assistant {
  position: fixed;
  right: 8px; bottom: 14px; z-index: 92;
  display: flex; flex-direction: column;
  width: min(340px, calc(100vw - 16px));
  max-height: min(440px, 55dvh);
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 8px 36px rgba(0,0,0,.4);
  transform: translateY(16px) scale(.97);
  opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  overflow: hidden;
}
.wa-assistant.is-visible { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }

.wa-chat-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--panel-2); flex-shrink: 0;
}
.wa-chat-header strong { font-size: .78rem; }
.wa-chat-header small { display: block; font-size: .56rem; color: #4cdf6e; }
.wa-chat-header small.typing-status { color: var(--soft); }

.wa-avatar {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 11px; background: var(--red-soft); color: var(--red);
  font-weight: 900; flex-shrink: 0;
  animation: softPulse 2.6s ease-in-out infinite;
}
.wa-close {
  margin-left: auto; width: 26px; height: 26px;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--panel); font-size: .85rem; line-height: 1;
  cursor: pointer; flex-shrink: 0; color: var(--muted);
}

.wa-chat-body {
  flex: 1; overflow-y: auto; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 6px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.wa-chat-body::-webkit-scrollbar { width: 4px; }
.wa-chat-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

.wa-msg {
  max-width: 88%; padding: 9px 11px;
  border-radius: 14px; font-size: .7rem; line-height: 1.4;
  animation: msgIn .2s var(--ease);
  position: relative;
}
.wa-msg.ia { align-self: flex-start; color: var(--ink); border-bottom-left-radius: 3px; background: none; padding: 6px 4px; font-size: .72rem; max-width: 95%; }
.wa-msg.auto { align-self: flex-start; background: var(--panel-2); color: var(--ink); border-bottom-left-radius: 3px; padding: 10px 12px; border-radius: 14px; max-width: 90%; }
.wa-msg.user { align-self: flex-end; background: var(--red); color: #fff; border-bottom-right-radius: 3px; }
.wa-msg .time { display: block; font-size: .52rem; margin-top: 3px; opacity: .5; text-align: right; }

.wa-msg.card {
  align-self: flex-start; max-width: 92%;
  padding: 12px; border-radius: 14px;
  background: var(--panel-2); border: 1px solid var(--line);
  cursor: pointer; transition: background .15s;
}
.wa-msg.card:hover { background: var(--red-soft); border-color: var(--red); }
.wa-msg.card strong { display: block; font-size: .74rem; margin-bottom: 3px; color: var(--ink); }
.wa-msg.card small { color: var(--muted); font-size: .62rem; }

.wa-typing {
  align-self: flex-start; padding: 9px 14px;
  background: var(--panel-2); border-radius: 14px;
  display: flex; gap: 3px;
}
.wa-typing span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--soft); animation: typeBounce 1s ease-in-out infinite;
}
.wa-typing span:nth-child(2) { animation-delay: .15s; }
.wa-typing span:nth-child(3) { animation-delay: .3s; }

@keyframes typeBounce {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50% { transform: translateY(-4px); opacity: 1; }
}

.wa-msg .cursor { color: var(--red); font-weight: 300; animation: blink .8s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.wa-chat-float {
  flex-shrink: 0;
  padding: 6px 8px 8px;
  background: linear-gradient(to top, var(--panel) 70%, transparent);
}
.wa-chat-options {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 6px;
}
.wa-chat-options button {
  padding: 5px 10px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--panel-2);
  color: var(--ink); font-size: .62rem; font-weight: 700;
  cursor: pointer; transition: all .15s;
}
.wa-chat-options button:hover { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.wa-chat-options button.used { opacity: .25; pointer-events: none; }

.wa-chat-input {
  display: flex; gap: 5px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
}
.wa-chat-input input {
  flex: 1; min-width: 0; border: 0; background: none;
  color: var(--ink); font: inherit; font-size: .66rem; outline: none;
}
.wa-chat-input input::placeholder { color: var(--soft); }
.wa-chat-input button {
  width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: var(--red); color: #fff; font-size: .75rem;
  cursor: pointer; flex-shrink: 0; transition: transform .15s;
}
.wa-chat-input button:hover { transform: scale(1.08); }

/* Layout */
.page-shell {
  width: min(var(--site-width), calc(100% - 22px));
  margin: 14px auto 44px;
}

.profile-card {
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--panel);
}

.profile-cover {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  border-bottom: 1.5px solid var(--line-strong);
  background: var(--panel-3);
  touch-action: pan-y;
}

.profile-cover:focus-visible {
  outline-offset: -4px;
}

.cover-slider,
.cover-img {
  position: absolute;
  inset: 0;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  transform: scale(1.04);
  filter: brightness(.6) blur(3px);
  transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s var(--ease);
}

.cover-img.active {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1) blur(0);
}

.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 25%,
    color-mix(in srgb, var(--bg) 30%, #000 20%) 55%,
    color-mix(in srgb, var(--bg) 12%, #000 64%) 78%,
    color-mix(in srgb, var(--bg) 4%, #000 82%) 100%
  );
  pointer-events: none;
}

.profile-info-grid {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 22px;
  left: 18px;
  display: grid;
  grid-template-columns: 106px 1fr;
  align-items: end;
  gap: 18px;
  color: #fff;
}

.profile-icon-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2.5px solid rgba(255,255,255,.94);
  border-radius: 26px;
  background: rgba(0,0,0,.22);
}

.profile-icon-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-icon-mark {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #1d9bf0;
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}

.profile-copy h1 {
  max-width: 540px;
  margin: 12px 0 8px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: .87;
  letter-spacing: -.055em;
  transition: transform .3s var(--ease), text-shadow .3s var(--ease);
  cursor: default;
}

.profile-copy h1:hover {
  transform: scale(1.04) translateY(-2px);
  text-shadow: 0 0 24px var(--red-soft);
}

.profile-copy h1 em {
  color: #ffd9d6;
  font-style: italic;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  text-decoration-color: var(--red);
}

.profile-copy p {
  max-width: 420px;
  margin: 0 0 6px;
  color: rgba(255,255,255,.86);
  font-size: .86rem;
  line-height: 1.4;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.profile-meta span {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.94);
  font-size: .68rem;
  font-weight: 800;
}

.profile-meta .red-tag {
  border-color: rgba(255, 210, 210, .65);
  background: rgba(155, 47, 49, .52);
}

.cover-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 34px;
  height: 42px;
  border: 1.5px solid rgba(255,255,255,.78);
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.cover-arrow-left { left: 12px; }
.cover-arrow-right { right: 12px; }

.cover-dots {
  position: absolute;
  z-index: 5;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
}

.cover-stats {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.85);
  font-size: .62rem;
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.cover-stats .cdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4cdf6e;
  box-shadow: 0 0 5px #4cdf6e;
}

.cover-dot {
  width: 7px;
  height: 7px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: transparent;
}

.cover-dot.active {
  width: 22px;
  background: #fff;
}

/* Links centralizados */
.social-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
  background: var(--panel);
}

.social-board a {
  position: relative;
  min-height: 66px;
  padding: 11px 10px;
  border: 1.5px solid var(--line);
  border-radius: 17px;
  background: var(--panel-2);
  color: var(--ink);
  text-align: left;
  overflow: hidden;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}

.social-board a:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 6px 18px rgba(0,0,0,.16);
}

.social-board a::after {
  content: "↗";
  position: absolute;
  right: 10px;
  top: 9px;
  color: var(--red);
  font-size: .74rem;
  font-weight: 900;
}

.social-board span,
.social-board small {
  display: block;
}

.social-board span {
  margin-bottom: 4px;
  font-size: .8rem;
  font-weight: 900;
}

.social-board small {
  max-width: 96px;
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.25;
}

/* Featured link (Linktree style) */
.featured-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(var(--site-width), calc(100% - 22px));
  margin: 0 auto 10px;
  min-height: 62px;
  padding: 12px 18px;
  border: 1.5px solid color-mix(in srgb, var(--red) 40%, var(--line-strong));
  border-radius: 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--red) 17%, transparent), color-mix(in srgb, var(--panel) 76%, transparent));
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 900;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  animation: featuredSlideIn .6s var(--ease) both, featuredGlow 3s .8s ease-in-out infinite;
  overflow: hidden;
  position: relative;
}

.featured-link::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  border-radius: 0 2px 2px 0;
  transition: background .2s;
}

.featured-link:hover {
  transform: scale(1.008);
  border-color: var(--red);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--red) 14%, transparent);
}

.featured-icon {
  font-size: 1.1rem;
  color: var(--red);
  animation: softPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.featured-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.featured-label { font-size: .86rem; }

.featured-copy small {
  color: var(--muted);
  font-size: .58rem;
  font-weight: 700;
}

.featured-arrow {
  font-size: 1rem;
  color: var(--red);
  animation: arrowBounce 1.4s ease-in-out infinite;
}

@keyframes featuredSlideIn {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 0 4px color-mix(in srgb, var(--red) 6%, transparent); }
  50% { box-shadow: 0 0 18px color-mix(in srgb, var(--red) 16%, transparent); }
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@media (max-width: 760px) {
  .featured-link { width: min(100% - 16px, var(--site-width)); padding: 10px 14px; font-size: .74rem; }
}

/* Packs banner */
.packs-banner {
  position: relative;
  width: min(var(--site-width), calc(100% - 22px));
  margin: 16px auto 0;
  min-height: 260px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
}

.packs-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.packs-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.72) 30%, rgba(0,0,0,.35) 70%);
}

.packs-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 260px;
  padding: 28px 26px;
  color: #fff;
}

.packs-banner-tag {
  display: inline-flex;
  padding: 5px 12px;
  border: 1.4px solid rgba(255,255,255,.65);
  border-radius: 999px;
  background: rgba(155,47,49,.55);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

.packs-banner-content h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: .95;
  letter-spacing: -.04em;
}

.packs-banner-content p {
  max-width: 460px;
  margin: 10px 0 20px;
  color: rgba(255,255,255,.82);
  font-size: .85rem;
  line-height: 1.45;
}

.packs-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  background: #fff;
  color: #1a0d0a;
  font-size: .82rem;
  font-weight: 900;
  transition: transform .2s, box-shadow .2s;
}

.packs-banner-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 0 28px rgba(255,255,255,.2);
}

.packs-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.packs-details-trigger {
  min-height: 50px;
  padding: 0 24px;
  border: 1.5px solid rgba(255,255,255,.68);
  border-radius: 999px;
  background: rgba(0,0,0,.24);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.packs-details-trigger:hover {
  background: rgba(255,255,255,.12);
}

@media (max-width: 760px) {
  .packs-banner { width: min(100% - 16px, var(--site-width)); min-height: 300px; }
  .packs-banner-content { padding: 24px 18px; min-height: 300px; }
  .packs-banner-content h2 { font-size: 1.9rem; }
  .packs-banner-content p { font-size: .76rem; }
  .packs-banner-cta { min-height: 44px; padding: 0 22px; font-size: .76rem; }
}

/* Blocks */
.section-block {
  margin-top: 16px;
  padding: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

#links,
section[id] {
  scroll-margin-top: 86px;
}

.buy-steps {
  padding: 14px 16px;
}

.buy-steps-title {
  margin-bottom: 10px;
  align-items: center;
}

.buy-steps-title h2 { font-size: 1.65rem; }

.buy-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.buy-steps-grid article {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1.5px solid var(--line);
  border-radius: 15px;
  background: var(--panel-2);
}

.buy-steps-grid b {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 9px;
  background: var(--red-soft);
  color: var(--red);
  font-size: .7rem;
}

.buy-steps-grid strong,
.buy-steps-grid span {
  display: block;
}

.buy-steps-grid strong { font-size: .7rem; }
.buy-steps-grid span { margin-top: 2px; color: var(--muted); font-size: .58rem; line-height: 1.3; }

.section-title {
  display: flex;
  gap: 10px;
  margin-bottom: 13px;
  align-items: flex-start;
}

.title-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  font-size: .92rem;
  font-weight: 900;
  animation: flirtFloat 3.8s ease-in-out infinite;
}

.title-icon.red {
  background: var(--red);
  color: #fff;
}

.section-title small {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: .66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.section-title h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: .95;
  letter-spacing: -.04em;
}

.section-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-family: var(--font);
  font-size: .6rem;
  font-weight: 900;
  vertical-align: middle;
  letter-spacing: 0;
}

.section-title p {
  max-width: 600px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.4;
}

.section-title-row {
  align-items: center;
}

.section-title-row > div:nth-child(2) {
  flex: 1;
}

.carousel-controls {
  display: flex;
  gap: 6px;
}

.carousel-controls button {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--line-strong);
  border-radius: 13px;
  background: var(--panel-2);
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.preview-scroller {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 2px 1px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--panel-3);
}

.preview-scroller::-webkit-scrollbar {
  height: 10px;
}

.preview-scroller::-webkit-scrollbar-track {
  border-radius: 999px;
  background: var(--panel-3);
}

.preview-scroller::-webkit-scrollbar-thumb {
  border: 2px solid var(--panel-3);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--accent));
}

.preview-card {
  flex: 0 0 calc((100% - 30px) / 4);
  min-width: 0;
  scroll-snap-align: start;
  border: 1.5px solid var(--line-strong);
  border-radius: 20px;
  background: var(--panel);
  overflow: hidden;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}

.preview-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--red) 52%, var(--line-strong));
}

.preview-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  background: var(--panel-3);
  overflow: hidden;
}

.preview-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .28s var(--ease);
}

.preview-card:hover img {
  transform: scale(1.03);
}

.preview-label {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 3;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(155,47,49,.86);
  color: #fff;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.preview-body {
  padding: 10px;
}

.preview-body h3 {
  margin: 0 0 5px;
  font-size: .86rem;
}

.preview-body p {
  min-height: 34px;
  margin: 0;
  color: var(--muted);
  font-size: .67rem;
  line-height: 1.3;
}

.preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 9px;
}

.preview-actions a,
.preview-actions button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1.4px solid var(--line-strong);
  border-radius: 999px;
  font-size: .63rem;
  font-weight: 900;
  text-align: center;
}

.preview-actions a {
  background: var(--ink);
  color: var(--bg);
}

.preview-actions button {
  background: var(--red-soft);
  color: var(--red);
}

.creator-link {
  margin: 16px 0 10px;
  text-align: center;
}

.creator-link a {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  background: var(--panel);
  color: var(--soft);
  font-size: .7rem;
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: center;
  gap: 7px 12px;
  flex-wrap: wrap;
  padding-bottom: 100px;
  margin-top: 32px;
  color: var(--soft);
  font-size: .62rem;
  text-align: center;
}

.footer a {
  color: var(--soft);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.footer a:hover {
  color: var(--ink);
  border-bottom-color: var(--red);
}

/* Modal corrigido */
.modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--grid-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px),
    rgba(0,0,0,.72);
  background-size: 30px 30px;
}

.modal-box {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(270px, .72fr);
  width: min(820px, 100%);
  max-height: min(760px, calc(100dvh - 28px));
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  border-radius: 24px;
  background: var(--panel);
  color: var(--ink);
}

.modal-close {
  position: absolute;
  z-index: 8;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
}

.modal-media {
  position: relative;
  min-height: 520px;
  border-right: 1.5px solid var(--line-strong);
  background: var(--panel-3);
  overflow: hidden;
}

.modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(760px, calc(100dvh - 28px));
  object-fit: cover;
  object-position: center top;
  filter: blur(8px) brightness(.82);
  transform: scale(1.015);
  transition: filter .24s var(--ease), transform .24s var(--ease);
}

.modal.is-unlocked .modal-media img {
  filter: blur(0) brightness(1);
  transform: scale(1);
}

.adult-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 7px;
  padding: 18px;
  text-align: center;
  background: rgba(0,0,0,.30);
  color: #fff;
}

.modal.is-unlocked .adult-cover {
  display: none;
}

.modal-nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 38px;
  height: 46px;
  border: 1.5px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 900;
  transform: translateY(-50%);
  opacity: .6;
  transition: opacity .2s;
}

.modal-nav:hover { opacity: 1; }

.modal-nav-left { left: 10px; }
.modal-nav-right { right: 10px; }

.adult-cover span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto;
  border: 1.5px solid rgba(255,255,255,.9);
  border-radius: 16px;
  background: rgba(155,47,49,.82);
  font-weight: 900;
}

.adult-cover strong {
  font-size: .95rem;
}

.adult-cover p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .76rem;
}

.adult-cover button {
  min-height: 40px;
  margin-top: 6px;
  padding: 0 14px;
  border: 1.5px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: #fff;
  color: #201916;
  font-size: .76rem;
  font-weight: 900;
}

.modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 22px;
}

.modal-tag {
  color: var(--red);
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.modal-copy h2 {
  margin: 7px 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: .95;
}

.modal-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}

.modal-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.modal-actions a,
.modal-actions button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-2);
  font-size: .76rem;
  font-weight: 900;
}

.modal-actions a:first-child {
  background: var(--ink);
  color: var(--bg);
}

/* Share modal */
.share-box {
  position: relative;
  z-index: 1;
  width: min(380px, calc(100% - 28px));
  padding: 24px 20px 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 24px;
  background: var(--panel);
  color: var(--ink);
  text-align: center;
}

.share-box strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
}

.share-box p {
  margin: 6px 0 16px;
  color: var(--muted);
  font-size: .74rem;
}

.share-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.share-links-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: var(--panel-2);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
}

.share-links-grid a::after {
  content: "↗";
  margin-left: auto;
  font-size: .7rem;
  opacity: .6;
}

.share-copy-row {
  display: flex;
  gap: 7px;
}

.share-copy-row input {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--ink);
  font: inherit;
  font-size: .68rem;
  text-overflow: ellipsis;
}

.share-copy-row button {
  min-height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: .72rem;
  font-weight: 900;
  white-space: nowrap;
}

.pack-details-box {
  position: relative;
  z-index: 1;
  width: min(460px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 26px 22px 22px;
  border: 1.5px solid var(--line-strong);
  border-radius: 24px;
  background: color-mix(in srgb, var(--panel) 90%, transparent);
  color: var(--ink);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.pack-details-box .packs-banner-tag {
  margin-bottom: 10px;
  color: #fff;
}

.pack-details-box h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.pack-details-box > p {
  margin: 9px 0 16px;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.5;
}

.pack-details-box ul {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.pack-details-box li {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel-2);
}

.pack-details-box li strong,
.pack-details-box li span { display: block; }
.pack-details-box li strong { font-size: .7rem; }
.pack-details-box li span { margin-top: 2px; color: var(--muted); font-size: .64rem; line-height: 1.4; }

.pack-details-box > a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .7rem;
  font-weight: 900;
}

/* Hub modal (Dev) */
.hub-box {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100% - 28px));
  padding: 28px 22px 22px;
  border: 1.5px solid var(--line-strong);
  border-radius: 24px;
  background: var(--panel);
  color: var(--ink);
  text-align: center;
}

/* Dev modal content */
.dev-avatar {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red), var(--accent));
  color: #fff;
  font-family: var(--display); font-size: 1.3rem; font-weight: 900;
}
.hub-box strong { display: block; font-family: var(--display); font-size: 1.4rem; margin-bottom: 2px; }
.dev-role { display: block; font-size: .68rem; color: var(--red); font-weight: 800; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
.hub-box > p { margin: 0 0 10px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.hub-box small { display: block; color: var(--soft); font-size: .64rem; margin-top: 10px; }

.dev-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 14px;
}

.dev-links a,
.dev-links button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel-2);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
}

.dev-links a:hover,
.dev-links button:hover {
  background: var(--red-soft);
  color: var(--red);
  border-color: var(--red);
}

/* Terms iframe modal */
.terms-frame-box {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100vw - 28px));
  height: min(700px, calc(100dvh - 40px));
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--line-strong);
  border-radius: 24px;
  background: var(--panel);
  overflow: hidden;
}

.terms-frame-box iframe {
  flex: 1;
  border: 0;
  width: 100%;
  height: 100%;
}

/* FAQ modal */
.faq-box {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100% - 28px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 24px 20px 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 24px;
  background: var(--panel);
  color: var(--ink);
}

.faq-box > strong {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  margin-bottom: 16px;
  text-align: center;
}

.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border: 0;
  background: var(--panel-2);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-q::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 900;
  transition: transform .25s;
}

.faq-item.is-open .faq-q::after {
  content: "−";
}

.faq-a {
  display: none;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.5;
}

.faq-item.is-open .faq-a { display: block; }

/* Comments modal */
.comments-box {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 28px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 24px 20px 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 24px;
  background: var(--panel);
  color: var(--ink);
}

.comments-box > strong {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  margin-bottom: 14px;
  text-align: center;
}

.comments-score {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin: 0 auto 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: .7rem;
  font-weight: 900;
}

.comments-original {
  padding: 14px;
  margin-bottom: 14px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--panel-2);
}

.comments-original .testimonial-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.comments-original .testimonial-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  position: relative;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: .85rem;
  font-weight: 900;
  color: #fff;
  overflow: hidden;
}

.comments-original .testimonial-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.comments-original .avatar-fallback {
  position: relative;
  z-index: 1;
}

.comments-original .testimonial-header strong {
  font-size: .78rem;
  color: var(--ink);
}

.comments-original .testimonial-header .stars {
  font-size: .6rem;
  letter-spacing: 2px;
  color: #e6a817;
}

.comments-original .testimonial-header .testimonial-time {
  font-size: .6rem;
  color: var(--soft);
}

.comments-original .testimonial-body {
  font-size: .74rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 10px;
}

.comments-original .testimonial-actions {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.comments-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--soft);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.comments-divider::before,
.comments-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.comment-item {
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-2);
}

.comment-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 900;
  color: #fff;
}

.comment-item > div {
  min-width: 0;
  flex: 1;
}

.comment-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.comment-item-header strong {
  display: block;
  font-size: .74rem;
  color: var(--ink);
}

.comment-item-header .stars {
  font-size: .52rem;
  letter-spacing: 1px;
  color: #e6a817;
}

.comment-item p {
  margin: 3px 0;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.4;
}

.comment-item-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.comment-item .comment-time {
  font-size: .58rem;
  color: var(--soft);
}

.comment-item .comment-like {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: .6rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.comment-item .comment-like:hover {
  background: var(--red-soft);
  border-color: var(--red);
  color: var(--red);
}

.comment-item .comment-like.liked {
  background: var(--red-soft);
  border-color: var(--red);
  color: var(--red);
}

/* Comment form */
.comments-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1.5px solid var(--line-strong);
}

.comments-form input,
.comments-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
  color: var(--ink);
  font: inherit;
  font-size: .72rem;
  resize: vertical;
}

.comments-form input::placeholder,
.comments-form textarea::placeholder {
  color: var(--soft);
}

.comments-form button {
  min-height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: .72rem;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s, opacity .2s;
}

.comments-form button:hover {
  opacity: .85;
}

/* Purchase notifications */
.purchase-toasts {
  position: fixed; left: 10px; bottom: 14px; z-index: 95;
  display: flex; flex-direction: column-reverse; gap: 5px;
  pointer-events: none; max-width: 200px;
}

.purchase-notify {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  color: var(--ink); font-size: .58rem; font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
  opacity: .72; pointer-events: auto; cursor: pointer;
  animation: purchaseIn .4s var(--ease), purchaseOut .5s var(--ease) 7s forwards;
}

.purchase-notify .pn-avatar {
  width: 24px; height: 24px; flex: 0 0 24px;
  display: grid; place-items: center; border-radius: 7px;
  font-size: .55rem; font-weight: 900; color: #fff;
}

.purchase-notify .pn-info { min-width: 0; line-height: 1.2; }
.purchase-notify .pn-info strong { font-size: .58rem; }
.purchase-notify .pn-info span { color: var(--muted); font-size: .52rem; }

@keyframes purchaseIn {
  from { opacity: 0; transform: translateY(20px) scale(.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes purchaseOut {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  60% { opacity: .8; }
  100% { opacity: 0; transform: translateY(-16px) scale(.92); }
}

@media (max-width: 760px) {
  .purchase-toasts { left: 6px; bottom: 58px; max-width: 160px; }
}

/* Toast */
.toast-container {
  position: fixed;
  right: 14px;
  bottom: 90px;
  z-index: 240;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: var(--panel);
  color: var(--ink);
  font-size: .74rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  animation: toastIn .28s var(--ease), toastOut .24s var(--ease) 2.2s forwards;
  pointer-events: auto;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-12px) scale(.94); }
}

@media (max-width: 760px) {
  .toast-container {
    right: 10px;
    bottom: 76px;
  }
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.testimonial-card {
  padding: 18px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}

.testimonial-card.is-new {
  animation: testimonialSlideIn .5s var(--ease);
}

@keyframes testimonialSlideIn {
  from {
    opacity: 0;
    transform: translateY(-24px) scale(.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.testimonial-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: .95rem;
  font-weight: 900;
  color: #fff;
  overflow: hidden;
}

.testimonial-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.avatar-fallback {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.av-lucas { background: linear-gradient(135deg, #4a2c2a, #8b3a3a); }
.av-rafael { background: linear-gradient(135deg, #2a3a4a, #3a5a8b); }
.av-thiago { background: linear-gradient(135deg, #3a2a4a, #6b3a8b); }
.av-pedro { background: linear-gradient(135deg, #2a4a3a, #3a7b5a); }
.av-gabriel { background: linear-gradient(135deg, #4a3a2a, #8b6b3a); }
.av-andre { background: linear-gradient(135deg, #2a4a4a, #3a7b8b); }
.av-bruno { background: linear-gradient(135deg, #4a2a4a, #8b3a7b); }
.av-diego { background: linear-gradient(135deg, #3a4a2a, #6b8b3a); }
.av-felipe { background: linear-gradient(135deg, #2a2a4a, #4a4a8b); }
.av-henrique { background: linear-gradient(135deg, #4a4a2a, #8b8b4a); }
.av-user { background: linear-gradient(135deg, var(--red), var(--accent)); }

.testimonial-header > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.testimonial-header strong {
  display: block;
  font-size: .8rem;
  color: var(--ink);
}

.testimonial-header .stars {
  font-size: .62rem;
  letter-spacing: 2px;
  color: #e6a817;
}

.testimonial-time {
  font-size: .6rem;
  color: var(--soft);
  white-space: nowrap;
}

.testimonial-body {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: .74rem;
  line-height: 1.5;
}

.testimonial-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.testimonial-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: .65rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.testimonial-actions button:hover {
  background: var(--panel-2);
  border-color: var(--line-strong);
}

.testimonial-actions button.liked {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-soft);
}

.testimonial-reply {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: var(--panel-2);
}

.reply-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-style: italic;
  font-size: .9rem;
  font-weight: 700;
}

.testimonial-reply strong {
  display: block;
  font-size: .72rem;
  color: var(--ink);
  margin-bottom: 3px;
}

.testimonial-reply p {
  margin: 0;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Confirm dialog */
.confirm-box {
  position: relative; z-index: 1;
  width: min(320px, calc(100% - 28px));
  padding: 24px 20px 20px;
  border: 1.5px solid var(--line-strong); border-radius: 20px;
  background: var(--panel); color: var(--ink);
  text-align: center;
}
.confirm-box p { margin: 0 0 16px; font-size: .82rem; font-weight: 700; }
.confirm-actions { display: flex; gap: 8px; justify-content: center; }
.confirm-actions button {
  min-height: 38px; padding: 0 20px;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  font-size: .72rem; font-weight: 900; cursor: pointer;
}
#confirmYes { background: var(--red); color: #fff; border-color: var(--red); }
#confirmNo { background: var(--panel-2); color: var(--ink); }

/* Cookies */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 230;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 14px;
  width: min(680px, calc(100vw - 24px));
  padding: 13px;
  border: 1.5px solid var(--line-strong);
  border-radius: 20px;
  background: var(--panel);
  color: var(--ink);
  transform: translateX(-50%);
}

.cookie-banner.is-visible {
  display: grid;
}

.cookie-banner strong {
  display: block;
  font-size: .78rem;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.35;
}

.cookie-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}

.cookie-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-2);
  font-size: .7rem;
  font-weight: 900;
}

.cookie-actions button:last-child {
  background: var(--ink);
  color: var(--bg);
}

@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.055) rotate(-3deg); }
}

@keyframes flirtFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(-4deg); }
}

/* PC maior: centralizado, não página inteira */
@media (min-width: 980px) {
  .page-shell,
  .site-header {
    width: min(var(--site-width), calc(100% - 32px));
  }

  .preview-card {
    flex-basis: calc((100% - 30px) / 4);
  }
}

@media (max-width: 760px) {
  body {
    background-size: 82px 82px, 82px 82px, 22px 22px, 22px 22px, auto;
  }

  .site-header {
    width: min(100% - 16px, var(--site-width));
    min-height: 48px;
    top: 8px;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
  }

  .theme-button,
  .share-button {
    min-height: 32px;
  }

  .share-button {
    width: 32px;
  }

  .page-shell {
    width: min(100% - 16px, var(--site-width));
    margin-top: 10px;
  }

  .profile-card {
    border-radius: 22px;
  }

  .profile-cover {
    min-height: 560px;
  }

  .profile-info-grid {
    grid-template-columns: 84px 1fr;
    gap: 14px;
    right: 13px;
    bottom: 18px;
    left: 13px;
  }

  .profile-icon-card {
    border-radius: 22px;
  }

  .profile-copy h1 {
    font-size: clamp(1.6rem, 9vw, 2.4rem);
    margin: 6px 0 4px;
  }

  .profile-copy p {
    font-size: .7rem;
    margin-bottom: 4px;
  }

  .profile-meta span {
    font-size: .58rem;
    padding: 4px 7px;
  }

  .social-board {
    grid-template-columns: repeat(4, 1fr);
    padding: 8px;
    gap: 5px;
  }

  .social-board a {
    min-height: 50px;
    padding: 8px 6px;
    border-radius: 12px;
  }

  .social-board span { font-size: .64rem; }
  .social-board small { font-size: .52rem; max-width: none; }
  .social-board a::after { right: 6px; top: 6px; font-size: .6rem; }

  .section-block {
    margin-top: 12px;
    padding: 13px;
    border-radius: 22px;
  }

  .section-title {
    gap: 9px;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

  .section-title p {
    font-size: .72rem;
  }

  .section-title-row {
    flex-wrap: wrap;
  }

  .carousel-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .preview-card {
    flex-basis: min(72vw, 270px);
  }

  .preview-body h3 {
    font-size: .82rem;
  }

  .side-rail {
    right: 6px;
    top: 42%;
    gap: 5px;
  }

  .rail-btn {
    min-width: 34px;
    min-height: 30px;
    font-size: .48rem;
    border-radius: 8px;
  }

  .rail-top {
    font-size: .8rem;
  }

  .cover-stats { font-size: .55rem; right: 8px; top: 8px; }

  .whatsapp-float {
    right: 10px;
    bottom: 10px;
    min-height: 42px;
  }

  .wa-assistant {
    right: 10px;
    bottom: 62px;
  }

  .modal {
    padding: 10px;
  }

  .modal-box {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
  }

  .modal-media {
    min-height: min(62dvh, 530px);
    border-right: 0;
    border-bottom: 1.5px solid var(--line-strong);
  }

  .modal-media img {
    max-height: none;
  }

  .modal-copy {
    padding: 18px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    bottom: 68px;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 420px) {
  .profile-cover {
    min-height: 540px;
  }

  .profile-info-grid {
    grid-template-columns: 72px 1fr;
  }

  .social-board small {
    font-size: .5rem;
  }

  .preview-card {
    flex-basis: 78vw;
  }
}

/* Mobile layout: all desktop information remains visible and contained. */
@media (max-width: 760px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .site-header {
    display: grid;
    grid-template-areas:
      "brand actions"
      "nav nav";
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 10px;
    width: min(calc(100% - 16px), var(--site-width));
    min-height: 0;
    padding: 8px;
    border-radius: 22px;
    background: color-mix(in srgb, var(--panel) 68%, transparent);
  }

  .brand {
    grid-area: brand;
    width: max-content;
    max-width: 100%;
  }

  .brand-copy {
    display: inline;
    font-size: .68rem;
  }

  .brand-copy em { font-size: .78rem; }

  .header-actions {
    grid-area: actions;
    justify-self: end;
  }

  .header-nav {
    grid-area: nav;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    padding-top: 6px;
    border-top: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  }

  .header-nav a {
    min-width: 0;
    padding: 7px 2px;
    background: color-mix(in srgb, var(--panel-2) 62%, transparent);
    font-size: .55rem;
    text-align: center;
  }

  .theme-button { padding: 0 9px; font-size: .62rem; }

  .page-shell {
    width: min(calc(100% - 16px), var(--site-width));
    margin-top: 10px;
  }

  .featured-link {
    width: 100%;
    min-height: 56px;
    padding: 10px 14px;
  }

  .featured-label { font-size: .76rem; }
  .featured-copy small { font-size: .52rem; }

  .profile-cover { min-height: 500px; }

  .profile-info-grid {
    right: 12px;
    bottom: 16px;
    left: 12px;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }

  .profile-copy { min-width: 0; }

  .profile-icon-card { border-radius: 18px; }

  .profile-copy h1 {
    max-width: none;
    margin: 4px 0 3px;
    font-size: clamp(1.08rem, 5.8vw, 1.55rem);
    line-height: .95;
    letter-spacing: -.06em;
    white-space: nowrap;
  }

  .profile-copy h1:hover { transform: none; }

  .profile-copy p {
    display: block;
    margin: 0 0 3px;
    font-size: .58rem;
    line-height: 1.3;
  }

  .profile-meta {
    gap: 4px;
    margin-top: 6px;
  }

  .profile-meta span {
    padding: 3px 5px;
    font-size: .48rem;
    white-space: nowrap;
  }

  .social-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
  }

  .social-board a {
    min-width: 0;
    min-height: 58px;
    padding: 9px 8px;
  }

  .social-board span { font-size: .68rem; }

  .social-board small {
    max-width: calc(100% - 10px);
    font-size: .54rem;
    overflow-wrap: anywhere;
  }

  .packs-banner,
  .packs-banner-content {
    min-height: 260px;
  }

  .packs-banner { width: 100%; }

  .packs-banner-content { padding: 22px 18px; }

  .section-block { padding: 12px; }

  .section-title h2 { font-size: 1.45rem; }

  .section-title-row { align-items: flex-start; }

  .carousel-controls {
    width: auto;
    margin-left: auto;
  }

  .preview-card { flex-basis: min(82vw, 270px); }

  .side-rail,
  .side-rail.is-visible {
    top: auto;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 8px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    padding: 5px;
    border: 1.5px solid var(--line-strong);
    border-radius: 16px;
    background: color-mix(in srgb, var(--panel) 72%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    backdrop-filter: blur(16px) saturate(145%);
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .rail-btn {
    min-width: 0;
    min-height: 34px;
    border-radius: 10px;
    font-size: .48rem;
  }

  .rail-top { font-size: .8rem; }

  .rail-whatsapp {
    display: flex;
    min-width: 0;
    min-height: 34px;
    flex-direction: column;
    gap: 1px;
    border-color: #13853d;
    background: #25d366;
    color: #07150b;
    font-size: .4rem;
    line-height: 1;
  }

  .rail-whatsapp span { font-size: .68rem; }
  .rail-whatsapp b { font-size: .4rem; }

  .whatsapp-float { display: none; }

  .wa-assistant {
    right: 8px;
    bottom: calc(62px + env(safe-area-inset-bottom));
    width: min(340px, calc(100vw - 16px));
    max-height: min(430px, 52dvh);
  }

  .purchase-toasts {
    right: auto;
    bottom: calc(62px + env(safe-area-inset-bottom));
    left: 8px;
    max-width: min(190px, calc(100vw - 24px));
  }

  .toast-container {
    right: 8px;
    bottom: calc(62px + env(safe-area-inset-bottom));
    left: 8px;
    align-items: flex-end;
  }

  .toast { max-width: 100%; }

  .cookie-banner {
    bottom: calc(62px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    gap: 10px;
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 86px - env(safe-area-inset-bottom));
    overflow-y: auto;
    padding: 12px;
  }

  .cookie-actions { justify-content: flex-end; }

  .testimonial-card {
    padding: 10px;
    border-radius: 16px;
  }

  .testimonials-grid { gap: 8px; }

  .testimonial-header {
    gap: 8px;
    margin-bottom: 5px;
  }

  .testimonial-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 11px;
    font-size: .78rem;
  }

  .testimonial-header strong { font-size: .72rem; }
  .testimonial-header .stars { font-size: .54rem; }
  .testimonial-time { font-size: .52rem; }

  .testimonial-body {
    margin-bottom: 6px;
    font-size: .64rem;
    line-height: 1.32;
  }

  .testimonial-actions {
    gap: 6px;
    margin-bottom: 6px;
    padding-bottom: 6px;
  }

  .testimonial-actions button {
    padding: 3px 7px;
    font-size: .55rem;
  }

  .testimonial-reply {
    gap: 6px;
    padding: 6px;
    border-radius: 11px;
  }

  .reply-avatar {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    border-radius: 8px;
    font-size: .74rem;
  }

  .testimonial-reply strong { font-size: .6rem; }
  .testimonial-reply p { font-size: .58rem; line-height: 1.25; }

  .modal { padding: 8px; }
  .comments-box,
  .faq-box,
  .hub-box { width: calc(100vw - 16px); }
}

@media (max-width: 360px) {
  .header-nav a { font-size: .49rem; }
  .theme-button { padding: 0 7px; font-size: .56rem; }
  .profile-info-grid { grid-template-columns: 60px minmax(0, 1fr); gap: 8px; }
  .profile-copy h1 { font-size: clamp(1.03rem, 5.7vw, 1.28rem); }
  .profile-copy p { font-size: .54rem; }
  .profile-meta span { font-size: .44rem; }
  .rail-btn { font-size: .44rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
