/*
Theme Name: Geração de Renda de Bolso
Theme URI: https://lovable.dev
Author: Geração de Renda de Bolso
Author URI: https://lovable.dev
Description: Tema moderno e responsivo focado em conversão e marketing digital para venda de eBooks
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: geracao-renda-bolso
Tags: marketing, ebook, landing-page, responsive, modern
*/

/* ===========================
   RESET E BASE
   =========================== */

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

:root {
  /* Colors */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(222.2, 84%, 4.9%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(222.2, 84%, 4.9%);
  --primary: hsl(158, 64%, 52%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(217, 91%, 60%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(210, 40%, 96.1%);
  --muted-foreground: hsl(215.4, 16.3%, 46.9%);
  --accent: hsl(158, 64%, 52%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(214.3, 31.8%, 91.4%);
  --ring: hsl(158, 64%, 52%);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(158, 64%, 52%), hsl(217, 91%, 60%));
  --gradient-hero: linear-gradient(180deg, hsl(158, 64%, 52%, 0.1), hsl(217, 91%, 60%, 0.1));
  
  /* Shadows */
  --shadow-premium: 0 20px 60px -15px hsl(158, 64%, 52%, 0.3);
  --shadow-glow: 0 0 40px hsl(158, 64%, 52%, 0.2);
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Spacing */
  --radius: 1rem;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ===========================
   LAYOUT
   =========================== */

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-hero {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-premium);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-cta {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  box-shadow: 0 4px 14px 0 hsl(217, 91%, 60%, 0.4);
}

.btn-cta:hover {
  background-color: hsl(217, 91%, 55%);
  transform: scale(1.05);
}

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-icon {
  margin-right: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
}

/* ===========================
   CARDS
   =========================== */

.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-premium);
  transform: scale(1.05);
}

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

.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 8rem 0;
  }
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content {
    gap: 2rem;
  }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

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

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-image-wrapper {
    justify-content: flex-end;
  }
}

.hero-image-container {
  position: relative;
}

.hero-image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsl(158, 64%, 52%, 0.2), hsl(217, 91%, 60%, 0.2));
  border-radius: 1.5rem;
  filter: blur(3rem);
}

.hero-image {
  position: relative;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-premium);
  width: 100%;
  max-width: 28rem;
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.05);
}

/* ===========================
   SECTIONS
   =========================== */

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section-bg-muted {
  background-color: hsl(210, 40%, 96.1%, 0.5);
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

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

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

.section-description {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .section-description {
    margin-bottom: 4rem;
  }
}

/* ===========================
   GRID LAYOUTS
   =========================== */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

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

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

/* ===========================
   BENEFIT CARDS
   =========================== */

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon-wrapper {
  padding: 0.75rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.benefit-icon-primary {
  background-color: hsl(158, 64%, 52%, 0.1);
}

.benefit-icon-secondary {
  background-color: hsl(217, 91%, 60%, 0.1);
}

.benefit-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.benefit-icon-primary .benefit-icon {
  color: var(--primary);
}

.benefit-icon-secondary .benefit-icon {
  color: var(--secondary);
}

.benefit-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-content p {
  color: var(--muted-foreground);
}

/* ===========================
   FEATURE CARDS
   =========================== */

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

.feature-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.feature-icon-primary {
  background-color: hsl(158, 64%, 52%, 0.1);
}

.feature-icon-secondary {
  background-color: hsl(217, 91%, 60%, 0.1);
}

.feature-icon {
  width: 2rem;
  height: 2rem;
}

.feature-icon-primary .feature-icon {
  color: var(--primary);
}

.feature-icon-secondary .feature-icon {
  color: var(--secondary);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
}

/* ===========================
   SOCIAL PROOF
   =========================== */

.social-proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 50%;
  background-color: hsl(158, 64%, 52%, 0.1);
  margin-bottom: 1.5rem;
}

.social-proof-icon svg {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
}

/* ===========================
   CTA SECTIONS
   =========================== */

.cta-card {
  background: linear-gradient(to bottom right, hsl(158, 64%, 52%, 0.05), hsl(217, 91%, 60%, 0.05));
  border: 1px solid hsl(158, 64%, 52%, 0.2);
  text-align: center;
  padding: 2rem;
}

@media (min-width: 768px) {
  .cta-card {
    padding: 3rem;
  }
}

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

footer {
  border-top: 1px solid var(--border);
  background-color: hsl(210, 40%, 96.1%, 0.3);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

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

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-section a:hover {
  color: var(--primary);
}

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

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

.security-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: var(--background);
  border: 1px solid hsl(var(--border), 0.5);
}

.security-badge svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.security-badge-primary svg {
  color: var(--primary);
}

.security-badge-secondary svg {
  color: var(--secondary);
}

.security-badge span {
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-copyright {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}

.footer-copyright p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

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

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-3xl {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

/* SVG Icons - Lucide style */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  line-height: 1;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Responsive utilities */
@media (max-width: 767px) {
  .hide-mobile {
    display: none;
  }
}

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