/* ============================================================
   CONNECTA DIGITAL — PÁGINA DE LINKS (/links/)
   Paleta e linguagem visual oficial da connectabr.digital:
   #060607 (escuro) / #f0efec (claro), #0867df (azul Connecta),
   Geist + Geist Mono, troca de tema com View Transition circular,
   zero cookies e zero recursos de terceiros.
   ============================================================ */

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

:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --void: #060607;
  --panel: #0e0e11;
  --panel-2: #151519;
  --panel-hover: #19191f;
  --surface-alt: #0b0b0e;

  --light: #f0efec;
  --light-85: rgba(240, 239, 236, 0.86);
  --light-70: rgba(240, 239, 236, 0.7);
  --light-55: rgba(240, 239, 236, 0.56);
  --light-38: rgba(240, 239, 236, 0.38);
  --light-24: rgba(240, 239, 236, 0.24);
  --light-14: rgba(240, 239, 236, 0.14);
  --light-09: rgba(240, 239, 236, 0.09);
  --light-05: rgba(240, 239, 236, 0.05);

  --edge: rgba(240, 239, 236, 0.1);
  --edge-strong: rgba(240, 239, 236, 0.2);
  --card-shadow: 0 18px 46px rgba(0, 0, 0, 0.48);

  --blue: #0867df;
  --blue-hover: #0653b5;
  --blue-accent: #3d8bf0;
  --blue-soft: #85baff;
  --blue-rgb: 61, 139, 240;
  --ok: #22c55e;
  --ok-rgb: 34, 197, 94;

  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);
}

html[data-theme="light"] {
  color-scheme: light;
  --void: #f0efec;
  --panel: #ffffff;
  --panel-2: #e7e5e0;
  --panel-hover: #f8f7f5;
  --surface-alt: #f7f6f3;

  --light: #0a0a0c;
  --light-85: rgba(10, 10, 12, 0.86);
  --light-70: rgba(10, 10, 12, 0.7);
  --light-55: rgba(10, 10, 12, 0.58);
  --light-38: rgba(10, 10, 12, 0.38);
  --light-24: rgba(10, 10, 12, 0.22);
  --light-14: rgba(10, 10, 12, 0.12);
  --light-09: rgba(10, 10, 12, 0.08);
  --light-05: rgba(10, 10, 12, 0.045);

  --edge: rgba(10, 10, 12, 0.09);
  --edge-strong: rgba(10, 10, 12, 0.18);
  --card-shadow: 0 14px 36px rgba(10, 10, 12, 0.08);

  --blue: #0867df;
  --blue-hover: #0653b5;
  --blue-accent: #0867df;
  --blue-soft: #3d8bf0;
  --blue-rgb: 8, 103, 223;
  --ok: #15803d;
  --ok-rgb: 21, 128, 61;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--void);
  color: var(--light);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  background-image:
    radial-gradient(640px 420px at 50% -80px, rgba(var(--blue-rgb), 0.12), transparent 72%);
}

html[data-theme="light"] body {
  background-image:
    radial-gradient(680px 440px at 50% -100px, rgba(var(--blue-rgb), 0.08), transparent 72%);
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.mono { font-family: var(--font-mono); }

.on-light { display: none; }
html[data-theme="light"] .on-dark { display: none; }
html[data-theme="light"] .on-light { display: block; }
html[data-theme="dark"] .on-dark { display: block; }
html[data-theme="dark"] .on-light { display: none; }

:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 60;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* ============ SHELL CENTRAL ============ */
.shell {
  width: min(472px, 100%);
  margin: 0 auto;
  padding: 20px 14px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ============ HERO STORIES ARRASTÁVEIS ============ */
.stories-card {
  position: relative;
  border-radius: 28px;
  overflow: clip;
  background: #0a0b0e;
  color: #f0efec;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--card-shadow);
  transform: translateZ(0);
}
html[data-theme="light"] .stories-card {
  border-color: rgba(10, 10, 12, 0.1);
  box-shadow: 0 22px 54px rgba(10, 10, 12, 0.16);
}

/* Barra superior sobreposta no card hero (referência) */
.stories-topbar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}
.stories-topbar > * { pointer-events: auto; }

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px 0 10px;
  border-radius: 999px;
  background: rgba(10, 11, 14, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.brand-chip:hover {
  background: rgba(10, 11, 14, 0.72);
  border-color: rgba(255, 255, 255, 0.26);
}
.brand-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f0efec;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-glass {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 11, 14, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f0efec;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-glass:hover {
  background: rgba(10, 11, 14, 0.78);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Botão de tema igual ao site da Connecta */
.theme-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
  overflow: hidden;
}
.theme-icon svg {
  position: absolute;
  inset: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.55s var(--ease), opacity 0.3s ease;
}
.theme-icon .icon-moon,
html[data-theme="dark"] .theme-icon .icon-sun {
  transform: translate(10px, -16px) rotate(40deg);
  opacity: 0;
}
html[data-theme="dark"] .theme-icon .icon-moon {
  transform: none;
  opacity: 1;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .theme-toggle:hover .theme-icon .icon-sun { transform: rotate(90deg); transition-duration: 0.9s, 0.3s; }
  html[data-theme="dark"] .theme-toggle:hover .theme-icon .icon-sun { transform: translate(10px, -16px) rotate(40deg); }
  html[data-theme="dark"] .theme-toggle:hover .theme-icon .icon-moon { transform: rotate(-22deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .theme-toggle.is-flipping { animation: theme-button-spin 0.6s var(--ease); }
}
@keyframes theme-button-spin { 50% { transform: scale(0.86) rotate(-30deg); } }

.cta-glass {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 0 13px 0 15px;
  border-radius: 999px;
  background: rgba(10, 11, 14, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f0efec;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.cta-glass svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.cta-glass:hover {
  background: var(--blue);
  border-color: rgba(255, 255, 255, 0.28);
}
.cta-glass:hover svg { transform: translateX(2px); }

/* Viewport e trilha arrastável */
.stories-viewport {
  position: relative;
  width: 100%;
  border-radius: 27px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.stories-viewport.is-dragging { cursor: grabbing; }

.stories-track {
  display: flex;
  width: 100%;
  transition: transform 0.56s var(--ease);
}
.stories-viewport.is-dragging .stories-track { transition: none; }

.story-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #090a0d;
}

.story-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.stage-aura {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  opacity: 0.9;
}
.stage-aura-blue {
  background:
    radial-gradient(300px 260px at 50% 42%, rgba(8, 103, 223, 0.34), transparent 70%),
    radial-gradient(420px 280px at 80% 12%, rgba(61, 139, 240, 0.16), transparent 72%),
    linear-gradient(180deg, #0b0d12 0%, #07080b 100%);
}
.stage-aura-green {
  background:
    radial-gradient(320px 260px at 50% 34%, rgba(0, 168, 132, 0.28), transparent 70%),
    radial-gradient(380px 260px at 20% 10%, rgba(8, 103, 223, 0.18), transparent 72%),
    linear-gradient(180deg, #091115 0%, #07090c 100%);
}

/* Slide 1: Partículas da Connecta */
.connecta-stage .stage-still,
.connecta-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.connecta-stage .stage-still {
  object-fit: contain;
  padding: 96px 110px 180px;
  opacity: 0.92;
  transition: opacity 0.4s ease;
}
.connecta-stage canvas { opacity: 0; transition: opacity 0.4s ease; }
.js .connecta-stage.is-live canvas { opacity: 1; }
.js .connecta-stage.is-live .stage-still { opacity: 0; }

/* Slide 2: Animação real do WhatsApp do Recepta */
.recepta-stage {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 16px 212px;
}

.wa-story {
  --wa-bg: #0b141a;
  --wa-head: #1c272e;
  --wa-in: #202c33;
  --wa-out: #005c4b;
  --wa-text: #e9edef;
  --wa-meta: rgba(233, 237, 239, 0.62);
  --wa-accent: #00a884;
  --wa-sys: #182229;
  --wa-dots: rgba(255, 255, 255, 0.04);

  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 396px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--wa-bg);
  color: var(--wa-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.52);
  font-size: 0.78rem;
  line-height: 1.35;
}

.wa-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--wa-head);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.wa-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #00a884, #0867df);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.wa-id {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wa-id b {
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-id small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--wa-meta);
  font-size: 0.68rem;
}
.wa-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
}
.wa-badge {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(0, 168, 132, 0.16);
  border: 1px solid rgba(0, 168, 132, 0.35);
  color: #5eead4;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.wa-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  height: 196px;
  padding: 10px 11px 10px;
  overflow: hidden;
  background-color: var(--wa-bg);
  background-image: radial-gradient(var(--wa-dots) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 34px);
}

.wa-msg {
  position: relative;
  max-width: 85%;
  padding: 6px 9px 5px;
  border-radius: 10px;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}
.wa-msg time {
  float: right;
  margin: 4px 0 -2px 8px;
  font-size: 0.6rem;
  color: var(--wa-meta);
}
.wa-in { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 3px; }
.wa-out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 3px; }

.wa-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.wa-slots i {
  font-style: normal;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--wa-accent);
  color: var(--wa-accent);
  font-size: 0.68rem;
  font-weight: 600;
}
.wa-slots i.on { background: var(--wa-accent); color: #fff; }

.wa-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 66%;
}
.wa-card time { align-self: flex-end; float: none; margin: 3px 0 -2px; }
.wa-card-tag { font-size: 0.56rem; letter-spacing: 0.14em; color: var(--wa-accent); font-weight: 700; }
.wa-card b { font-size: 0.82rem; font-weight: 600; }
.wa-card span:not(.wa-card-tag) { color: var(--wa-meta); font-size: 0.7rem; }

.wa-sys {
  align-self: center;
  margin-top: 3px;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--wa-sys);
  color: var(--wa-meta);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

.wa-typing {
  display: none;
  align-self: flex-start;
  gap: 4px;
  padding: 9px 11px;
  border-radius: 10px;
  border-top-left-radius: 3px;
  background: var(--wa-in);
  flex-shrink: 0;
}
.wa-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wa-meta);
  animation: waDot 1.1s infinite;
}
.wa-typing i:nth-child(2) { animation-delay: 0.15s; }
.wa-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes waDot {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.wa-anim .wa-msg,
.wa-anim .wa-sys { display: none; }
.wa-anim .wa-msg.show,
.wa-anim .wa-sys.show { display: block; animation: waIn 320ms var(--ease) both; }
.wa-anim .wa-card.show { display: flex; }
.wa-anim .wa-typing.show { display: flex; }
@keyframes waIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* Scrim e textos sobrepostos */
.story-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(6, 7, 10, 0.34) 0%,
    rgba(6, 7, 10, 0.04) 24%,
    rgba(6, 7, 10, 0.18) 54%,
    rgba(6, 7, 10, 0.88) 84%,
    rgba(6, 7, 10, 0.96) 100%
  );
}
.story-scrim-recepta {
  background: linear-gradient(
    180deg,
    rgba(6, 7, 10, 0.25) 0%,
    rgba(6, 7, 10, 0.0) 18%,
    rgba(6, 7, 10, 0.08) 58%,
    rgba(6, 7, 10, 0.88) 76%,
    rgba(6, 7, 10, 0.98) 100%
  );
}

.story-overlay {
  position: relative;
  z-index: 4;
  padding: 0 20px 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.story-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(240, 239, 236, 0.86);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.dot-blue { background: #3d8bf0; box-shadow: 0 0 8px rgba(61, 139, 240, 0.85); }
.dot-live {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.story-title {
  font-size: clamp(1.75rem, 6.2vw, 2.25rem);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #f6f5f2;
  max-width: 14ch;
  text-wrap: balance;
}
.story-title em {
  font-style: normal;
  color: #85baff;
}
.story-recepta .story-title em {
  color: #5eead4;
}

/* Pill CTA estilo "NA TELA · Perfect Top >" da referência */
.story-pill {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 5px 6px 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.story-pill:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
}
.story-pill-tag {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}
.story-pill-text {
  font-size: 0.86rem;
  font-weight: 620;
  letter-spacing: -0.015em;
}
.story-pill-go {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #08090c;
  transition: transform 0.22s var(--ease);
}
.story-pill:hover .story-pill-go { transform: translateX(2px); }
.story-pill-go svg { width: 14px; height: 14px; }

/* Setas laterais discretas */
.story-nav {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  background: rgba(10, 11, 14, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0.72;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
}
.story-nav:hover {
  opacity: 1;
  background: rgba(10, 11, 14, 0.78);
}
.story-nav svg { width: 16px; height: 16px; }
.story-prev { left: 10px; }
.story-next { right: 10px; }

/* Rodapé dos stories: barras de progresso + arraste + pausa */
.stories-footer {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stories-bars {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.story-bar {
  padding: 8px 0;
  display: flex;
  align-items: center;
}
.story-bar-track {
  position: relative;
  display: block;
  width: 100%;
  height: 3.5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
}
.story-bar-track i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #ffffff;
  transition: width 0.12s linear;
}
.story-bar.is-done .story-bar-track i { width: 100%; }

.stories-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.swipe-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  transition: opacity 0.4s ease;
}
.swipe-hint svg { width: 12px; height: 12px; }
.swipe-hint.is-hidden { opacity: 0; pointer-events: none; }

.story-play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: background 0.2s ease;
}
.story-play-btn:hover { background: rgba(255, 255, 255, 0.26); }
.story-play-btn svg { width: 11px; height: 11px; fill: currentColor; }
.stories-card.is-paused .story-play-btn .ic-pause,
.stories-card:not(.is-paused) .story-play-btn .ic-play { display: none; }

/* ============ TICKET PARCEIRO HOSTINGER ============ */
.ticket {
  position: relative;
  display: block;
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(320px 180px at 88% 12%, rgba(133, 186, 255, 0.36), transparent 65%),
    linear-gradient(135deg, #073380 0%, #0867df 52%, #1d7bf5 100%);
  box-shadow: 0 16px 38px rgba(8, 103, 223, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.ticket:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(8, 103, 223, 0.34);
}

.ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 16px;
}

.ticket-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ticket-kicker {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.8);
}
.ticket-value {
  font-size: 1.85rem;
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.ticket-value small {
  display: inline;
  font-size: 0.9rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  opacity: 0.9;
}
.ticket-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 24ch;
  margin-top: 2px;
}

.ticket-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}
.ticket-badge {
  width: 102px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.22));
}
.ticket-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: #ffffff;
  color: #0642a3;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px rgba(3, 25, 72, 0.22);
  transition: transform 0.22s var(--ease);
}
.ticket-cta svg { width: 14px; height: 14px; transition: transform 0.22s var(--ease); }
.ticket:hover .ticket-cta svg { transform: translateX(3px); }

/* Linha serrilhada com recortes laterais de cupom */
.ticket-cut {
  position: relative;
  height: 1px;
  margin: 0 16px;
  border-top: 1.5px dashed rgba(255, 255, 255, 0.28);
}
.ticket-cut::before,
.ticket-cut::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--void);
}
.ticket-cut::before { left: -26px; }
.ticket-cut::after { right: -26px; }

.ticket-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px 14px 14px;
  background: rgba(4, 24, 70, 0.26);
}
.ticket-perks span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 0 6px;
}
.ticket-perks span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.ticket-perks svg {
  width: 15px;
  height: 15px;
  opacity: 0.9;
}
.ticket-perks b {
  font-size: 0.66rem;
  font-weight: 620;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.18;
  color: rgba(255, 255, 255, 0.92);
}

/* ============ BENTO DUO ============ */
.bento-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 146px;
  padding: 16px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--edge);
  transition: transform 0.26s var(--ease), border-color 0.26s var(--ease), background 0.26s var(--ease);
}
.bento-card:hover {
  transform: translateY(-2px);
  border-color: var(--edge-strong);
  background: var(--panel-hover);
}
.bento-briefing {
  background:
    radial-gradient(180px 140px at 100% 0%, rgba(var(--blue-rgb), 0.14), transparent 72%),
    var(--panel);
}

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.bento-ic {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--light-05);
  border: 1px solid var(--edge);
  color: var(--light);
}
.bento-briefing .bento-ic {
  background: rgba(var(--blue-rgb), 0.12);
  border-color: rgba(var(--blue-rgb), 0.26);
  color: var(--blue-accent);
}
.bento-ic svg { width: 17px; height: 17px; }

.bento-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--light-05);
  border: 1px solid var(--edge);
  color: var(--light-70);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.bento-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 22px;
}
.bento-body strong {
  font-size: 1.06rem;
  font-weight: 660;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.bento-body span {
  font-size: 0.76rem;
  color: var(--light-55);
  line-height: 1.3;
}

.bento-arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--light-55);
  transition: transform 0.24s var(--ease), color 0.24s ease;
}
.bento-arrow svg { width: 15px; height: 15px; }
.bento-card:hover .bento-arrow {
  color: var(--light);
  transform: translate(2px, -2px);
}

/* ============ LISTA PRINCIPAL DE LINKS ============ */
.links-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.link-row {
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 11px 14px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--edge);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease);
}
.link-row:hover {
  transform: translateY(-1.5px);
  border-color: var(--edge-strong);
  background: var(--panel-hover);
}

.link-ic {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--light-05);
  border: 1px solid var(--edge);
  color: var(--light);
  transition: border-color 0.24s ease, background 0.24s ease;
}
.link-ic svg { width: 19px; height: 19px; }

.link-ic-wa {
  background: rgba(var(--ok-rgb), 0.12);
  border-color: rgba(var(--ok-rgb), 0.28);
  color: var(--ok);
}
.link-ic-blue {
  background: rgba(var(--blue-rgb), 0.12);
  border-color: rgba(var(--blue-rgb), 0.26);
  color: var(--blue-accent);
}

.link-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.link-copy b {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 0.96rem;
  font-weight: 630;
  letter-spacing: -0.025em;
}
.link-copy small {
  color: var(--light-55);
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.row-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-style: normal;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--light-05);
  border: 1px solid var(--edge);
  color: var(--light-70);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}
.row-pill-live {
  background: rgba(var(--ok-rgb), 0.12);
  border-color: rgba(var(--ok-rgb), 0.26);
  color: var(--ok);
}
.row-pill-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.link-go {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--light-38);
  transition: transform 0.24s var(--ease), color 0.24s ease;
}
.link-go svg { width: 16px; height: 16px; }
.link-row:hover .link-go {
  color: var(--light);
  transform: translate(2px, -2px);
}

/* ============ BANNER LINKTREE PERSONALIZADO ============ */
.want-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 24px;
  background:
    radial-gradient(280px 180px at 100% 0%, rgba(8, 103, 223, 0.24), transparent 72%),
    #111216;
  color: #f0efec;
  border: 1px solid rgba(240, 239, 236, 0.14);
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}
html[data-theme="light"] .want-banner {
  background:
    radial-gradient(280px 180px at 100% 0%, rgba(8, 103, 223, 0.26), transparent 72%),
    #0c0d10;
  box-shadow: 0 14px 34px rgba(10, 10, 12, 0.14);
}
.want-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 139, 240, 0.45);
}

.want-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.want-kicker {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: #85baff;
}
.want-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.want-ic svg { width: 17px; height: 17px; }

.want-banner strong {
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 18ch;
}
.want-banner p {
  font-size: 0.84rem;
  color: rgba(240, 239, 236, 0.72);
  max-width: 36ch;
}
.want-btn {
  margin-top: 6px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f0efec;
  color: #060607;
  font-size: 0.84rem;
  font-weight: 660;
  transition: background 0.22s ease, transform 0.22s var(--ease);
}
.want-btn svg { width: 15px; height: 15px; transition: transform 0.22s var(--ease); }
.want-banner:hover .want-btn { background: #ffffff; }
.want-banner:hover .want-btn svg { transform: translateX(3px); }

/* ============ REDES SOCIAIS ============ */
.social-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--edge);
  color: var(--light-85);
  font-size: 0.82rem;
  font-weight: 560;
  transition: transform 0.22s var(--ease), border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}
.social-pill svg { width: 16px; height: 16px; flex-shrink: 0; }
.social-pill:hover {
  transform: translateY(-1.5px);
  border-color: var(--edge-strong);
  color: var(--light);
  background: var(--panel-hover);
}

/* ============ RODAPÉ CONNECTA ============ */
.footer {
  margin-top: 24px;
  background: var(--surface-alt);
  border-top: 1px solid var(--edge);
  color: var(--light);
}
.container {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-ask {
  border-bottom: 1px solid var(--edge);
}
.footer-ask-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  flex-wrap: wrap;
}
.footer-ask-copy strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 620;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}
.footer-ask-copy p {
  font-size: 0.84rem;
  color: var(--light-55);
}
.footer-ask-copy a {
  color: var(--blue-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ask-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ask-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--edge);
  font-size: 0.8rem;
  font-weight: 540;
  color: var(--light-85);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}
.ask-row a svg { width: 14px; height: 14px; opacity: 0.8; }
.ask-row a:hover {
  border-color: var(--blue-accent);
  color: var(--light);
  transform: translateY(-1px);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0 20px;
}
.footer-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-55);
}
.footer-col p,
.footer-col a {
  color: var(--light-70);
  font-size: 0.86rem;
  line-height: 1.6;
}
.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--light); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid var(--edge);
  color: var(--light-70);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover {
  border-color: var(--edge-strong);
  color: var(--light);
  transform: translateY(-1px);
}

.back-top {
  min-height: 34px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--light-55);
  transition: color 0.2s ease;
}
.back-top:hover { color: var(--light); }

.footer-marks-wrap {
  display: flex;
  justify-content: center;
  padding: 12px 16px 20px;
}
.footer-marks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-connecta-mark { width: min(196px, 44vw); height: auto; }
.footer-hostinger-mark { width: min(110px, 28vw); height: auto; }
.footer-marks-divider {
  width: 1px;
  height: 28px;
  background: var(--edge-strong);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0 26px;
  border-top: 1px solid var(--edge);
  color: var(--light-55);
  font-size: 0.76rem;
}
.footer-privacy-note { max-width: 68ch; }

/* ============ VIEW TRANSITION CIRCULAR DO TEMA (IGUAL CONNECTA) ============ */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: none !important;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
@media (prefers-reduced-motion: no-preference) {
  html.theme-transitioning::view-transition-new(root) {
    animation: theme-reveal 0.7s var(--ease-expo);
  }
}
@keyframes theme-reveal {
  from { clip-path: circle(0 at var(--theme-x) var(--theme-y)); }
  to { clip-path: circle(var(--theme-radius) at var(--theme-x) var(--theme-y)); }
}

/* ============ RESPONSIVO & ACESSIBILIDADE ============ */
@media (max-width: 760px) {
  .shell { padding: 12px 12px 32px; gap: 12px; }
  .story-slide { min-height: 522px; }
  .recepta-stage { padding: 62px 14px 206px; }
  .wa-body { height: 188px; }
  .story-nav { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .ticket-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ticket-right { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
  .ticket-perks { grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 11px 10px 13px; }
  .ticket-perks b { font-size: 0.6rem; }
  .bento-duo { gap: 8px; }
  .bento-card { padding: 14px; min-height: 136px; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .stories-track,
  .theme-icon svg,
  .ticket,
  .bento-card,
  .link-row,
  .want-banner,
  .social-pill { transition: none !important; }
  .connecta-stage canvas,
  .story-play-btn { display: none; }
  .connecta-stage .stage-still { opacity: 0.92 !important; }
  .dot-live { animation: none; }
}
