/*
Theme Name: Crianza Consciente
Theme URI: https://crianzaconsciente.com
Author: Crianza Consciente
Author URI: https://crianzaconsciente.com
Description: Tema personalizado para página de vendas do método de 90 segundos para rabietas infantiles
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crianza-consciente
Tags: landing-page, sales-page, one-column, custom-colors, responsive-layout
*/

/* ===== Variables CSS (Design System) ===== */
:root {
  --color-background: hsl(210, 20%, 98%);
  --color-foreground: hsl(215, 25%, 15%);
  --color-primary: hsl(195, 85%, 45%);
  --color-primary-glow: hsl(195, 85%, 65%);
  --color-secondary: hsl(15, 85%, 65%);
  --color-accent: hsl(25, 95%, 60%);
  --color-muted: hsl(210, 15%, 92%);
  --color-muted-foreground: hsl(215, 15%, 45%);
  --color-card: hsl(0, 0%, 100%);
  --color-border: hsl(210, 20%, 88%);
  
  --gradient-hero: linear-gradient(135deg, hsl(195, 85%, 45%), hsl(195, 85%, 65%));
  --gradient-warm: linear-gradient(135deg, hsl(15, 85%, 65%), hsl(25, 95%, 60%));
  --gradient-subtle: linear-gradient(180deg, hsl(210, 20%, 98%), hsl(195, 85%, 98%));
  
  --shadow-soft: 0 10px 40px -10px rgba(64, 178, 214, 0.15);
  --shadow-glow: 0 0 40px rgba(64, 178, 214, 0.2);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 0.75rem;
  
  --max-width: 1400px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

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

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-hero {
  background: var(--gradient-hero);
  color: white;
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-hero:hover {
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.btn-cta {
  background: var(--gradient-warm);
  color: white;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 3rem;
  font-size: 1.25rem;
}

.btn-cta:hover {
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: var(--color-foreground);
  border: 2px solid var(--color-border);
  padding: 1.25rem 2.5rem;
}

.btn-outline:hover {
  background: var(--color-muted);
}

/* ===== Cards ===== */
.card {
  background: var(--color-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition-smooth);
}

.card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card-icon.primary {
  background: rgba(64, 178, 214, 0.1);
  color: var(--color-primary);
}

.card-icon.destructive {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* ===== Sections ===== */
section {
  padding: 5rem 0;
}

.section-bg-muted {
  background: rgba(210, 220, 230, 0.3);
}

.section-bg-gradient {
  background: linear-gradient(180deg, rgba(64, 178, 214, 0.05), rgba(64, 178, 214, 0.1));
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 1rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(240, 246, 250, 0.8), 
    rgba(240, 246, 250, 0.9), 
    var(--color-background));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}

.text-gradient-primary {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-warm {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-highlight {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(64, 178, 214, 0.2);
  border-radius: calc(var(--radius) * 2);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-soft);
}

/* ===== Grid Layouts ===== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 {
  grid-template-columns: 1fr;
}

.grid-cols-3 {
  grid-template-columns: 1fr;
}

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

/* ===== Badge ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
}

.badge-primary {
  background: rgba(64, 178, 214, 0.1);
  color: var(--color-primary);
}

.badge-solid {
  background: var(--color-primary);
  color: white;
}

/* ===== Brain Section ===== */
.brain-section {
  align-items: center;
}

.brain-image {
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.brain-image:hover {
  box-shadow: var(--shadow-glow);
}

.info-box {
  background: var(--color-card);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
}

/* ===== CTA Section ===== */
.cta-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(64, 178, 214, 0.3);
  border-radius: calc(var(--radius) * 2);
  box-shadow: var(--shadow-glow);
  padding: 3rem;
  text-align: center;
}

.checkmark-list {
  background: linear-gradient(90deg, rgba(64, 178, 214, 0.1), rgba(239, 110, 110, 0.1));
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.checkmark-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0.75rem 0;
}

.checkmark-item::before {
  content: "✓";
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: bold;
}

/* ===== Footer ===== */
footer {
  background: rgba(210, 220, 230, 0.5);
  border-top: 1px solid var(--color-border);
  padding: 3rem 1rem;
  text-align: center;
}

footer p {
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
  margin: 0.5rem 0;
}

/* ===== Utilities ===== */
.text-center {
  text-align: center;
}

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

.space-y-4 > * + * {
  margin-top: 1rem;
}

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

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

.space-y-12 > * + * {
  margin-top: 3rem;
}

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

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

.pt-4 {
  padding-top: 1rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .btn {
    width: 100%;
    padding: 1rem 1.5rem;
  }
  
  section {
    padding: 3rem 0;
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}
