/* ============================================
   LA BULLE MAGIQUE - JARDIN D'ENFANTS
   Clean & Minimal Design
   ============================================ */

:root {
  /* Cores baseadas no logo */
  --purple-primary: #8B7FC7;
  --purple-light: #B8AFE6;
  --purple-dark: #6B5FA7;
  --turquoise: #6BC4C4;
  --turquoise-light: #A5E3E3;
  
  /* Cores neutras */
  --white: #FFFFFF;
  --cream: #FAF9F7;
  --grey-light: #F5F4F2;
  --grey-medium: #D1CFCD;
  --grey-dark: #4A4A4A;
  --black: #2C2C2C;
  
  /* Tipografia */
  --font-display: 'Poppins', 'Helvetica Neue', sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;
  
  /* Espaçamentos */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Outros */
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(139, 127, 199, 0.1);
  --shadow-md: 0 4px 16px rgba(139, 127, 199, 0.15);
  --shadow-lg: 0 8px 32px rgba(139, 127, 199, 0.2);
}

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

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

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

body {
  font-family: var(--font-body);
  color: var(--grey-dark);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ============================================
   TIPOGRAFIA
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--purple-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-sm);
  font-size: 1.05rem;
  line-height: 1.7;
}

.subtitle {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--turquoise);
  font-weight: 400;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--grey-dark);
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple-primary);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--purple-primary);
}

.btn-contact {
  background: var(--purple-primary);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-contact:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Menu Mobile */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--purple-primary);
}

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

.hero {
  margin-top: 80px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139, 127, 199, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-xl) 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: var(--purple-dark);
  margin-bottom: var(--spacing-sm);
}

.hero-content .subtitle {
  display: block;
  margin-bottom: var(--spacing-md);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--grey-dark);
  margin-bottom: var(--spacing-md);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

/* Decorative elements */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(107, 196, 196, 0.2);
  animation: float 6s ease-in-out infinite;
}

.bubble-1 {
  width: 60px;
  height: 60px;
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.bubble-2 {
  width: 40px;
  height: 40px;
  top: 60%;
  right: 5%;
  animation-delay: 2s;
}

.bubble-3 {
  width: 80px;
  height: 80px;
  bottom: 10%;
  left: 10%;
  animation-delay: 4s;
}

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

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

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--purple-primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--purple-primary);
  border-color: var(--purple-primary);
}

.btn-secondary:hover {
  background: var(--purple-primary);
  color: var(--white);
  transform: translateY(-3px);
}

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

.section {
  padding: var(--spacing-xl) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--turquoise);
  border-radius: 3px;
}

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

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple-primary) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  font-size: 1.75rem;
}

.card h3 {
  color: var(--purple-dark);
  margin-bottom: var(--spacing-sm);
}

.card p {
  color: var(--grey-dark);
  font-size: 1rem;
}

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

.footer {
  background: var(--purple-dark);
  color: var(--white);
  padding: var(--spacing-lg) 2rem var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: var(--spacing-md) auto 0;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    gap: 1.5rem;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--spacing-md) 1rem;
  }
  
  .nav-container {
    padding: 1rem;
  }
  
  .logo {
    height: 50px;
  }
}
