/* Visual "Tridente de Poseidon" da TridentMC: complementa o theme.css (Tailwind) com os componentes do tema.
 * Cores principais vêm das configurações (--accent, --bg, ...); os tons do oceano derivam daqui.
 * Fica na camada `components` para os utilitários do Tailwind (max-md:hidden, ...) continuarem valendo. */

@layer components {
:root {
  --sea: var(--accent);
  --sea-deep: color-mix(in srgb, var(--accent) 68%, #021a45);
  --sea-soft: color-mix(in srgb, var(--accent) 13%, #fff);
  --sea-mist: color-mix(in srgb, var(--accent) 6%, #fff);
  --aqua: #5fe1ff;
  --gold: #f6c544;
  --abyss: #061a3d;
  --abyss-2: #0d2b5c;
  --grad: linear-gradient(135deg, color-mix(in srgb, var(--accent) 72%, var(--aqua)) 0%, var(--accent) 45%, var(--sea-deep) 100%);
  --shadow-sea: 0 10px 30px -12px color-mix(in srgb, var(--accent) 60%, transparent);
  --shadow-card: 0 2px 0 color-mix(in srgb, var(--accent) 10%, transparent), 0 14px 34px -18px color-mix(in srgb, var(--accent) 50%, transparent);
  --font-title: "Pixelify Sans", "Nunito", system-ui, sans-serif;
}

body {
  font-family: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 11%, transparent) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
}

.title-pixel {
  font-family: var(--font-title);
  letter-spacing: 0.01em;
}

/* ---------- botões ---------- */
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-sea);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-primary:hover {
  opacity: 1;
  filter: brightness(1.07);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--sea-deep);
}
.badge-accent {
  background: var(--grad);
  color: #fff;
}
.pill.is-active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.card {
  border-color: color-mix(in srgb, var(--accent) 14%, var(--border));
  box-shadow: var(--shadow-card);
}

/* ---------- tridentes ---------- */
.pixel-trident {
  display: inline-block;
  width: calc(var(--px, 3px) * 11);
  height: calc(var(--px, 3px) * 16);
  color: var(--accent);
  flex-shrink: 0;
}
.pixel-trident svg {
  display: block;
  width: 100%;
  height: 100%;
}
.trident-glyph {
  display: inline-block;
  color: var(--aqua);
  animation: trident-sway 2.4s ease-in-out infinite;
}

/* ---------- barra de aviso ---------- */
.announce {
  background: var(--abyss);
  color: #d7ecff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 8px 0;
  letter-spacing: 0.01em;
}
.announce a {
  color: inherit;
  text-decoration: none;
}

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 28px -14px color-mix(in srgb, var(--accent) 85%, transparent);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -7px 0;
  height: 7px;
  background: radial-gradient(circle at 10px 0, var(--sea-deep) 6px, transparent 6.5px) 0 0 / 20px 7px repeat-x;
  opacity: 0.45;
  pointer-events: none;
}
.logo-text {
  font-family: var(--font-title);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 var(--sea-deep);
}
.nav-link {
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  color: rgb(255 255 255 / 0.88);
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-link:hover,
.nav-link[aria-current="page"],
.nav-link[aria-expanded="true"] {
  background: rgb(255 255 255 / 0.18);
  color: #fff;
}
.hdr-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  width: 240px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.35);
  background: rgb(255 255 255 / 0.16);
  color: rgb(255 255 255 / 0.9);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.hdr-search:hover {
  background: rgb(255 255 255 / 0.26);
}
.hdr-search kbd {
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 11px;
  font-family: inherit;
}
.hdr-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.35);
  background: rgb(255 255 255 / 0.16);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
}
.hdr-icon:hover {
  background: rgb(255 255 255 / 0.28);
}
.hdr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: var(--sea-deep);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--sea-deep);
  transition: transform 0.15s ease;
  position: relative;
}
.hdr-btn:hover {
  transform: translateY(-1px);
}
.hdr-count {
  position: absolute;
  top: -6px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--abyss);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.site-header .menu {
  color: var(--text);
}
.cat-tile-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sea-soft);
  color: var(--sea-deep);
  font-family: var(--font-title);
  font-size: 20px;
}
@media (max-width: 767px) {
  .site-nav {
    background: var(--sea-deep);
  }
  .site-nav .menu {
    background: transparent;
    color: #fff;
  }
  .site-nav .menu a {
    color: #fff;
  }
  .logo-text {
    font-size: 19px;
  }
}

/* ---------- destaque inicial ---------- */
.hero-ocean {
  position: relative;
  overflow: hidden;
  padding: 56px 0 0;
  /* Fundo do mar só nesta faixa; véu claro à esquerda para o texto */
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 78%, transparent) 0%, color-mix(in srgb, var(--bg) 38%, transparent) 50%, transparent 100%),
    var(--site-bg) center / cover no-repeat;
  border-bottom: 6px solid var(--accent);
  box-shadow: 0 6px 0 var(--sea-deep), 0 16px 30px -14px color-mix(in srgb, var(--accent) 75%, transparent);
  margin-bottom: 6px;
}
.hero-copy {
  padding-bottom: 64px;
}
.hero-ocean > .container-x {
  z-index: 1;
}

/* Bolhas subindo: nascem no fundo, sobem balançando e estouram perto do topo */
.bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  container-type: size;
}
.bubbles-front {
  z-index: 2;
}
.bubble {
  position: absolute;
  bottom: 0;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgb(255 255 255 / 0.95) 0 14%, rgb(255 255 255 / 0.25) 22%, color-mix(in srgb, var(--aqua) 22%, transparent) 60%, rgb(255 255 255 / 0.55) 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.65), 0 2px 8px color-mix(in srgb, var(--accent) 35%, transparent);
  animation: bubble-rise var(--d) linear var(--delay) infinite;
  will-change: transform, opacity;
}
.bubble.is-pixel {
  border-radius: 2px;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.9) 34%, transparent 34%) 0 0 / 100% 34% no-repeat,
    color-mix(in srgb, var(--aqua) 30%, rgb(255 255 255 / 0.35));
}
@keyframes bubble-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.6);
  }
  8% {
    opacity: 1;
  }
  25% {
    transform: translate3d(var(--sway), -22cqh, 0) scale(0.8);
  }
  50% {
    transform: translate3d(calc(var(--sway) * -0.6), -46cqh, 0) scale(0.9);
  }
  75% {
    transform: translate3d(calc(var(--sway) * 0.8), -70cqh, 0) scale(1);
  }
  90% {
    opacity: 1;
    transform: translate3d(calc(var(--sway) * 0.2), -88cqh, 0) scale(1.05);
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--sway) * 0.2), -92cqh, 0) scale(1.6);
  }
}
@media (max-width: 767px) {
  .bubble-extra {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bubbles {
    display: none;
  }
}
.hero-ocean .hero-title,
.hero-ocean .hero-sub {
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.6), 0 0 20px rgb(255 255 255 / 0.85);
}
.hero-ocean .hero-title em {
  display: inline-block;
  text-shadow: none;
  filter: drop-shadow(0 2px 0 rgb(255 255 255 / 0.9)) drop-shadow(0 0 14px rgb(255 255 255 / 0.8));
}
.hero-ocean .hero-sub {
  color: color-mix(in srgb, var(--text) 85%, var(--accent));
  font-weight: 700;
}

/* Poseidon no lugar da vitrine */
.hero-mascot {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  place-items: end center;
  min-height: 460px;
}
.hero-mascot-glow {
  position: absolute;
  top: 4%;
  width: min(420px, 82%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / 0.9), color-mix(in srgb, var(--aqua) 45%, transparent) 55%, transparent 72%);
  filter: blur(4px);
}
.hero-mascot-img {
  position: relative;
  display: block;
  width: min(400px, 86%);
  height: auto;
  filter: drop-shadow(0 0 18px rgb(255 255 255 / 0.55)) drop-shadow(0 10px 22px color-mix(in srgb, var(--abyss) 45%, transparent));
}
.hero-mascot-block {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.4), transparent 60%),
    linear-gradient(135deg, #7ff0e4, #2bb5a8 60%, #187a72);
  box-shadow: inset 0 -5px 0 rgb(0 0 0 / 0.15), var(--shadow-sea);
  animation: floaty 6s ease-in-out infinite;
}
.hero-mascot-block-1 { top: 10%; left: 8%; }
.hero-mascot-block-2 { bottom: 14%; right: 6%; width: 26px; height: 26px; animation-delay: -2s; }
.hero-mascot-block-3 { top: 18%; right: 14%; width: 18px; height: 18px; animation-delay: -4s; }
@media (max-width: 767px) {
  .hero-copy {
    padding-bottom: 0;
  }
  .hero-mascot {
    min-height: 0;
    padding: 8px 0 0;
  }
  .hero-mascot-img {
    width: min(260px, 70%);
  }
}

/* Tridente do Discord no canto */
.dc-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}
.dc-widget > * {
  pointer-events: auto;
}
.dc-head {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 40%, rgb(255 255 255 / 0.95), transparent 62%),
    var(--grad);
  box-shadow: 0 4px 0 var(--sea-deep), 0 14px 26px -10px color-mix(in srgb, var(--abyss) 60%, transparent);
  animation: dc-bob 2.8s ease-in-out infinite;
  transition: transform 0.2s ease;
}
.dc-head::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 20px;
  border: 2px solid rgb(255 255 255 / 0.35);
  pointer-events: none;
}
.dc-head:hover {
  animation-play-state: paused;
  transform: scale(1.08) rotate(-6deg);
}
.dc-head img {
  width: 84%;
  height: auto;
  filter: drop-shadow(0 4px 6px rgb(0 0 0 / 0.25));
}
.dc-bubble {
  position: relative;
  margin-bottom: 52px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--accent) 65%, transparent);
  animation: dc-pop 0.5s cubic-bezier(0.2, 1.4, 0.5, 1) 1.2s both;
  transform-origin: bottom right;
}
.dc-bubble::after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: 14px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-right: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  transform: rotate(-45deg);
  border-bottom-right-radius: 4px;
}
.dc-bubble-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 34px 12px 12px;
  color: var(--abyss);
  text-decoration: none;
}
.dc-bubble-link strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}
.dc-bubble-link small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.dc-bubble-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #5865f2;
  color: #fff;
}
.dc-close {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: var(--sea-soft);
  color: var(--sea-deep);
  cursor: pointer;
}
.dc-widget.is-closed .dc-bubble {
  display: none;
}
@keyframes dc-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-4deg); }
}
@keyframes dc-pop {
  from { opacity: 0; transform: scale(0.6) translateY(10px); }
}
@media (max-width: 560px) {
  .dc-widget {
    right: 10px;
    bottom: 10px;
  }
  .dc-head {
    width: 66px;
    height: 66px;
    border-radius: 20px;
  }
  .dc-head::after {
    border-radius: 15px;
  }
  .dc-bubble {
    margin-bottom: 36px;
  }
  .dc-bubble-link {
    padding: 10px 30px 10px 10px;
  }
  .dc-bubble-link small {
    display: none;
  }
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--sea-deep);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-card);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.hero-title {
  margin-top: 18px;
  font-family: var(--font-title);
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--abyss);
}
.hero-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 16px;
  max-width: 34rem;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-stats {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-stat {
  display: flex;
  min-width: 118px;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.86);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(6px);
}
.hero-stat strong {
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--sea-deep);
  line-height: 1.1;
}
.hero-stat span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.float-deco {
  position: absolute;
  pointer-events: none;
  color: var(--accent);
  opacity: 0.6;
  animation: floaty 6s ease-in-out infinite;
}
.float-deco svg {
  width: 100%;
  height: 100%;
}

/* ---------- sobre ---------- */
.about {
  padding: 64px 0 24px;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  margin-top: 6px;
  font-family: var(--font-title);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  color: var(--abyss);
}
.section-lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.about-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr minmax(0, 300px) 1fr;
  align-items: center;
}
.about-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--border));
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}
.about-item:hover {
  transform: translateY(-3px);
}
.about-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-sea);
}
.about-icon .icon {
  width: 22px;
  height: 22px;
}
.about-item h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--abyss);
}
.about-item p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.about-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 45%, rgb(255 255 255 / 0.9), transparent 60%),
    var(--grad);
  box-shadow: var(--shadow-sea), inset 0 -10px 0 rgb(0 0 0 / 0.08);
  overflow: hidden;
}
.about-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
}
.about-stage .pixel-trident {
  --px: 11px;
  position: relative;
  color: #fff;
  margin-bottom: 26px;
  animation: trident-pulse 2.2s ease-in-out infinite;
  filter: drop-shadow(0 6px 0 var(--sea-deep));
}
.about-stage-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--sea-deep);
  font-family: var(--font-title);
  font-size: 15px;
  box-shadow: 0 3px 0 var(--sea-deep);
}
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-stage {
    max-width: 240px;
    margin: 0 auto;
    order: -1;
  }
  .about-stage .pixel-trident {
    --px: 8px;
  }
}

/* ---------- atalhos de categoria ---------- */
.cat-tiles {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  margin-bottom: 28px;
}
.cat-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  border: 2px solid transparent;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  font-size: 15px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.cat-tile:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.cat-tile.is-active {
  background: var(--grad);
  color: #fff;
}
.cat-tile.is-active .cat-tile-icon {
  background: rgb(255 255 255 / 0.22);
  color: #fff;
}
.cat-tile-count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}
.cat-tile.is-active .cat-tile-count {
  color: rgb(255 255 255 / 0.85);
}

/* ---------- prateleiras por categoria ---------- */
.shelves {
  padding: 40px 0 24px;
}
.shelf {
  scroll-margin-top: 90px;
  padding: 28px 0;
}
.shelf + .shelf {
  border-top: 2px dashed color-mix(in srgb, var(--accent) 24%, transparent);
}
.shelf-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.shelf-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  color: var(--abyss);
}
.shelf-title .pixel-trident {
  --px: 2.4px;
}
.shelf-count {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sea-soft);
  color: var(--sea-deep);
  font-family: "Nunito", sans-serif;
  font-size: 13px;
  font-weight: 800;
}
.shelf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--sea-deep);
  text-decoration: none;
}
.shelf-link:hover {
  text-decoration: underline;
}
.shelf-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px;
  border-radius: 22px;
  border: 2px dashed color-mix(in srgb, var(--accent) 30%, transparent);
  background: var(--sea-mist);
  color: var(--muted);
  font-weight: 700;
}
.shelf-empty strong {
  display: block;
  color: var(--abyss);
  font-size: 16px;
}
.pgrid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  align-items: stretch;
}
@media (max-width: 560px) {
  .pgrid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* ---------- cartão de produto ---------- */
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 12%, var(--border));
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 0 color-mix(in srgb, var(--accent) 18%, transparent), 0 22px 40px -18px color-mix(in srgb, var(--accent) 65%, transparent);
}
.pcard-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sea-soft);
}
.pcard-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.pcard:hover .pcard-media img {
  transform: scale(1.05);
}
.pcard.is-unavailable .pcard-media img {
  opacity: 0.6;
  filter: grayscale(0.6);
}
.pcard-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pcard-off {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 3px 0 var(--sea-deep);
}
.pcard-flag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--abyss);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.pcard-flag.is-gold {
  background: var(--gold);
  color: var(--abyss);
}
.pcard-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
}
.pcard-cat {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.pcard-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--abyss);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.pcard-title a {
  color: inherit;
  text-decoration: none;
}
.pcard-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.pcard-stock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #16a34a;
}
.pcard-stock.is-out {
  color: #dc2626;
}
.pcard-stock.is-low {
  color: #d97706;
}
.pcard-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
}
.pcard-price s {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.pcard-price strong {
  font-family: var(--font-title);
  font-size: 24px;
  line-height: 1;
  color: var(--sea-deep);
}
.pcard-price small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.pcard-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 0;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--sea-deep);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.pcard-btn:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}
.pcard-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--sea-deep);
}
.pcard-btn:disabled {
  background: var(--surface-3);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
}
@media (max-width: 560px) {
  .pcard-body {
    padding: 10px 11px 12px;
  }
  .pcard-title {
    font-size: 13px;
  }
  .pcard-price strong {
    font-size: 19px;
  }
  .pcard-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .pcard-btn {
    justify-content: center;
  }
}

/* ---------- vantagens ---------- */
.perks {
  padding: 24px 0 56px;
}
.perks-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.perk {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: var(--abyss);
  color: #fff;
  background-image: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent) 35%, transparent), transparent 55%);
}
.perk .about-icon {
  box-shadow: none;
}
.perk strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.perk span {
  font-size: 13px;
  color: #b9dbff;
}

/* ---------- perguntas frequentes ---------- */
.faq {
  padding: 56px 0;
  background: linear-gradient(180deg, transparent, var(--sea-soft));
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--border));
  box-shadow: var(--shadow-card);
  padding: 0 20px;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-weight: 800;
  color: var(--abyss);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .icon {
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-item[open] summary .icon {
  transform: rotate(90deg);
}
.faq-item p,
.faq-item .faq-answer {
  padding-bottom: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.faq-item .faq-answer a {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- títulos das páginas internas ---------- */
.page-title {
  font-family: var(--font-title);
  color: var(--abyss);
  letter-spacing: 0.01em;
}

/* ---------- rodapé ---------- */
.site-footer {
  margin-top: 0;
  padding: 52px 0 28px;
  background: var(--abyss);
  color: #cfe5ff;
  font-size: 14px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto 0;
  height: 12px;
  background: radial-gradient(circle at 12px 12px, var(--abyss) 11px, transparent 11.5px) 0 0 / 24px 12px repeat-x;
}
.site-footer h3 {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 900;
  color: var(--aqua);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-footer a {
  color: #cfe5ff;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
}
.footer-muted {
  color: #8fb0d6;
}
.footer-social {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--abyss-2);
  color: #fff;
  transition: background 0.15s ease;
}
.footer-social:hover {
  background: var(--accent);
}
.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #8fb0d6;
}

/* ---------- animações ---------- */
@keyframes trident-sway {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(-12deg) translateY(-1px); }
}
@keyframes trident-pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  20% { transform: translateY(-6px) scale(1.06); }
  40% { transform: translateY(0) scale(1); }
  55% { transform: translateY(-3px) scale(1.03); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .float-deco,
  .trident-glyph,
  .about-stage .pixel-trident,
  .hero-mascot-block,
  .dc-head {
    animation: none;
  }
}
}
