/*
Theme Name: Mi Lazo Musical
Theme URI: https://milazomusical.com
Author: Mi Lazo Musical
Author URI: https://milazomusical.com
Description: Tema personalizado para Mi Lazo Musical - Canciones personalizadas para laços queridos
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mi-lazo-musical
*/

/* ========================================
   VARIABLES CSS
======================================== */
:root {
  /* Cores principais */
  --primary: 142 76% 36%;
  --primary-foreground: 0 0% 100%;
  --secondary: 30 100% 50%;
  --secondary-foreground: 0 0% 100%;
  --accent: 45 100% 51%;
  --accent-foreground: 0 0% 0%;
  --discount: 0 84% 60%;
  
  /* Backgrounds */
  --background: 40 33% 98%;
  --foreground: 0 0% 10%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 10%;
  --muted: 40 20% 96%;
  --muted-foreground: 0 0% 45%;
  
  /* Bordas */
  --border: 40 20% 90%;
  --input: 40 20% 94%;
  --ring: 142 76% 36%;
  
  /* Raios */
  --radius: 10px;
}

/* ========================================
   RESET E BASE
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

/* ========================================
   TIPOGRAFIA
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}

/* ========================================
   CONTAINER
======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   HEADER
======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: hsl(var(--card));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-logo span {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: hsl(var(--foreground));
}

/* ========================================
   BOTÕES
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-cta {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  animation: pulse-cta 2s infinite;
}

.btn-cta:hover {
  background: hsl(142 76% 30%);
  transform: scale(1.02);
}

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

.btn-secondary:hover {
  background: hsl(30 100% 45%);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.25rem;
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 hsla(var(--primary), 0.4); }
  50% { box-shadow: 0 0 0 10px hsla(var(--primary), 0); }
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-cta-text {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 20px;
  font-style: italic;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
    padding: 80px 20px 40px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ========================================
   EDUCATION CARDS
======================================== */
.education-section {
  padding: 80px 20px;
  background: hsl(var(--background));
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

@media (max-width: 576px) {
  .education-grid {
    grid-template-columns: 1fr;
  }
}

.education-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.education-icon {
  width: 50px;
  height: 50px;
  background: hsl(var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.education-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials-section {
  padding: 80px 20px;
  background: hsl(var(--muted));
  overflow: hidden;
}

.testimonials-title {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
}

.testimonial-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.testimonial-stars {
  color: hsl(var(--accent));
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  color: hsl(var(--muted-foreground));
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 700;
  color: hsl(var(--foreground));
}

/* ========================================
   OFFER SECTION
======================================== */
.offer-section {
  padding: 80px 20px;
  background: hsl(var(--background));
}

.offer-card {
  max-width: 800px;
  margin: 0 auto;
  background: hsl(var(--card));
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  text-align: center;
}

.offer-title {
  color: hsl(var(--discount));
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.offer-price {
  font-size: 4rem;
  font-weight: 900;
  color: hsl(var(--primary));
  margin-bottom: 10px;
}

.offer-original-price {
  color: hsl(var(--discount));
  text-decoration: line-through;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.offer-description {
  font-size: 1.1rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 30px;
}

.offer-features {
  list-style: none;
  text-align: left;
  max-width: 500px;
  margin: 0 auto 30px;
}

.offer-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: hsl(var(--foreground));
}

.offer-features li::before {
  content: "✓";
  color: hsl(var(--primary));
  font-weight: 700;
  font-size: 1.25rem;
}

.offer-guarantee {
  background: hsl(var(--primary));
  color: white;
  padding: 15px 25px;
  border-radius: var(--radius);
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .offer-card {
    padding: 30px 20px;
  }
  
  .offer-title {
    font-size: 1.75rem;
  }
  
  .offer-price {
    font-size: 3rem;
  }
}

/* ========================================
   FAQ SECTION
======================================== */
.faq-section {
  padding: 80px 20px;
  background: hsl(var(--muted));
}

.faq-title {
  text-align: center;
  margin-bottom: 50px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: hsl(var(--card));
  border-radius: var(--radius);
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: hsl(var(--muted));
}

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

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 25px 20px;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* ========================================
   AUTHORITY SECTION
======================================== */
.authority-section {
  padding: 80px 20px;
  background: hsl(var(--background));
  text-align: center;
}

.authority-text {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.authority-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: hsl(var(--card));
  padding: 20px;
  text-align: center;
  border-top: 1px solid hsl(var(--border));
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-copyright {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: hsl(var(--primary));
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

/* ========================================
   FORM PAGE
======================================== */
.form-page {
  min-height: 100vh;
  padding: 80px 20px 40px;
  background: hsl(var(--background));
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-title {
  margin-bottom: 15px;
}

.form-subtitle {
  color: hsl(var(--muted-foreground));
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: hsl(var(--secondary));
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Progress Bar */
.progress-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.progress-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: hsl(var(--muted));
  border: 3px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s ease;
  z-index: 1;
}

.progress-step.active .progress-circle,
.progress-step.completed .progress-circle {
  background: hsl(var(--accent));
  border-color: hsl(var(--accent));
  color: hsl(var(--foreground));
}

.progress-line {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 100%;
  height: 3px;
  background: hsl(var(--border));
}

.progress-step.completed .progress-line {
  background: hsl(var(--accent));
}

.progress-step:last-child .progress-line {
  display: none;
}

/* Form Steps */
.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: hsl(var(--card));
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.step-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 30px;
}

/* Form Elements */
.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: hsl(var(--foreground));
}

.form-label .required {
  color: hsl(var(--discount));
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--input));
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: hsl(var(--foreground));
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.char-count {
  text-align: right;
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  margin-top: 5px;
}

/* Radio/Checkbox Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

@media (max-width: 576px) {
  .options-grid {
    grid-template-columns: 1fr;
  }
}

.option-item {
  position: relative;
}

.option-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.option-label {
  display: block;
  padding: 15px 20px;
  background: hsl(var(--input));
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.option-input:checked + .option-label {
  background: hsl(var(--secondary));
  border-color: hsl(var(--secondary));
  color: white;
}

.option-label:hover {
  border-color: hsl(var(--secondary));
}

/* Checkboxes */
.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-item {
  position: relative;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: hsl(var(--input));
  border: 2px solid hsl(var(--border));
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkbox-input:checked + .checkbox-label {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: white;
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 40px;
}

.form-navigation .btn {
  flex: 1;
}

/* Summary */
.form-summary {
  background: hsl(var(--muted));
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 30px;
}

.summary-title {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: hsl(var(--foreground));
}

.summary-list {
  list-style: none;
}

.summary-list li {
  padding: 8px 0;
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  gap: 10px;
}

.summary-list li:last-child {
  border-bottom: none;
}

.summary-label {
  font-weight: 700;
  min-width: 100px;
}

.summary-value {
  color: hsl(var(--muted-foreground));
}

/* Payment Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: hsl(var(--card));
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
}

.modal-title {
  text-align: center;
  margin-bottom: 30px;
}

/* Utilities */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.hidden { display: none !important; }
