/* ==========================================================================
   Aethera Tibia Tools - Website Oficial de Distribuição
   Estilos Principais (Dark Fantasy RPG Theme)
   ========================================================================== */

:root {
  --bg-dark: #070a0f;
  --bg-card: #0d121c;
  --bg-card-alt: #131b28;
  --bg-card-hover: #192333;
  --border-gold: rgba(240, 199, 94, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --gold-primary: #f0c75e;
  --gold-light: #fef08a;
  --gold-dark: #b48520;
  --gold-gradient: linear-gradient(135deg, #f5d061 0%, #d49a24 100%);
  --cyan-accent: #38bdf8;
  --green-accent: #22c55e;
  --red-accent: #ef4444;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --shadow-gold: 0 10px 30px -10px rgba(240, 199, 94, 0.35);
  --shadow-card: 0 15px 35px -5px rgba(0, 0, 0, 0.5);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cinzel', 'Georgia', serif;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(240, 199, 94, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(56, 189, 248, 0.05) 0%, transparent 45%),
    linear-gradient(180deg, rgba(7, 10, 15, 0.8) 0%, #070a0f 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Navegação (Header & Navbar)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 10, 15, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(7, 10, 15, 0.94);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 0 10px rgba(240, 199, 94, 0.4));
}

.nav-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}

.nav-title span {
  color: var(--gold-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--gold-primary);
}

.nav-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gold-gradient);
  color: #111;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(240, 199, 94, 0.25);
  transition: var(--transition);
}

.nav-btn-download:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  filter: brightness(1.08);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--gold-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(240, 199, 94, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #fff;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #fff 0%, #f4e6bd 40%, #f0c75e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 32px;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--gold-gradient);
  color: #0d121c;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(240, 199, 94, 0.35);
  transition: var(--transition);
}

.btn-primary-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(240, 199, 94, 0.5);
  filter: brightness(1.1);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.hero-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.hero-specs span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mockup da Interface na Hero */
.hero-mockup-wrapper {
  margin-top: 60px;
  position: relative;
}

.hero-mockup-frame {
  background: linear-gradient(180deg, #182232 0%, #0d121c 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(240, 199, 94, 0.12);
  overflow: hidden;
  text-align: left;
}

.mockup-header {
  height: 38px;
  background: #111724;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 8px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }

.mockup-title {
  margin-left: 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
}

.mockup-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 480px;
  background: #090d14;
}

.mockup-sidebar {
  background: #0d121c;
  border-right: 1px solid var(--border-subtle);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-menu-item {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-menu-item.active {
  background: rgba(240, 199, 94, 0.14);
  color: var(--gold-primary);
  border-left: 3px solid var(--gold-primary);
}

.mockup-body {
  padding: 24px;
  background: #090d14;
  position: relative;
}

/* ==========================================================================
   Seção de Destaques Rápidos (Pills / Trust)
   ========================================================================== */
.trust-bar {
  padding: 30px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(13, 18, 28, 0.4);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: center;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-icon {
  font-size: 1.5rem;
}

/* ==========================================================================
   Seções Principais (Módulos do App)
   ========================================================================== */
.section {
  padding: 110px 0;
  position: relative;
}

.section-alt {
  background: rgba(13, 18, 28, 0.4);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  color: var(--gold-primary);
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Grid de Cards de Recursos */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card), 0 0 25px rgba(240, 199, 94, 0.08);
  background: var(--bg-card-hover);
}

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

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(240, 199, 94, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.feature-text {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.feature-highlights li {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-highlights li span {
  color: var(--green-accent);
}

/* ==========================================================================
   Simulador Interativo do Boss Tracker no Site
   ========================================================================== */
.demo-box {
  background: #0e141f;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  margin-top: 40px;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.demo-title-group h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-primary);
}

.demo-title-group p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.demo-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-demo-action {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-demo-action:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.demo-boss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.demo-card {
  background: linear-gradient(135deg, #141b27 0%, #0d121c 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: var(--transition);
}

.demo-card.active-timer {
  border-color: rgba(240, 199, 94, 0.4);
}

.demo-card.done-timer {
  border-color: var(--red-accent);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.demo-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-boss-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #090d14;
  border: 1px solid var(--border-subtle);
  object-fit: contain;
}

.demo-boss-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.demo-boss-info p {
  font-size: 0.78rem;
  color: var(--gold-primary);
}

.demo-card-timer {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--gold-primary);
  letter-spacing: 1px;
}

.demo-card.done-timer .demo-card-timer {
  color: var(--red-accent);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.demo-progress-bar {
  height: 6px;
  background: #111724;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.demo-progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.demo-card-buttons {
  display: flex;
  gap: 8px;
}

.btn-demo-card {
  flex: 1;
  padding: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: #fff;
  transition: var(--transition);
}

.btn-demo-card:hover {
  background: var(--gold-primary);
  color: #111;
}

/* ==========================================================================
   Seção de Download (Onde o usuário baixa o app)
   ========================================================================== */
.download-section {
  padding: 120px 0;
  background: radial-gradient(circle at 50% 50%, rgba(240, 199, 94, 0.08) 0%, transparent 60%), #070a0f;
  text-align: center;
}

.download-card-main {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(180deg, #131c2a 0%, #0d121c 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(240, 199, 94, 0.15);
  position: relative;
}

.download-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green-accent);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.download-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.download-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 36px;
}

.download-actions-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-download-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 440px;
  padding: 20px 32px;
  background: var(--gold-gradient);
  color: #0b0f17;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 35px rgba(240, 199, 94, 0.4);
  transition: var(--transition);
}

.btn-download-big:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 45px rgba(240, 199, 94, 0.55);
  filter: brightness(1.1);
}

.btn-download-big svg {
  width: 28px;
  height: 28px;
}

.download-meta {
  font-size: 0.88rem;
  color: var(--text-dim);
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.download-options-alt {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-alt-opt {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-alt-opt:hover {
  color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.faq-question:hover {
  color: var(--gold-primary);
}

.faq-chevron {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  color: var(--gold-primary);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  padding-bottom: 22px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #05070a;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.6;
}

.footer-links-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

.footer-disclaimer {
  max-width: 600px;
  line-height: 1.5;
}

/* ==========================================================================
   Responsividade (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .mockup-content {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero {
    padding: 130px 0 60px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn-primary-hero, .btn-secondary-hero {
    width: 100%;
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .download-card-main {
    padding: 36px 20px;
  }
  .download-title {
    font-size: 1.9rem;
  }
}


/* ==========================================================================
   Polimento visual v1.1 (sobrescreve apenas o necessário)
   ========================================================================== */
:root { --text-dim: #8190a6; }

::selection { background: rgba(240, 199, 94, 0.3); color: #fff; }

/* Âncoras não ficam escondidas atrás do header fixo */
section[id], article[id] { scroll-margin-top: 92px; }

/* Tipografia fluida */
.hero-title { font-size: clamp(2.1rem, 5.2vw, 3.7rem); letter-spacing: 0.01em; text-wrap: balance; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-wrap: balance; }
.download-title { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.hero-subtitle, .section-desc { text-wrap: pretty; }

/* Título da seção com filete dourado */
.section-tag { display: inline-flex; align-items: center; gap: 14px; }
.section-tag::before, .section-tag::after {
  content: ''; width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary));
}
.section-tag::after { transform: scaleX(-1); }

/* Hero: brilho dourado atrás do título */
.hero::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 520px; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(240, 199, 94, 0.14), transparent 70%);
}
.hero > .container { position: relative; }

/* Chips de especificações e metadados quebram linha em telas pequenas */
.hero-specs, .download-meta { flex-wrap: wrap; justify-content: center; row-gap: 8px; }

/* Cards: borda de ouro sutil sempre visível no topo */
.feature-card::before { opacity: 0.35; }
.feature-card:hover::before { opacity: 1; }
.feature-icon-box { box-shadow: inset 0 0 18px rgba(240, 199, 94, 0.08); }

/* Evita estouro horizontal em celulares estreitos */
.features-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* Botão de download: seta de foco e estado ativo */
.btn-download-big:active, .btn-primary-hero:active { transform: translateY(0) scale(0.99); }

/* Acessibilidade: foco visível */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-primary); outline-offset: 3px; border-radius: 6px;
}

/* Barra de rolagem combinando com o tema */
html { scrollbar-color: #2a3447 #070a0f; scrollbar-width: thin; }

/* Menu mobile (controlado por classe .open via script.js) */
@media (max-width: 768px) {
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 18px;
    position: absolute; top: 76px; left: 0; right: 0; padding: 24px;
    background: #070a0f; border-bottom: 1px solid var(--border-gold);
  }
  .nav-links.open .nav-btn-download { justify-content: center; }
  .hero-mockup-wrapper { margin-top: 40px; }
  .mockup-content { min-height: 0; }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Botões de download: mesmo visual nos três lugares (barra, hero, seção)
   ========================================================================== */
/* Corrige o conflito com ".nav-links a" (que pintava o texto de cinza) */
.nav-links a.nav-btn-download,
.nav-links a.nav-btn-download:hover {
  color: #0d121c;
}
.nav-btn-download {
  padding: 11px 24px;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(240, 199, 94, 0.35);
}
.nav-btn-download:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 40px rgba(240, 199, 94, 0.5);
}
.nav-btn-download svg,
.btn-primary-hero svg,
.btn-download-big svg {
  flex-shrink: 0;
  stroke-width: 2.5;
}

/* Botão grande da seção de download: texto em uma linha só */
.btn-download-big {
  max-width: 520px;
  font-size: 1.15rem;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .btn-download-big {
    white-space: normal;
    font-size: 1.05rem;
    padding: 18px 22px;
    text-align: left;
  }
}
