/*
Theme Name: Sono Infantil Landing
Theme URI: https://seusite.com
Author: Seu Nome
Author URI: https://seusite.com
Description: Tema WordPress para landing page de sono infantil
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sono-infantil
*/

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

:root {
  --primary: 338 71% 45%;
  --primary-foreground: 0 0% 100%;
  --secondary: 338 45% 95%;
  --secondary-foreground: 338 71% 25%;
  --accent: 338 60% 88%;
  --accent-foreground: 338 71% 35%;
  --background: 0 0% 100%;
  --foreground: 0 0% 10%;
  --muted: 338 20% 96%;
  --muted-foreground: 0 0% 45%;
  --border: 338 20% 90%;
  --radius: 0.5rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Botões */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px hsl(var(--primary) / 0.3);
}

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

@media (min-width: 768px) {
  .btn-xl {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
  }
}

/* Hero Section */
.hero {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--accent)));
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: hsl(var(--primary));
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

.hero p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 50px -10px hsl(var(--primary) / 0.2);
  margin: 2rem 0;
}

/* Sections */
section {
  padding: 4rem 1rem;
}

section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: hsl(var(--primary));
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  section h2 {
    font-size: 2.5rem;
  }
}

/* Cards */
.card {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.testimonial {
  background: hsl(var(--muted));
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.testimonial-author {
  font-weight: 600;
  color: hsl(var(--primary));
  margin-top: 1rem;
}

/* Ebook Grid */
.ebook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.ebook-item img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background: hsl(var(--muted));
  padding: 2rem 1rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

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

.py-8 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
