/* ============================================================
   FRATERNIDADE VÊNUS — CSS PRINCIPAL
   Site estático institucional
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ---------- CORES E VARIÁVEIS ---------- */
:root {
  --bg-deep:    #120822;
  --bg-mid:     #1b0b3a;
  --bg-top:     #2a0f4a;
  --purple:     #8B5CF6;
  --indigo:     #4F46E5;
  --muted:      #c7c3e6;
  --panel:      rgba(255,255,255,0.06);
  --border:     rgba(255,255,255,0.12);
  --glass:      rgba(255,255,255,0.04);
}

/* ---------- FUNDO CÓSMICO ---------- */
.cosmic-bg {
  position: fixed; inset: 0; z-index: -20;
  background: linear-gradient(to bottom, var(--bg-top), var(--bg-mid) 50%, var(--bg-deep));
}

.cosmic-glow {
  position: fixed; z-index: -10; pointer-events: none;
}
.cosmic-glow--hero {
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(139,92,246,0.25) 0%, transparent 65%);
  filter: blur(80px);
  animation: glowPulse 8s ease-in-out infinite;
}
.cosmic-glow--left {
  top: 0; left: 0; width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.18) 0%, transparent 60%);
  filter: blur(60px);
}
.cosmic-glow--right {
  top: 40%; right: 0; width: 500px; height: 600px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 60%);
  filter: blur(60px);
}

@keyframes glowPulse {
  0%, 100% { opacity: .6; }
  50%      { opacity: .85; }
}

/* ---------- PARTÍCULAS ---------- */
.particles { position: fixed; inset: 0; z-index: -5; pointer-events: none; overflow: hidden; }

.particle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(100vh); opacity: 0; }
  10%  { opacity: .5; }
  90%  { opacity: .5; }
  100% { transform: translateY(-10vh); opacity: 0; }
}

.star {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: twinkle ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: .2; }
  50%      { opacity: .7; }
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(15,11,42,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.header-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-brand img:first-child { width: 48px; height: 48px; }
.header-brand img:last-child  { height: 36px; width: auto; }

.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a {
  font-size: 14px; font-weight: 500; opacity: .8;
  transition: opacity .2s;
}
.header-nav a:hover { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.header-socials { display: flex; align-items: center; gap: 8px; }
.header-socials a {
  padding: 6px; transition: transform .2s;
}
.header-socials a:hover { transform: scale(1.3); }
.header-socials img { width: 18px; height: 18px; filter: invert(1); }

.btn-discord {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  font-size: 14px; font-weight: 600;
  transition: transform .2s;
  white-space: nowrap;
}
.btn-discord:hover { transform: scale(1.05); }
.btn-discord img { width: 18px; height: 18px; filter: invert(1); }

/* Hamburger */
.hamburger {
  display: none; background: none; border: none;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 80px; left: 0; right: 0;
  background: rgba(15,11,42,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
  flex-direction: column; gap: 16px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px; padding: 8px 0; font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 900px) {
  .header-nav, .header-socials { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 14px 20px; }
}
@media (max-width: 600px) {
  .btn-discord span { display: none; }
  .btn-discord { padding: 10px 14px; }
}

/* ---------- HERO ---------- */
.hero {
  min-height: 90vh; display: flex; align-items: center;
  padding: 120px 40px 80px;
  position: relative;
}
.hero-content {
  max-width: 1200px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: flex-start;
  position: relative;
}
.hero-text { max-width: 640px; position: relative; z-index: 2; }
.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 32px;
}
.hero-text p {
  color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8; margin-bottom: 36px;
}
.hero-image {
  position: absolute; right: -100px; top: 50%; transform: translateY(-50%);
  max-width: 700px; opacity: .9; z-index: 0; pointer-events: none;
}

@media (max-width: 1024px) {
  .hero-image { display: none; }
  .hero-text { max-width: 100%; text-align: center; }
  .hero { padding: 120px 24px 60px; }
}

/* ---------- SECTION HELPERS ---------- */
.section { padding: 100px 40px; position: relative; }
.section-narrow { max-width: 900px; margin: 0 auto; }
.section-wide   { max-width: 1200px; margin: 0 auto; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; text-align: center; margin-bottom: 20px;
}
.section-subtitle {
  color: var(--muted); text-align: center; max-width: 700px; margin: 0 auto 48px;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem); line-height: 1.7;
}

@media (max-width: 768px) {
  .section { padding: 64px 20px; }
}

/* ---------- FEEDBACK CAROUSEL ---------- */
.feedback-marquee { width: 100%; overflow: hidden; padding: 40px 0; }
.feedback-track {
  display: flex; gap: 40px; width: max-content;
  animation: scrollFeedback 80s linear infinite;
  will-change: transform;
}
.feedback-card {
  width: 500px; height: 300px; flex-shrink: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 14px;
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-in;
  transition: transform .3s, box-shadow .3s;
}
.feedback-card:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(139,92,246,0.3);
}
.feedback-card img {
  max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px;
}

@keyframes scrollFeedback {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .feedback-card { width: 280px; height: 180px; }
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  padding: 120px 40px; position: relative;
}
.cta-content {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 2;
}
.cta-image {
  position: absolute; right: -100px; bottom: -120px;
  max-width: 750px; opacity: .85; z-index: 0; pointer-events: none;
}

@media (max-width: 1024px) {
  .cta-image { display: none; }
  .cta-content { text-align: center; }
  .cta-section { padding: 80px 24px; }
}

/* ---------- PLAN CARDS ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}
.plan-card {
  background: var(--panel);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(139,92,246,0.25);
  border-color: rgba(139,92,246,0.4);
}
.plan-card.featured {
  border-color: rgba(139,92,246,0.5);
  transform: scale(1.03);
}
.plan-card.featured:hover { transform: scale(1.03) translateY(-6px); }

.plan-badge {
  align-self: center; margin-top: -52px; margin-bottom: 12px;
  padding: 4px 16px; border-radius: 999px;
  background: var(--purple);
  font-size: 12px; font-weight: 600;
}
.plan-name  { font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.plan-price { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.plan-desc  { color: var(--muted); font-size: .95rem; margin-bottom: 16px; line-height: 1.6; }

.plan-details {
  overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height .4s ease, opacity .4s ease, padding .3s ease;
  padding: 0;
}
.plan-details.open {
  max-height: 600px; opacity: 1; padding-top: 16px;
}
.plan-details ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.plan-details li { font-size: .88rem; padding-left: 16px; position: relative; line-height: 1.5; }
.plan-details li::before { content: '•'; position: absolute; left: 0; color: var(--purple); }
.plan-details .plan-note { font-size: .78rem; color: var(--muted); text-align: center; }

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
  border: none; color: #fff;
}
.btn:hover { transform: scale(1.05); }

.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--purple));
}
.btn-primary:hover { box-shadow: 0 8px 24px rgba(139,92,246,0.4); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

.btn-expand {
  width: 100%; padding: 10px 20px; margin-bottom: 12px;
  border-radius: 999px; background: transparent;
  border: 1px solid var(--border);
  color: #fff; font-weight: 600; font-size: .9rem;
  transition: background .2s;
}
.btn-expand:hover { background: rgba(255,255,255,0.05); }

.btn-plan {
  width: 100%; padding: 14px 20px;
  border-radius: 999px; border: none; color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  font-weight: 600; font-size: .95rem;
  transition: transform .2s, box-shadow .2s;
}
.btn-plan:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(139,92,246,0.35);
}

/* ---------- AVULSAS GRID ---------- */
.avulsas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.avulsa-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 24px; padding: 32px 24px; text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.avulsa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139,92,246,0.2);
}
.avulsa-card.featured { border-color: rgba(139,92,246,0.4); }
.avulsa-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.avulsa-card .price { color: var(--muted); margin-bottom: 20px; }

/* ---------- SOBRE / FEATURES ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.feature-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 28px;
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139,92,246,0.2);
}
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p  { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* ---------- CONTATO ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.contact-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 28px; text-align: center;
  transition: transform .3s;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-icon { font-size: 2.2rem; margin-bottom: 16px; }
.contact-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.contact-card p  { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-bottom: 16px; }

/* ---------- DISCORD MODAL ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12,6,30,0.92);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: linear-gradient(160deg, #1e1245, #150d30);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 24px; padding: 48px 40px;
  max-width: 520px; width: 100%; text-align: center;
  position: relative;
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { transform: scale(.9) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; color: #fff;
  font-size: 28px; opacity: .6; transition: opacity .2s;
}
.modal-close:hover { opacity: 1; }
.modal-box h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.modal-box p  { color: var(--muted); font-size: .95rem; line-height: 1.6; margin-bottom: 24px; }
.modal-buttons { display: flex; flex-direction: column; gap: 12px; }
.modal-buttons .btn { width: 100%; justify-content: center; }

/* ---------- IMAGE ZOOM MODAL ---------- */
.image-modal {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(12,6,30,0.94);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 24px; cursor: pointer;
}
.image-modal.open { display: flex; }
.image-modal img {
  max-width: 95%; max-height: 95%;
  border-radius: 16px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7);
}

/* ---------- FOOTER ---------- */
.site-footer {
  margin-top: 80px; padding: 60px 40px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 32px;
}
.footer-info h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.footer-info p  { color: var(--muted); font-size: .9rem; max-width: 400px; line-height: 1.6; }

.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  padding: 8px; border-radius: 50%;
  transition: background .2s, transform .2s;
}
.footer-socials a:hover { background: rgba(255,255,255,0.08); transform: scale(1.15); }
.footer-socials img { width: 20px; height: 20px; filter: invert(1); }

.footer-bottom {
  max-width: 1200px; margin: 32px auto 0;
  padding-top: 24px; border-top: 1px solid var(--border);
  text-align: center; font-size: .75rem; color: #666;
}
.footer-bottom p { margin-bottom: 8px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 8px; }
.footer-links a { color: var(--muted); font-size: .8rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-info p { margin: 0 auto; }
  .site-footer { padding: 40px 20px 24px; }
}

/* ---------- LEGAL PAGES (termos, privacidade) ---------- */
.legal-page {
  max-width: 860px; margin: 0 auto;
  padding: 120px 24px 80px;
  position: relative; z-index: 10;
}
.legal-page h1 { text-align: center; margin-bottom: 8px; font-size: 1.8rem; }
.legal-page .updated {
  text-align: center; opacity: .7; margin-bottom: 48px; font-size: 14px;
}
.legal-page h2 { margin-top: 48px; margin-bottom: 12px; font-size: 1.2rem; }
.legal-page p  { margin-bottom: 16px; opacity: .9; line-height: 1.7; }
.legal-page ul { margin-left: 20px; margin-bottom: 16px; }
.legal-page li { opacity: .9; margin-bottom: 6px; list-style: disc; }
.legal-page footer {
  margin-top: 80px; text-align: center; opacity: .5; font-size: 14px;
}
