/* ============================================
   MAPA DO MARKETEIRO - DESIGN SYSTEM V2
   ============================================ */

/* CSS Variables - Design Tokens */
:root {
  /* Brand Colors */
  --color-black: #000000;
  --color-bg-dark: #151616;
  --color-red: #8f0000;
  --color-white: #ffffff;
  --color-beige: #d4b896;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #000000 0%, #8f0000 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);

  /* Grays for UI */
  --color-gray-900: #0a0a0a;
  --color-gray-800: #1a1a1a;
  --color-gray-700: #2a2a2a;
  --color-gray-600: #3a3a3a;
  --color-gray-500: #5a5a5a;
  --color-gray-400: #7a7a7a;
  --color-gray-300: #9a9a9a;
  --color-light: #f5f5f5;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3rem;
  --space-4xl: 4rem;

  /* Typography */
  --font-primary: 'Funnel Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3rem;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(143, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(143, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(143, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(143, 0, 0, 0.4);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--font-size-3xl);
  color: var(--color-white);
}

h2 {
  font-size: var(--font-size-2xl);
  color: var(--color-white);
}

h3 {
  font-size: var(--font-size-xl);
  color: var(--color-white);
}

p {
  font-size: var(--font-size-md);
  color: var(--color-gray-300);
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-red);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-white);
}

.highlight {
  color: var(--color-white);
  display: block;
  margin-top: 0;
  min-height: 1.2em;
  /* Prevent layout shift */
}

.typewriter-text {
  color: var(--color-red);
  font-weight: 900;
  background: rgba(143, 0, 0, 0.1);
  padding: 4px 15px;
  margin: 0 8px;
  border-left: 2px solid var(--color-red);
  border-right: 2px solid var(--color-red);
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  text-decoration: none;
}

.typewriter-text::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -5px;
  width: 8px;
  height: 8px;
  background: var(--color-red);
  border-radius: 50%;
}

.typewriter-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -5px;
  width: 8px;
  height: 8px;
  background: var(--color-red);
  border-radius: 50%;
}

.typewriter-word {
  text-decoration: none;
  background: linear-gradient(135deg, #ff4d4d 0%, #8f0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.cursor {
  font-weight: 300;
  color: var(--color-red);
  animation: blink 0.7s infinite;
  margin-left: 2px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.highlight-text {
  color: var(--color-red);
  font-weight: 800;
}

.brand-highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  min-height: auto;
  padding: var(--space-3xl) 0;
  position: relative;
  display: flex;
  align-items: center;
}

.section-dark {
  background-color: var(--color-bg-dark);
}

.section-light {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
}

.section-light h2,
.section-light h3,
.section-light p {
  color: var(--color-white);
}

.section-light .section-description {
  color: var(--color-gray-300);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: all var(--transition-normal);
}

.nav-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav-container {
  background: var(--color-white);
  border-radius: 50px;
  padding: var(--space-xs) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-normal);
  gap: var(--space-sm);
}

.navbar.scrolled .nav-container {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.nav-logo:hover {
  opacity: 0.9;
}

.logo-icon {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0);
  transition: filter var(--transition-fast), transform var(--transition-fast);
  display: block;
}

.nav-logo:hover .logo-icon {
  filter: none;
}

.logo-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logo-text br {
  display: block;
}

/* Menu Links */
.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  color: var(--color-black);
  font-weight: 500;
  font-size: 1.1rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--color-red);
  background: rgba(143, 0, 0, 0.05);
}

.nav-link.active {
  color: var(--color-red);
  font-weight: 600;
}

/* Dropdown Menus */
.nav-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.6rem;
  margin-left: 4px;
  transition: transform var(--transition-fast);
  display: inline-block;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: var(--space-xs) 0;
  min-width: 260px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--color-white);
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 10px);
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  padding: 0;
  margin: 0;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  color: var(--color-black);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.dropdown-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: transform var(--transition-fast);
}

.dropdown-menu a:hover::before {
  transform: scaleY(1);
}

.dropdown-menu a:hover {
  background: linear-gradient(90deg, rgba(143, 0, 0, 0.05) 0%, transparent 100%);
  color: var(--color-red);
}

.dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  color: var(--color-black);
}

.dropdown-icon svg {
  transition: all var(--transition-fast);
}

.dropdown-menu a:hover .dropdown-icon {
  background: rgba(143, 0, 0, 0.05);
  border-color: var(--color-red);
  color: var(--color-red);
}

/* CTA Button */
.nav-cta-btn {
  background: linear-gradient(135deg, #b30000 0%, #8f0000 100%);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 30px;
  font-weight: 700;
  font-size: var(--font-size-sm);
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(143, 0, 0, 0.2);
  white-space: nowrap;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(143, 0, 0, 0.3);
  background: linear-gradient(135deg, #d10000 0%, #a80000 100%);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-black);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 160px 0 var(--space-3xl);
  /* Increased top padding to account for menu space */
  background-color: #000000;
  z-index: 1;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at -15% 50%, rgba(143, 0, 0, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 115% 50%, rgba(143, 0, 0, 0.25) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}





.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1400px;
  width: 100%;
}

.hero-symbol {
  width: 400px;
  margin-bottom: var(--space-md);
  opacity: 1;
  transition: filter 0.5s ease, transform 0.5s ease;
  cursor: pointer;
}

.hero-symbol:hover {
  transform: scale(1.1) translateY(-15px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 15px rgba(143, 0, 0, 0.4));
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: -1px;
  width: 100%;
}

.title-main {
  display: block;
  width: 100%;
  color: var(--color-white);
  /* White for the main part */
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--color-gray-300);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

/* ============================================
   SECTIONS & SPACING
   ============================================ */

.torn-paper-top svg {
  display: none;
}

/* ============================================
   AUTHORITY SECTION (SOCIAL PROOF)
   ============================================ */

.authority-section {
  padding: 100px 0 320px;
  /* Balanced bottom padding to fit popups without excess void */
  background-color: #000000;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(143, 0, 0, 0.1);
  overflow: visible !important;
  z-index: 100;
  /* Overlaps following sections */
}

.authority-title {
  font-size: var(--font-size-3xl);
  color: var(--color-white);
  max-width: 1000px;
  margin: 0 auto 80px;
  line-height: 1.2;
  font-weight: 400;
  opacity: 1;
}

.leaders-section {
  padding: 0 0 100px;
  /* Removed top padding as it's merged */
  background-color: #000000;
  overflow: visible;
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray-400);
  margin-bottom: var(--space-2xl);
}

/* Tabs Styling */
.leaders-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gray-400);
  padding: var(--space-sm) var(--space-xl);
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  transition: all var(--transition-normal);
}

.tab-btn:hover {
  border-color: var(--color-red);
  color: var(--color-white);
}

.tab-btn.active {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(143, 0, 0, 0.3);
}

/* Carousel Track Styling */
.leaders-carousel-container {
  position: relative;
  width: 100%;
  overflow: visible;
}

.carousel-track {
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-xl);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-track.active {
  display: grid;
  opacity: 1;
}

/* Leader Item & Popup */
.leader-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: help;
  padding: 10px 0;
}

.leader-item img {
  max-width: 220px;
  max-height: 85px;
  width: auto;
  height: auto;
  filter: brightness(0) invert(1);
  /* Forces all logos to white */
  opacity: 0.4;
  /* Looks like light grey against black */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Specific scale adjustments for brands with smaller visual ratios */
.leader-item img[alt="Growth Supplements"],
.leader-item img[alt="Mercado Livre"],
.leader-item img[alt="Coca-Cola"],
.leader-item img[alt="Meta"] {
  transform: scale(1.25);
}

.leader-item:hover img[alt="Growth Supplements"],
.leader-item:hover img[alt="Mercado Livre"],
.leader-item:hover img[alt="Coca-Cola"],
.leader-item:hover img[alt="Meta"] {
  transform: scale(1.35);
}

.strategy-popup {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 350px;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(143, 0, 0, 0.4);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(143, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27);
  pointer-events: none;
  text-align: left;
}

.strategy-popup::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(143, 0, 0, 0.3);
}

.strategy-popup h4 {
  color: var(--color-red);
  font-size: var(--font-size-md);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.strategy-popup p {
  color: var(--color-white);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
  /* Regular weight */
}

/* Hover States */
.leader-item:hover img {
  opacity: 1;
  /* Pure white */
  transform: scale(1.1);
}

.leader-item:hover .strategy-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(15px);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 60px;
  /* Increased from space-xl */
  align-items: center;
  justify-items: center;
  margin-bottom: var(--space-2xl);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.brand-item {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-item img {
  max-width: 180px;
  max-height: 65px;
  width: auto;
  height: 70px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: contain;
  mix-blend-mode: screen;
  /* Removes white backgrounds on black sections */
}

.brand-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* .legal-disclaimer styling removed as requested */

@media (max-width: 992px) {
  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  .authority-title {
    font-size: 1.1rem;
    padding: 0 var(--space-md);
  }
}

@media (max-width: 480px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-title-large {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.section-description {
  font-size: var(--font-size-lg);
  color: var(--color-gray-300);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.section-title-centered {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.intro-text {
  font-size: var(--font-size-lg);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
  color: var(--color-gray-600);
  line-height: 1.8;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */

.solution-content {
  max-width: 1100px;
  margin: 0 auto;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.solution-card {
  background: #1c1c1c;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-white);
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(143, 0, 0, 0.15);
  border-color: var(--color-red);
}

.solution-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

.solution-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-black);
}

.solution-card p {
  color: var(--color-gray-600);
  line-height: 1.7;
}

.guarantee-box {
  background: linear-gradient(135deg, rgba(143, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-red);
  text-align: center;
}

.guarantee-box p {
  font-size: var(--font-size-lg);
  color: var(--color-black);
  margin: 0;
  line-height: 1.8;
}

.guarantee-box strong {
  color: var(--color-red);
  font-weight: 700;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-hero {
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: var(--space-md) var(--space-2xl);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  opacity: 0.4;
}

.btn-hero:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 0 30px rgba(143, 0, 0, 0.4);
  transform: translateY(-3px);
  opacity: 1;
}

.btn-large {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-md);
}

.guarantee-box strong {
  color: var(--color-red);
  font-weight: 700;
}

/* ============================================
   QUALIFICATION SECTION
   ============================================ */

.qualification-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.answer-box {
  margin: var(--space-3xl) auto;
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(143, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-red);
}

.big-text {
  font-size: var(--font-size-2xl);
  color: var(--color-white);
  margin: 0;
  font-weight: 600;
}

.highlight-answer {
  font-size: var(--font-size-3xl);
  color: var(--color-red);
  font-weight: 900;
  text-transform: uppercase;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.statement-box {
  margin: var(--space-3xl) auto;
  padding: var(--space-lg);
  border-left: 4px solid var(--color-red);
  background: rgba(255, 255, 255, 0.05);
}

.statement-text {
  font-size: var(--font-size-xl);
  color: var(--color-white);
  margin: 0;
  font-weight: 600;
  text-align: left;
}

.mission-content {
  margin-top: var(--space-3xl);
  text-align: center;
}

.mission-intro {
  font-size: var(--font-size-lg);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.brand-text {
  color: var(--color-red);
  font-weight: 800;
}

.mission-description {
  font-size: var(--font-size-md);
  color: var(--color-gray-300);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.method-highlight {
  background: linear-gradient(135deg, rgba(143, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.1) 100%);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(143, 0, 0, 0.3);
}

.method-highlight p {
  font-size: var(--font-size-lg);
  color: var(--color-white);
  margin: 0;
  line-height: 1.8;
}

/* ============================================
   PRODUCT HUB SECTION (Interativo Estilo Abas)
   ============================================ */

.product-hub-section {
  padding: 120px 0;
  background: #000000;
  overflow: hidden;
}

.hub-main-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 60px;
  line-height: 1.3;
}

.hub-selector-container {
  max-width: 900px;
  margin: 0 auto 80px;
}

.hub-selectors {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.hub-btn {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  padding: 12px 25px;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: left;
  opacity: 0.4;
  filter: grayscale(1);
}

.hub-btn-icon {
  width: 44px;
  height: 44px;
  background: rgba(230, 0, 0, 0.1);
  border: 1px solid rgba(230, 0, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  transition: all 0.4s ease;
}

.hub-btn-icon svg {
  width: 20px;
  height: 20px;
}

.hub-btn span {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* Active State */
.hub-btn.active {
  opacity: 1;
  filter: grayscale(0);
  background: rgba(255, 255, 255, 0.03);
}

.hub-btn.active .hub-btn-icon {
  background: var(--color-red);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(143, 0, 0, 0.5);
}

/* Content Area */
.hub-content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  min-height: 500px;
}

.product-details-box {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  animation: contentFadeIn 0.8s ease forwards;
}

.product-details-box.active {
  display: grid;
}

@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Visual Side */
.product-visual-side {
  position: relative;
}

.premium-mockup-frame {
  background: linear-gradient(135deg, #111 0%, #050505 100%);
  border-radius: 30px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.premium-mockup-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
}

.visual-placeholder {
  font-size: 5rem;
  opacity: 0.3;
}

/* Text Side */
.product-badge-hub {
  color: var(--color-red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.product-text-side h3 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  line-height: 1.1;
}

.product-text-side p {
  font-size: 1.1rem;
  color: var(--color-gray-400);
  line-height: 1.8;
  margin-bottom: 40px;
}

.product-features-hub {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 45px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.feat-item span {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-cta {
  display: inline-block;
  padding: 18px 40px;
  background: var(--color-white);
  color: var(--color-black);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.hub-cta:hover {
  background: var(--color-red);
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(143, 0, 0, 0.3);
}

@media (max-width: 992px) {
  .product-details-box {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hub-selectors {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hub-selectors {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================
   OBJECTION SECTION (Quebra de Objeções)
   ============================================ */

.objection-section {
  padding: 100px 0;
  background: #000000;
}

.objection-card {
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 40px;
  padding: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.objection-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(143, 0, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.objection-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.objection-tag {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--color-red);
  margin-bottom: 25px;
}

.objection-title {
  font-size: 3rem;
  margin-bottom: 30px;
  line-height: 1.1;
}

.objection-text {
  font-size: 1.1rem;
  color: var(--color-gray-400);
  line-height: 1.8;
  margin-bottom: 45px;
}

.quiz-trigger-btn {
  background: var(--color-red);
  color: #ffffff;
  border: none;
  padding: 20px 45px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(143, 0, 0, 0.3);
}

.quiz-trigger-btn:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 40px rgba(143, 0, 0, 0.5);
}

.quiz-trigger-btn svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.quiz-trigger-btn:hover svg {
  transform: translateX(5px);
}

.cta-hint {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  margin-top: 15px;
  margin-left: 10px;
}

/* Modal do Quiz */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #0a0a0a;
  width: 90%;
  max-width: 600px;
  padding: 60px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  background: transparent;
  border: none;
  color: var(--color-gray-500);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 40px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--color-red);
  width: 0%;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(143, 0, 0, 0.5);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.quiz-step h3 {
  font-size: 1.8rem;
  margin-bottom: 35px;
  text-align: center;
}

.quiz-options {
  display: grid;
  gap: 15px;
}

.option-btn {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 30px;
  border-radius: 15px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.option-btn:hover {
  background: rgba(143, 0, 0, 0.1);
  border-color: var(--color-red);
  transform: translateX(10px);
}

/* Result Screens */
.quiz-result-screen {
  text-align: center;
  padding: 40px 0;
}

.diagnostic-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-circle {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(143, 0, 0, 0.1);
  border-top: 4px solid var(--color-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.result-header {
  margin-bottom: 40px;
}

.diagnostic-tag {
  color: var(--color-red);
  font-weight: 800;
  letter-spacing: 4px;
  font-size: 0.7rem;
}

.recommended-card {
  background: linear-gradient(135deg, rgba(143, 0, 0, 0.15) 0%, transparent 100%);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(143, 0, 0, 0.3);
  margin-bottom: 40px;
  text-align: center;
}

.final-cta-btn {
  display: inline-block;
  padding: 20px 45px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 800;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.final-cta-btn:hover {
  background: var(--color-red);
  color: #fff;
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .objection-card {
    padding: 50px;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .objection-card {
    padding: 30px;
  }
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--color-white);
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm);
  background: var(--color-gray-900);
  border: 2px solid var(--color-gray-700);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(143, 0, 0, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--color-bg-dark);
  padding: var(--space-3xl) 0 var(--space-lg);
  position: relative;
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-xl);
}

.footer-logo p {
  color: var(--color-gray-700);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-column h4 {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-md);
  color: var(--color-white);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--space-xs);
}

.footer-column a {
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-red);
}

.social-icons {
  display: flex;
  gap: var(--space-sm);
  font-size: var(--font-size-xl);
}

.social-icons a {
  transition: transform var(--transition-fast);
}

.social-icons a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  color: var(--color-gray-700);
  font-size: var(--font-size-sm);
  margin: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Micro-animação de flutuação sutil para os cards */
@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

.method-card-v3 {
  animation: floatCard 6s ease-in-out infinite;
}

/* Delay diferente para cada card criar efeito orgânico */
.octagon-cards.side-left .method-card-v3:nth-child(1) {
  animation-delay: 0s;
}

.octagon-cards.side-left .method-card-v3:nth-child(2) {
  animation-delay: 0.5s;
}

.octagon-cards.side-right .method-card-v3:nth-child(1) {
  animation-delay: 1s;
}

.octagon-cards.side-right .method-card-v3:nth-child(2) {
  animation-delay: 1.5s;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */


@media (max-width: 768px) {
  :root {
    --font-size-4xl: 2.5rem;
    --font-size-3xl: 2rem;
    --font-size-2xl: 1.75rem;
    --font-size-xl: 1.25rem;
  }

  .nav-container {
    padding: var(--space-xs) var(--space-md);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    transition: left var(--transition-normal);
    transform: none;
    padding: var(--space-3xl) var(--space-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: var(--font-size-lg);
  }

  .nav-cta-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  /* Mobile Dropdown Styles */
  .nav-dropdown.active .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: var(--space-xs) 0 var(--space-xs) var(--space-lg);
    margin-top: var(--space-xs);
  }

  .dropdown-arrow {
    display: inline-block;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .hero-symbol {
    width: 80px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title-large,
  .section-title-centered {
    font-size: 1.75rem;
  }
}

/* ============================================
   UNIFIED WHITE SECTION (PROBLEM/SOLUTION)
   ============================================ */

.section-white {
  background-color: var(--color-white);
  color: var(--color-black);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section-white .topographic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('topography.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.section-white .section-title-centered {
  color: var(--color-black) !important;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--color-gray-700);
  /* Darker grey for better readability */
  max-width: 800px;
  margin: 1.5rem auto 0;
  line-height: 1.6;
  font-weight: 500;
}

.subtitle-black {
  color: #000000 !important;
}

.title-black {
  color: #000000 !important;
}

.official-logo-focus {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  position: relative;
  z-index: 2;
}

.main-official-logo {
  max-width: 150px;
  /* Reduced from 220px as requested */
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.08));
  animation: float-logo 6s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.main-official-logo:hover {
  transform: scale(1.05);
}

@keyframes float-logo {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@media (max-width: 768px) {
  .section-subtitle {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  .main-official-logo {
    max-width: 120px;
  }
}

/* ============================================
   LAWS SECTION V3 (RADIAL GRID)
   ============================================ */

.laws-section {
  padding: 80px 0 120px;
  background-color: #000000;
  /* Background alterado para preto absoluto */
  position: relative;
  overflow: hidden;
}

.radial-laws-container {
  max-width: 1000px;
  margin: 40px auto 0;
  position: relative;
}

.laws-grid {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  /* Increased center space for ring */
  grid-template-rows: auto 1fr auto;
  gap: 20px 40px;
  /* Tighter vertical, wider horizontal */
  align-items: center;
  position: relative;
  z-index: 10;
  min-height: 500px;
}

.law-item-box {
  background: rgba(255, 255, 255, 0.03);
  /* Fundo sutil claro para fundo escuro */
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 25px;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  text-align: left;
  position: relative;
  backdrop-filter: blur(8px);
}

.law-item-box:hover {
  border-color: var(--color-red);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.law-header-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.law-icon {
  font-size: 1.2rem;
  opacity: 0.9;
}

.law-number-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-white);
  /* Texto branco para fundo escuro */
  margin-bottom: 0;
  letter-spacing: -0.2px;
  text-transform: uppercase;
}

.law-description-text {
  font-size: 0.85rem;
  color: var(--color-gray-400);
  /* Cinza claro para descrição */
  line-height: 1.5;
  margin: 0;
}

/* Grid Positioning */
.box-tl {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 15px;
}

.box-tr {
  grid-column: 3;
  grid-row: 1;
  margin-bottom: 15px;
}

.box-bl {
  grid-column: 1;
  grid-row: 3;
  margin-top: 15px;
}

.box-br {
  grid-column: 3;
  grid-row: 3;
  margin-top: 15px;
}

.law-logo-center-v3 {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
}

.law-focus-symbol-v3 {
  max-width: 110px;
  /* Increased from 80px */
  height: auto;
  z-index: 20;
  filter: drop-shadow(0 0 15px rgba(143, 0, 0, 0.4));
  transition: transform 0.5s ease;
}

/* SVG CANVAS STYLES */
.laws-svg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.connector-line {
  fill: none;
  stroke: rgba(37, 74, 46, 0.4);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ring-segment {
  fill: none;
  stroke-width: 8;
  /* Aumentado de 2 para 8 para ficar mais visível, mas mantendo o estilo "vazado" */
  stroke-linecap: round;
}

.segment-1 {
  stroke: #3d0000;
}

.segment-2 {
  stroke: #700000;
}

.segment-3 {
  stroke: #a30000;
}

.segment-4 {
  stroke: #d90000;
}

/* Strongest Red */

@media (max-width: 900px) {
  .laws-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }

  .law-logo-center-v3 {
    grid-row: 1;
    height: 150px;
    margin-bottom: 20px;
  }

  .laws-svg-canvas {
    display: none;
    /* Hide complex lines on mobile */
  }

  .box-tl,
  .box-tr,
  .box-bl,
  .box-br {
    grid-column: 1;
    grid-row: auto;
    margin: 0;
  }
}

/* ============================================
   INTERACTIVE CIRCLE SECTION
   ============================================ */

/* ============================================
   OCTAGON METHODS SECTION (As 4 Leis)
   ============================================ */

.octagon-methods-section {
  position: relative;
  background: #000000;
}

.octagon-content-dark {
  padding: 120px 0;
}

.octagon-main-header {
  text-align: center;
  margin-bottom: 100px;
  /* Reduzindo o espaço para aproximar do desenho */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.octagon-main-header .section-title {
  font-size: 3.8rem;
  margin-bottom: 30px;
  line-height: 1.1;
}

.octagon-main-header .section-subtitle {
  font-size: 1.4rem;
  color: var(--color-gray-400);
  max-width: 850px;
  margin: 0 auto;
}

.octagon-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Side Cards */
.octagon-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 300px;
  flex-shrink: 0;
}

.method-card-v3 {
  /* Glassmorphism Premium */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  /* Bordas com gradiente sutil */
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;

  padding: 35px;
  border-radius: 20px;

  /* Sombras em múltiplas camadas */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);

  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  overflow: hidden;
}

/* Brilho sutil de fundo */
.method-card-v3::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(143, 0, 0, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.method-card-v3:hover::before {
  opacity: 1;
}

/* Animação 3D e efeitos premium no hover */
.method-card-v3.active,
.method-card-v3:hover {
  background: linear-gradient(135deg, rgba(230, 0, 0, 0.15) 0%, rgba(143, 0, 0, 0.08) 100%);
  border-color: rgba(230, 0, 0, 0.6);

  /* Pausa a animação de flutuação durante hover */
  animation-play-state: paused;

  /* Elevação 3D */
  transform: translateY(-12px) scale(1.03) rotateX(2deg) !important;

  /* Sombras dramáticas em camadas */
  box-shadow:
    0 25px 60px rgba(143, 0, 0, 0.4),
    0 15px 35px rgba(0, 0, 0, 0.6),
    0 5px 15px rgba(143, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 40px rgba(143, 0, 0, 0.2);
}

.method-card-v3 h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin: 15px 0 10px;
  font-weight: 800;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

.method-card-v3:hover h3 {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

.method-card-v3 p {
  color: #b0b0b0;
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
  transition: all 0.3s ease;
}

.method-card-v3:hover p {
  color: #d0d0d0;
}

/* Números Premium com Gradiente */
.card-num {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;

  /* Gradiente premium vermelho */
  background: linear-gradient(135deg, #ff4d4d 0%, #8f0000 50%, #5a0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  /* Brilho sutil */
  filter: drop-shadow(0 2px 8px rgba(143, 0, 0, 0.4));

  display: block;
  margin-bottom: 10px;

  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.method-card-v3:hover .card-num {
  /* Intensifica o gradiente no hover */
  background: linear-gradient(135deg, #ff6666 0%, #b30000 50%, #8f0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  filter: drop-shadow(0 4px 16px rgba(230, 0, 0, 0.6));
  transform: scale(1.1) translateY(-3px);
}

/* SVG Styling */
.octagon-svg-container {
  flex: 1;
  max-width: 650px;
  position: relative;
}

.strategic-octagon {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(230, 0, 0, 0.1));
}

.octagon-shape {
  fill: #0c0c0c;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 4;
}

.octagon-ring {
  fill: none;
  stroke: var(--color-red);
  stroke-width: 2;
  stroke-opacity: 0.4;
}

.octagon-divider {
  stroke: var(--color-red);
  stroke-width: 2;
  stroke-opacity: 0.4;
}

.octagon-shape,
.octagon-ring,
.octagon-divider,
.octagon-center-icon,
.octagon-label-text {
  pointer-events: none;
  /* Garante que não bloqueiem o clique nos quadrantes */
}

/* Logo Central Premium */
.center-logo-symbol {
  filter: drop-shadow(0 0 20px rgba(143, 0, 0, 0.5)) drop-shadow(0 0 40px rgba(143, 0, 0, 0.3));
  opacity: 0.9;
  transition: all 0.6s ease;
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Animação de brilho pulsante */
@keyframes pulseGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 20px rgba(143, 0, 0, 0.5)) drop-shadow(0 0 40px rgba(143, 0, 0, 0.3));
    opacity: 0.9;
  }

  50% {
    filter: drop-shadow(0 0 30px rgba(230, 0, 0, 0.7)) drop-shadow(0 0 60px rgba(230, 0, 0, 0.5));
    opacity: 1;
  }
}

/* Hover no octógono intensifica o brilho da logo */
.octagon-svg-container:hover .center-logo-symbol {
  filter: drop-shadow(0 0 35px rgba(230, 0, 0, 0.8)) drop-shadow(0 0 70px rgba(230, 0, 0, 0.6));
  opacity: 1;
  transform: scale(1.05);
}


.octagon-label-text {
  fill: #ffffff;
  font-family: var(--font-primary);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.1;
  /* Bem sutil, quase invisível até o hover */
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.octagon-label-text.active {
  opacity: 1;
  /* Opacidade total quando ativo */
  fill: #ffffff;
}

/* Quadrant Interaction */
.q-hit {
  fill: transparent;
  cursor: pointer;
  transition: all 0.4s ease;
  pointer-events: all;
}

.q-hit:hover,
.q-hit.active {
  fill: rgba(230, 0, 0, 0.15);
}

@media (max-width: 1200px) {
  .octagon-layout {
    flex-direction: column;
    padding: 0 20px;
  }

  .octagon-cards {
    flex-direction: row;
    width: 100%;
    justify-content: center;
  }

  .octagon-cards.side-left {
    order: 2;
  }

  .octagon-svg-container {
    order: 1;
    max-width: 500px;
  }

  .octagon-cards.side-right {
    order: 3;
  }

  .method-card-v3 {
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .octagon-cards {
    flex-direction: column;
    align-items: center;
  }
}