:root {
  --bg: #0b0d13;
  --glass: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.15);
  --blur: 14px;
  --txt: #e6e9ef;
  --accent-primary: #8238B3; /* Grape */
  --accent-secondary: #D7AC28; /* Gold (metallic) */
  --accent-hover: rgba(130, 56, 179, 0.2);
  --accent-gold-dark: #C78D17; /* Dark goldenrod */
  --accent-purple-light: #EFD9F7; /* Pale purple */
  --accent-indigo: #D00666; /* Indigo */
  --font-primary: 'Lato', system-ui, -apple-system, sans-serif;
  --font-secondary: 'Roboto', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --focus-ring: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent-purple-light);
  /* Viewport dinâmico (evita barra de endereço no mobile) + safe-area (notch) */
  --vh: 1vh;
  --safe-top: env(safe-area-inset-top, 0);
  --safe-right: env(safe-area-inset-right, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
  --safe-left: env(safe-area-inset-left, 0);
}

* {
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Ultra-moderno: remove highlight de toque em mobile (visual mais limpo) */
a, button {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

/* Focus visível moderno (acessibilidade + look atual) */
a:focus-visible,
button:focus-visible,
[tabindex="0"]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: inherit;
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent-purple-light);
}

/* Permite seleção apenas em campos de input e textarea */
input,
textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Desabilita arrastar imagens + responsivo sem overflow */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  max-width: 100%;
}

/* Permite interação apenas em imagens dentro de links */
a img,
.latest-card-image {
  pointer-events: auto;
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
  /* Cor do viewport: ao puxar a página (overscroll) aparece rosa claro */
  background-color: #fdf2f8;
  /* Viewport dinâmico: evita salto quando barra de endereço some no mobile */
  min-height: 100dvh;
  min-height: -webkit-fill-available;
}

body {
  font-family: var(--font-primary);
  color: var(--txt);
  background-color: var(--bg);
  background-image: url('assets/img/back2.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
  overflow-y: hidden; /* JS libera overflowY ao mostrar conteúdo */
  line-height: 1.6;
  min-height: 100%;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  width: 100%;
  margin: 0;
  padding: 0;
  padding-top: var(--safe-top);
  padding-right: var(--safe-right);
  padding-bottom: var(--safe-bottom);
  padding-left: var(--safe-left);
}

/* Background adaptado a todos os dispositivos (mobile: scroll para performance) */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

/* Garante que o background cubra toda a área mesmo com scrollbar */
html {
  overflow-y: auto;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

/* Camada fixa do background — adapta a todos os viewports */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  background-image: url('assets/img/back2.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -2;
  pointer-events: none;
}

@media (max-width: 768px) {
  body::before {
    background-attachment: scroll;
    min-height: 100vh;
    min-height: 100dvh;
  }
}

/* Overlay no fundo — 100% para fundo totalmente escuro e máximo contraste */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(11, 13, 19, 1);
  z-index: -1;
  pointer-events: none;
}

/* Overlay do vídeo */
.overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);
  box-sizing: border-box;
  background-image: url('assets/img/back2.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #0b0d13;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 1000;
}

.overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.overlay video {
  width: 100%;
  max-width: min(900px, calc(100vw - var(--safe-left) - var(--safe-right) - 24px));
  height: auto;
  max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 24px);
  max-height: calc(100vh - var(--safe-top) - var(--safe-bottom) - 24px);
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.skip {
  position: absolute;
  top: max(16px, var(--safe-top));
  right: max(16px, var(--safe-right));
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.skip:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: var(--accent-primary);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #0b0d13;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(130, 56, 179, 0.4);
  z-index: 10;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 40px rgba(130, 56, 179, 0.6);
}

.play-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.play-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 4px; /* Ajuste visual para centralizar o ícone */
}

/* Flash */
.flash {
  position: fixed;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

.flash.active {
  animation: flash 1.2s ease;
}

@keyframes flash {
  0% { opacity: 0; }
  15% { opacity: 1; }
  50% { opacity: 0.8; }
  85% { opacity: 1; }
  100% { opacity: 0; }
}

/* Sequência de imagens (rapidinho) */
.seq {
  position: fixed;
  inset: 0;
  margin: auto;
  width: 100vw;
  width: 100dvw;
  height: 100dvh;
  height: 100vh;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  z-index: 998;
  display: none;
  transition: opacity 1.5s ease-in-out;
}

/* Conteúdo principal */
.content {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  --content-pad: clamp(16px, 3vw, 40px);
  padding: var(--content-pad);
  padding-left: calc(var(--content-pad) + var(--safe-left));
  padding-right: calc(var(--content-pad) + var(--safe-right));
  padding-bottom: calc(var(--content-pad) + var(--safe-bottom));
  gap: 2rem;
}

.brand {
  text-align: center;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.content.ready .brand {
  opacity: 1;
  transform: translateY(0);
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  border: 3px solid var(--accent-primary);
  box-shadow:
    0 0 18px rgba(130, 56, 179, 0.8),
    0 0 0 4px rgba(130, 56, 179, 0.35);
  transition: transform 0.3s ease;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.avatar-pulse {
  position: relative;
  animation: avatar-pulse 3s ease-in-out infinite;
}

.avatar-pulse::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 56, 179, 0.5), transparent 60%);
  filter: blur(6px);
  z-index: -1;
  animation: avatar-glow-soft 3s ease-in-out infinite;
}

.avatar:hover {
  transform: scale(1.05) translateZ(0);
}

/* Respiração suave + momento lilás/dourado na borda (foto de perfil) */
@keyframes avatar-pulse {
  0%, 100% {
    box-shadow:
      0 0 18px rgba(130, 56, 179, 0.8),
      0 0 0 4px rgba(130, 56, 179, 0.35);
    transform: scale(1) translateZ(0);
    border-color: var(--accent-primary);
  }
  50% {
    box-shadow:
      0 0 26px rgba(130, 56, 179, 0.95),
      0 0 0 8px rgba(130, 56, 179, 0.2),
      0 0 20px rgba(215, 172, 40, 0.2);
    transform: scale(1.03) translateZ(0);
    border-color: rgba(239, 217, 247, 0.9);
  }
}

/* Auréola atrás da foto pulsa junto */
@keyframes avatar-glow-soft {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.brand h1 {
  margin: 1rem 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--txt);
  font-family: var(--font-primary);
}

.brand p {
  margin: 0;
  font-size: 1rem;
  color: var(--accent-secondary);
  font-family: var(--font-secondary);
  font-weight: 300;
}

/* Links principais — fundo transparente; vidro + brilho só nos botões */
.links {
  display: grid;
  gap: 12px;
  width: min(520px, 92vw);
  background: transparent;
  border: none;
  border-radius: 20px;
  padding: 20px;
  box-shadow: none;
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.content.ready .links {
  opacity: 1;
  transform: translateY(0);
}

.link-item {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: var(--accent-purple-light);
  min-height: 48px;
  padding: 16px 20px;
  border: 1px solid rgba(239, 217, 247, 0.45);
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-primary);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.5));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28),
              0 0 20px rgba(239, 217, 247, 0.25),
              0 0 0 1px rgba(239, 217, 247, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.link-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

/* Brilho em animação constante em cada botão — transform para GPU no celular */
.link-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent);
  animation: partners-card-shine 5s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}

.link-item:hover {
  border-color: rgba(239, 217, 247, 0.9);
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 4px 24px rgba(239, 217, 247, 0.35),
              0 0 28px rgba(239, 217, 247, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.link-item:hover::before {
  opacity: 0.1;
}

.link-item:active {
  transform: translateY(0) scale(0.98) translateZ(0);
}

.link-item > * {
  position: relative;
  z-index: 1;
}

.link-item .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
  flex-shrink: 0;
}

.contact-btn {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border: none;
  color: #0b0d13;
  font-weight: 900;
  display: none; /* Oculto temporariamente */
}

.contact-btn:hover {
  box-shadow: 0 4px 25px rgba(130, 56, 179, 0.5);
}

.contact-btn::before {
  display: none;
}

/* Botões principais reorganizados */
.link-item-main {
  font-weight: 900;
}

.links-social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.link-item-social {
  padding-block: 14px;
  font-weight: 700;
}

@media (max-width: 520px) {
  .links-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Vitrine de parceiros — efeito vidro + brilho constante */
.partners-section {
  width: min(520px, 92vw);
  margin-top: 1.5rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s;
}

.content.ready .partners-section {
  opacity: 1;
  transform: translateY(0);
}

.partners-header {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 1.25rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.partners-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: #fff;
}

.partners-subtitle {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  color: #fff;
}

/* Container vidro com brilho em loop — camada GPU para animação suave no celular */
.partners-shell {
  position: relative;
  border-radius: 20px;
  padding: 2.5rem 1.25rem 1.75rem;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(130, 56, 179, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  animation: partners-glass-pulse 4s ease-in-out infinite;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Brilho que atravessa o vidro (shimmer contínuo) — mais visível */
.partners-shell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent 100%);
  animation: partners-shine 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* Segunda passada de brilho dourado (dessincronizada) — mais visível */
.partners-shell::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(215, 172, 40, 0.12) 30%,
    rgba(215, 172, 40, 0.28) 50%,
    rgba(215, 172, 40, 0.12) 70%,
    transparent 100%);
  animation: partners-shine 4.5s ease-in-out infinite 1.2s;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

@keyframes partners-shine {
  0% { transform: translateX(-100%); opacity: 0.85; }
  50% { opacity: 1; }
  100% { transform: translateX(250%); opacity: 0.85; }
}

@keyframes partners-glass-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 14px 48px rgba(130, 56, 179, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
}

.partners-orbit {
  position: absolute;
  inset: 18% 10%;
  border-radius: 999px;
  border: 2px dashed rgba(215, 172, 40, 0.75);
  pointer-events: none;
  animation: partners-orbit-glow 3s ease-in-out infinite;
}

.partners-orbit-outer {
  animation: partners-orbit-spin 26s linear infinite, partners-orbit-glow 3s ease-in-out infinite;
}

.partners-orbit-inner {
  inset: 30% 18%;
  animation: partners-orbit-spin 20s linear infinite reverse, partners-orbit-glow 3.5s ease-in-out infinite 0.5s;
}

@keyframes partners-orbit-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes partners-orbit-glow {
  0%, 100% { opacity: 0.85; border-color: rgba(215, 172, 40, 0.6); }
  50% { opacity: 1; border-color: rgba(215, 172, 40, 0.95); }
}

.partners-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  z-index: 2;
}

.partner-card {
  position: relative;
  text-decoration: none;
  color: #fff;
  padding: 0.65rem 0.4rem 0.8rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(215, 172, 40, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

/* Brilho contínuo nos cards — mais visível */
.partner-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent);
  animation: partners-card-shine 4s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}

@keyframes partners-card-shine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(350%); }
}

.partner-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  background: radial-gradient(circle at 30% 0%, var(--accent-secondary), var(--accent-gold-dark));
  color: #0b0d13;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  animation: partners-logo-glow 2.5s ease-in-out infinite;
  overflow: hidden;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
}

@keyframes partners-logo-glow {
  0%, 100% { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6), 0 0 0 rgba(215, 172, 40, 0); }
  50% { box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 0 24px rgba(215, 172, 40, 0.5); }
}

.partner-name {
  font-size: 0.7rem;
  font-family: var(--font-secondary);
  color: #fff;
}

.partner-card:hover {
  transform: translateY(-5px) translateZ(0);
  border-color: var(--accent-secondary);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.7));
}

.partner-card:hover::before {
  opacity: 1;
}

@media (max-width: 520px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .partners-shell {
    padding-inline: 1rem;
  }
}

/* ========== Vitrine de Maquiagem (mesma formatação da Vitrine de Parceiros) ========== */
.shop-section {
  width: min(520px, 92vw);
  margin-top: 1.5rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s;
}

.content.ready .shop-section {
  opacity: 1;
  transform: translateY(0);
}

.shop-header {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 1.25rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.shop-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: #7d5c7a;
}

.shop-subtitle {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  color: #7d5c7a;
}

/* Container vidro com brilho em loop — igual à Vitrine de Parceiros */
.shop-shell {
  position: relative;
  border-radius: 20px;
  padding: 2.5rem 1.25rem 1.75rem;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(130, 56, 179, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  animation: partners-glass-pulse 4s ease-in-out infinite;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.shop-shell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent 100%);
  animation: partners-shine 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.shop-shell::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(215, 172, 40, 0.12) 30%,
    rgba(215, 172, 40, 0.28) 50%,
    rgba(215, 172, 40, 0.12) 70%,
    transparent 100%);
  animation: partners-shine 4.5s ease-in-out infinite 1.2s;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* Carrossel ultra moderno — transição suave, progresso tipo stories, swipe, pausa ao interagir */
.shop-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 2;
  touch-action: pan-y pinch-zoom;
}

.shop-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

.shop-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 6px;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
}

.shop-card {
  position: relative;
  z-index: 2;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  display: flex;
  flex-direction: column;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.shop-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent);
  animation: partners-card-shine 5s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}

.shop-card:hover {
  transform: translateY(-5px) translateZ(0);
  border-color: var(--accent-secondary);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.7));
}

.shop-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.shop-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease-out);
}

.shop-card:hover .shop-card-image {
  transform: scale(1.06);
}

.shop-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #0b0d13;
  box-shadow: 0 4px 16px rgba(130, 56, 179, 0.4);
  z-index: 2;
}

.shop-card-body {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.shop-card-title {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.shop-card-desc {
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  color: rgba(230, 233, 239, 0.9);
  margin: 0;
  line-height: 1.4;
  flex-grow: 1;
}

.shop-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 14px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  color: #0b0d13;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border: none;
  box-shadow: 0 6px 24px rgba(130, 56, 179, 0.4);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  cursor: pointer;
  margin-top: 0.25rem;
}

.shop-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(130, 56, 179, 0.5),
              0 0 24px rgba(215, 172, 40, 0.25);
}

.shop-card-btn:active {
  transform: translateY(0);
}

/* Navegação — setas com glass, aparecem ao hover (desktop) */
.shop-carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
  pointer-events: none;
  z-index: 3;
}

.shop-nav-btn {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--accent-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.85;
}

.shop-carousel:hover .shop-nav-btn {
  opacity: 1;
}

.shop-nav-btn:hover {
  background: rgba(130, 56, 179, 0.5);
  border-color: var(--accent-primary);
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(130, 56, 179, 0.35);
}

.shop-nav-btn:active {
  transform: scale(0.96);
}

@media (max-width: 768px) {
  .shop-nav-btn {
    opacity: 1;
  }
}

/* Barra de progresso tipo stories — tempo até próximo slide */
.shop-progress-strip {
  display: flex;
  gap: 6px;
  margin-top: 1rem;
  padding: 0 4px;
  z-index: 2;
  position: relative;
}

.shop-progress-segment {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.shop-progress-segment .fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 0 10px rgba(130, 56, 179, 0.5);
}

.shop-progress-segment.active .fill {
  animation: shop-progress-fill 5s linear forwards;
}

.shop-carousel.paused .shop-progress-segment.active .fill {
  animation-play-state: paused;
}

@keyframes shop-progress-fill {
  from { width: 0%; }
  to { width: 100%; }
}

/* Indicadores em pill — ativo alongado */
.shop-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 0.75rem;
  padding-bottom: 0.25rem;
  z-index: 2;
  position: relative;
}

.shop-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.shop-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.shop-dot.active {
  width: 24px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 0 12px rgba(130, 56, 179, 0.4);
}

@media (max-width: 520px) {
  .shop-shell {
    padding-inline: 1rem;
  }

  .shop-carousel-nav {
    padding: 0 2px;
  }

  .shop-nav-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .shop-slide {
    padding: 0 2px;
  }

  .shop-card-body {
    padding: 1rem 0.75rem 1.25rem;
  }
}

/* Seção de Últimos Conteúdos */
.latest-section {
  width: min(520px, 92vw);
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.content.ready .latest-section {
  opacity: 1;
  transform: translateY(0);
}

.latest-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-purple-light);
  margin: 0 0 1rem;
  text-align: center;
  padding: 12px 20px;
  letter-spacing: 0.02em;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.latest-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: partners-glass-pulse 5s ease-in-out infinite;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Brilho em animação constante nos cards de últimas notícias — transform para GPU no celular */
.latest-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent);
  animation: partners-card-shine 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.latest-card:hover {
  transform: translateY(-6px) translateZ(0);
  border-color: rgba(239, 217, 247, 0.4);
  box-shadow: 0 12px 40px rgba(130, 56, 179, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.latest-card-image,
.latest-card-content {
  position: relative;
  z-index: 1;
}

/* Área da foto em retrato: proporção 4:5, imagem inteira sem cortar */
.latest-card-image {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  vertical-align: middle;
  background: rgba(0, 0, 0, 0.25);
}

.latest-card-content {
  padding: 16px;
}

.latest-card-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-primary);
  color: #ffffff;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-secondary);
  margin-bottom: 8px;
}

.latest-card-title {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--txt);
}

.latest-card-meta {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: var(--accent-secondary);
  font-weight: 300;
}

/* Modal de Contato */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  backdrop-filter: blur(var(--blur)) saturate(120%);
  padding: 2rem;
  padding-left: calc(2rem + var(--safe-left));
  padding-right: calc(2rem + var(--safe-right));
  padding-bottom: calc(2rem + var(--safe-bottom));
  width: min(500px, calc(100vw - var(--safe-left) - var(--safe-right) - 24px));
  max-width: 90vw;
  max-height: 90dvh;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal[aria-hidden="false"] .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: max(16px, var(--safe-top));
  right: max(16px, var(--safe-right));
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.3);
  color: var(--txt);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.2s ease;
  font-family: var(--font-secondary);
}

.modal-close:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: #ff4444;
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0 0 1.5rem;
  color: var(--txt);
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-secondary);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--txt);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(130, 56, 179, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #0b0d13;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(130, 56, 179, 0.4);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.form-status.success {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.5);
  color: #4caf50;
}

.form-status.error {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.5);
  color: #f44336;
}

/* Acessibilidade: reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  .flash {
    display: none;
  }
}

/* Responsividade */
@media (max-width: 480px) {
  .avatar {
    width: 100px;
    height: 100px;
  }
  
  .links {
    padding: 16px;
  }
  
  .link-item {
    padding: 14px 16px;
    font-size: 0.9375rem;
  }
  
  .modal-content {
    padding: 1.5rem;
    border-radius: 20px;
  }
}

/* Telas muito pequenas (320px) — evita quebra e overflow */
@media (max-width: 360px) {
  .content {
    --content-pad: 12px;
    padding: 12px;
    padding-left: calc(12px + var(--safe-left));
    padding-right: calc(12px + var(--safe-right));
    padding-bottom: calc(12px + var(--safe-bottom));
    gap: 1.25rem;
  }
  
  .links {
    width: min(520px, 100%);
    padding: 12px;
  }
  
  .partners-section,
  .shop-section,
  .latest-section {
    width: min(520px, 100%);
  }
  
  .partners-shell {
    padding: 1.25rem 0.75rem 1.25rem;
  }
  
  .link-item {
    padding: 12px 14px;
    font-size: 0.875rem;
  }
  
  .skip {
    padding: 0.4rem 0.6rem;
    font-size: 0.8125rem;
  }
}

/* Ultra-moderno: scroll suave no modal em iOS */
@supports (overflow: overlay) {
  .modal-content {
    overflow-y: overlay;
  }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* Footer */
.footer {
  position: relative;
  width: 100%;
  padding: 2rem clamp(16px, 3vw, 40px);
  padding-left: calc(clamp(16px, 3vw, 40px) + var(--safe-left));
  padding-right: calc(clamp(16px, 3vw, 40px) + var(--safe-right));
  padding-bottom: calc(2rem + var(--safe-bottom));
  text-align: center;
  z-index: 1;
  margin-top: 2rem;
}

.footer-text {
  font-family: var(--font-primary);
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 700;
  color: var(--accent-purple-light);
  text-shadow: 
    0 0 5px rgba(130, 56, 179, 1),
    0 0 10px rgba(130, 56, 179, 0.9),
    0 0 15px rgba(130, 56, 179, 0.8),
    0 0 20px rgba(130, 56, 179, 0.7),
    0 0 25px rgba(130, 56, 179, 0.6),
    0 0 30px rgba(130, 56, 179, 0.5);
  letter-spacing: 2px;
  margin: 0;
  animation: neon-glow 2s ease-in-out infinite alternate;
}

@keyframes neon-glow {
  from {
    text-shadow: 
      0 0 5px rgba(130, 56, 179, 1),
      0 0 10px rgba(130, 56, 179, 0.9),
      0 0 15px rgba(130, 56, 179, 0.8),
      0 0 20px rgba(130, 56, 179, 0.7),
      0 0 25px rgba(130, 56, 179, 0.6),
      0 0 30px rgba(130, 56, 179, 0.5);
  }
  to {
    text-shadow: 
      0 0 8px rgba(130, 56, 179, 1),
      0 0 15px rgba(130, 56, 179, 1),
      0 0 20px rgba(130, 56, 179, 0.9),
      0 0 25px rgba(130, 56, 179, 0.8),
      0 0 30px rgba(130, 56, 179, 0.7),
      0 0 35px rgba(130, 56, 179, 0.6);
  }
}

/* Ajuste para reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  .footer-text {
    animation: none;
    text-shadow: 
      0 0 5px rgba(130, 56, 179, 1),
      0 0 10px rgba(130, 56, 179, 0.9),
      0 0 15px rgba(130, 56, 179, 0.8);
  }
}
