/* Windex Trade System - Estilos Principais */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700&display=swap");

/* CSS Variables */
:root {
  --bg-primary: #050608;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: #0d0d0d;
  --text-primary: #f5f5f5;
  --text-secondary: #b0b0b0;
  --text-muted: #6a6a6a;
  --gold-primary: #d4af37;
  --gold-light: #f0d77a;
  --gold-dark: #b8960a;
  --border-color: #222222;
  --success: #22c55e;
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --nav-height: 70px;
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--nav-height);
}

/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(5, 6, 8, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(5, 6, 8, 0.98);
  border-bottom-color: var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 45px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--gold-primary);
}

.nav-cta {
  background: linear-gradient(
    135deg,
    var(--gold-primary) 0%,
    var(--gold-dark) 100%
  );
  color: #000;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: background 0.2s;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s;
}

.hamburger::before {
  top: -7px;
}
.hamburger::after {
  top: 7px;
}

.nav-toggle.is-active .hamburger {
  background: transparent;
}

.nav-toggle.is-active .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.is-active .hamburger::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
  min-height: calc(100vh - var(--nav-height));
  background: linear-gradient(180deg, #08080d 0%, var(--bg-primary) 100%);
  display: flex;
  align-items: center;
  padding: 80px 0;
  text-align: center;
}

.hero-logo {
  max-width: 180px;
  margin: 0 auto 32px;
  display: block;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.gold-text {
  color: var(--gold-primary);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 16px;
}

.hero-powered {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.hero-powered a {
  color: var(--gold-primary);
  text-decoration: none;
}

.hero-powered a:hover {
  text-decoration: underline;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-note {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--gold-primary) 0%,
    var(--gold-dark) 100%
  );
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Credentials Bar */
.credentials {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.credentials-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.credential-item svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* Sections */
section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

section:last-of-type {
  border-bottom: none;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
}

/* Paragraphs */
p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Lists */
ul,
ol {
  margin: 16px 0;
  padding-left: 24px;
}

li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

.problem-list {
  list-style: none;
  padding: 0;
}

.problem-list li {
  padding-left: 28px;
  position: relative;
}

.problem-list li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #ef4444;
}

/* Quote Box */
.quote-box {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.1) 0%,
    rgba(212, 175, 55, 0.02) 100%
  );
  border-left: 4px solid var(--gold-primary);
  padding: 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}

.quote-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  margin: 0;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.08) 0%,
    rgba(212, 175, 55, 0.02) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
}

.highlight-box p {
  margin: 0;
  color: var(--text-primary);
}

/* Disclaimer Box */
.disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-top: 32px;
}

.disclaimer-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pillar-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}

.pillar-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

.pillar-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--gold-primary) 0%,
    var(--gold-dark) 100%
  );
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 20px;
}

.pillar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.pillar-card h4 {
  font-size: 0.9rem;
  color: var(--gold-primary);
  font-weight: 500;
  margin-bottom: 16px;
}

.pillar-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* Assets Grid */
.assets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.asset-tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.assets-link {
  margin-top: 24px;
}

.assets-link a {
  color: var(--gold-primary);
  text-decoration: none;
}

.assets-link a:hover {
  text-decoration: underline;
}

/* Results Accordion */
.results-accordion {
  margin-top: 40px;
}

.results-subheadline {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.result-category {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.result-category-header {
  width: 100%;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s;
}

.result-category-header:hover {
  background: var(--bg-tertiary);
}

.category-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.category-count {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: auto;
  margin-right: 16px;
}

.accordion-icon {
  color: var(--gold-primary);
  transition: transform 0.3s;
}

.result-category.is-open .accordion-icon {
  transform: rotate(180deg);
}

.result-category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.result-category.is-open .result-category-content {
  max-height: 10000px;
}

.results-gallery {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.result-thumb-link {
  display: block;
}

.result-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  transition:
    border-color 0.2s,
    transform 0.2s;
  cursor: pointer;
}

.result-thumb:hover {
  border-color: var(--gold-primary);
  transform: scale(1.02);
}

/* Deliverables Grid */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.deliverable-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.deliverable-item:hover {
  border-color: rgba(212, 175, 55, 0.3);
}

.deliverable-item svg {
  color: var(--gold-primary);
  margin-bottom: 16px;
}

.deliverable-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.deliverable-item p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-muted);
}

/* Investment Box */
.investment-box {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.15) 0%,
    rgba(212, 175, 55, 0.05) 100%
  );
  border: 2px solid var(--gold-primary);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  margin: 40px auto 0;
}

.investment-box h3 {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.price-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Application Section */
.application-subheadline {
  max-width: 600px;
  text-align: center;
  margin: 0 auto 40px;
}

.application-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.application-buttons .btn {
  min-width: 320px;
  justify-content: center;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 700px;
  margin: 40px auto 0;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
}

.faq-question:hover {
  background: var(--bg-tertiary);
}

.faq-question span {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 1rem;
  padding-right: 16px;
}

.faq-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  margin: 0;
}

/* Contact Section */
.contact-section {
  text-align: center;
  padding: 60px 0;
}

.contact-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
}

.contact-person {
  text-align: center;
}

.contact-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.contact-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}

.contact-phone:hover {
  color: var(--gold-light);
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-brand {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-powered {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.footer-powered a {
  color: var(--gold-primary);
  text-decoration: none;
}

.footer-powered a:hover {
  text-decoration: underline;
}

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

/* Lightbox */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-img {
  max-width: min(960px, 92vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
}

/* Responsive */
@media (max-width: 992px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  body {
    padding-top: 60px;
  }

  :root {
    --nav-height: 60px;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(5, 6, 8, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-menu.is-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 60px 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .credentials-grid {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .credential-item {
    justify-content: center;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillar-card {
    padding: 24px 20px;
  }

  .results-gallery {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .result-thumb {
    height: 100px;
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
  }

  .investment-box {
    padding: 30px 20px;
  }

  .price {
    font-size: 2.5rem;
  }

  .application-buttons .btn {
    min-width: 100%;
  }

  .contact-info {
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .lightbox {
    padding: 12px;
  }

  .results-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Selection */
::selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--text-primary);
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 32px auto;
  padding-bottom: 56.25%; /* Aspect ratio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .video-container {
    margin: 24px auto;
    border-radius: 8px;
  }

  .video-container iframe {
    border-radius: 8px;
  }
}

/* Results Highlight Section */
.results-highlight {
  margin-top: 40px;
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}

.highlight-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.highlight-info {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.highlight-metrics {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.highlight-image-container {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.highlight-img {
  width: 100%;
  height: auto;
  display: block;
}
