/* Kit Ohana Pedagógico - Estilos Compilados */
/* Design: Warm & Playful */

:root {
  /* Colors - Warm & Playful */
  --primary: #FF6B6B;
  --primary-foreground: #ffffff;
  --secondary: #4ECDC4;
  --secondary-foreground: #ffffff;
  --accent: #FFE66D;
  --accent-foreground: #2C3E50;
  --background: #FEFAF5;
  --foreground: #2C3E50;
  --card: #ffffff;
  --card-foreground: #2C3E50;
  --border: #E5E7EB;
  --muted: #F5E6D3;
  --muted-foreground: #6B7280;
  
  /* Spacing */
  --radius: 0.75rem;
}

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

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 1280px;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border: 2px solid var(--secondary);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--secondary);
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

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

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

@keyframes pulse-soft {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

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

.animate-slide-up {
  animation: slide-up 0.6s ease-out;
}

.animate-pulse-soft {
  animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--foreground);
  text-decoration: none;
}

.header-logo span {
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #FEFAF5 0%, #FFF5F0 50%, #F5E6D3 100%);
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 8rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 5rem;
  right: 2.5rem;
  width: 18rem;
  height: 18rem;
  background-color: var(--accent);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(60px);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24rem;
  height: 24rem;
  background-color: var(--secondary);
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(60px);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
  }
}

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

.hero-badge {
  display: inline-block;
  width: fit-content;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero h1 {
  color: var(--foreground);
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
}

.hero-image {
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .hero-image {
    display: block;
  }
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.hero-badge-float {
  position: absolute;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  animation: bounce 1s infinite;
}

.hero-badge-float.top-right {
  top: -1.5rem;
  right: -1.5rem;
}

.hero-badge-float.bottom-left {
  bottom: -1.5rem;
  left: -1.5rem;
  background-color: var(--primary);
  color: white;
  animation-delay: 0.2s;
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item span:first-child {
  font-size: 1.5rem;
}

.trust-item span:last-child {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
}

section.bg-white {
  background-color: white;
}

section.bg-gradient {
  background: linear-gradient(180deg, #FEFAF5 0%, #F5E6D3 100%);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header .highlight {
  color: var(--primary);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

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

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

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

/* Cards */
.card {
  background-color: var(--card);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.card.border-top {
  border-top: 4px solid var(--primary);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.card-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
}

/* Problem/Solution */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .problem-solution {
    grid-template-columns: 1fr;
  }
}

.problem-item, .solution-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.problem-item {
  background-color: #FFF5F0;
  border-left: 4px solid var(--primary);
}

.solution-item {
  background-color: #E8F4F8;
  border-left: 4px solid var(--secondary);
}

.problem-item span:first-child, .solution-item span:first-child {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.problem-item p, .solution-item p {
  font-weight: 500;
  color: var(--foreground);
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, var(--accent) 0%, #FFD700 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  color: var(--accent-foreground);
}

.highlight-box p:first-child {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.highlight-box p:last-child {
  font-size: 2rem;
  font-weight: 900;
}

/* Value Box */
.value-box {
  background: linear-gradient(135deg, var(--primary) 0%, #FF9999 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  color: white;
}

.value-box p {
  margin-bottom: 0.5rem;
}

.value-box .label {
  font-size: 1.125rem;
  font-weight: 600;
}

.value-box .total {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.value-box .price {
  font-size: 1.5rem;
  font-weight: 700;
}

.value-box .discount {
  color: var(--accent);
  font-weight: 700;
}

.value-box .description {
  font-size: 1.125rem;
  font-weight: 600;
}

/* Guarantee Box */
.guarantee-box {
  background-color: #E8F4F8;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 2px solid var(--secondary);
}

.guarantee-box h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.guarantee-box p {
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.guarantee-list {
  list-style: none;
  max-width: 28rem;
  margin: 0 auto;
}

.guarantee-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--foreground);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.guarantee-list li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  background-color: white;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: var(--primary);
}

.accordion-item.active {
  border-color: var(--primary);
  background-color: #FFF5F0;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  background-color: inherit;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 700;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.accordion-item:hover .accordion-header {
  color: var(--primary);
}

.accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

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

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 32rem;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted-foreground);
}

.modal-close:hover {
  color: var(--foreground);
}

/* Product Summary */
.product-summary {
  background-color: var(--muted);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.product-summary h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.product-summary p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.summary-row.total {
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.summary-row.total .price {
  color: var(--primary);
}

/* Payment Methods */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-method {
  background-color: white;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.payment-method:hover {
  border-color: var(--secondary);
  background-color: #E8F4F8;
}

.payment-method.active {
  border-color: var(--secondary);
  background-color: #E8F4F8;
}

.payment-method-title {
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.payment-method-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Footer */
footer {
  background-color: var(--foreground);
  color: white;
  padding: 5rem 0;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

footer h4 {
  color: var(--accent);
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
}

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

footer a {
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent);
}

.footer-divider {
  border-top: 1px solid #4B5563;
  margin: 3rem 0;
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
  color: #9CA3AF;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  section {
    padding: 2rem 0;
  }
}

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

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

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

.gap-4 {
  gap: 1rem;
}

.opacity-50 {
  opacity: 0.5;
}

.hidden {
  display: none;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

.justify-center {
  justify-content: center;
}
