/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
  /* Colors */
  --color-primary: #8CC63F; /* Green button color from proposal */
  --color-primary-dark: #6CA32C;
  --color-dark: #121212;
  --color-dark-muted: #2A2A2A;
  --color-light: #FFFFFF;
  --color-light-muted: #F5F5F5;
  --color-overlay: rgba(0, 0, 0, 0.4);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-weight: 400;
}

/* ==========================================================================
   Components
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-dark);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(140, 198, 63, 0.3);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background-color: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 10001; /* Above mobile menu */
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-light);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-link {
  color: var(--color-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.logo img {
  height: 40px; /* Adjust based on actual logo proportion */
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 80px; /* Evitar que o menu mobile cubra o texto */
  display: flex;
  align-items: center;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-light);
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero {
    background-image: url('../images/hero-mobile.jpg') !important;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
}

.hero-content h1 {
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   Generic Sections
   ========================================================================== */
.section {
  padding: 6rem 0;
}

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-light);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--color-light);
  border: 1px solid #EAEAEE;
  padding: 2.5rem;
  border-radius: 12px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.section-dark .feature-card {
  background-color: var(--color-dark-muted);
  border-color: #333;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.feature-list li::before {
  content: '■';
  color: var(--color-dark);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

.feature-card:not([style*="background-color: var(--color-primary)"]) .feature-list li::before {
  color: var(--color-primary-dark);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  background-color: var(--color-light);
  border: 1px solid #EAEAEE;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-info {
  background-color: var(--color-primary);
  color: var(--color-dark);
  padding: 3rem;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  padding: 3rem;
  color: var(--color-dark);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(140, 198, 63, 0.2);
}

.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.alert.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
}

.pricing-card {
  background-color: var(--color-light);
  color: var(--color-dark);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  transition: transform var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.highlighted {
  border: 4px solid var(--color-primary);
  transform: scale(1.05);
}

.pricing-card.highlighted:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.price {
  display: flex;
  align-items: flex-start;
  color: var(--color-dark);
  margin-bottom: 2rem;
  background-color: var(--color-primary);
  display: inline-flex;
  padding: 1rem 1.5rem;
  border-radius: 12px;
}

.price .currency {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-right: 0.25rem;
}

.price .value {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.price .cents {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-left: 0.25rem;
  line-height: 1.2;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 3rem;
}

.pricing-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.pricing-features li::before {
  content: '→';
  color: var(--color-primary-dark);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 4rem 0 2rem;
  text-align: center;
}

.footer-inner {
  margin-bottom: 2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  font-size: 0.875rem;
  opacity: 0.7;
}

/* ==========================================================================
   Animations & Micro-interactions
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.feature-list li {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.feature-list li:hover {
  transform: translateX(8px);
  color: var(--color-primary-dark);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .hero::before {
    background: rgba(0,0,0,0.6);
  }
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  .header-inner {
    flex-direction: row; /* Keep logo and hamburger side by side */
    justify-content: space-between;
    align-items: center;
  }
  
  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    z-index: 10000;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    font-size: 1.5rem;
    display: block;
    padding: 1rem;
  }
}

/* ==========================================================================
   GSAP Desktop Setup
   ========================================================================== */
.gsap-pin-wrapper {
  background-color: var(--color-light-muted);
  overflow: hidden;
  position: relative;
  width: 100vw;
  min-height: 750px;
  height: 80vh;
}

.gsap-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 2rem 2rem 2rem;
  background-color: var(--color-light-muted);
}

.gsap-panel.panel-2,
.gsap-panel.panel-3 {
  opacity: 0;
  visibility: hidden;
}

.slide-logo {
  position: absolute;
  bottom: 7rem;
  left: 50%;
  margin-left: -70px;
  width: 140px;
  opacity: 0;
  filter: brightness(0%);
}

@media (max-width: 900px) {
  /* GSAP Mobile Fallback (No pinning, scroll naturally) */
  .gsap-pin-wrapper {
    height: auto;
    overflow: visible;
    padding-bottom: 4rem;
  }
  
  .gsap-panel {
    position: relative !important;
    height: auto !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    padding: 2rem 1rem !important;
    margin-bottom: 2rem;
  }
  
  .slide-logo {
    display: none; /* Hide floating logos on mobile, they take up too much space */
  }
}

/* ==========================================================================
   Corporate Pricing (Para Empresas)
   ========================================================================== */
.corp-section {
  background-color: var(--color-dark);
  color: var(--color-light);
}

.corporate-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 4rem;
}

.corp-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background-color: #fff;
  color: #333;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

@media (max-width: 900px) {
  .corp-card {
    grid-template-columns: 1fr;
  }
}

.corp-header {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.corp-header h3 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: auto;
  line-height: 1;
  letter-spacing: -0.05em;
}

.corp-price-box {
  background-color: var(--color-primary);
  color: var(--color-dark);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 3rem;
}

.corp-price-box .label {
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
  width: 100%;
}

.corp-price-box .currency {
  font-size: 1.5rem;
  font-weight: 700;
}

.corp-price-box .value {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.corp-price-box .cents {
  font-size: 1.5rem;
  font-weight: 700;
}

.corp-body {
  padding: 3rem;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.members-list {
  background-color: var(--color-primary);
  border-radius: 24px;
  padding: 3rem;
}

.members-ul {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-dark);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .members-list {
    padding: 1.5rem;
  }
  .members-ul {
    font-size: 1.25rem;
  }
}

.corp-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.corp-features li {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.corp-features li::before {
  content: "→";
  color: var(--color-dark);
  font-weight: 800;
}

/* Master Card */
.master-card .corp-header {
  background-color: #2e6b21; /* Verde escuro das imagens */
  color: #fff;
}
.master-card .corp-price-box {
  background-color: #8CC63F; /* Verde primário */
}

/* Ouro Card */
.ouro-card .corp-header {
  background-color: #c99818; /* Amarelo ouro */
  color: #111;
}
.ouro-card .corp-price-box {
  background-color: #8CC63F;
}

/* Prata Card */
.prata-card .corp-header {
  background-color: #88929b; /* Cinza metálico */
  color: #fff;
}
.prata-card .corp-price-box {
  background-color: #8CC63F;
}

/* ==========================================================================
   Floating Buttons
   ========================================================================== */
.floating-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 9999;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.float-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Back to Top appears only on scroll */
.btn-back-top {
  background-color: var(--color-dark);
  border: 2px solid rgba(255,255,255,0.1);
}

.btn-back-top:hover {
  background-color: #333;
  transform: scale(1.1);
}

/* WhatsApp Button & Tooltip */
.whatsapp-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  bottom: 0;
  width: 280px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  padding: 1rem;
  color: #333;
  font-size: 0.875rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 10000;
  border-left: 4px solid #25D366;
}

.whatsapp-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -8px;
  bottom: 20px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #fff;
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.tooltip-header svg {
  color: #25D366;
}

.tooltip-body {
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.tooltip-footer {
  font-size: 0.75rem;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 0.5rem;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.btn-whatsapp {
  background-color: #25D366;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: pulse-glow 2s infinite;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  animation: none;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 -2rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .contact-info, .contact-form {
    padding: 2rem;
  }
  .split-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}
