/*
Theme Name: Delícias de Bebê
Description: Tema WordPress para landing page de eBook sobre alimentação infantil
Version: 1.0
Author: Delícias de Bebê
*/

/* Importar Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background-color: hsl(350, 30%, 98%);
  color: hsl(340, 25%, 20%);
  line-height: 1.6;
}

/* Variables CSS */
:root {
  --background: 350 30% 98%;
  --foreground: 340 25% 20%;
  --card: 0 0% 100%;
  --card-foreground: 340 25% 20%;
  --primary: 350 60% 65%;
  --primary-foreground: 0 0% 100%;
  --primary-light: 355 70% 75%;
  --primary-dark: 345 50% 55%;
  --secondary: 350 40% 96%;
  --secondary-foreground: 340 50% 30%;
  --muted: 350 30% 95%;
  --muted-foreground: 340 30% 50%;
  --accent: 355 65% 70%;
  --accent-foreground: 0 0% 100%;
  --border: 350 30% 88%;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(350, 60%, 65%), hsl(355, 70%, 75%));
  --gradient-secondary: linear-gradient(135deg, hsl(350, 40%, 96%), hsl(350, 50%, 98%));
  --gradient-hero: linear-gradient(135deg, hsl(350, 60%, 65%), hsl(340, 65%, 70%), hsl(355, 70%, 75%));
  --gradient-card: linear-gradient(145deg, hsl(0, 0%, 100%), hsl(350, 30%, 97%));
  
  /* Shadows */
  --shadow-soft: 0 4px 20px -2px hsl(350 60% 65% / 0.1);
  --shadow-elegant: 0 10px 40px -10px hsl(350 60% 65% / 0.15);
  --shadow-glow: 0 0 30px hsl(350 60% 65% / 0.2);
}

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

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

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-extrabold { font-weight: 800; }
.font-medium { font-weight: 500; }

.text-white { color: white; }
.text-primary { color: hsl(var(--primary)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }

.bg-gradient-hero { background: var(--gradient-hero); }
.bg-gradient-primary { background: var(--gradient-primary); }
.bg-gradient-secondary { background: var(--gradient-secondary); }
.bg-gradient-card { background: var(--gradient-card); }

.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-elegant { box-shadow: var(--shadow-elegant); }
.shadow-glow { box-shadow: var(--shadow-glow); }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Grid System */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

/* Components */
.card {
  background: var(--gradient-card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-elegant);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

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

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

.btn-hero {
  background: white;
  color: hsl(var(--primary));
  box-shadow: var(--shadow-glow);
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-hero:hover {
  background: rgba(255, 255, 255, 0.9);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-gradient-text {
  background: linear-gradient(to right, hsl(45, 100%, 85%), hsl(350, 100%, 85%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

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

.hero-stat-number {
  font-size: 1.875rem;
  font-weight: 800;
  color: white;
}

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

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Floating Elements */
.floating-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
}

.floating-1 {
  top: 5rem;
  left: 5rem;
  width: 5rem;
  height: 5rem;
  background: hsl(var(--primary-light));
}

.floating-2 {
  top: 10rem;
  right: 8rem;
  width: 4rem;
  height: 4rem;
  background: hsl(var(--accent));
  animation-delay: 1s;
}

.floating-3 {
  bottom: 8rem;
  left: 25%;
  width: 3rem;
  height: 3rem;
  background: hsl(var(--primary));
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Animations */
.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-pulse-soft {
  animation: pulseSoft 3s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Responsive */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .grid-md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-md-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  
  .text-md-left { text-align: left; }
  .justify-md-start { justify-content: flex-start; }
  .items-md-start { align-items: flex-start; }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .grid-lg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  
  .text-lg-left { text-align: left; }
  .justify-lg-start { justify-content: flex-start; }
  .items-lg-start { align-items: flex-start; }
}

/* Accordion */
.accordion {
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid hsl(var(--border));
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  padding: 1rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: hsl(var(--foreground));
  transition: color 0.3s ease;
}

.accordion-trigger:hover {
  color: hsl(var(--primary));
}

.accordion-content {
  padding: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  display: none;
}

.accordion-content.active {
  display: block;
}

/* Timer Styles */
.timer-box {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 0.5rem;
  padding: 1rem;
  min-width: 80px;
  text-align: center;
}

.timer-number {
  font-size: 2rem;
  font-weight: 700;
}

.timer-label {
  font-size: 0.875rem;
}

/* Image Placeholders */
.image-placeholder {
  aspect-ratio: 1;
  background: var(--gradient-card);
  border: 2px dashed hsl(var(--primary) / 0.3);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
}

/* Special Sections */
.section-spacing {
  padding: 5rem 0;
}

.max-w-2xl {
  max-width: 42rem;
  margin: 0 auto;
}

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

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

/* WordPress specific */
.wp-block-group {
  margin: 0;
}

.entry-content {
  margin: 0;
}

.site-main {
  margin: 0;
}