/* ============================================
   NOVERDE - Consultoria Financeira
   Design System & Global Styles
   ============================================ */

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

:root {
  --primary-green: #00B63E;
  --primary-dark: #00882E;
  --text-dark: #1A1A2E;
  --text-light: #6B7280;
  --bg-light: #F9FAFB;
  --bg-green-light: #F0FDF4;
  --border-color: #E5E7EB;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: #fff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--border-color);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: var(--primary-green);
  color: white;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  background-color: var(--primary-green);
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.header-cta:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

@media (min-width: 640px) {
  .header-cta {
    display: flex;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background-color: var(--primary-green);
  color: white;
  box-shadow: 0 10px 15px rgba(0, 182, 62, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.btn-white {
  background-color: white;
  color: var(--primary-green);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 10rem;
    padding-bottom: 8rem;
  }
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
}

.hero::before {
  right: 0;
  top: 0;
  width: 500px;
  height: 500px;
  background-color: rgba(0, 182, 62, 0.05);
}

.hero::after {
  left: 0;
  bottom: 0;
  width: 400px;
  height: 400px;
  background-color: rgba(0, 182, 62, 0.1);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: var(--bg-green-light);
  color: var(--primary-green);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title .highlight {
  color: var(--primary-green);
}

.hero-description {
  max-width: 32rem;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  color: var(--text-light);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-feature svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-green);
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom right, var(--bg-green-light), white);
  padding: 2rem;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.hero-image-wrapper img {
  width: 100%;
  border-radius: 1rem;
  display: block;
}

.hero-card {
  position: absolute;
  background: white;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  display: none;
}

@media (min-width: 640px) {
  .hero-card {
    display: flex;
  }
}

.hero-card:first-of-type {
  left: -1rem;
  top: 25%;
}

.hero-card:last-of-type {
  right: -1rem;
  bottom: 25%;
}

.hero-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--bg-green-light);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.hero-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-green);
}

.hero-card-content {
  display: flex;
  flex-direction: column;
}

.hero-card-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

.hero-card-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats {
  background-color: var(--primary-green);
  color: white;
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 0.25rem;
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 2.25rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .services {
    padding: 7rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: rgba(0, 182, 62, 0.3);
  box-shadow: 0 10px 15px rgba(0, 182, 62, 0.1);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background-color: var(--bg-green-light);
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: var(--primary-green);
}

.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary-green);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon svg {
  color: white;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-description {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works {
  background: linear-gradient(to bottom, rgba(0, 182, 62, 0.05), white);
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .how-it-works {
    padding: 7rem 0;
  }
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(0, 182, 62, 0.3), transparent);
  display: none;
}

@media (min-width: 768px) {
  .steps-grid::before {
    display: block;
  }
}

.step {
  position: relative;
  text-align: center;
}

.step-icon-wrapper {
  position: relative;
  z-index: 10;
  margin-bottom: 1.5rem;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: white;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  border: 4px solid var(--bg-green-light);
}

.step-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary-green);
}

.step-number {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--primary-green);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-description {
  max-width: 20rem;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 0.95rem;
}

.how-it-works-cta {
  text-align: center;
  margin-top: 4rem;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .why-choose {
    padding: 7rem 0;
  }
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-choose-content h2 {
  margin-bottom: 1.5rem;
}

.why-choose-content p {
  margin-bottom: 2rem;
  font-size: 1.125rem;
  color: var(--text-light);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.feature-label {
  color: var(--text-light);
}

.feature-value {
  font-weight: 600;
  color: var(--text-dark);
}

.why-choose-card {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
  padding: 2rem;
  color: white;
  box-shadow: 0 20px 25px rgba(0, 182, 62, 0.2);
}

.why-choose-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.why-choose-card-header svg {
  width: 1.5rem;
  height: 1.5rem;
}

.why-choose-card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.why-choose-card-description {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.why-choose-card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-choose-card-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.why-choose-card-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
  background: linear-gradient(to bottom, white, rgba(0, 182, 62, 0.05));
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .testimonials {
    padding: 7rem 0;
  }
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.star-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.star-rating svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-green);
  fill: var(--primary-green);
}

.rating-score {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  border-radius: 1rem;
  background: white;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-green);
  fill: var(--primary-green);
}

.testimonial-text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--bg-green-light);
  color: var(--primary-green);
  font-size: 1.125rem;
  font-weight: 700;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
  padding: 4rem 2rem;
  text-align: center;
  color: white;
}

@media (min-width: 1024px) {
  .cta {
    padding: 6rem 4rem;
  }
}

.cta::before,
.cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
  z-index: 0;
}

.cta::before {
  right: 0;
  top: 0;
  width: 16rem;
  height: 16rem;
  background-color: white;
}

.cta::after {
  left: 0;
  bottom: 0;
  width: 16rem;
  height: 16rem;
  background-color: white;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .cta-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-description {
  max-width: 28rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-light);
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.footer-brand p {
  margin-bottom: 1rem;
  max-width: 16rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-security {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-security svg {
  width: 1rem;
  height: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

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

.footer-link svg {
  width: 1rem;
  height: 1rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-info p {
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 9999px;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  box-shadow: 0 10px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s ease-in-out infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 25px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp:active {
  transform: scale(0.95);
}

.floating-whatsapp svg {
  width: 1.75rem;
  height: 1.75rem;
}

.floating-whatsapp span {
  display: none;
  font-weight: 600;
}

@media (min-width: 640px) {
  .floating-whatsapp span {
    display: inline;
  }
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 10px 15px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 10px 15px rgba(37, 211, 102, 0.5);
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fade-in-up 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.opacity-0 {
  opacity: 0;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

@media (min-width: 769px) {
  .show-mobile {
    display: none;
  }
}
