/* ==========================================================================
   ULTRA PROMPTERS — Design System, Responsividade & Efeitos de Rolagem
   ========================================================================== */

:root {
  --bg-primary: #000000;
  --bg-surface: #08090C;
  --bg-card-top: #0D1118;
  --bg-card-bottom: #07080B;
  --border-subtle: #1F2229;
  --border-card: #262A33;
  --border-highlight: #3A4660;
  --text-primary: #FAFAFA;
  --text-secondary: #D4D4D8;
  --text-muted: #A1A1AA;
  --text-dim: #71717A;
  --accent-blue: #3B82F6;
  --accent-blue-glow: rgba(59, 130, 246, 0.35);
  --accent-ice: #9DBFF2;
  --accent-ice-light: #E6F0FF;
  --font-display: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --container-max: 1120px;
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, iframe, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--text-primary);
  transition: color 0.25s ease, transform 0.25s var(--transition-smooth), box-shadow 0.25s ease, background-color 0.25s ease;
}

a:hover {
  color: var(--text-secondary);
}

/* Barra de progresso de rolagem no topo */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, #9DBFF2, #FFFFFF);
  z-index: 9999;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.7);
  transition: width 0.08s linear;
}

/* Navegação superior minimalista */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 24px;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(5, 7, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  padding: 12px 24px;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-logo span {
  background: linear-gradient(180deg, var(--accent-ice-light) 0%, var(--accent-ice) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.header-nav a:hover {
  color: var(--text-primary);
}

.header-cta {
  text-decoration: none;
  background: var(--text-primary);
  color: #000000 !important;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.18);
}

/* Tipografia & Gradientes */
.gt {
  background: linear-gradient(180deg, var(--accent-ice-light) 0%, var(--accent-ice) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lb {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.sh {
  background: linear-gradient(100deg, #9DBFF2 20%, #FFFFFF 40%, #9DBFF2 60%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sh 5s linear infinite;
}

@keyframes sh {
  to { background-position: -250% 0; }
}

.gh {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  color: transparent;
  user-select: none;
  pointer-events: none;
}

.bob {
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  50% { transform: translateY(5px); }
}

/* Botões CTA Principais */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  background: var(--text-primary);
  color: #000000;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.btn-primary:hover {
  color: #000000;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 14px 36px rgba(157, 191, 242, 0.28);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

/* Cards & Hover Effects */
.cd {
  transition: transform 0.45s var(--transition-smooth), border-color 0.4s ease, box-shadow 0.45s var(--transition-smooth);
}

.cd:hover {
  transform: translateY(-6px);
  border-color: #3B82F680;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 24px rgba(59, 130, 246, 0.14);
}

/* Banner Comunidade no Topo (Substituição da placeholder pela imagem anexada) */
.community-banner-card {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  background: linear-gradient(180deg, var(--bg-card-top), #080A0E);
  border: 1px solid var(--border-card);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.02), 0 24px 60px rgba(0, 0, 0, 0.75);
}

.community-media-wrap {
  flex: 1 1 520px;
  min-width: 0;
  aspect-ratio: 1672 / 941;
  border-radius: 14px;
  background: #070A12;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(157, 191, 242, 0.16);
}

.community-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
}

.community-banner-card:hover .community-media-wrap img {
  transform: scale(1.03);
}

.community-copy-wrap {
  flex: 1 1 360px;
  min-width: 0;
  padding: 14px 18px 14px 6px;
}

/* Seção Hero */
.hero-section {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: 175px 24px 64px;
}

.hero-glow {
  position: absolute;
  top: 40px;
  left: 50%;
  width: min(900px, 100vw);
  height: 520px;
  transform: translateX(-50%);
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(90, 130, 200, 0.18), transparent 65%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 155px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--accent-ice));
}

.hero-watermark {
  position: absolute;
  top: 85px;
  left: 0;
  right: 0;
  z-index: -1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(96px, 20vw, 300px);
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
  text-align: center;
  will-change: transform;
}

/* Contêineres de Seção */
.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   EFEITOS DE ROLAGEM (Scroll Reveal Animations)
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 0.85s var(--transition-smooth),
    transform 0.85s var(--transition-smooth),
    filter 0.85s var(--transition-smooth);
}

[data-reveal="fade-up"] {
  transform: translateY(36px);
}

[data-reveal="fade-down"] {
  transform: translateY(-28px);
}

[data-reveal="fade-left"] {
  transform: translateX(-40px);
}

[data-reveal="fade-right"] {
  transform: translateX(40px);
}

[data-reveal="zoom-in"] {
  transform: scale(0.93) translateY(24px);
}

[data-reveal="blur-in"] {
  filter: blur(8px);
  transform: translateY(22px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

/* FAQ Accordion */
details summary {
  cursor: pointer;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details .pl {
  transition: transform 0.3s var(--transition-smooth);
}

details[open] .pl {
  transform: rotate(45deg);
}

details p {
  animation: faqFade 0.35s ease;
}

@keyframes faqFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVIDADE PROFISSIONAL (Desktop, Tablet & Mobile)
   ========================================================================== */
@media (max-width: 960px) {
  .hero-section {
    padding: 145px 20px 52px;
  }

  .community-media-wrap {
    flex: 1 1 100%;
  }

  .community-copy-wrap {
    flex: 1 1 100%;
    padding: 8px 12px 16px;
  }

  .james-photo-wrap {
    height: 480px !important;
  }
}

@media (max-width: 768px) {
  .header-nav a:not(.header-cta) {
    display: none;
  }

  .lb {
    letter-spacing: 0.28em;
    font-size: 12px;
  }

  .hero-section {
    padding: 128px 18px 44px;
  }

  .hero-line {
    height: 110px;
  }

  .section-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .btn-primary {
    width: 100%;
    max-width: 340px;
    padding: 15px 24px;
    font-size: 15px;
  }

  .james-photo-wrap {
    height: 400px !important;
  }

  .benefit-row {
    gap: 24px !important;
  }

  .benefit-img-col {
    flex: 1 1 100% !important;
    max-width: 340px;
    margin: 0 auto;
  }

  .offer-card {
    padding: 36px 22px !important;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 12px !important;
    padding: 6px 12px 6px 7px !important;
  }

  .james-photo-wrap {
    height: 340px !important;
  }
}

/* Acessibilidade: respeita preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .sh, .bob {
    animation: none !important;
  }
}
